{ "type": "File", "start": 0, "end": 24912, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 779, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 24912, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 779, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 24, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } }, "specifiers": [], "source": { "type": "StringLiteral", "start": 7, "end": 23, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 23 } }, "extra": { "rawValue": "./Keyboard.css", "raw": "'./Keyboard.css'" }, "value": "./Keyboard.css" }, "trailingComments": [ { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } } ] }, { "type": "ImportDeclaration", "start": 41, "end": 101, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 60 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 48, "end": 64, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 23 } }, "local": { "type": "Identifier", "start": 48, "end": 64, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 23 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard", "leadingComments": null }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 70, "end": 100, "loc": { "start": { "line": 4, "column": 29 }, "end": { "line": 4, "column": 59 } }, "extra": { "rawValue": "../services/PhysicalKeyboard", "raw": "'../services/PhysicalKeyboard'" }, "value": "../services/PhysicalKeyboard" }, "leadingComments": [ { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } } ] }, { "type": "ImportDeclaration", "start": 103, "end": 159, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 56 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 110, "end": 124, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 21 } }, "local": { "type": "Identifier", "start": 110, "end": 124, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 21 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" } } ], "source": { "type": "StringLiteral", "start": 130, "end": 158, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 55 } }, "extra": { "rawValue": "../services/KeyboardLayout", "raw": "'../services/KeyboardLayout'" }, "value": "../services/KeyboardLayout" } }, { "type": "ImportDeclaration", "start": 161, "end": 207, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 46 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 168, "end": 177, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 16 } }, "local": { "type": "Identifier", "start": 168, "end": 177, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 16 }, "identifierName": "Utilities" }, "name": "Utilities" } } ], "source": { "type": "StringLiteral", "start": 183, "end": 206, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 45 } }, "extra": { "rawValue": "../services/Utilities", "raw": "'../services/Utilities'" }, "value": "../services/Utilities" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } } ] }, { "type": "Identifier", "start": 367, "end": 24876, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 776, "column": 1 } }, "id": { "type": "Identifier", "start": 373, "end": 387, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 20 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 388, "end": 24876, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 776, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7371, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 152, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 679, "end": 690, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "RestElement", "start": 691, "end": 700, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 23 } }, "argument": { "type": "Identifier", "start": 694, "end": 700, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 23 }, "identifierName": "params" }, "name": "params" } } ], "body": { "type": "BlockStatement", "start": 701, "end": 7371, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 152, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 708, "end": 794, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", "start": 712, "end": 793, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 89 } }, "id": { "type": "Identifier", "start": 712, "end": 728, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 24 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "init": { "type": "ConditionalExpression", "start": 731, "end": 793, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 89 } }, "test": { "type": "BinaryExpression", "start": 731, "end": 760, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 56 } }, "left": { "type": "UnaryExpression", "start": 731, "end": 747, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 43 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 738, "end": 747, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 43 } }, "object": { "type": "Identifier", "start": 738, "end": 744, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 40 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 745, "end": 746, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 752, "end": 760, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 56 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "MemberExpression", "start": 763, "end": 772, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 68 } }, "object": { "type": "Identifier", "start": 763, "end": 769, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 65 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 770, "end": 771, "loc": { "start": { "line": 21, "column": 66 }, "end": { "line": 21, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "StringLiteral", "start": 775, "end": 793, "loc": { "start": { "line": 21, "column": 71 }, "end": { "line": 21, "column": 89 } }, "extra": { "rawValue": ".simple-keyboard", "raw": "'.simple-keyboard'" }, "value": ".simple-keyboard" } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 800, "end": 868, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 804, "end": 867, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 71 } }, "id": { "type": "Identifier", "start": 804, "end": 811, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 15 }, "identifierName": "options" }, "name": "options" }, "init": { "type": "ConditionalExpression", "start": 814, "end": 867, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 71 } }, "test": { "type": "BinaryExpression", "start": 814, "end": 843, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 47 } }, "left": { "type": "UnaryExpression", "start": 814, "end": 830, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 34 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 821, "end": 830, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 34 } }, "object": { "type": "Identifier", "start": 821, "end": 827, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 31 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 828, "end": 829, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 835, "end": 843, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 47 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "MemberExpression", "start": 846, "end": 855, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 59 } }, "object": { "type": "Identifier", "start": 846, "end": 852, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 56 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 853, "end": 854, "loc": { "start": { "line": 22, "column": 57 }, "end": { "line": 22, "column": 58 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "MemberExpression", "start": 858, "end": 867, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 71 } }, "object": { "type": "Identifier", "start": 858, "end": 864, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 68 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 865, "end": 866, "loc": { "start": { "line": 22, "column": 69 }, "end": { "line": 22, "column": 70 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } } } ], "kind": "let" }, { "type": "IfStatement", "start": 876, "end": 909, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 25, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 879, "end": 887, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 880, "end": 887, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 15 }, "identifierName": "options" }, "name": "options" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 896, "end": 909, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 19 } }, "expression": { "type": "AssignmentExpression", "start": 896, "end": 908, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 18 } }, "operator": "=", "left": { "type": "Identifier", "start": 896, "end": 903, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 13 }, "identifierName": "options" }, "name": "options" }, "right": { "type": "ObjectExpression", "start": 906, "end": 908, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 18 } }, "properties": [] } }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 966, "end": 1003, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 966, "end": 1002, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 966, "end": 980, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } }, "object": { "type": "ThisExpression", "start": 966, "end": 970, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 971, "end": 980, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 18 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 983, "end": 1002, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 40 } }, "callee": { "type": "Identifier", "start": 987, "end": 996, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 34 }, "identifierName": "Utilities" }, "name": "Utilities" }, "arguments": [ { "type": "ThisExpression", "start": 997, "end": 1001, "loc": { "start": { "line": 30, "column": 35 }, "end": { "line": 30, "column": 39 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 1056, "end": 1116, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 1056, "end": 1115, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1056, "end": 1072, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1061, "end": 1072, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1075, "end": 1115, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 1075, "end": 1097, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 45 } }, "object": { "type": "Identifier", "start": 1075, "end": 1083, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 31 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 1084, "end": 1097, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 45 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1098, "end": 1114, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 62 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3949, "end": 3972, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 3949, "end": 3971, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3949, "end": 3961, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3949, "end": 3953, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3954, "end": 3961, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 3964, "end": 3971, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 26 }, "identifierName": "options" }, "name": "options" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3978, "end": 4041, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 3978, "end": 4040, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3978, "end": 4001, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 27 } }, "object": { "type": "MemberExpression", "start": 3978, "end": 3990, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3978, "end": 3982, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } } }, "property": { "type": "Identifier", "start": 3983, "end": 3990, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3991, "end": 4001, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 27 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4004, "end": 4040, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 66 } }, "left": { "type": "MemberExpression", "start": 4004, "end": 4027, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4004, "end": 4016, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 42 } }, "object": { "type": "ThisExpression", "start": 4004, "end": 4008, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } }, "property": { "type": "Identifier", "start": 4009, "end": 4016, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4017, "end": 4027, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 53 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4031, "end": 4040, "loc": { "start": { "line": 62, "column": 57 }, "end": { "line": 62, "column": 66 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4047, "end": 4109, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 4047, "end": 4108, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4047, "end": 4065, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 22 } }, "object": { "type": "MemberExpression", "start": 4047, "end": 4059, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4047, "end": 4051, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, "property": { "type": "Identifier", "start": 4052, "end": 4059, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4060, "end": 4065, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 22 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4068, "end": 4108, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 65 } }, "left": { "type": "MemberExpression", "start": 4068, "end": 4086, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 43 } }, "object": { "type": "MemberExpression", "start": 4068, "end": 4080, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4068, "end": 4072, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 29 } } }, "property": { "type": "Identifier", "start": 4073, "end": 4080, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4081, "end": 4086, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 43 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4090, "end": 4108, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 65 } }, "extra": { "rawValue": "hg-theme-default", "raw": "\"hg-theme-default\"" }, "value": "hg-theme-default" } } } }, { "type": "ExpressionStatement", "start": 4115, "end": 4176, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4115, "end": 4175, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4115, "end": 4137, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 26 } }, "object": { "type": "MemberExpression", "start": 4115, "end": 4127, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4115, "end": 4119, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, "property": { "type": "Identifier", "start": 4120, "end": 4127, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4128, "end": 4137, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 26 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4140, "end": 4175, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4140, "end": 4162, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4140, "end": 4152, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4140, "end": 4144, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 } } }, "property": { "type": "Identifier", "start": 4145, "end": 4152, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4153, "end": 4162, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4166, "end": 4175, "loc": { "start": { "line": 64, "column": 55 }, "end": { "line": 64, "column": 64 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4260, "end": 4292, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4260, "end": 4291, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4260, "end": 4286, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4260, "end": 4264, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4265, "end": 4286, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 30 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false, "leadingComments": null }, "right": { "type": "StringLiteral", "start": 4289, "end": 4291, "loc": { "start": { "line": 69, "column": 33 }, "end": { "line": 69, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4335, "end": 4398, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4335, "end": 4397, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4335, "end": 4359, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4335, "end": 4339, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4340, "end": 4359, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4362, "end": 4397, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4362, "end": 4391, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4362, "end": 4386, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4362, "end": 4366, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 35 } } }, "property": { "type": "Identifier", "start": 4367, "end": 4386, "loc": { "start": { "line": 74, "column": 36 }, "end": { "line": 74, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4387, "end": 4391, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4392, "end": 4396, "loc": { "start": { "line": 74, "column": 61 }, "end": { "line": 74, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4404, "end": 4465, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4404, "end": 4464, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4404, "end": 4427, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4404, "end": 4408, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4409, "end": 4427, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4430, "end": 4464, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4430, "end": 4458, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4430, "end": 4453, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4430, "end": 4434, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 34 } } }, "property": { "type": "Identifier", "start": 4435, "end": 4453, "loc": { "start": { "line": 75, "column": 35 }, "end": { "line": 75, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4454, "end": 4458, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4459, "end": 4463, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4471, "end": 4516, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4471, "end": 4515, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4471, "end": 4486, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4471, "end": 4475, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4476, "end": 4486, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4489, "end": 4515, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4489, "end": 4509, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4489, "end": 4504, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4489, "end": 4493, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 26 } } }, "property": { "type": "Identifier", "start": 4494, "end": 4504, "loc": { "start": { "line": 76, "column": 27 }, "end": { "line": 76, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4505, "end": 4509, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4510, "end": 4514, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4522, "end": 4563, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4522, "end": 4562, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4522, "end": 4535, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4522, "end": 4526, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4527, "end": 4535, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4538, "end": 4562, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4538, "end": 4556, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4538, "end": 4551, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4538, "end": 4542, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 24 } } }, "property": { "type": "Identifier", "start": 4543, "end": 4551, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4552, "end": 4556, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 77, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4557, "end": 4561, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4569, "end": 4610, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4569, "end": 4609, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4569, "end": 4582, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4569, "end": 4573, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4574, "end": 4582, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4585, "end": 4609, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4585, "end": 4603, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4585, "end": 4598, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4585, "end": 4589, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 24 } } }, "property": { "type": "Identifier", "start": 4590, "end": 4598, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4599, "end": 4603, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4604, "end": 4608, "loc": { "start": { "line": 78, "column": 39 }, "end": { "line": 78, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4616, "end": 4665, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4616, "end": 4664, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4616, "end": 4633, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4616, "end": 4620, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4621, "end": 4633, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4636, "end": 4664, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4636, "end": 4658, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4636, "end": 4653, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4636, "end": 4640, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 28 } } }, "property": { "type": "Identifier", "start": 4641, "end": 4653, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4654, "end": 4658, "loc": { "start": { "line": 79, "column": 42 }, "end": { "line": 79, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4659, "end": 4663, "loc": { "start": { "line": 79, "column": 47 }, "end": { "line": 79, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4671, "end": 4706, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4671, "end": 4705, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4671, "end": 4681, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4671, "end": 4675, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4676, "end": 4681, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4684, "end": 4705, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4684, "end": 4699, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4684, "end": 4694, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4684, "end": 4688, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 21 } } }, "property": { "type": "Identifier", "start": 4689, "end": 4694, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4695, "end": 4699, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4700, "end": 4704, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4712, "end": 4753, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4712, "end": 4752, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4712, "end": 4725, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4712, "end": 4716, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4717, "end": 4725, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4728, "end": 4752, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4728, "end": 4746, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4728, "end": 4741, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4728, "end": 4732, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 } } }, "property": { "type": "Identifier", "start": 4733, "end": 4741, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4742, "end": 4746, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4747, "end": 4751, "loc": { "start": { "line": 81, "column": 39 }, "end": { "line": 81, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4759, "end": 4812, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4759, "end": 4811, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4759, "end": 4778, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4759, "end": 4763, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4764, "end": 4778, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4781, "end": 4811, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4781, "end": 4805, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4781, "end": 4800, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4781, "end": 4785, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, "property": { "type": "Identifier", "start": 4786, "end": 4800, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4801, "end": 4805, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4806, "end": 4810, "loc": { "start": { "line": 82, "column": 51 }, "end": { "line": 82, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4818, "end": 4877, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4818, "end": 4876, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4818, "end": 4840, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4818, "end": 4822, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4823, "end": 4840, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4843, "end": 4876, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4843, "end": 4870, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4843, "end": 4865, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4843, "end": 4847, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 33 } } }, "property": { "type": "Identifier", "start": 4848, "end": 4865, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4866, "end": 4870, "loc": { "start": { "line": 83, "column": 52 }, "end": { "line": 83, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 83, "column": 57 }, "end": { "line": 83, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4883, "end": 4940, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 4883, "end": 4939, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4883, "end": 4904, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4883, "end": 4887, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 4888, "end": 4904, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 4907, "end": 4939, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 4907, "end": 4933, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4907, "end": 4928, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 49 } }, "object": { "type": "ThisExpression", "start": 4907, "end": 4911, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 } } }, "property": { "type": "Identifier", "start": 4912, "end": 4928, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 4929, "end": 4933, "loc": { "start": { "line": 84, "column": 50 }, "end": { "line": 84, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4934, "end": 4938, "loc": { "start": { "line": 84, "column": 55 }, "end": { "line": 84, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 4946, "end": 4993, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 4946, "end": 4992, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4946, "end": 4962, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4946, "end": 4950, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 4951, "end": 4962, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 4965, "end": 4992, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 4965, "end": 4986, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4965, "end": 4981, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 4965, "end": 4969, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 4970, "end": 4981, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 4982, "end": 4986, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4987, "end": 4991, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 4999, "end": 5058, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4999, "end": 5057, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4999, "end": 5021, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4999, "end": 5003, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5004, "end": 5021, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 5024, "end": 5057, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5024, "end": 5051, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5024, "end": 5046, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5024, "end": 5028, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } } }, "property": { "type": "Identifier", "start": 5029, "end": 5046, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 5047, "end": 5051, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 86, "column": 57 }, "end": { "line": 86, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5064, "end": 5101, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5064, "end": 5100, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5064, "end": 5075, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5064, "end": 5068, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5069, "end": 5075, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 5078, "end": 5100, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5078, "end": 5094, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5078, "end": 5089, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5078, "end": 5082, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 } } }, "property": { "type": "Identifier", "start": 5083, "end": 5089, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 5090, "end": 5094, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5095, "end": 5099, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5107, "end": 5148, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5107, "end": 5147, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5107, "end": 5120, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5107, "end": 5111, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5112, "end": 5120, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5123, "end": 5147, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5123, "end": 5141, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5123, "end": 5136, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5123, "end": 5127, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 24 } } }, "property": { "type": "Identifier", "start": 5128, "end": 5136, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5137, "end": 5141, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5142, "end": 5146, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5154, "end": 5191, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5154, "end": 5190, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5154, "end": 5165, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5154, "end": 5158, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, "property": { "type": "Identifier", "start": 5159, "end": 5165, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5168, "end": 5190, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5168, "end": 5184, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5168, "end": 5179, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5168, "end": 5172, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, "property": { "type": "Identifier", "start": 5173, "end": 5179, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5180, "end": 5184, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5185, "end": 5189, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5197, "end": 5244, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5197, "end": 5243, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5197, "end": 5213, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5197, "end": 5201, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, "property": { "type": "Identifier", "start": 5202, "end": 5213, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5216, "end": 5243, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5216, "end": 5237, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5216, "end": 5232, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5216, "end": 5220, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 27 } } }, "property": { "type": "Identifier", "start": 5221, "end": 5232, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5233, "end": 5237, "loc": { "start": { "line": 90, "column": 40 }, "end": { "line": 90, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5238, "end": 5242, "loc": { "start": { "line": 90, "column": 45 }, "end": { "line": 90, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5250, "end": 5313, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5250, "end": 5312, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5250, "end": 5274, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5250, "end": 5254, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 5255, "end": 5274, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5277, "end": 5312, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5277, "end": 5306, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5277, "end": 5301, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5277, "end": 5281, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 35 } } }, "property": { "type": "Identifier", "start": 5282, "end": 5301, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5302, "end": 5306, "loc": { "start": { "line": 91, "column": 56 }, "end": { "line": 91, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5307, "end": 5311, "loc": { "start": { "line": 91, "column": 61 }, "end": { "line": 91, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5319, "end": 5386, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5319, "end": 5385, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5319, "end": 5345, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5319, "end": 5323, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 5324, "end": 5345, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5348, "end": 5385, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5348, "end": 5379, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5348, "end": 5374, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5348, "end": 5352, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 37 } } }, "property": { "type": "Identifier", "start": 5353, "end": 5374, "loc": { "start": { "line": 92, "column": 38 }, "end": { "line": 92, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5375, "end": 5379, "loc": { "start": { "line": 92, "column": 60 }, "end": { "line": 92, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5380, "end": 5384, "loc": { "start": { "line": 92, "column": 65 }, "end": { "line": 92, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5392, "end": 5449, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5392, "end": 5448, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5392, "end": 5413, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5392, "end": 5396, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 5397, "end": 5413, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5416, "end": 5448, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5416, "end": 5442, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5416, "end": 5437, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5416, "end": 5420, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 32 } } }, "property": { "type": "Identifier", "start": 5421, "end": 5437, "loc": { "start": { "line": 93, "column": 33 }, "end": { "line": 93, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5438, "end": 5442, "loc": { "start": { "line": 93, "column": 50 }, "end": { "line": 93, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5443, "end": 5447, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5455, "end": 5510, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5455, "end": 5509, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5455, "end": 5475, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5455, "end": 5459, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, "property": { "type": "Identifier", "start": 5460, "end": 5475, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 24 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "right": { "type": "CallExpression", "start": 5478, "end": 5509, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 5478, "end": 5503, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 52 } }, "object": { "type": "MemberExpression", "start": 5478, "end": 5498, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 47 } }, "object": { "type": "ThisExpression", "start": 5478, "end": 5482, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 31 } } }, "property": { "type": "Identifier", "start": 5483, "end": 5498, "loc": { "start": { "line": 94, "column": 32 }, "end": { "line": 94, "column": 47 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "property": { "type": "Identifier", "start": 5499, "end": 5503, "loc": { "start": { "line": 94, "column": 48 }, "end": { "line": 94, "column": 52 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5504, "end": 5508, "loc": { "start": { "line": 94, "column": 53 }, "end": { "line": 94, "column": 57 } } } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6183, "end": 6199, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6183, "end": 6198, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6183, "end": 6193, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6183, "end": 6187, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6188, "end": 6193, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6196, "end": 6198, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "column": 19 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6205, "end": 6245, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6205, "end": 6244, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6205, "end": 6239, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6205, "end": 6215, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6205, "end": 6209, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 8 } } }, "property": { "type": "Identifier", "start": 6210, "end": 6215, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6216, "end": 6238, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6216, "end": 6228, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6216, "end": 6220, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 19 } } }, "property": { "type": "Identifier", "start": 6221, "end": 6228, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6229, "end": 6238, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6242, "end": 6244, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6368, "end": 6429, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6368, "end": 6428, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6368, "end": 6389, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6368, "end": 6372, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6373, "end": 6389, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6392, "end": 6428, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6424, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 60 } }, "object": { "type": "CallExpression", "start": 6392, "end": 6419, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6414, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 50 } }, "object": { "type": "Identifier", "start": 6392, "end": 6408, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6409, "end": 6414, "loc": { "start": { "line": 116, "column": 45 }, "end": { "line": 116, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6415, "end": 6418, "loc": { "start": { "line": 116, "column": 51 }, "end": { "line": 116, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6420, "end": 6424, "loc": { "start": { "line": 116, "column": 56 }, "end": { "line": 116, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6425, "end": 6427, "loc": { "start": { "line": 116, "column": 61 }, "end": { "line": 116, "column": 63 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6588, "end": 6613, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6588, "end": 6612, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6588, "end": 6607, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6588, "end": 6592, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6593, "end": 6607, "loc": { "start": { "line": 121, "column": 9 }, "end": { "line": 121, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6610, "end": 6612, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 28 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6666, "end": 6845, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 131, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6669, "end": 6685, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6669, "end": 6673, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6674, "end": 6685, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6694, "end": 6708, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6694, "end": 6707, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6694, "end": 6705, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6694, "end": 6698, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 10 } } }, "property": { "type": "Identifier", "start": 6699, "end": 6705, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6719, "end": 6845, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 131, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6728, "end": 6792, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6728, "end": 6791, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6728, "end": 6740, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 18 } }, "object": { "type": "Identifier", "start": 6728, "end": 6735, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6736, "end": 6740, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6741, "end": 6790, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6745, "end": 6761, "loc": { "start": { "line": 129, "column": 23 }, "end": { "line": 129, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6742, "end": 6743, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6762, "end": 6789, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6800, "end": 6838, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6806, "end": 6837, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 43 } }, "callee": { "type": "Identifier", "start": 6810, "end": 6815, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6816, "end": 6836, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 42 } }, "extra": { "rawValue": "KEYBOARD_DOM_ERROR", "raw": "\"KEYBOARD_DOM_ERROR\"" }, "value": "KEYBOARD_DOM_ERROR" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6972, "end": 7057, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 138, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6975, "end": 7009, "loc": { "start": { "line": 137, "column": 7 }, "end": { "line": 137, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6976, "end": 7009, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 41 } }, "object": { "type": "Identifier", "start": 6976, "end": 6982, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6983, "end": 7008, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7018, "end": 7057, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 7018, "end": 7056, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7018, "end": 7051, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 39 } }, "object": { "type": "Identifier", "start": 7018, "end": 7024, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7025, "end": 7050, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 7054, "end": 7056, "loc": { "start": { "line": 138, "column": 42 }, "end": { "line": 138, "column": 44 } }, "properties": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7071, "end": 7161, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 7071, "end": 7160, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7071, "end": 7153, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 86 } }, "object": { "type": "MemberExpression", "start": 7071, "end": 7104, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 37 } }, "object": { "type": "Identifier", "start": 7071, "end": 7077, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7078, "end": 7103, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 7105, "end": 7152, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 7105, "end": 7129, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 62 } }, "object": { "type": "MemberExpression", "start": 7105, "end": 7119, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7105, "end": 7109, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 42 } } }, "property": { "type": "Identifier", "start": 7110, "end": 7119, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7120, "end": 7129, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7130, "end": 7151, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 84 } }, "object": { "type": "ThisExpression", "start": 7130, "end": 7134, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 67 } } }, "property": { "type": "Identifier", "start": 7135, "end": 7151, "loc": { "start": { "line": 140, "column": 68 }, "end": { "line": 140, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 7156, "end": 7160, "loc": { "start": { "line": 140, "column": 89 }, "end": { "line": 140, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7221, "end": 7281, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7221, "end": 7280, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7221, "end": 7251, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7221, "end": 7225, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7226, "end": 7251, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7254, "end": 7280, "loc": { "start": { "line": 145, "column": 37 }, "end": { "line": 145, "column": 63 } }, "callee": { "type": "Identifier", "start": 7258, "end": 7274, "loc": { "start": { "line": 145, "column": 41 }, "end": { "line": 145, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7275, "end": 7279, "loc": { "start": { "line": 145, "column": 58 }, "end": { "line": 145, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7323, "end": 7341, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7323, "end": 7340, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 150, "column": 9 }, "end": { "line": 150, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7338, "end": 7340, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7347, "end": 7366, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7347, "end": 7365, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7347, "end": 7363, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7347, "end": 7351, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 8 } } }, "property": { "type": "Identifier", "start": 7352, "end": 7363, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 151, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7493, "end": 9015, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 212, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7493, "end": 7512, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7513, "end": 7519, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7520, "end": 9015, "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 212, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7527, "end": 7558, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 159, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7531, "end": 7557, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 34 } }, "id": { "type": "Identifier", "start": 7531, "end": 7536, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7539, "end": 7557, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7539, "end": 7551, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7539, "end": 7543, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 20 } } }, "property": { "type": "Identifier", "start": 7544, "end": 7551, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7552, "end": 7557, "loc": { "start": { "line": 159, "column": 29 }, "end": { "line": 159, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7621, "end": 7663, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 165, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7624, "end": 7641, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 24 } }, "left": { "type": "Identifier", "start": 7624, "end": 7630, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7635, "end": 7641, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7650, "end": 7663, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7657, "end": 7662, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7716, "end": 7805, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 171, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7719, "end": 7764, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7719, "end": 7749, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7726, "end": 7749, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7726, "end": 7738, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7726, "end": 7730, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7731, "end": 7738, "loc": { "start": { "line": 170, "column": 19 }, "end": { "line": 170, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7739, "end": 7749, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7754, "end": 7764, "loc": { "start": { "line": 170, "column": 42 }, "end": { "line": 170, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7773, "end": 7805, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7773, "end": 7804, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7773, "end": 7796, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7773, "end": 7785, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7773, "end": 7777, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } } }, "property": { "type": "Identifier", "start": 7778, "end": 7785, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7786, "end": 7796, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7797, "end": 7803, "loc": { "start": { "line": 171, "column": 30 }, "end": { "line": 171, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7817, "end": 7904, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 174, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7820, "end": 7855, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7821, "end": 7855, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7821, "end": 7831, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7821, "end": 7825, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } } }, "property": { "type": "Identifier", "start": 7826, "end": 7831, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7832, "end": 7854, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7832, "end": 7844, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7832, "end": 7836, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 23 } } }, "property": { "type": "Identifier", "start": 7837, "end": 7844, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7845, "end": 7854, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7864, "end": 7904, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7864, "end": 7903, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7864, "end": 7898, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7864, "end": 7874, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7864, "end": 7868, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 10 } } }, "property": { "type": "Identifier", "start": 7869, "end": 7874, "loc": { "start": { "line": 174, "column": 11 }, "end": { "line": 174, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7875, "end": 7897, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7875, "end": 7887, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7875, "end": 7879, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, "property": { "type": "Identifier", "start": 7880, "end": 7887, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7888, "end": 7897, "loc": { "start": { "line": 174, "column": 30 }, "end": { "line": 174, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7901, "end": 7903, "loc": { "start": { "line": 174, "column": 43 }, "end": { "line": 174, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7912, "end": 8054, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 178, "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7916, "end": 8053, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 178, "column": 5 } }, "id": { "type": "Identifier", "start": 7916, "end": 7928, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7931, "end": 8053, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 178, "column": 5 } }, "callee": { "type": "MemberExpression", "start": 7931, "end": 7961, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7931, "end": 7945, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7931, "end": 7935, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, "property": { "type": "Identifier", "start": 7936, "end": 7945, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7946, "end": 7961, "loc": { "start": { "line": 176, "column": 38 }, "end": { "line": 176, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7970, "end": 7976, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 177, "column": 12 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7978, "end": 8012, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 48 } }, "object": { "type": "MemberExpression", "start": 7978, "end": 7988, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7978, "end": 7982, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 18 } } }, "property": { "type": "Identifier", "start": 7983, "end": 7988, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 24 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7989, "end": 8011, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 47 } }, "object": { "type": "MemberExpression", "start": 7989, "end": 8001, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7989, "end": 7993, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 29 } } }, "property": { "type": "Identifier", "start": 7994, "end": 8001, "loc": { "start": { "line": 177, "column": 30 }, "end": { "line": 177, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8002, "end": 8011, "loc": { "start": { "line": 177, "column": 38 }, "end": { "line": 177, "column": 47 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8014, "end": 8026, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 62 } }, "object": { "type": "ThisExpression", "start": 8014, "end": 8018, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 54 } } }, "property": { "type": "Identifier", "start": 8019, "end": 8026, "loc": { "start": { "line": 177, "column": 55 }, "end": { "line": 177, "column": 62 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8028, "end": 8046, "loc": { "start": { "line": 177, "column": 64 }, "end": { "line": 177, "column": 82 } }, "object": { "type": "ThisExpression", "start": 8028, "end": 8032, "loc": { "start": { "line": 177, "column": 64 }, "end": { "line": 177, "column": 68 } } }, "property": { "type": "Identifier", "start": 8033, "end": 8046, "loc": { "start": { "line": 177, "column": 69 }, "end": { "line": 177, "column": 82 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 8062, "end": 8937, "loc": { "start": { "line": 180, "column": 4 }, "end": { "line": 207, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8065, "end": 8116, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 58 } }, "left": { "type": "MemberExpression", "start": 8065, "end": 8099, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8065, "end": 8075, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8065, "end": 8069, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 11 } } }, "property": { "type": "Identifier", "start": 8070, "end": 8075, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8076, "end": 8098, "loc": { "start": { "line": 180, "column": 18 }, "end": { "line": 180, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8076, "end": 8088, "loc": { "start": { "line": 180, "column": 18 }, "end": { "line": 180, "column": 30 } }, "object": { "type": "ThisExpression", "start": 8076, "end": 8080, "loc": { "start": { "line": 180, "column": 18 }, "end": { "line": 180, "column": 22 } } }, "property": { "type": "Identifier", "start": 8081, "end": 8088, "loc": { "start": { "line": 180, "column": 23 }, "end": { "line": 180, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8089, "end": 8098, "loc": { "start": { "line": 180, "column": 31 }, "end": { "line": 180, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 8104, "end": 8116, "loc": { "start": { "line": 180, "column": 46 }, "end": { "line": 180, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 8117, "end": 8937, "loc": { "start": { "line": 180, "column": 59 }, "end": { "line": 207, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8213, "end": 8346, "loc": { "start": { "line": 185, "column": 6 }, "end": { "line": 187, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8216, "end": 8312, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8216, "end": 8238, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8216, "end": 8228, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8216, "end": 8220, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8221, "end": 8228, "loc": { "start": { "line": 185, "column": 14 }, "end": { "line": 185, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8229, "end": 8238, "loc": { "start": { "line": 185, "column": 22 }, "end": { "line": 185, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8242, "end": 8312, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8242, "end": 8272, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8242, "end": 8256, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8242, "end": 8246, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 39 } } }, "property": { "type": "Identifier", "start": 8247, "end": 8256, "loc": { "start": { "line": 185, "column": 40 }, "end": { "line": 185, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8257, "end": 8272, "loc": { "start": { "line": 185, "column": 50 }, "end": { "line": 185, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8273, "end": 8283, "loc": { "start": { "line": 185, "column": 66 }, "end": { "line": 185, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8273, "end": 8277, "loc": { "start": { "line": 185, "column": 66 }, "end": { "line": 185, "column": 70 } } }, "property": { "type": "Identifier", "start": 8278, "end": 8283, "loc": { "start": { "line": 185, "column": 71 }, "end": { "line": 185, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8285, "end": 8297, "loc": { "start": { "line": 185, "column": 78 }, "end": { "line": 185, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8285, "end": 8289, "loc": { "start": { "line": 185, "column": 78 }, "end": { "line": 185, "column": 82 } } }, "property": { "type": "Identifier", "start": 8290, "end": 8297, "loc": { "start": { "line": 185, "column": 83 }, "end": { "line": 185, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8299, "end": 8311, "loc": { "start": { "line": 185, "column": 92 }, "end": { "line": 185, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8313, "end": 8346, "loc": { "start": { "line": 185, "column": 106 }, "end": { "line": 187, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8324, "end": 8337, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8331, "end": 8336, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 186, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8128, "end": 8205, "loc": { "start": { "line": 182, "column": 6 }, "end": { "line": 184, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8356, "end": 8527, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 191, "column": 8 } }, "expression": { "type": "AssignmentExpression", "start": 8356, "end": 8526, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 191, "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8356, "end": 8390, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8356, "end": 8366, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8356, "end": 8360, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 10 } } }, "property": { "type": "Identifier", "start": 8361, "end": 8366, "loc": { "start": { "line": 189, "column": 11 }, "end": { "line": 189, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8367, "end": 8389, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8367, "end": 8379, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8367, "end": 8371, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 21 } } }, "property": { "type": "Identifier", "start": 8372, "end": 8379, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8380, "end": 8389, "loc": { "start": { "line": 189, "column": 30 }, "end": { "line": 189, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "CallExpression", "start": 8394, "end": 8526, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 191, "column": 7 } }, "callee": { "type": "MemberExpression", "start": 8394, "end": 8424, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 189, "column": 74 } }, "object": { "type": "MemberExpression", "start": 8394, "end": 8408, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 189, "column": 58 } }, "object": { "type": "ThisExpression", "start": 8394, "end": 8398, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 189, "column": 48 } } }, "property": { "type": "Identifier", "start": 8399, "end": 8408, "loc": { "start": { "line": 189, "column": 49 }, "end": { "line": 189, "column": 58 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8409, "end": 8424, "loc": { "start": { "line": 189, "column": 59 }, "end": { "line": 189, "column": 74 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8435, "end": 8441, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 14 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 8443, "end": 8477, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 50 } }, "object": { "type": "MemberExpression", "start": 8443, "end": 8453, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8443, "end": 8447, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 20 } } }, "property": { "type": "Identifier", "start": 8448, "end": 8453, "loc": { "start": { "line": 190, "column": 21 }, "end": { "line": 190, "column": 26 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8454, "end": 8476, "loc": { "start": { "line": 190, "column": 27 }, "end": { "line": 190, "column": 49 } }, "object": { "type": "MemberExpression", "start": 8454, "end": 8466, "loc": { "start": { "line": 190, "column": 27 }, "end": { "line": 190, "column": 39 } }, "object": { "type": "ThisExpression", "start": 8454, "end": 8458, "loc": { "start": { "line": 190, "column": 27 }, "end": { "line": 190, "column": 31 } } }, "property": { "type": "Identifier", "start": 8459, "end": 8466, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8467, "end": 8476, "loc": { "start": { "line": 190, "column": 40 }, "end": { "line": 190, "column": 49 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8479, "end": 8491, "loc": { "start": { "line": 190, "column": 52 }, "end": { "line": 190, "column": 64 } }, "object": { "type": "ThisExpression", "start": 8479, "end": 8483, "loc": { "start": { "line": 190, "column": 52 }, "end": { "line": 190, "column": 56 } } }, "property": { "type": "Identifier", "start": 8484, "end": 8491, "loc": { "start": { "line": 190, "column": 57 }, "end": { "line": 190, "column": 64 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8493, "end": 8511, "loc": { "start": { "line": 190, "column": 66 }, "end": { "line": 190, "column": 84 } }, "object": { "type": "ThisExpression", "start": 8493, "end": 8497, "loc": { "start": { "line": 190, "column": 66 }, "end": { "line": 190, "column": 70 } } }, "property": { "type": "Identifier", "start": 8498, "end": 8511, "loc": { "start": { "line": 190, "column": 71 }, "end": { "line": 190, "column": 84 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, { "type": "BooleanLiteral", "start": 8513, "end": 8517, "loc": { "start": { "line": 190, "column": 86 }, "end": { "line": 190, "column": 90 } }, "value": true } ] } } }, { "type": "IfStatement", "start": 8537, "end": 8598, "loc": { "start": { "line": 193, "column": 6 }, "end": { "line": 194, "column": 50 } }, "test": { "type": "Identifier", "start": 8540, "end": 8545, "loc": { "start": { "line": 193, "column": 9 }, "end": { "line": 193, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8556, "end": 8598, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8556, "end": 8597, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8556, "end": 8567, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 19 } }, "object": { "type": "Identifier", "start": 8556, "end": 8563, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8564, "end": 8567, "loc": { "start": { "line": 194, "column": 16 }, "end": { "line": 194, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8568, "end": 8584, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8586, "end": 8596, "loc": { "start": { "line": 194, "column": 38 }, "end": { "line": 194, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8586, "end": 8590, "loc": { "start": { "line": 194, "column": 38 }, "end": { "line": 194, "column": 42 } } }, "property": { "type": "Identifier", "start": 8591, "end": 8596, "loc": { "start": { "line": 194, "column": 43 }, "end": { "line": 194, "column": 48 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8608, "end": 8667, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 198, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8675, "end": 8756, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 200, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8678, "end": 8709, "loc": { "start": { "line": 199, "column": 9 }, "end": { "line": 199, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8678, "end": 8690, "loc": { "start": { "line": 199, "column": 9 }, "end": { "line": 199, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8678, "end": 8682, "loc": { "start": { "line": 199, "column": 9 }, "end": { "line": 199, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8683, "end": 8690, "loc": { "start": { "line": 199, "column": 14 }, "end": { "line": 199, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8691, "end": 8709, "loc": { "start": { "line": 199, "column": 22 }, "end": { "line": 199, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8720, "end": 8756, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8720, "end": 8755, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8720, "end": 8743, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8720, "end": 8724, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 12 } } }, "property": { "type": "Identifier", "start": 8725, "end": 8743, "loc": { "start": { "line": 200, "column": 13 }, "end": { "line": 200, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8744, "end": 8754, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8744, "end": 8748, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 36 } } }, "property": { "type": "Identifier", "start": 8749, "end": 8754, "loc": { "start": { "line": 200, "column": 37 }, "end": { "line": 200, "column": 42 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8608, "end": 8667, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 198, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8766, "end": 8807, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8815, "end": 8930, "loc": { "start": { "line": 205, "column": 6 }, "end": { "line": 206, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8818, "end": 8861, "loc": { "start": { "line": 205, "column": 9 }, "end": { "line": 205, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8818, "end": 8846, "loc": { "start": { "line": 205, "column": 9 }, "end": { "line": 205, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8825, "end": 8846, "loc": { "start": { "line": 205, "column": 16 }, "end": { "line": 205, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8825, "end": 8837, "loc": { "start": { "line": 205, "column": 16 }, "end": { "line": 205, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8825, "end": 8829, "loc": { "start": { "line": 205, "column": 16 }, "end": { "line": 205, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8830, "end": 8837, "loc": { "start": { "line": 205, "column": 21 }, "end": { "line": 205, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8838, "end": 8846, "loc": { "start": { "line": 205, "column": 29 }, "end": { "line": 205, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8851, "end": 8861, "loc": { "start": { "line": 205, "column": 42 }, "end": { "line": 205, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8872, "end": 8930, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8872, "end": 8929, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8872, "end": 8893, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8872, "end": 8884, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8872, "end": 8876, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 12 } } }, "property": { "type": "Identifier", "start": 8877, "end": 8884, "loc": { "start": { "line": 206, "column": 13 }, "end": { "line": 206, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8885, "end": 8893, "loc": { "start": { "line": 206, "column": 21 }, "end": { "line": 206, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8894, "end": 8928, "loc": { "start": { "line": 206, "column": 30 }, "end": { "line": 206, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8894, "end": 8904, "loc": { "start": { "line": 206, "column": 30 }, "end": { "line": 206, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8894, "end": 8898, "loc": { "start": { "line": 206, "column": 30 }, "end": { "line": 206, "column": 34 } } }, "property": { "type": "Identifier", "start": 8899, "end": 8904, "loc": { "start": { "line": 206, "column": 35 }, "end": { "line": 206, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8905, "end": 8927, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8905, "end": 8917, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8905, "end": 8909, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 45 } } }, "property": { "type": "Identifier", "start": 8910, "end": 8917, "loc": { "start": { "line": 206, "column": 46 }, "end": { "line": 206, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8918, "end": 8927, "loc": { "start": { "line": 206, "column": 54 }, "end": { "line": 206, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8766, "end": 8807, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8949, "end": 9010, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 211, "column": 5 } }, "test": { "type": "Identifier", "start": 8952, "end": 8957, "loc": { "start": { "line": 209, "column": 7 }, "end": { "line": 209, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8958, "end": 9010, "loc": { "start": { "line": 209, "column": 13 }, "end": { "line": 211, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8967, "end": 9003, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8967, "end": 9002, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8967, "end": 8978, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 17 } }, "object": { "type": "Identifier", "start": 8967, "end": 8974, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8975, "end": 8978, "loc": { "start": { "line": 210, "column": 14 }, "end": { "line": 210, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8979, "end": 8993, "loc": { "start": { "line": 210, "column": 18 }, "end": { "line": 210, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8995, "end": 9001, "loc": { "start": { "line": 210, "column": 34 }, "end": { "line": 210, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9021, "end": 9062, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9066, "end": 9092, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 9096, "end": 9955, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 250, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9096, "end": 9117, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9118, "end": 9124, "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9126, "end": 9127, "loc": { "start": { "line": 218, "column": 32 }, "end": { "line": 218, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 9128, "end": 9955, "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 250, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9220, "end": 9244, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9220, "end": 9243, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9220, "end": 9236, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9220, "end": 9224, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9225, "end": 9236, "loc": { "start": { "line": 222, "column": 9 }, "end": { "line": 222, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 9239, "end": 9243, "loc": { "start": { "line": 222, "column": 23 }, "end": { "line": 222, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9135, "end": 9214, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 221, "column": 7 } } } ] }, { "type": "IfStatement", "start": 9252, "end": 9333, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 225, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9255, "end": 9282, "loc": { "start": { "line": 224, "column": 7 }, "end": { "line": 224, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9255, "end": 9259, "loc": { "start": { "line": 224, "column": 7 }, "end": { "line": 224, "column": 11 } } }, "property": { "type": "Identifier", "start": 9260, "end": 9282, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9291, "end": 9333, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9291, "end": 9332, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 47 } }, "callee": { "type": "Identifier", "start": 9291, "end": 9303, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9304, "end": 9331, "loc": { "start": { "line": 225, "column": 19 }, "end": { "line": 225, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9304, "end": 9308, "loc": { "start": { "line": 225, "column": 19 }, "end": { "line": 225, "column": 23 } } }, "property": { "type": "Identifier", "start": 9309, "end": 9331, "loc": { "start": { "line": 225, "column": 24 }, "end": { "line": 225, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null }, { "type": "IfStatement", "start": 9341, "end": 9400, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 228, "column": 37 } }, "test": { "type": "MemberExpression", "start": 9344, "end": 9360, "loc": { "start": { "line": 227, "column": 7 }, "end": { "line": 227, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9344, "end": 9348, "loc": { "start": { "line": 227, "column": 7 }, "end": { "line": 227, "column": 11 } } }, "property": { "type": "Identifier", "start": 9349, "end": 9360, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 23 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9369, "end": 9400, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9369, "end": 9399, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 36 } }, "callee": { "type": "Identifier", "start": 9369, "end": 9381, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9382, "end": 9398, "loc": { "start": { "line": 228, "column": 19 }, "end": { "line": 228, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9382, "end": 9386, "loc": { "start": { "line": 228, "column": 19 }, "end": { "line": 228, "column": 23 } } }, "property": { "type": "Identifier", "start": 9387, "end": 9398, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9408, "end": 9485, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 232, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9491, "end": 9950, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 249, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9491, "end": 9949, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 249, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9491, "end": 9507, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9491, "end": 9495, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9496, "end": 9507, "loc": { "start": { "line": 233, "column": 9 }, "end": { "line": 233, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9510, "end": 9949, "loc": { "start": { "line": 233, "column": 23 }, "end": { "line": 249, "column": 11 } }, "callee": { "type": "Identifier", "start": 9510, "end": 9520, "loc": { "start": { "line": 233, "column": 23 }, "end": { "line": 233, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9521, "end": 9943, "loc": { "start": { "line": 233, "column": 34 }, "end": { "line": 249, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9527, "end": 9943, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 249, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9536, "end": 9897, "loc": { "start": { "line": 234, "column": 6 }, "end": { "line": 247, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9549, "end": 9753, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 241, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9549, "end": 9565, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9549, "end": 9553, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 12 } } }, "property": { "type": "Identifier", "start": 9554, "end": 9565, "loc": { "start": { "line": 235, "column": 13 }, "end": { "line": 235, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9592, "end": 9742, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 240, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9592, "end": 9709, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 239, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9592, "end": 9674, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 238, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9593, "end": 9639, "loc": { "start": { "line": 237, "column": 11 }, "end": { "line": 237, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9593, "end": 9614, "loc": { "start": { "line": 237, "column": 11 }, "end": { "line": 237, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9594, "end": 9614, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9594, "end": 9609, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 27 } }, "object": { "type": "Identifier", "start": 9594, "end": 9600, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9601, "end": 9609, "loc": { "start": { "line": 237, "column": 19 }, "end": { "line": 237, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9610, "end": 9613, "loc": { "start": { "line": 237, "column": 28 }, "end": { "line": 237, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9618, "end": 9639, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9619, "end": 9639, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9619, "end": 9634, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 52 } }, "object": { "type": "Identifier", "start": 9619, "end": 9625, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9626, "end": 9634, "loc": { "start": { "line": 237, "column": 44 }, "end": { "line": 237, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9635, "end": 9638, "loc": { "start": { "line": 237, "column": 53 }, "end": { "line": 237, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9592 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9655, "end": 9674, "loc": { "start": { "line": 238, "column": 10 }, "end": { "line": 238, "column": 29 } }, "left": { "type": "Identifier", "start": 9655, "end": 9661, "loc": { "start": { "line": 238, "column": 10 }, "end": { "line": 238, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9666, "end": 9674, "loc": { "start": { "line": 238, "column": 21 }, "end": { "line": 238, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9689, "end": 9709, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 239, "column": 30 } }, "left": { "type": "Identifier", "start": 9689, "end": 9695, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 239, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9700, "end": 9709, "loc": { "start": { "line": 239, "column": 21 }, "end": { "line": 239, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9724, "end": 9742, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 28 } }, "left": { "type": "Identifier", "start": 9724, "end": 9730, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9735, "end": 9742, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9579 } } }, "consequent": { "type": "BlockStatement", "start": 9762, "end": 9897, "loc": { "start": { "line": 242, "column": 7 }, "end": { "line": 247, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 9773, "end": 9843, "loc": { "start": { "line": 243, "column": 8 }, "end": { "line": 244, "column": 46 } }, "test": { "type": "MemberExpression", "start": 9776, "end": 9794, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9776, "end": 9788, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9776, "end": 9780, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 15 } } }, "property": { "type": "Identifier", "start": 9781, "end": 9788, "loc": { "start": { "line": 243, "column": 16 }, "end": { "line": 243, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9789, "end": 9794, "loc": { "start": { "line": 243, "column": 24 }, "end": { "line": 243, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9807, "end": 9843, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9807, "end": 9842, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 9807, "end": 9818, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 21 } }, "object": { "type": "Identifier", "start": 9807, "end": 9814, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9815, "end": 9818, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9819, "end": 9833, "loc": { "start": { "line": 244, "column": 22 }, "end": { "line": 244, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 9835, "end": 9841, "loc": { "start": { "line": 244, "column": 38 }, "end": { "line": 244, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 9855, "end": 9888, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 41 } }, "expression": { "type": "CallExpression", "start": 9855, "end": 9887, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 9855, "end": 9876, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9855, "end": 9859, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 12 } } }, "property": { "type": "Identifier", "start": 9860, "end": 9876, "loc": { "start": { "line": 246, "column": 13 }, "end": { "line": 246, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9877, "end": 9883, "loc": { "start": { "line": 246, "column": 30 }, "end": { "line": 246, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9885, "end": 9886, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9905, "end": 9936, "loc": { "start": { "line": 248, "column": 6 }, "end": { "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9905, "end": 9935, "loc": { "start": { "line": 248, "column": 6 }, "end": { "line": 248, "column": 36 } }, "callee": { "type": "Identifier", "start": 9905, "end": 9917, "loc": { "start": { "line": 248, "column": 6 }, "end": { "line": 248, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9918, "end": 9934, "loc": { "start": { "line": 248, "column": 19 }, "end": { "line": 248, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9918, "end": 9922, "loc": { "start": { "line": 248, "column": 19 }, "end": { "line": 248, "column": 23 } } }, "property": { "type": "Identifier", "start": 9923, "end": 9934, "loc": { "start": { "line": 248, "column": 24 }, "end": { "line": 248, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 9945, "end": 9948, "loc": { "start": { "line": 249, "column": 7 }, "end": { "line": 249, "column": 10 } }, "extra": { "rawValue": 500, "raw": "500" }, "value": 500 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9408, "end": 9485, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 232, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9021, "end": 9062, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9066, "end": 9092, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9961, "end": 10000, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 254, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10004, "end": 10149, "loc": { "start": { "line": 255, "column": 2 }, "end": { "line": 259, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10004, "end": 10023, "loc": { "start": { "line": 255, "column": 2 }, "end": { "line": 255, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10025, "end": 10149, "loc": { "start": { "line": 255, "column": 23 }, "end": { "line": 259, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10032, "end": 10057, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 10032, "end": 10056, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10032, "end": 10048, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 20 } }, "object": { "type": "ThisExpression", "start": 10032, "end": 10036, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 8 } } }, "property": { "type": "Identifier", "start": 10037, "end": 10048, "loc": { "start": { "line": 256, "column": 9 }, "end": { "line": 256, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 10051, "end": 10056, "loc": { "start": { "line": 256, "column": 23 }, "end": { "line": 256, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 10063, "end": 10144, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 258, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10066, "end": 10093, "loc": { "start": { "line": 257, "column": 7 }, "end": { "line": 257, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10066, "end": 10070, "loc": { "start": { "line": 257, "column": 7 }, "end": { "line": 257, "column": 11 } } }, "property": { "type": "Identifier", "start": 10071, "end": 10093, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10102, "end": 10144, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10102, "end": 10143, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 47 } }, "callee": { "type": "Identifier", "start": 10102, "end": 10114, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10115, "end": 10142, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10115, "end": 10119, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 23 } } }, "property": { "type": "Identifier", "start": 10120, "end": 10142, "loc": { "start": { "line": 258, "column": 24 }, "end": { "line": 258, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9961, "end": 10000, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 254, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10155, "end": 10191, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10195, "end": 10221, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 10225, "end": 10693, "loc": { "start": { "line": 265, "column": 2 }, "end": { "line": 280, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10225, "end": 10241, "loc": { "start": { "line": 265, "column": 2 }, "end": { "line": 265, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10242, "end": 10248, "loc": { "start": { "line": 265, "column": 19 }, "end": { "line": 265, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10249, "end": 10693, "loc": { "start": { "line": 265, "column": 26 }, "end": { "line": 280, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10256, "end": 10337, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 267, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10259, "end": 10286, "loc": { "start": { "line": 266, "column": 7 }, "end": { "line": 266, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10259, "end": 10263, "loc": { "start": { "line": 266, "column": 7 }, "end": { "line": 266, "column": 11 } } }, "property": { "type": "Identifier", "start": 10264, "end": 10286, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10295, "end": 10337, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10295, "end": 10336, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 47 } }, "callee": { "type": "Identifier", "start": 10295, "end": 10307, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10308, "end": 10335, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10308, "end": 10312, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 23 } } }, "property": { "type": "Identifier", "start": 10313, "end": 10335, "loc": { "start": { "line": 267, "column": 24 }, "end": { "line": 267, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10345, "end": 10431, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 271, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 10437, "end": 10688, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 279, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 10437, "end": 10687, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 279, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10437, "end": 10464, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 272, "column": 31 } }, "object": { "type": "ThisExpression", "start": 10437, "end": 10441, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 272, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10442, "end": 10464, "loc": { "start": { "line": 272, "column": 9 }, "end": { "line": 272, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 10467, "end": 10687, "loc": { "start": { "line": 272, "column": 34 }, "end": { "line": 279, "column": 11 } }, "callee": { "type": "Identifier", "start": 10467, "end": 10477, "loc": { "start": { "line": 272, "column": 34 }, "end": { "line": 272, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10478, "end": 10681, "loc": { "start": { "line": 272, "column": 45 }, "end": { "line": 279, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10484, "end": 10681, "loc": { "start": { "line": 272, "column": 51 }, "end": { "line": 279, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 10493, "end": 10674, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 278, "column": 7 } }, "test": { "type": "MemberExpression", "start": 10496, "end": 10512, "loc": { "start": { "line": 273, "column": 9 }, "end": { "line": 273, "column": 25 } }, "object": { "type": "ThisExpression", "start": 10496, "end": 10500, "loc": { "start": { "line": 273, "column": 9 }, "end": { "line": 273, "column": 13 } } }, "property": { "type": "Identifier", "start": 10501, "end": 10512, "loc": { "start": { "line": 273, "column": 14 }, "end": { "line": 273, "column": 25 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 10513, "end": 10606, "loc": { "start": { "line": 273, "column": 26 }, "end": { "line": 276, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10524, "end": 10557, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 41 } }, "expression": { "type": "CallExpression", "start": 10524, "end": 10556, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 10524, "end": 10548, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 32 } }, "object": { "type": "ThisExpression", "start": 10524, "end": 10528, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 12 } } }, "property": { "type": "Identifier", "start": 10529, "end": 10548, "loc": { "start": { "line": 274, "column": 13 }, "end": { "line": 274, "column": 32 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10549, "end": 10555, "loc": { "start": { "line": 274, "column": 33 }, "end": { "line": 274, "column": 39 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 10567, "end": 10597, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 38 } }, "expression": { "type": "CallExpression", "start": 10567, "end": 10596, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 10567, "end": 10588, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10567, "end": 10571, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 12 } } }, "property": { "type": "Identifier", "start": 10572, "end": 10588, "loc": { "start": { "line": 275, "column": 13 }, "end": { "line": 275, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10589, "end": 10595, "loc": { "start": { "line": 275, "column": 30 }, "end": { "line": 275, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 10612, "end": 10674, "loc": { "start": { "line": 276, "column": 13 }, "end": { "line": 278, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10623, "end": 10665, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 50 } }, "expression": { "type": "CallExpression", "start": 10623, "end": 10664, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 49 } }, "callee": { "type": "Identifier", "start": 10623, "end": 10635, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 20 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10636, "end": 10663, "loc": { "start": { "line": 277, "column": 21 }, "end": { "line": 277, "column": 48 } }, "object": { "type": "ThisExpression", "start": 10636, "end": 10640, "loc": { "start": { "line": 277, "column": 21 }, "end": { "line": 277, "column": 25 } } }, "property": { "type": "Identifier", "start": 10641, "end": 10663, "loc": { "start": { "line": 277, "column": 26 }, "end": { "line": 277, "column": 48 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } } ], "directives": [] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10683, "end": 10686, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 10 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10345, "end": 10431, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 271, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10155, "end": 10191, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10195, "end": 10221, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10699, "end": 10796, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 284, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10800, "end": 10912, "loc": { "start": { "line": 285, "column": 2 }, "end": { "line": 289, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10800, "end": 10818, "loc": { "start": { "line": 285, "column": 2 }, "end": { "line": 285, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10820, "end": 10912, "loc": { "start": { "line": 285, "column": 22 }, "end": { "line": 289, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10827, "end": 10907, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 288, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10827, "end": 10906, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 288, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10827, "end": 10840, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10827, "end": 10831, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 8 } } }, "property": { "type": "Identifier", "start": 10832, "end": 10840, "loc": { "start": { "line": 286, "column": 9 }, "end": { "line": 286, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10841, "end": 10905, "loc": { "start": { "line": 286, "column": 18 }, "end": { "line": 288, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10842, "end": 10850, "loc": { "start": { "line": 286, "column": 19 }, "end": { "line": 286, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10855, "end": 10905, "loc": { "start": { "line": 286, "column": 32 }, "end": { "line": 288, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10864, "end": 10898, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10864, "end": 10897, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10864, "end": 10885, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 27 } }, "object": { "type": "Identifier", "start": 10864, "end": 10872, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10873, "end": 10885, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10886, "end": 10896, "loc": { "start": { "line": 287, "column": 28 }, "end": { "line": 287, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10886, "end": 10890, "loc": { "start": { "line": 287, "column": 28 }, "end": { "line": 287, "column": 32 } } }, "property": { "type": "Identifier", "start": 10891, "end": 10896, "loc": { "start": { "line": 287, "column": 33 }, "end": { "line": 287, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10699, "end": 10796, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 284, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10920, "end": 11038, "loc": { "start": { "line": 291, "column": 2 }, "end": { "line": 294, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11042, "end": 11317, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 304, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11042, "end": 11052, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 295, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11053, "end": 11062, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11063, "end": 11317, "loc": { "start": { "line": 295, "column": 23 }, "end": { "line": 304, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11070, "end": 11118, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11070, "end": 11117, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11070, "end": 11079, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11082, "end": 11117, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 51 } }, "left": { "type": "Identifier", "start": 11082, "end": 11091, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11095, "end": 11117, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11095, "end": 11107, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11095, "end": 11099, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 33 } } }, "property": { "type": "Identifier", "start": 11100, "end": 11107, "loc": { "start": { "line": 296, "column": 34 }, "end": { "line": 296, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11108, "end": 11117, "loc": { "start": { "line": 296, "column": 42 }, "end": { "line": 296, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11124, "end": 11164, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 11124, "end": 11163, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11124, "end": 11158, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11124, "end": 11134, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11124, "end": 11128, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 8 } } }, "property": { "type": "Identifier", "start": 11129, "end": 11134, "loc": { "start": { "line": 297, "column": 9 }, "end": { "line": 297, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11135, "end": 11157, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 37 } }, "object": { "type": "MemberExpression", "start": 11135, "end": 11147, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 27 } }, "object": { "type": "ThisExpression", "start": 11135, "end": 11139, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 19 } } }, "property": { "type": "Identifier", "start": 11140, "end": 11147, "loc": { "start": { "line": 297, "column": 20 }, "end": { "line": 297, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11148, "end": 11157, "loc": { "start": { "line": 297, "column": 28 }, "end": { "line": 297, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 11161, "end": 11163, "loc": { "start": { "line": 297, "column": 41 }, "end": { "line": 297, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11172, "end": 11227, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 301, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11233, "end": 11312, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 303, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11236, "end": 11267, "loc": { "start": { "line": 302, "column": 7 }, "end": { "line": 302, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11236, "end": 11248, "loc": { "start": { "line": 302, "column": 7 }, "end": { "line": 302, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11236, "end": 11240, "loc": { "start": { "line": 302, "column": 7 }, "end": { "line": 302, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11241, "end": 11248, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11249, "end": 11267, "loc": { "start": { "line": 302, "column": 20 }, "end": { "line": 302, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11276, "end": 11312, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11276, "end": 11311, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11276, "end": 11299, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11276, "end": 11280, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 10 } } }, "property": { "type": "Identifier", "start": 11281, "end": 11299, "loc": { "start": { "line": 303, "column": 11 }, "end": { "line": 303, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11300, "end": 11310, "loc": { "start": { "line": 303, "column": 30 }, "end": { "line": 303, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11300, "end": 11304, "loc": { "start": { "line": 303, "column": 30 }, "end": { "line": 303, "column": 34 } } }, "property": { "type": "Identifier", "start": 11305, "end": 11310, "loc": { "start": { "line": 303, "column": 35 }, "end": { "line": 303, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11172, "end": 11227, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 301, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10920, "end": 11038, "loc": { "start": { "line": 291, "column": 2 }, "end": { "line": 294, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11323, "end": 11485, "loc": { "start": { "line": 306, "column": 2 }, "end": { "line": 309, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11489, "end": 11766, "loc": { "start": { "line": 310, "column": 2 }, "end": { "line": 320, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11489, "end": 11497, "loc": { "start": { "line": 310, "column": 2 }, "end": { "line": 310, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11498, "end": 11507, "loc": { "start": { "line": 310, "column": 11 }, "end": { "line": 310, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11508, "end": 11766, "loc": { "start": { "line": 310, "column": 21 }, "end": { "line": 320, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11515, "end": 11563, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11515, "end": 11562, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11515, "end": 11524, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11527, "end": 11562, "loc": { "start": { "line": 311, "column": 16 }, "end": { "line": 311, "column": 51 } }, "left": { "type": "Identifier", "start": 11527, "end": 11536, "loc": { "start": { "line": 311, "column": 16 }, "end": { "line": 311, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11540, "end": 11562, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11540, "end": 11552, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11540, "end": 11544, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 33 } } }, "property": { "type": "Identifier", "start": 11545, "end": 11552, "loc": { "start": { "line": 311, "column": 34 }, "end": { "line": 311, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11553, "end": 11562, "loc": { "start": { "line": 311, "column": 42 }, "end": { "line": 311, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11571, "end": 11626, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 315, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11632, "end": 11711, "loc": { "start": { "line": 316, "column": 4 }, "end": { "line": 317, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11635, "end": 11666, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11635, "end": 11647, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11635, "end": 11639, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11640, "end": 11647, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11648, "end": 11666, "loc": { "start": { "line": 316, "column": 20 }, "end": { "line": 316, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11675, "end": 11711, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11675, "end": 11710, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11675, "end": 11698, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11675, "end": 11679, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 10 } } }, "property": { "type": "Identifier", "start": 11680, "end": 11698, "loc": { "start": { "line": 317, "column": 11 }, "end": { "line": 317, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11699, "end": 11709, "loc": { "start": { "line": 317, "column": 30 }, "end": { "line": 317, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11699, "end": 11703, "loc": { "start": { "line": 317, "column": 30 }, "end": { "line": 317, "column": 34 } } }, "property": { "type": "Identifier", "start": 11704, "end": 11709, "loc": { "start": { "line": 317, "column": 35 }, "end": { "line": 317, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11571, "end": 11626, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 315, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11719, "end": 11761, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11726, "end": 11760, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11726, "end": 11736, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11726, "end": 11730, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 15 } } }, "property": { "type": "Identifier", "start": 11731, "end": 11736, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11737, "end": 11759, "loc": { "start": { "line": 319, "column": 22 }, "end": { "line": 319, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11737, "end": 11749, "loc": { "start": { "line": 319, "column": 22 }, "end": { "line": 319, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11737, "end": 11741, "loc": { "start": { "line": 319, "column": 22 }, "end": { "line": 319, "column": 26 } } }, "property": { "type": "Identifier", "start": 11742, "end": 11749, "loc": { "start": { "line": 319, "column": 27 }, "end": { "line": 319, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11750, "end": 11759, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11323, "end": 11485, "loc": { "start": { "line": 306, "column": 2 }, "end": { "line": 309, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11772, "end": 11932, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11936, "end": 12206, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 336, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11936, "end": 11944, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11945, "end": 11950, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11952, "end": 11961, "loc": { "start": { "line": 327, "column": 18 }, "end": { "line": 327, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11962, "end": 12206, "loc": { "start": { "line": 327, "column": 28 }, "end": { "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11969, "end": 12017, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11969, "end": 12016, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11969, "end": 11978, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11981, "end": 12016, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 51 } }, "left": { "type": "Identifier", "start": 11981, "end": 11990, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11994, "end": 12016, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11994, "end": 12006, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11994, "end": 11998, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 33 } } }, "property": { "type": "Identifier", "start": 11999, "end": 12006, "loc": { "start": { "line": 328, "column": 34 }, "end": { "line": 328, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12007, "end": 12016, "loc": { "start": { "line": 328, "column": 42 }, "end": { "line": 328, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 12023, "end": 12053, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 12023, "end": 12052, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12023, "end": 12044, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 25 } }, "object": { "type": "MemberExpression", "start": 12023, "end": 12033, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12023, "end": 12027, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, "property": { "type": "Identifier", "start": 12028, "end": 12033, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 12034, "end": 12043, "loc": { "start": { "line": 329, "column": 15 }, "end": { "line": 329, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 12047, "end": 12052, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12061, "end": 12116, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 333, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12122, "end": 12201, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 335, "column": 42 } }, "test": { "type": "MemberExpression", "start": 12125, "end": 12156, "loc": { "start": { "line": 334, "column": 7 }, "end": { "line": 334, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12125, "end": 12137, "loc": { "start": { "line": 334, "column": 7 }, "end": { "line": 334, "column": 19 } }, "object": { "type": "ThisExpression", "start": 12125, "end": 12129, "loc": { "start": { "line": 334, "column": 7 }, "end": { "line": 334, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12130, "end": 12137, "loc": { "start": { "line": 334, "column": 12 }, "end": { "line": 334, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12138, "end": 12156, "loc": { "start": { "line": 334, "column": 20 }, "end": { "line": 334, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 12165, "end": 12201, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 42 } }, "expression": { "type": "CallExpression", "start": 12165, "end": 12200, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 12165, "end": 12188, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12165, "end": 12169, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 10 } } }, "property": { "type": "Identifier", "start": 12170, "end": 12188, "loc": { "start": { "line": 335, "column": 11 }, "end": { "line": 335, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12189, "end": 12199, "loc": { "start": { "line": 335, "column": 30 }, "end": { "line": 335, "column": 40 } }, "object": { "type": "ThisExpression", "start": 12189, "end": 12193, "loc": { "start": { "line": 335, "column": 30 }, "end": { "line": 335, "column": 34 } } }, "property": { "type": "Identifier", "start": 12194, "end": 12199, "loc": { "start": { "line": 335, "column": 35 }, "end": { "line": 335, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12061, "end": 12116, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 333, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11772, "end": 11932, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12214, "end": 12323, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12327, "end": 12383, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 344, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12327, "end": 12339, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 342, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12340, "end": 12348, "loc": { "start": { "line": 342, "column": 15 }, "end": { "line": 342, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 12349, "end": 12383, "loc": { "start": { "line": 342, "column": 24 }, "end": { "line": 344, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12356, "end": 12378, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12356, "end": 12377, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12356, "end": 12366, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12356, "end": 12360, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 8 } } }, "property": { "type": "Identifier", "start": 12361, "end": 12366, "loc": { "start": { "line": 343, "column": 9 }, "end": { "line": 343, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 12369, "end": 12377, "loc": { "start": { "line": 343, "column": 17 }, "end": { "line": 343, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12214, "end": 12323, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 12389, "end": 12515, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 349, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12519, "end": 12653, "loc": { "start": { "line": 350, "column": 2 }, "end": { "line": 354, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12519, "end": 12529, "loc": { "start": { "line": 350, "column": 2 }, "end": { "line": 350, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12532, "end": 12653, "loc": { "start": { "line": 350, "column": 15 }, "end": { "line": 354, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12532, "end": 12538, "loc": { "start": { "line": 350, "column": 15 }, "end": { "line": 350, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 12542, "end": 12653, "loc": { "start": { "line": 350, "column": 25 }, "end": { "line": 354, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12549, "end": 12571, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12549, "end": 12570, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 12549, "end": 12555, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 12558, "end": 12570, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 25 } }, "left": { "type": "Identifier", "start": 12558, "end": 12564, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 12568, "end": 12570, "loc": { "start": { "line": 351, "column": 23 }, "end": { "line": 351, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 12577, "end": 12628, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12577, "end": 12627, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12577, "end": 12589, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12577, "end": 12581, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 8 } } }, "property": { "type": "Identifier", "start": 12582, "end": 12589, "loc": { "start": { "line": 352, "column": 9 }, "end": { "line": 352, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 12592, "end": 12627, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 12592, "end": 12605, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 32 } }, "object": { "type": "Identifier", "start": 12592, "end": 12598, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12599, "end": 12605, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12606, "end": 12618, "loc": { "start": { "line": 352, "column": 33 }, "end": { "line": 352, "column": 45 } }, "object": { "type": "ThisExpression", "start": 12606, "end": 12610, "loc": { "start": { "line": 352, "column": 33 }, "end": { "line": 352, "column": 37 } } }, "property": { "type": "Identifier", "start": 12611, "end": 12618, "loc": { "start": { "line": 352, "column": 38 }, "end": { "line": 352, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 12620, "end": 12626, "loc": { "start": { "line": 352, "column": 47 }, "end": { "line": 352, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 12634, "end": 12648, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12634, "end": 12647, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12634, "end": 12645, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12634, "end": 12638, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 8 } } }, "property": { "type": "Identifier", "start": 12639, "end": 12645, "loc": { "start": { "line": 353, "column": 9 }, "end": { "line": 353, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 12389, "end": 12515, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 349, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12659, "end": 12768, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 359, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12772, "end": 12911, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 364, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12772, "end": 12777, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 360, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12779, "end": 12911, "loc": { "start": { "line": 360, "column": 9 }, "end": { "line": 364, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12786, "end": 12818, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12786, "end": 12817, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12786, "end": 12812, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12786, "end": 12802, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12786, "end": 12790, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 8 } } }, "property": { "type": "Identifier", "start": 12791, "end": 12802, "loc": { "start": { "line": 361, "column": 9 }, "end": { "line": 361, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12803, "end": 12812, "loc": { "start": { "line": 361, "column": 21 }, "end": { "line": 361, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12815, "end": 12817, "loc": { "start": { "line": 361, "column": 33 }, "end": { "line": 361, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12824, "end": 12875, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12824, "end": 12874, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12824, "end": 12850, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12824, "end": 12840, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12824, "end": 12828, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 8 } } }, "property": { "type": "Identifier", "start": 12829, "end": 12840, "loc": { "start": { "line": 362, "column": 9 }, "end": { "line": 362, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12841, "end": 12850, "loc": { "start": { "line": 362, "column": 21 }, "end": { "line": 362, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12853, "end": 12874, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12853, "end": 12857, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "column": 37 } } }, "property": { "type": "Identifier", "start": 12858, "end": 12874, "loc": { "start": { "line": 362, "column": 38 }, "end": { "line": 362, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12881, "end": 12906, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12881, "end": 12905, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12881, "end": 12900, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12881, "end": 12885, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 8 } } }, "property": { "type": "Identifier", "start": 12886, "end": 12900, "loc": { "start": { "line": 363, "column": 9 }, "end": { "line": 363, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12903, "end": 12905, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12659, "end": 12768, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 359, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12917, "end": 13122, "loc": { "start": { "line": 366, "column": 2 }, "end": { "line": 369, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13126, "end": 13494, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 379, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13126, "end": 13134, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 370, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13135, "end": 13143, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 13144, "end": 13494, "loc": { "start": { "line": 370, "column": 20 }, "end": { "line": 379, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13151, "end": 13335, "loc": { "start": { "line": 371, "column": 4 }, "end": { "line": 374, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 13154, "end": 13188, "loc": { "start": { "line": 371, "column": 7 }, "end": { "line": 371, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13155, "end": 13188, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 41 } }, "object": { "type": "Identifier", "start": 13155, "end": 13161, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13162, "end": 13187, "loc": { "start": { "line": 371, "column": 15 }, "end": { "line": 371, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13189, "end": 13335, "loc": { "start": { "line": 371, "column": 42 }, "end": { "line": 374, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13198, "end": 13281, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 89 } }, "expression": { "type": "CallExpression", "start": 13198, "end": 13280, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 13198, "end": 13210, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 18 } }, "object": { "type": "Identifier", "start": 13198, "end": 13205, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 13206, "end": 13210, "loc": { "start": { "line": 372, "column": 14 }, "end": { "line": 372, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 13211, "end": 13279, "loc": { "start": { "line": 372, "column": 19 }, "end": { "line": 372, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 13212, "end": 13278, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 372, "column": 86 } }, "value": { "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 13289, "end": 13328, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 45 } }, "argument": { "type": "NewExpression", "start": 13295, "end": 13327, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 44 } }, "callee": { "type": "Identifier", "start": 13299, "end": 13304, "loc": { "start": { "line": 373, "column": 16 }, "end": { "line": 373, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 13305, "end": 13326, "loc": { "start": { "line": 373, "column": 22 }, "end": { "line": 373, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13347, "end": 13489, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 378, "column": 6 } }, "argument": { "type": "CallExpression", "start": 13354, "end": 13489, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 378, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13354, "end": 13408, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 65 } }, "object": { "type": "CallExpression", "start": 13354, "end": 13400, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 13354, "end": 13365, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 22 } }, "object": { "type": "Identifier", "start": 13354, "end": 13360, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 13361, "end": 13365, "loc": { "start": { "line": 376, "column": 18 }, "end": { "line": 376, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13366, "end": 13399, "loc": { "start": { "line": 376, "column": 23 }, "end": { "line": 376, "column": 56 } }, "object": { "type": "Identifier", "start": 13366, "end": 13372, "loc": { "start": { "line": 376, "column": 23 }, "end": { "line": 376, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13373, "end": 13398, "loc": { "start": { "line": 376, "column": 30 }, "end": { "line": 376, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 13401, "end": 13408, "loc": { "start": { "line": 376, "column": 58 }, "end": { "line": 376, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13409, "end": 13488, "loc": { "start": { "line": 376, "column": 66 }, "end": { "line": 378, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13410, "end": 13413, "loc": { "start": { "line": 376, "column": 67 }, "end": { "line": 376, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 13418, "end": 13488, "loc": { "start": { "line": 376, "column": 75 }, "end": { "line": 378, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13427, "end": 13481, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 60 } }, "expression": { "type": "CallExpression", "start": 13427, "end": 13480, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 59 } }, "callee": { "type": "Identifier", "start": 13427, "end": 13435, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 13436, "end": 13474, "loc": { "start": { "line": 377, "column": 15 }, "end": { "line": 377, "column": 53 } }, "object": { "type": "MemberExpression", "start": 13436, "end": 13469, "loc": { "start": { "line": 377, "column": 15 }, "end": { "line": 377, "column": 48 } }, "object": { "type": "Identifier", "start": 13436, "end": 13442, "loc": { "start": { "line": 377, "column": 15 }, "end": { "line": 377, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13443, "end": 13468, "loc": { "start": { "line": 377, "column": 22 }, "end": { "line": 377, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 13470, "end": 13473, "loc": { "start": { "line": 377, "column": 49 }, "end": { "line": 377, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 13476, "end": 13479, "loc": { "start": { "line": 377, "column": 55 }, "end": { "line": 377, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12917, "end": 13122, "loc": { "start": { "line": 366, "column": 2 }, "end": { "line": 369, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13500, "end": 13781, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 385, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13785, "end": 15017, "loc": { "start": { "line": 386, "column": 2 }, "end": { "line": 429, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13785, "end": 13799, "loc": { "start": { "line": 386, "column": 2 }, "end": { "line": 386, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13800, "end": 13807, "loc": { "start": { "line": 386, "column": 17 }, "end": { "line": 386, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13809, "end": 13818, "loc": { "start": { "line": 386, "column": 26 }, "end": { "line": 386, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13819, "end": 15017, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 429, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13826, "end": 13873, "loc": { "start": { "line": 387, "column": 4 }, "end": { "line": 388, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13829, "end": 13851, "loc": { "start": { "line": 387, "column": 7 }, "end": { "line": 387, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13829, "end": 13839, "loc": { "start": { "line": 387, "column": 7 }, "end": { "line": 387, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13830, "end": 13839, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13843, "end": 13851, "loc": { "start": { "line": 387, "column": 21 }, "end": { "line": 387, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13844, "end": 13851, "loc": { "start": { "line": 387, "column": 22 }, "end": { "line": 387, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13860, "end": 13873, "loc": { "start": { "line": 388, "column": 6 }, "end": { "line": 388, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13867, "end": 13872, "loc": { "start": { "line": 388, "column": 13 }, "end": { "line": 388, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13881, "end": 14990, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 426, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13881, "end": 14989, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 426, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13881, "end": 13907, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 30 } }, "object": { "type": "CallExpression", "start": 13881, "end": 13899, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13881, "end": 13894, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 17 } }, "object": { "type": "Identifier", "start": 13881, "end": 13888, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13889, "end": 13894, "loc": { "start": { "line": 390, "column": 12 }, "end": { "line": 390, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13895, "end": 13898, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13900, "end": 13907, "loc": { "start": { "line": 390, "column": 23 }, "end": { "line": 390, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13908, "end": 14988, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 426, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13908, "end": 13914, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 390, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13918, "end": 14988, "loc": { "start": { "line": 390, "column": 41 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13927, "end": 14981, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 425, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13927, "end": 14980, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 425, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13927, "end": 13955, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 34 } }, "object": { "type": "CallExpression", "start": 13927, "end": 13947, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13927, "end": 13942, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 21 } }, "object": { "type": "Identifier", "start": 13927, "end": 13936, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13937, "end": 13942, "loc": { "start": { "line": 391, "column": 16 }, "end": { "line": 391, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13943, "end": 13946, "loc": { "start": { "line": 391, "column": 22 }, "end": { "line": 391, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13948, "end": 13955, "loc": { "start": { "line": 391, "column": 27 }, "end": { "line": 391, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13956, "end": 14979, "loc": { "start": { "line": 391, "column": 35 }, "end": { "line": 425, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13956, "end": 13969, "loc": { "start": { "line": 391, "column": 35 }, "end": { "line": 391, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13973, "end": 14979, "loc": { "start": { "line": 391, "column": 52 }, "end": { "line": 425, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13984, "end": 14055, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 393, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13987, "end": 14012, "loc": { "start": { "line": 392, "column": 11 }, "end": { "line": 392, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13988, "end": 14012, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13988, "end": 14000, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13988, "end": 13992, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 16 } } }, "property": { "type": "Identifier", "start": 13993, "end": 14000, "loc": { "start": { "line": 392, "column": 17 }, "end": { "line": 392, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14001, "end": 14012, "loc": { "start": { "line": 392, "column": 25 }, "end": { "line": 392, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 14025, "end": 14055, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 14025, "end": 14054, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14025, "end": 14049, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14025, "end": 14037, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14025, "end": 14029, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 14 } } }, "property": { "type": "Identifier", "start": 14030, "end": 14037, "loc": { "start": { "line": 393, "column": 15 }, "end": { "line": 393, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14038, "end": 14049, "loc": { "start": { "line": 393, "column": 23 }, "end": { "line": 393, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14052, "end": 14054, "loc": { "start": { "line": 393, "column": 37 }, "end": { "line": 393, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 14067, "end": 14094, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14071, "end": 14093, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 34 } }, "id": { "type": "Identifier", "start": 14071, "end": 14085, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 14088, "end": 14093, "loc": { "start": { "line": 395, "column": 29 }, "end": { "line": 395, "column": 34 } }, "value": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14108, "end": 14199, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 14209, "end": 14717, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 413, "column": 11 } }, "expression": { "type": "CallExpression", "start": 14209, "end": 14716, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 413, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 14209, "end": 14237, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14209, "end": 14233, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 32 } }, "object": { "type": "MemberExpression", "start": 14209, "end": 14221, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 20 } }, "object": { "type": "ThisExpression", "start": 14209, "end": 14213, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14214, "end": 14221, "loc": { "start": { "line": 400, "column": 13 }, "end": { "line": 400, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14222, "end": 14233, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14234, "end": 14237, "loc": { "start": { "line": 400, "column": 33 }, "end": { "line": 400, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14238, "end": 14715, "loc": { "start": { "line": 400, "column": 37 }, "end": { "line": 413, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14238, "end": 14249, "loc": { "start": { "line": 400, "column": 37 }, "end": { "line": 400, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 14253, "end": 14715, "loc": { "start": { "line": 400, "column": 52 }, "end": { "line": 413, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 14268, "end": 14673, "loc": { "start": { "line": 402, "column": 10 }, "end": { "line": 411, "column": 11 } }, "test": { "type": "CallExpression", "start": 14271, "end": 14323, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14271, "end": 14308, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 50 } }, "object": { "type": "CallExpression", "start": 14271, "end": 14299, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 14271, "end": 14294, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14271, "end": 14288, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 30 } }, "object": { "type": "Identifier", "start": 14271, "end": 14282, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14283, "end": 14288, "loc": { "start": { "line": 402, "column": 25 }, "end": { "line": 402, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 14289, "end": 14294, "loc": { "start": { "line": 402, "column": 31 }, "end": { "line": 402, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14295, "end": 14298, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14300, "end": 14308, "loc": { "start": { "line": 402, "column": 42 }, "end": { "line": 402, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14309, "end": 14322, "loc": { "start": { "line": 402, "column": 51 }, "end": { "line": 402, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 14324, "end": 14673, "loc": { "start": { "line": 402, "column": 66 }, "end": { "line": 411, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 14339, "end": 14361, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 14339, "end": 14360, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 14339, "end": 14353, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14356, "end": 14360, "loc": { "start": { "line": 403, "column": 29 }, "end": { "line": 403, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 14389, "end": 14443, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14393, "end": 14442, "loc": { "start": { "line": 405, "column": 16 }, "end": { "line": 405, "column": 65 } }, "id": { "type": "Identifier", "start": 14393, "end": 14409, "loc": { "start": { "line": 405, "column": 16 }, "end": { "line": 405, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 14412, "end": 14442, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14412, "end": 14437, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 60 } }, "object": { "type": "MemberExpression", "start": 14412, "end": 14431, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 54 } }, "object": { "type": "Identifier", "start": 14412, "end": 14423, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14424, "end": 14431, "loc": { "start": { "line": 405, "column": 47 }, "end": { "line": 405, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 14432, "end": 14437, "loc": { "start": { "line": 405, "column": 55 }, "end": { "line": 405, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14438, "end": 14441, "loc": { "start": { "line": 405, "column": 61 }, "end": { "line": 405, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14457, "end": 14660, "loc": { "start": { "line": 406, "column": 12 }, "end": { "line": 410, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 14460, "end": 14494, "loc": { "start": { "line": 406, "column": 15 }, "end": { "line": 406, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14461, "end": 14494, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 14461, "end": 14486, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 41 } }, "object": { "type": "Identifier", "start": 14461, "end": 14477, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14478, "end": 14486, "loc": { "start": { "line": 406, "column": 33 }, "end": { "line": 406, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14487, "end": 14493, "loc": { "start": { "line": 406, "column": 42 }, "end": { "line": 406, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14495, "end": 14660, "loc": { "start": { "line": 406, "column": 50 }, "end": { "line": 410, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 14512, "end": 14534, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14512, "end": 14533, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 14512, "end": 14526, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14529, "end": 14533, "loc": { "start": { "line": 407, "column": 31 }, "end": { "line": 407, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 14550, "end": 14580, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14550, "end": 14579, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14550, "end": 14571, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 35 } }, "object": { "type": "Identifier", "start": 14550, "end": 14566, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14567, "end": 14571, "loc": { "start": { "line": 408, "column": 31 }, "end": { "line": 408, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14572, "end": 14578, "loc": { "start": { "line": 408, "column": 36 }, "end": { "line": 408, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 14596, "end": 14645, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 14596, "end": 14644, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14596, "end": 14615, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 33 } }, "object": { "type": "Identifier", "start": 14596, "end": 14607, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14608, "end": 14615, "loc": { "start": { "line": 409, "column": 26 }, "end": { "line": 409, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14618, "end": 14644, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14618, "end": 14639, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 57 } }, "object": { "type": "Identifier", "start": 14618, "end": 14634, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14635, "end": 14639, "loc": { "start": { "line": 409, "column": 53 }, "end": { "line": 409, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14640, "end": 14643, "loc": { "start": { "line": 409, "column": 58 }, "end": { "line": 409, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14685, "end": 14704, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 29 } }, "argument": { "type": "Identifier", "start": 14692, "end": 14703, "loc": { "start": { "line": 412, "column": 17 }, "end": { "line": 412, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14108, "end": 14199, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14729, "end": 14804, "loc": { "start": { "line": 415, "column": 8 }, "end": { "line": 417, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14814, "end": 14968, "loc": { "start": { "line": 418, "column": 8 }, "end": { "line": 423, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14817, "end": 14832, "loc": { "start": { "line": 418, "column": 11 }, "end": { "line": 418, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14818, "end": 14832, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14833, "end": 14968, "loc": { "start": { "line": 418, "column": 27 }, "end": { "line": 423, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14846, "end": 14957, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 422, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14846, "end": 14956, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 422, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14846, "end": 14875, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14846, "end": 14870, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14846, "end": 14858, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14846, "end": 14850, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 14 } } }, "property": { "type": "Identifier", "start": 14851, "end": 14858, "loc": { "start": { "line": 419, "column": 15 }, "end": { "line": 419, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14859, "end": 14870, "loc": { "start": { "line": 419, "column": 23 }, "end": { "line": 419, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14871, "end": 14875, "loc": { "start": { "line": 419, "column": 35 }, "end": { "line": 419, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14876, "end": 14955, "loc": { "start": { "line": 419, "column": 40 }, "end": { "line": 422, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14891, "end": 14911, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14891, "end": 14896, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14898, "end": 14911, "loc": { "start": { "line": 420, "column": 19 }, "end": { "line": 420, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14926, "end": 14942, "loc": { "start": { "line": 421, "column": 12 }, "end": { "line": 421, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14926, "end": 14933, "loc": { "start": { "line": 421, "column": 12 }, "end": { "line": 421, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14935, "end": 14942, "loc": { "start": { "line": 421, "column": 21 }, "end": { "line": 421, "column": 28 }, "identifierName": "buttons" }, "name": "buttons" } } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14729, "end": 14804, "loc": { "start": { "line": 415, "column": 8 }, "end": { "line": 417, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14998, "end": 15012, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14998, "end": 15011, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14998, "end": 15009, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14998, "end": 15002, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 8 } } }, "property": { "type": "Identifier", "start": 15003, "end": 15009, "loc": { "start": { "line": 428, "column": 9 }, "end": { "line": 428, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13500, "end": 13781, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 385, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15023, "end": 15363, "loc": { "start": { "line": 431, "column": 2 }, "end": { "line": 435, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 15367, "end": 16784, "loc": { "start": { "line": 436, "column": 2 }, "end": { "line": 482, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15367, "end": 15384, "loc": { "start": { "line": 436, "column": 2 }, "end": { "line": 436, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15385, "end": 15392, "loc": { "start": { "line": 436, "column": 20 }, "end": { "line": 436, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 15394, "end": 15403, "loc": { "start": { "line": 436, "column": 29 }, "end": { "line": 436, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 15404, "end": 16784, "loc": { "start": { "line": 436, "column": 39 }, "end": { "line": 482, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15497, "end": 15612, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 444, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15500, "end": 15522, "loc": { "start": { "line": 440, "column": 7 }, "end": { "line": 440, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 15500, "end": 15508, "loc": { "start": { "line": 440, "column": 7 }, "end": { "line": 440, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15501, "end": 15508, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 15512, "end": 15522, "loc": { "start": { "line": 440, "column": 19 }, "end": { "line": 440, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15513, "end": 15522, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15523, "end": 15612, "loc": { "start": { "line": 440, "column": 30 }, "end": { "line": 444, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15532, "end": 15562, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 15532, "end": 15561, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15532, "end": 15556, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 30 } }, "object": { "type": "MemberExpression", "start": 15532, "end": 15544, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15532, "end": 15536, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 10 } } }, "property": { "type": "Identifier", "start": 15537, "end": 15544, "loc": { "start": { "line": 441, "column": 11 }, "end": { "line": 441, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15545, "end": 15556, "loc": { "start": { "line": 441, "column": 19 }, "end": { "line": 441, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 15559, "end": 15561, "loc": { "start": { "line": 441, "column": 33 }, "end": { "line": 441, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 15570, "end": 15584, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 20 } }, "expression": { "type": "CallExpression", "start": 15570, "end": 15583, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 15570, "end": 15581, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 17 } }, "object": { "type": "ThisExpression", "start": 15570, "end": 15574, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 10 } } }, "property": { "type": "Identifier", "start": 15575, "end": 15581, "loc": { "start": { "line": 442, "column": 11 }, "end": { "line": 442, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 15592, "end": 15605, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 15599, "end": 15604, "loc": { "start": { "line": 443, "column": 13 }, "end": { "line": 443, "column": 18 } }, "value": false } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15411, "end": 15491, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15620, "end": 15688, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 448, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15694, "end": 16779, "loc": { "start": { "line": 449, "column": 4 }, "end": { "line": 481, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15697, "end": 15782, "loc": { "start": { "line": 449, "column": 7 }, "end": { "line": 449, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15697, "end": 15747, "loc": { "start": { "line": 449, "column": 7 }, "end": { "line": 449, "column": 57 } }, "left": { "type": "Identifier", "start": 15697, "end": 15704, "loc": { "start": { "line": 449, "column": 7 }, "end": { "line": 449, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15708, "end": 15747, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15708, "end": 15721, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 31 } }, "object": { "type": "Identifier", "start": 15708, "end": 15713, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15714, "end": 15721, "loc": { "start": { "line": 449, "column": 24 }, "end": { "line": 449, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15722, "end": 15746, "loc": { "start": { "line": 449, "column": 32 }, "end": { "line": 449, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15722, "end": 15734, "loc": { "start": { "line": 449, "column": 32 }, "end": { "line": 449, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15722, "end": 15726, "loc": { "start": { "line": 449, "column": 32 }, "end": { "line": 449, "column": 36 } } }, "property": { "type": "Identifier", "start": 15727, "end": 15734, "loc": { "start": { "line": 449, "column": 37 }, "end": { "line": 449, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15735, "end": 15746, "loc": { "start": { "line": 449, "column": 45 }, "end": { "line": 449, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15751, "end": 15782, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15751, "end": 15775, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15751, "end": 15763, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15751, "end": 15755, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 65 } } }, "property": { "type": "Identifier", "start": 15756, "end": 15763, "loc": { "start": { "line": 449, "column": 66 }, "end": { "line": 449, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15764, "end": 15775, "loc": { "start": { "line": 449, "column": 74 }, "end": { "line": 449, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15776, "end": 15782, "loc": { "start": { "line": 449, "column": 86 }, "end": { "line": 449, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15783, "end": 16779, "loc": { "start": { "line": 449, "column": 93 }, "end": { "line": 481, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15792, "end": 15829, "loc": { "start": { "line": 450, "column": 6 }, "end": { "line": 450, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15796, "end": 15828, "loc": { "start": { "line": 450, "column": 10 }, "end": { "line": 450, "column": 42 } }, "id": { "type": "Identifier", "start": 15796, "end": 15807, "loc": { "start": { "line": 450, "column": 10 }, "end": { "line": 450, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15810, "end": 15828, "loc": { "start": { "line": 450, "column": 24 }, "end": { "line": 450, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15810, "end": 15823, "loc": { "start": { "line": 450, "column": 24 }, "end": { "line": 450, "column": 37 } }, "object": { "type": "Identifier", "start": 15810, "end": 15817, "loc": { "start": { "line": 450, "column": 24 }, "end": { "line": 450, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15818, "end": 15823, "loc": { "start": { "line": 450, "column": 32 }, "end": { "line": 450, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15824, "end": 15827, "loc": { "start": { "line": 450, "column": 38 }, "end": { "line": 450, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15837, "end": 16748, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 478, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15837, "end": 16747, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 478, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15837, "end": 15856, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 25 } }, "object": { "type": "Identifier", "start": 15837, "end": 15848, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15849, "end": 15856, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15857, "end": 16746, "loc": { "start": { "line": 451, "column": 26 }, "end": { "line": 478, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15858, "end": 15864, "loc": { "start": { "line": 451, "column": 27 }, "end": { "line": 451, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15866, "end": 15869, "loc": { "start": { "line": 451, "column": 35 }, "end": { "line": 451, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15874, "end": 16746, "loc": { "start": { "line": 451, "column": 43 }, "end": { "line": 478, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15885, "end": 16737, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 477, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15885, "end": 16736, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 477, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15885, "end": 15913, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15885, "end": 15909, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15885, "end": 15897, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15885, "end": 15889, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 12 } } }, "property": { "type": "Identifier", "start": 15890, "end": 15897, "loc": { "start": { "line": 452, "column": 13 }, "end": { "line": 452, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15898, "end": 15909, "loc": { "start": { "line": 452, "column": 21 }, "end": { "line": 452, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15910, "end": 15913, "loc": { "start": { "line": 452, "column": 33 }, "end": { "line": 452, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15914, "end": 16735, "loc": { "start": { "line": 452, "column": 37 }, "end": { "line": 477, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15915, "end": 15926, "loc": { "start": { "line": 452, "column": 38 }, "end": { "line": 452, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15928, "end": 15933, "loc": { "start": { "line": 452, "column": 51 }, "end": { "line": 452, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15938, "end": 16735, "loc": { "start": { "line": 452, "column": 61 }, "end": { "line": 477, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 16106, "end": 16691, "loc": { "start": { "line": 458, "column": 10 }, "end": { "line": 474, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 16123, "end": 16202, "loc": { "start": { "line": 459, "column": 12 }, "end": { "line": 460, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 16124, "end": 16174, "loc": { "start": { "line": 459, "column": 13 }, "end": { "line": 459, "column": 63 } }, "left": { "type": "Identifier", "start": 16124, "end": 16133, "loc": { "start": { "line": 459, "column": 13 }, "end": { "line": 459, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 16137, "end": 16174, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 16137, "end": 16155, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 44 } }, "object": { "type": "Identifier", "start": 16137, "end": 16146, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 16147, "end": 16155, "loc": { "start": { "line": 459, "column": 36 }, "end": { "line": 459, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16156, "end": 16173, "loc": { "start": { "line": 459, "column": 45 }, "end": { "line": 459, "column": 62 } }, "object": { "type": "Identifier", "start": 16156, "end": 16167, "loc": { "start": { "line": 459, "column": 45 }, "end": { "line": 459, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16168, "end": 16173, "loc": { "start": { "line": 459, "column": 57 }, "end": { "line": 459, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 16123 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 16192, "end": 16202, "loc": { "start": { "line": 460, "column": 12 }, "end": { "line": 460, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 16193, "end": 16202, "loc": { "start": { "line": 460, "column": 13 }, "end": { "line": 460, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16215, "end": 16691, "loc": { "start": { "line": 461, "column": 11 }, "end": { "line": 474, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 16230, "end": 16319, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16234, "end": 16318, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 100 } }, "id": { "type": "Identifier", "start": 16234, "end": 16253, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 16256, "end": 16318, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 16256, "end": 16293, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 75 } }, "object": { "type": "CallExpression", "start": 16256, "end": 16286, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 16256, "end": 16281, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 63 } }, "object": { "type": "MemberExpression", "start": 16256, "end": 16275, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 57 } }, "object": { "type": "Identifier", "start": 16256, "end": 16267, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16268, "end": 16275, "loc": { "start": { "line": 462, "column": 50 }, "end": { "line": 462, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16276, "end": 16281, "loc": { "start": { "line": 462, "column": 58 }, "end": { "line": 462, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16282, "end": 16285, "loc": { "start": { "line": 462, "column": 64 }, "end": { "line": 462, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 16287, "end": 16293, "loc": { "start": { "line": 462, "column": 69 }, "end": { "line": 462, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16294, "end": 16317, "loc": { "start": { "line": 462, "column": 76 }, "end": { "line": 462, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 16294, "end": 16298, "loc": { "start": { "line": 462, "column": 76 }, "end": { "line": 462, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 16302, "end": 16317, "loc": { "start": { "line": 462, "column": 84 }, "end": { "line": 462, "column": 99 } }, "left": { "type": "Identifier", "start": 16302, "end": 16306, "loc": { "start": { "line": 462, "column": 84 }, "end": { "line": 462, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 16311, "end": 16317, "loc": { "start": { "line": 462, "column": 93 }, "end": { "line": 462, "column": 99 }, "identifierName": "button" }, "name": "button" } } } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16335, "end": 16432, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 466, "column": 15 } } } ] }, { "type": "IfStatement", "start": 16446, "end": 16675, "loc": { "start": { "line": 467, "column": 12 }, "end": { "line": 472, "column": 13 } }, "test": { "type": "MemberExpression", "start": 16449, "end": 16475, "loc": { "start": { "line": 467, "column": 15 }, "end": { "line": 467, "column": 41 } }, "object": { "type": "Identifier", "start": 16449, "end": 16468, "loc": { "start": { "line": 467, "column": 15 }, "end": { "line": 467, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 16469, "end": 16475, "loc": { "start": { "line": 467, "column": 35 }, "end": { "line": 467, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16476, "end": 16560, "loc": { "start": { "line": 467, "column": 42 }, "end": { "line": 469, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16493, "end": 16545, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 16493, "end": 16544, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16493, "end": 16512, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 33 } }, "object": { "type": "Identifier", "start": 16493, "end": 16504, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16505, "end": 16512, "loc": { "start": { "line": 468, "column": 26 }, "end": { "line": 468, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 16515, "end": 16544, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16515, "end": 16539, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "column": 60 } }, "object": { "type": "Identifier", "start": 16515, "end": 16534, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 16535, "end": 16539, "loc": { "start": { "line": 468, "column": 56 }, "end": { "line": 468, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16540, "end": 16543, "loc": { "start": { "line": 468, "column": 61 }, "end": { "line": 468, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16566, "end": 16675, "loc": { "start": { "line": 469, "column": 19 }, "end": { "line": 472, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16583, "end": 16625, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 56 } }, "expression": { "type": "CallExpression", "start": 16583, "end": 16624, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 16583, "end": 16614, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16583, "end": 16607, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16583, "end": 16595, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 26 } }, "object": { "type": "ThisExpression", "start": 16583, "end": 16587, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 18 } } }, "property": { "type": "Identifier", "start": 16588, "end": 16595, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16596, "end": 16607, "loc": { "start": { "line": 470, "column": 27 }, "end": { "line": 470, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16608, "end": 16614, "loc": { "start": { "line": 470, "column": 39 }, "end": { "line": 470, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16615, "end": 16620, "loc": { "start": { "line": 470, "column": 46 }, "end": { "line": 470, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16622, "end": 16623, "loc": { "start": { "line": 470, "column": 53 }, "end": { "line": 470, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16641, "end": 16660, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16641, "end": 16659, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16641, "end": 16652, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16655, "end": 16659, "loc": { "start": { "line": 471, "column": 28 }, "end": { "line": 471, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16335, "end": 16432, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 466, "column": 15 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", "start": 15953, "end": 16094, "loc": { "start": { "line": 454, "column": 10 }, "end": { "line": 457, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16705, "end": 16724, "loc": { "start": { "line": 476, "column": 10 }, "end": { "line": 476, "column": 29 } }, "argument": { "type": "Identifier", "start": 16712, "end": 16723, "loc": { "start": { "line": 476, "column": 17 }, "end": { "line": 476, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16758, "end": 16772, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16758, "end": 16771, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16758, "end": 16769, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16758, "end": 16762, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 10 } } }, "property": { "type": "Identifier", "start": 16763, "end": 16769, "loc": { "start": { "line": 480, "column": 11 }, "end": { "line": 480, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15620, "end": 15688, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 448, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15023, "end": 15363, "loc": { "start": { "line": 431, "column": 2 }, "end": { "line": 435, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16790, "end": 16993, "loc": { "start": { "line": 484, "column": 2 }, "end": { "line": 487, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16997, "end": 17264, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 501, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16997, "end": 17013, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 488, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17014, "end": 17020, "loc": { "start": { "line": 488, "column": 19 }, "end": { "line": 488, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 17021, "end": 17264, "loc": { "start": { "line": 488, "column": 26 }, "end": { "line": 501, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17028, "end": 17039, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17032, "end": 17038, "loc": { "start": { "line": 489, "column": 8 }, "end": { "line": 489, "column": 14 } }, "id": { "type": "Identifier", "start": 17032, "end": 17038, "loc": { "start": { "line": 489, "column": 8 }, "end": { "line": 489, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 17047, "end": 17091, "loc": { "start": { "line": 491, "column": 4 }, "end": { "line": 491, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17051, "end": 17090, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 47 } }, "id": { "type": "Identifier", "start": 17051, "end": 17060, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 17063, "end": 17090, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 47 } }, "object": { "type": "MemberExpression", "start": 17063, "end": 17082, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 39 } }, "object": { "type": "ThisExpression", "start": 17063, "end": 17067, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 24 } } }, "property": { "type": "Identifier", "start": 17068, "end": 17082, "loc": { "start": { "line": 491, "column": 25 }, "end": { "line": 491, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 17083, "end": 17089, "loc": { "start": { "line": 491, "column": 40 }, "end": { "line": 491, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 17097, "end": 17237, "loc": { "start": { "line": 492, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "Identifier", "start": 17100, "end": 17109, "loc": { "start": { "line": 492, "column": 7 }, "end": { "line": 492, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 17110, "end": 17237, "loc": { "start": { "line": 492, "column": 17 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 17119, "end": 17230, "loc": { "start": { "line": 493, "column": 6 }, "end": { "line": 497, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 17122, "end": 17142, "loc": { "start": { "line": 493, "column": 9 }, "end": { "line": 493, "column": 29 } }, "left": { "type": "MemberExpression", "start": 17122, "end": 17138, "loc": { "start": { "line": 493, "column": 9 }, "end": { "line": 493, "column": 25 } }, "object": { "type": "Identifier", "start": 17122, "end": 17131, "loc": { "start": { "line": 493, "column": 9 }, "end": { "line": 493, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 17132, "end": 17138, "loc": { "start": { "line": 493, "column": 19 }, "end": { "line": 493, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 17141, "end": 17142, "loc": { "start": { "line": 493, "column": 28 }, "end": { "line": 493, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 17143, "end": 17182, "loc": { "start": { "line": 493, "column": 30 }, "end": { "line": 495, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17154, "end": 17173, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 17154, "end": 17172, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 17154, "end": 17160, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 17163, "end": 17172, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 494, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17188, "end": 17230, "loc": { "start": { "line": 495, "column": 13 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17199, "end": 17221, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 17199, "end": 17220, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 17199, "end": 17205, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 17208, "end": 17220, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 29 } }, "object": { "type": "Identifier", "start": 17208, "end": 17217, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 17218, "end": 17219, "loc": { "start": { "line": 496, "column": 27 }, "end": { "line": 496, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 17245, "end": 17259, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 18 } }, "argument": { "type": "Identifier", "start": 17252, "end": 17258, "loc": { "start": { "line": 500, "column": 11 }, "end": { "line": 500, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16790, "end": 16993, "loc": { "start": { "line": 484, "column": 2 }, "end": { "line": 487, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17270, "end": 17360, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 505, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17364, "end": 17667, "loc": { "start": { "line": 506, "column": 2 }, "end": { "line": 514, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17364, "end": 17375, "loc": { "start": { "line": 506, "column": 2 }, "end": { "line": 506, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17377, "end": 17667, "loc": { "start": { "line": 506, "column": 15 }, "end": { "line": 514, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17384, "end": 17460, "loc": { "start": { "line": 507, "column": 4 }, "end": { "line": 509, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17387, "end": 17405, "loc": { "start": { "line": 507, "column": 7 }, "end": { "line": 507, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17387, "end": 17399, "loc": { "start": { "line": 507, "column": 7 }, "end": { "line": 507, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17387, "end": 17391, "loc": { "start": { "line": 507, "column": 7 }, "end": { "line": 507, "column": 11 } } }, "property": { "type": "Identifier", "start": 17392, "end": 17399, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17400, "end": 17405, "loc": { "start": { "line": 507, "column": 20 }, "end": { "line": 507, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17406, "end": 17460, "loc": { "start": { "line": 507, "column": 26 }, "end": { "line": 509, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17415, "end": 17453, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 44 } }, "expression": { "type": "CallExpression", "start": 17415, "end": 17452, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 17415, "end": 17426, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 17 } }, "object": { "type": "Identifier", "start": 17415, "end": 17422, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17423, "end": 17426, "loc": { "start": { "line": 508, "column": 14 }, "end": { "line": 508, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17427, "end": 17451, "loc": { "start": { "line": 508, "column": 18 }, "end": { "line": 508, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 17468, "end": 17527, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 63 } }, "expression": { "type": "CallExpression", "start": 17468, "end": 17526, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 17468, "end": 17493, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 29 } }, "object": { "type": "Identifier", "start": 17468, "end": 17476, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17477, "end": 17493, "loc": { "start": { "line": 511, "column": 13 }, "end": { "line": 511, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17494, "end": 17501, "loc": { "start": { "line": 511, "column": 30 }, "end": { "line": 511, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 17503, "end": 17525, "loc": { "start": { "line": 511, "column": 39 }, "end": { "line": 511, "column": 61 } }, "object": { "type": "ThisExpression", "start": 17503, "end": 17507, "loc": { "start": { "line": 511, "column": 39 }, "end": { "line": 511, "column": 43 } } }, "property": { "type": "Identifier", "start": 17508, "end": 17525, "loc": { "start": { "line": 511, "column": 44 }, "end": { "line": 511, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17533, "end": 17594, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 65 } }, "expression": { "type": "CallExpression", "start": 17533, "end": 17593, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 17533, "end": 17558, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 29 } }, "object": { "type": "Identifier", "start": 17533, "end": 17541, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17542, "end": 17558, "loc": { "start": { "line": 512, "column": 13 }, "end": { "line": 512, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17559, "end": 17568, "loc": { "start": { "line": 512, "column": 30 }, "end": { "line": 512, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 17570, "end": 17592, "loc": { "start": { "line": 512, "column": 41 }, "end": { "line": 512, "column": 63 } }, "object": { "type": "ThisExpression", "start": 17570, "end": 17574, "loc": { "start": { "line": 512, "column": 41 }, "end": { "line": 512, "column": 45 } } }, "property": { "type": "Identifier", "start": 17575, "end": 17592, "loc": { "start": { "line": 512, "column": 46 }, "end": { "line": 512, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17600, "end": 17662, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17600, "end": 17661, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17600, "end": 17625, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 29 } }, "object": { "type": "Identifier", "start": 17600, "end": 17608, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17609, "end": 17625, "loc": { "start": { "line": 513, "column": 13 }, "end": { "line": 513, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17626, "end": 17636, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17638, "end": 17660, "loc": { "start": { "line": 513, "column": 42 }, "end": { "line": 513, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17638, "end": 17642, "loc": { "start": { "line": 513, "column": 42 }, "end": { "line": 513, "column": 46 } } }, "property": { "type": "Identifier", "start": 17643, "end": 17660, "loc": { "start": { "line": 513, "column": 47 }, "end": { "line": 513, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17270, "end": 17360, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 505, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17673, "end": 17785, "loc": { "start": { "line": 516, "column": 2 }, "end": { "line": 518, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17789, "end": 18451, "loc": { "start": { "line": 519, "column": 2 }, "end": { "line": 541, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17789, "end": 17806, "loc": { "start": { "line": 519, "column": 2 }, "end": { "line": 519, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17807, "end": 17812, "loc": { "start": { "line": 519, "column": 20 }, "end": { "line": 519, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17813, "end": 18451, "loc": { "start": { "line": 519, "column": 26 }, "end": { "line": 541, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17820, "end": 17838, "loc": { "start": { "line": 520, "column": 4 }, "end": { "line": 520, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17824, "end": 17837, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 21 } }, "id": { "type": "Identifier", "start": 17824, "end": 17837, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 17846, "end": 17937, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17849, "end": 17869, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17849, "end": 17861, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 19 } }, "object": { "type": "Identifier", "start": 17849, "end": 17854, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 12 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17855, "end": 17861, "loc": { "start": { "line": 522, "column": 13 }, "end": { "line": 522, "column": 19 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17862, "end": 17869, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 27 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17870, "end": 17937, "loc": { "start": { "line": 522, "column": 28 }, "end": { "line": 524, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17879, "end": 17930, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 17879, "end": 17929, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 17879, "end": 17892, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "right": { "type": "CallExpression", "start": 17895, "end": 17929, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 17895, "end": 17927, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17895, "end": 17915, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 42 } }, "object": { "type": "MemberExpression", "start": 17895, "end": 17907, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 34 } }, "object": { "type": "Identifier", "start": 17895, "end": 17900, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 27 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17901, "end": 17907, "loc": { "start": { "line": 523, "column": 28 }, "end": { "line": 523, "column": 34 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17908, "end": 17915, "loc": { "start": { "line": 523, "column": 35 }, "end": { "line": 523, "column": 42 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17916, "end": 17927, "loc": { "start": { "line": 523, "column": 43 }, "end": { "line": 523, "column": 54 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 17945, "end": 18446, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 540, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17956, "end": 18070, "loc": { "start": { "line": 527, "column": 6 }, "end": { "line": 529, "column": 43 } }, "left": { "type": "LogicalExpression", "start": 17957, "end": 18021, "loc": { "start": { "line": 527, "column": 7 }, "end": { "line": 528, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17957, "end": 17985, "loc": { "start": { "line": 527, "column": 7 }, "end": { "line": 527, "column": 35 } }, "left": { "type": "Identifier", "start": 17957, "end": 17970, "loc": { "start": { "line": 527, "column": 7 }, "end": { "line": 527, "column": 20 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17975, "end": 17985, "loc": { "start": { "line": 527, "column": 25 }, "end": { "line": 527, "column": 35 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17996, "end": 18021, "loc": { "start": { "line": 528, "column": 6 }, "end": { "line": 528, "column": 31 } }, "left": { "type": "Identifier", "start": 17996, "end": 18009, "loc": { "start": { "line": 528, "column": 6 }, "end": { "line": 528, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18014, "end": 18021, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } }, "extra": { "parenthesized": true, "parenStart": 17956 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 18033, "end": 18070, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18034, "end": 18070, "loc": { "start": { "line": 529, "column": 7 }, "end": { "line": 529, "column": 43 } }, "object": { "type": "MemberExpression", "start": 18034, "end": 18046, "loc": { "start": { "line": 529, "column": 7 }, "end": { "line": 529, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18034, "end": 18038, "loc": { "start": { "line": 529, "column": 7 }, "end": { "line": 529, "column": 11 } } }, "property": { "type": "Identifier", "start": 18039, "end": 18046, "loc": { "start": { "line": 529, "column": 12 }, "end": { "line": 529, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18047, "end": 18070, "loc": { "start": { "line": 529, "column": 20 }, "end": { "line": 529, "column": 43 }, "identifierName": "disableCaretPositioning" }, "name": "disableCaretPositioning" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 18077, "end": 18446, "loc": { "start": { "line": 530, "column": 5 }, "end": { "line": 540, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18242, "end": 18291, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 18242, "end": 18290, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18242, "end": 18260, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 24 } }, "object": { "type": "ThisExpression", "start": 18242, "end": 18246, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18247, "end": 18260, "loc": { "start": { "line": 535, "column": 11 }, "end": { "line": 535, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 18263, "end": 18290, "loc": { "start": { "line": 535, "column": 27 }, "end": { "line": 535, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18263, "end": 18275, "loc": { "start": { "line": 535, "column": 27 }, "end": { "line": 535, "column": 39 } }, "object": { "type": "Identifier", "start": 18263, "end": 18268, "loc": { "start": { "line": 535, "column": 27 }, "end": { "line": 535, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18269, "end": 18275, "loc": { "start": { "line": 535, "column": 33 }, "end": { "line": 535, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18276, "end": 18290, "loc": { "start": { "line": 535, "column": 40 }, "end": { "line": 535, "column": 54 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 18086, "end": 18234, "loc": { "start": { "line": 531, "column": 6 }, "end": { "line": 534, "column": 9 } } } ] }, { "type": "IfStatement", "start": 18301, "end": 18434, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 539, "column": 7 } }, "test": { "type": "MemberExpression", "start": 18304, "end": 18322, "loc": { "start": { "line": 537, "column": 9 }, "end": { "line": 537, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18304, "end": 18316, "loc": { "start": { "line": 537, "column": 9 }, "end": { "line": 537, "column": 21 } }, "object": { "type": "ThisExpression", "start": 18304, "end": 18308, "loc": { "start": { "line": 537, "column": 9 }, "end": { "line": 537, "column": 13 } } }, "property": { "type": "Identifier", "start": 18309, "end": 18316, "loc": { "start": { "line": 537, "column": 14 }, "end": { "line": 537, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18317, "end": 18322, "loc": { "start": { "line": 537, "column": 22 }, "end": { "line": 537, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18323, "end": 18434, "loc": { "start": { "line": 537, "column": 28 }, "end": { "line": 539, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 18334, "end": 18425, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 99 } }, "expression": { "type": "CallExpression", "start": 18334, "end": 18424, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 18334, "end": 18345, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 19 } }, "object": { "type": "Identifier", "start": 18334, "end": 18341, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18342, "end": 18345, "loc": { "start": { "line": 538, "column": 16 }, "end": { "line": 538, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18346, "end": 18358, "loc": { "start": { "line": 538, "column": 20 }, "end": { "line": 538, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 18360, "end": 18387, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18360, "end": 18372, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 46 } }, "object": { "type": "Identifier", "start": 18360, "end": 18365, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18366, "end": 18372, "loc": { "start": { "line": 538, "column": 40 }, "end": { "line": 538, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18373, "end": 18387, "loc": { "start": { "line": 538, "column": 47 }, "end": { "line": 538, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 18389, "end": 18423, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 18389, "end": 18421, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 95 } }, "object": { "type": "MemberExpression", "start": 18389, "end": 18409, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 83 } }, "object": { "type": "MemberExpression", "start": 18389, "end": 18401, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 75 } }, "object": { "type": "Identifier", "start": 18389, "end": 18394, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18395, "end": 18401, "loc": { "start": { "line": 538, "column": 69 }, "end": { "line": 538, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18402, "end": 18409, "loc": { "start": { "line": 538, "column": 76 }, "end": { "line": 538, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18410, "end": 18421, "loc": { "start": { "line": 538, "column": 84 }, "end": { "line": 538, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17673, "end": 17785, "loc": { "start": { "line": 516, "column": 2 }, "end": { "line": 518, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18457, "end": 18577, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 545, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18581, "end": 18817, "loc": { "start": { "line": 546, "column": 2 }, "end": { "line": 558, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18581, "end": 18587, "loc": { "start": { "line": 546, "column": 2 }, "end": { "line": 546, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18589, "end": 18817, "loc": { "start": { "line": 546, "column": 10 }, "end": { "line": 558, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18596, "end": 18661, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 549, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18599, "end": 18617, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18599, "end": 18611, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18599, "end": 18603, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 11 } } }, "property": { "type": "Identifier", "start": 18604, "end": 18611, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18612, "end": 18617, "loc": { "start": { "line": 547, "column": 20 }, "end": { "line": 547, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18618, "end": 18661, "loc": { "start": { "line": 547, "column": 26 }, "end": { "line": 549, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18627, "end": 18654, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 33 } }, "expression": { "type": "CallExpression", "start": 18627, "end": 18653, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 18627, "end": 18638, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 17 } }, "object": { "type": "Identifier", "start": 18627, "end": 18634, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18635, "end": 18638, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18639, "end": 18652, "loc": { "start": { "line": 548, "column": 18 }, "end": { "line": 548, "column": 31 } }, "extra": { "rawValue": "Initialized", "raw": "\"Initialized\"" }, "value": "Initialized" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18669, "end": 18704, "loc": { "start": { "line": 551, "column": 4 }, "end": { "line": 553, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 18710, "end": 18729, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 23 } }, "expression": { "type": "CallExpression", "start": 18710, "end": 18728, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 18710, "end": 18726, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18710, "end": 18714, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18715, "end": 18726, "loc": { "start": { "line": 554, "column": 9 }, "end": { "line": 554, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18669, "end": 18704, "loc": { "start": { "line": 551, "column": 4 }, "end": { "line": 553, "column": 7 } } } ] }, { "type": "IfStatement", "start": 18737, "end": 18812, "loc": { "start": { "line": 556, "column": 4 }, "end": { "line": 557, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 18740, "end": 18781, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 18740, "end": 18766, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18747, "end": 18766, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 33 } }, "object": { "type": "MemberExpression", "start": 18747, "end": 18759, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18747, "end": 18751, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 18 } } }, "property": { "type": "Identifier", "start": 18752, "end": 18759, "loc": { "start": { "line": 556, "column": 19 }, "end": { "line": 556, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18760, "end": 18766, "loc": { "start": { "line": 556, "column": 27 }, "end": { "line": 556, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18771, "end": 18781, "loc": { "start": { "line": 556, "column": 38 }, "end": { "line": 556, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18790, "end": 18812, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18790, "end": 18811, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18790, "end": 18809, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18790, "end": 18802, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18790, "end": 18794, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 10 } } }, "property": { "type": "Identifier", "start": 18795, "end": 18802, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18803, "end": 18809, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18457, "end": 18577, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 545, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18823, "end": 18941, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18945, "end": 19046, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 566, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18945, "end": 18953, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 563, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18955, "end": 19046, "loc": { "start": { "line": 563, "column": 12 }, "end": { "line": 566, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18962, "end": 19041, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 565, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18965, "end": 19008, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18965, "end": 18993, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18972, "end": 18993, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18972, "end": 18984, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18972, "end": 18976, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 18 } } }, "property": { "type": "Identifier", "start": 18977, "end": 18984, "loc": { "start": { "line": 564, "column": 19 }, "end": { "line": 564, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18985, "end": 18993, "loc": { "start": { "line": 564, "column": 27 }, "end": { "line": 564, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18998, "end": 19008, "loc": { "start": { "line": 564, "column": 40 }, "end": { "line": 564, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19017, "end": 19041, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 30 } }, "expression": { "type": "CallExpression", "start": 19017, "end": 19040, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 19017, "end": 19038, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 27 } }, "object": { "type": "MemberExpression", "start": 19017, "end": 19029, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19017, "end": 19021, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 10 } } }, "property": { "type": "Identifier", "start": 19022, "end": 19029, "loc": { "start": { "line": 565, "column": 11 }, "end": { "line": 565, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19030, "end": 19038, "loc": { "start": { "line": 565, "column": 19 }, "end": { "line": 565, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18823, "end": 18941, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19051, "end": 19130, "loc": { "start": { "line": 568, "column": 1 }, "end": { "line": 570, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 19134, "end": 19256, "loc": { "start": { "line": 571, "column": 2 }, "end": { "line": 574, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19134, "end": 19149, "loc": { "start": { "line": 571, "column": 2 }, "end": { "line": 571, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19151, "end": 19256, "loc": { "start": { "line": 571, "column": 19 }, "end": { "line": 574, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19158, "end": 19251, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 573, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 19161, "end": 19211, "loc": { "start": { "line": 572, "column": 7 }, "end": { "line": 572, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 19161, "end": 19196, "loc": { "start": { "line": 572, "column": 7 }, "end": { "line": 572, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19168, "end": 19196, "loc": { "start": { "line": 572, "column": 14 }, "end": { "line": 572, "column": 42 } }, "object": { "type": "MemberExpression", "start": 19168, "end": 19180, "loc": { "start": { "line": 572, "column": 14 }, "end": { "line": 572, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19168, "end": 19172, "loc": { "start": { "line": 572, "column": 14 }, "end": { "line": 572, "column": 18 } } }, "property": { "type": "Identifier", "start": 19173, "end": 19180, "loc": { "start": { "line": 572, "column": 19 }, "end": { "line": 572, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19181, "end": 19196, "loc": { "start": { "line": 572, "column": 27 }, "end": { "line": 572, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19201, "end": 19211, "loc": { "start": { "line": 572, "column": 47 }, "end": { "line": 572, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19220, "end": 19251, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19220, "end": 19250, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19220, "end": 19248, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19220, "end": 19232, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19220, "end": 19224, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 10 } } }, "property": { "type": "Identifier", "start": 19225, "end": 19232, "loc": { "start": { "line": 573, "column": 11 }, "end": { "line": 573, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19233, "end": 19248, "loc": { "start": { "line": 573, "column": 19 }, "end": { "line": 573, "column": 34 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19051, "end": 19130, "loc": { "start": { "line": 568, "column": 1 }, "end": { "line": 570, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19262, "end": 19294, "loc": { "start": { "line": 576, "column": 2 }, "end": { "line": 578, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19298, "end": 19447, "loc": { "start": { "line": 579, "column": 2 }, "end": { "line": 584, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19298, "end": 19312, "loc": { "start": { "line": 579, "column": 2 }, "end": { "line": 579, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19315, "end": 19447, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 584, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19316, "end": 19320, "loc": { "start": { "line": 579, "column": 20 }, "end": { "line": 579, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19322, "end": 19334, "loc": { "start": { "line": 579, "column": 26 }, "end": { "line": 579, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 19339, "end": 19447, "loc": { "start": { "line": 579, "column": 43 }, "end": { "line": 584, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19346, "end": 19401, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 581, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 19349, "end": 19368, "loc": { "start": { "line": 580, "column": 7 }, "end": { "line": 580, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19350, "end": 19368, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19350, "end": 19362, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19350, "end": 19354, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 12 } } }, "property": { "type": "Identifier", "start": 19355, "end": 19362, "loc": { "start": { "line": 580, "column": 13 }, "end": { "line": 580, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19363, "end": 19367, "loc": { "start": { "line": 580, "column": 21 }, "end": { "line": 580, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 19377, "end": 19401, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19377, "end": 19400, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19377, "end": 19395, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 24 } }, "object": { "type": "MemberExpression", "start": 19377, "end": 19389, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19377, "end": 19381, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 10 } } }, "property": { "type": "Identifier", "start": 19382, "end": 19389, "loc": { "start": { "line": 581, "column": 11 }, "end": { "line": 581, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19390, "end": 19394, "loc": { "start": { "line": 581, "column": 19 }, "end": { "line": 581, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 19398, "end": 19400, "loc": { "start": { "line": 581, "column": 27 }, "end": { "line": 581, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 19409, "end": 19442, "loc": { "start": { "line": 583, "column": 4 }, "end": { "line": 583, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19409, "end": 19441, "loc": { "start": { "line": 583, "column": 4 }, "end": { "line": 583, "column": 36 } }, "callee": { "type": "Identifier", "start": 19409, "end": 19421, "loc": { "start": { "line": 583, "column": 4 }, "end": { "line": 583, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 19422, "end": 19440, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19422, "end": 19434, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19422, "end": 19426, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 21 } } }, "property": { "type": "Identifier", "start": 19427, "end": 19434, "loc": { "start": { "line": 583, "column": 22 }, "end": { "line": 583, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19435, "end": 19439, "loc": { "start": { "line": 583, "column": 30 }, "end": { "line": 583, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19262, "end": 19294, "loc": { "start": { "line": 576, "column": 2 }, "end": { "line": 578, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19453, "end": 19482, "loc": { "start": { "line": 586, "column": 2 }, "end": { "line": 588, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19486, "end": 20127, "loc": { "start": { "line": 589, "column": 2 }, "end": { "line": 608, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19486, "end": 19497, "loc": { "start": { "line": 589, "column": 2 }, "end": { "line": 589, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19499, "end": 20127, "loc": { "start": { "line": 589, "column": 15 }, "end": { "line": 608, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19506, "end": 20122, "loc": { "start": { "line": 590, "column": 4 }, "end": { "line": 607, "column": 5 } }, "test": { "type": "CallExpression", "start": 19509, "end": 19544, "loc": { "start": { "line": 590, "column": 7 }, "end": { "line": 590, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19509, "end": 19522, "loc": { "start": { "line": 590, "column": 7 }, "end": { "line": 590, "column": 20 } }, "object": { "type": "Identifier", "start": 19509, "end": 19514, "loc": { "start": { "line": 590, "column": 7 }, "end": { "line": 590, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19515, "end": 19522, "loc": { "start": { "line": 590, "column": 13 }, "end": { "line": 590, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19523, "end": 19543, "loc": { "start": { "line": 590, "column": 21 }, "end": { "line": 590, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19523, "end": 19535, "loc": { "start": { "line": 590, "column": 21 }, "end": { "line": 590, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19523, "end": 19527, "loc": { "start": { "line": 590, "column": 21 }, "end": { "line": 590, "column": 25 } } }, "property": { "type": "Identifier", "start": 19528, "end": 19535, "loc": { "start": { "line": 590, "column": 26 }, "end": { "line": 590, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19536, "end": 19543, "loc": { "start": { "line": 590, "column": 34 }, "end": { "line": 590, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19545, "end": 20122, "loc": { "start": { "line": 590, "column": 43 }, "end": { "line": 607, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19554, "end": 19974, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 601, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19554, "end": 19973, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 601, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19554, "end": 19582, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19554, "end": 19574, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19554, "end": 19566, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19554, "end": 19558, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } } }, "property": { "type": "Identifier", "start": 19559, "end": 19566, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19567, "end": 19574, "loc": { "start": { "line": 591, "column": 19 }, "end": { "line": 591, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19575, "end": 19582, "loc": { "start": { "line": 591, "column": 27 }, "end": { "line": 591, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19583, "end": 19972, "loc": { "start": { "line": 591, "column": 35 }, "end": { "line": 601, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19583, "end": 19589, "loc": { "start": { "line": 591, "column": 35 }, "end": { "line": 591, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 19593, "end": 19972, "loc": { "start": { "line": 591, "column": 45 }, "end": { "line": 601, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 19604, "end": 19630, "loc": { "start": { "line": 592, "column": 8 }, "end": { "line": 592, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19608, "end": 19629, "loc": { "start": { "line": 592, "column": 12 }, "end": { "line": 592, "column": 33 } }, "id": { "type": "Identifier", "start": 19608, "end": 19614, "loc": { "start": { "line": 592, "column": 12 }, "end": { "line": 592, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 19617, "end": 19629, "loc": { "start": { "line": 592, "column": 21 }, "end": { "line": 592, "column": 33 } }, "callee": { "type": "Identifier", "start": 19621, "end": 19627, "loc": { "start": { "line": 592, "column": 25 }, "end": { "line": 592, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19642, "end": 19668, "loc": { "start": { "line": 594, "column": 8 }, "end": { "line": 594, "column": 34 } } } ] }, { "type": "IfStatement", "start": 19678, "end": 19933, "loc": { "start": { "line": 595, "column": 8 }, "end": { "line": 598, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19681, "end": 19746, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19681, "end": 19704, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19681, "end": 19699, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 29 } }, "object": { "type": "Identifier", "start": 19681, "end": 19687, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 19688, "end": 19699, "loc": { "start": { "line": 595, "column": 18 }, "end": { "line": 595, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19700, "end": 19704, "loc": { "start": { "line": 595, "column": 30 }, "end": { "line": 595, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 19708, "end": 19746, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19708, "end": 19731, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 61 } }, "object": { "type": "MemberExpression", "start": 19708, "end": 19726, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 56 } }, "object": { "type": "Identifier", "start": 19708, "end": 19714, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19715, "end": 19726, "loc": { "start": { "line": 595, "column": 45 }, "end": { "line": 595, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19727, "end": 19731, "loc": { "start": { "line": 595, "column": 57 }, "end": { "line": 595, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 19736, "end": 19746, "loc": { "start": { "line": 595, "column": 66 }, "end": { "line": 595, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 19747, "end": 19933, "loc": { "start": { "line": 595, "column": 77 }, "end": { "line": 598, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19760, "end": 19837, "loc": { "start": { "line": 596, "column": 10 }, "end": { "line": 596, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19764, "end": 19836, "loc": { "start": { "line": 596, "column": 14 }, "end": { "line": 596, "column": 86 } }, "id": { "type": "Identifier", "start": 19764, "end": 19772, "loc": { "start": { "line": 596, "column": 14 }, "end": { "line": 596, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 19775, "end": 19836, "loc": { "start": { "line": 596, "column": 25 }, "end": { "line": 596, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 19785, "end": 19834, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 19785, "end": 19809, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 59 } }, "object": { "type": "MemberExpression", "start": 19785, "end": 19799, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 49 } }, "object": { "type": "ThisExpression", "start": 19785, "end": 19789, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 39 } } }, "property": { "type": "Identifier", "start": 19790, "end": 19799, "loc": { "start": { "line": 596, "column": 40 }, "end": { "line": 596, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 19800, "end": 19809, "loc": { "start": { "line": 596, "column": 50 }, "end": { "line": 596, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19810, "end": 19833, "loc": { "start": { "line": 596, "column": 60 }, "end": { "line": 596, "column": 83 } }, "object": { "type": "MemberExpression", "start": 19810, "end": 19828, "loc": { "start": { "line": 596, "column": 60 }, "end": { "line": 596, "column": 78 } }, "object": { "type": "Identifier", "start": 19810, "end": 19816, "loc": { "start": { "line": 596, "column": 60 }, "end": { "line": 596, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19817, "end": 19828, "loc": { "start": { "line": 596, "column": 67 }, "end": { "line": 596, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19829, "end": 19833, "loc": { "start": { "line": 596, "column": 79 }, "end": { "line": 596, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 19776, "end": 19783, "loc": { "start": { "line": 596, "column": 26 }, "end": { "line": 596, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 19835, "end": 19835, "loc": { "start": { "line": 596, "column": 85 }, "end": { "line": 596, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 19849, "end": 19922, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 19849, "end": 19921, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19849, "end": 19875, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 36 } }, "object": { "type": "ThisExpression", "start": 19849, "end": 19853, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 14 } } }, "property": { "type": "Identifier", "start": 19854, "end": 19875, "loc": { "start": { "line": 597, "column": 15 }, "end": { "line": 597, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19878, "end": 19921, "loc": { "start": { "line": 597, "column": 39 }, "end": { "line": 597, "column": 82 } }, "left": { "type": "MemberExpression", "start": 19878, "end": 19904, "loc": { "start": { "line": 597, "column": 39 }, "end": { "line": 597, "column": 65 } }, "object": { "type": "ThisExpression", "start": 19878, "end": 19882, "loc": { "start": { "line": 597, "column": 39 }, "end": { "line": 597, "column": 43 } } }, "property": { "type": "Identifier", "start": 19883, "end": 19904, "loc": { "start": { "line": 597, "column": 44 }, "end": { "line": 597, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 19907, "end": 19921, "loc": { "start": { "line": 597, "column": 68 }, "end": { "line": 597, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 19911, "end": 19919, "loc": { "start": { "line": 597, "column": 72 }, "end": { "line": 597, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 19908, "end": 19909, "loc": { "start": { "line": 597, "column": 69 }, "end": { "line": 597, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 19920, "end": 19920, "loc": { "start": { "line": 597, "column": 81 }, "end": { "line": 597, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19642, "end": 19668, "loc": { "start": { "line": 594, "column": 8 }, "end": { "line": 594, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 19945, "end": 19963, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 26 } }, "expression": { "type": "CallExpression", "start": 19945, "end": 19962, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 19945, "end": 19956, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 19 } }, "object": { "type": "Identifier", "start": 19945, "end": 19951, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19952, "end": 19956, "loc": { "start": { "line": 600, "column": 15 }, "end": { "line": 600, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 19957, "end": 19961, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 19984, "end": 20060, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 19984, "end": 20059, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19984, "end": 20010, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 32 } }, "object": { "type": "ThisExpression", "start": 19984, "end": 19988, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 10 } } }, "property": { "type": "Identifier", "start": 19989, "end": 20010, "loc": { "start": { "line": 603, "column": 11 }, "end": { "line": 603, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20013, "end": 20059, "loc": { "start": { "line": 603, "column": 35 }, "end": { "line": 603, "column": 81 } }, "left": { "type": "MemberExpression", "start": 20013, "end": 20039, "loc": { "start": { "line": 603, "column": 35 }, "end": { "line": 603, "column": 61 } }, "object": { "type": "ThisExpression", "start": 20013, "end": 20017, "loc": { "start": { "line": 603, "column": 35 }, "end": { "line": 603, "column": 39 } } }, "property": { "type": "Identifier", "start": 20018, "end": 20039, "loc": { "start": { "line": 603, "column": 40 }, "end": { "line": 603, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 20042, "end": 20059, "loc": { "start": { "line": 603, "column": 64 }, "end": { "line": 603, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 20070, "end": 20084, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 20 } }, "expression": { "type": "CallExpression", "start": 20070, "end": 20083, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 20070, "end": 20081, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 17 } }, "object": { "type": "ThisExpression", "start": 20070, "end": 20074, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 10 } } }, "property": { "type": "Identifier", "start": 20075, "end": 20081, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 20092, "end": 20115, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 29 } }, "expression": { "type": "CallExpression", "start": 20092, "end": 20114, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 20092, "end": 20112, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20092, "end": 20096, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 10 } } }, "property": { "type": "Identifier", "start": 20097, "end": 20112, "loc": { "start": { "line": 606, "column": 11 }, "end": { "line": 606, "column": 26 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19453, "end": 19482, "loc": { "start": { "line": 586, "column": 2 }, "end": { "line": 588, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20133, "end": 20165, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 612, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20169, "end": 20301, "loc": { "start": { "line": 613, "column": 2 }, "end": { "line": 618, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20169, "end": 20182, "loc": { "start": { "line": 613, "column": 2 }, "end": { "line": 613, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20185, "end": 20301, "loc": { "start": { "line": 613, "column": 18 }, "end": { "line": 618, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20186, "end": 20190, "loc": { "start": { "line": 613, "column": 19 }, "end": { "line": 613, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 20192, "end": 20196, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 20201, "end": 20301, "loc": { "start": { "line": 613, "column": 34 }, "end": { "line": 618, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20208, "end": 20252, "loc": { "start": { "line": 614, "column": 4 }, "end": { "line": 615, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 20211, "end": 20230, "loc": { "start": { "line": 614, "column": 7 }, "end": { "line": 614, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 20212, "end": 20230, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20212, "end": 20224, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20212, "end": 20216, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 12 } } }, "property": { "type": "Identifier", "start": 20217, "end": 20224, "loc": { "start": { "line": 614, "column": 13 }, "end": { "line": 614, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20225, "end": 20229, "loc": { "start": { "line": 614, "column": 21 }, "end": { "line": 614, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 20239, "end": 20252, "loc": { "start": { "line": 615, "column": 6 }, "end": { "line": 615, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 20246, "end": 20251, "loc": { "start": { "line": 615, "column": 13 }, "end": { "line": 615, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 20264, "end": 20296, "loc": { "start": { "line": 617, "column": 4 }, "end": { "line": 617, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 20271, "end": 20295, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 35 } }, "object": { "type": "MemberExpression", "start": 20271, "end": 20289, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 29 } }, "object": { "type": "MemberExpression", "start": 20271, "end": 20283, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 23 } }, "object": { "type": "ThisExpression", "start": 20271, "end": 20275, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 15 } } }, "property": { "type": "Identifier", "start": 20276, "end": 20283, "loc": { "start": { "line": 617, "column": 16 }, "end": { "line": 617, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20284, "end": 20288, "loc": { "start": { "line": 617, "column": 24 }, "end": { "line": 617, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 20290, "end": 20294, "loc": { "start": { "line": 617, "column": 30 }, "end": { "line": 617, "column": 34 }, "identifierName": "prop" }, "name": "prop" }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20133, "end": 20165, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 612, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20307, "end": 20338, "loc": { "start": { "line": 620, "column": 2 }, "end": { "line": 622, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20342, "end": 20410, "loc": { "start": { "line": 623, "column": 2 }, "end": { "line": 625, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20342, "end": 20356, "loc": { "start": { "line": 623, "column": 2 }, "end": { "line": 623, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20359, "end": 20410, "loc": { "start": { "line": 623, "column": 19 }, "end": { "line": 625, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20365, "end": 20410, "loc": { "start": { "line": 623, "column": 25 }, "end": { "line": 625, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 20372, "end": 20405, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 37 } }, "argument": { "type": "CallExpression", "start": 20379, "end": 20404, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 20379, "end": 20390, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 22 } }, "object": { "type": "Identifier", "start": 20379, "end": 20385, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 20386, "end": 20390, "loc": { "start": { "line": 624, "column": 18 }, "end": { "line": 624, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20391, "end": 20403, "loc": { "start": { "line": 624, "column": 23 }, "end": { "line": 624, "column": 35 } }, "object": { "type": "ThisExpression", "start": 20391, "end": 20395, "loc": { "start": { "line": 624, "column": 23 }, "end": { "line": 624, "column": 27 } } }, "property": { "type": "Identifier", "start": 20396, "end": 20403, "loc": { "start": { "line": 624, "column": 28 }, "end": { "line": 624, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20307, "end": 20338, "loc": { "start": { "line": 620, "column": 2 }, "end": { "line": 622, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20416, "end": 20472, "loc": { "start": { "line": 627, "column": 2 }, "end": { "line": 629, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20476, "end": 24873, "loc": { "start": { "line": 630, "column": 2 }, "end": { "line": 775, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20476, "end": 20482, "loc": { "start": { "line": 630, "column": 2 }, "end": { "line": 630, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20484, "end": 24873, "loc": { "start": { "line": 630, "column": 10 }, "end": { "line": 775, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 20532, "end": 20545, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 17 } }, "expression": { "type": "CallExpression", "start": 20532, "end": 20544, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 20532, "end": 20542, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 14 } }, "object": { "type": "ThisExpression", "start": 20532, "end": 20536, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20537, "end": 20542, "loc": { "start": { "line": 634, "column": 9 }, "end": { "line": 634, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20491, "end": 20526, "loc": { "start": { "line": 631, "column": 4 }, "end": { "line": 633, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20553, "end": 20653, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20557, "end": 20652, "loc": { "start": { "line": 636, "column": 8 }, "end": { "line": 636, "column": 103 } }, "id": { "type": "Identifier", "start": 20557, "end": 20568, "loc": { "start": { "line": 636, "column": 8 }, "end": { "line": 636, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 20571, "end": 20652, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 103 } }, "test": { "type": "MemberExpression", "start": 20571, "end": 20590, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20571, "end": 20583, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20571, "end": 20575, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 26 } } }, "property": { "type": "Identifier", "start": 20576, "end": 20583, "loc": { "start": { "line": 636, "column": 27 }, "end": { "line": 636, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20584, "end": 20590, "loc": { "start": { "line": 636, "column": 35 }, "end": { "line": 636, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 20593, "end": 20611, "loc": { "start": { "line": 636, "column": 44 }, "end": { "line": 636, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 20614, "end": 20652, "loc": { "start": { "line": 636, "column": 65 }, "end": { "line": 636, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 20627, "end": 20650, "loc": { "start": { "line": 636, "column": 78 }, "end": { "line": 636, "column": 101 } }, "object": { "type": "MemberExpression", "start": 20627, "end": 20639, "loc": { "start": { "line": 636, "column": 78 }, "end": { "line": 636, "column": 90 } }, "object": { "type": "ThisExpression", "start": 20627, "end": 20631, "loc": { "start": { "line": 636, "column": 78 }, "end": { "line": 636, "column": 82 } } }, "property": { "type": "Identifier", "start": 20632, "end": 20639, "loc": { "start": { "line": 636, "column": 83 }, "end": { "line": 636, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20640, "end": 20650, "loc": { "start": { "line": 636, "column": 91 }, "end": { "line": 636, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20615, "end": 20625, "loc": { "start": { "line": 636, "column": 66 }, "end": { "line": 636, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 20651, "end": 20651, "loc": { "start": { "line": 636, "column": 102 }, "end": { "line": 636, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 20659, "end": 20729, "loc": { "start": { "line": 637, "column": 4 }, "end": { "line": 637, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20663, "end": 20728, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 73 } }, "id": { "type": "Identifier", "start": 20663, "end": 20669, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 20672, "end": 20728, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 73 } }, "left": { "type": "MemberExpression", "start": 20672, "end": 20691, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 36 } }, "object": { "type": "MemberExpression", "start": 20672, "end": 20684, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20672, "end": 20676, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 21 } } }, "property": { "type": "Identifier", "start": 20677, "end": 20684, "loc": { "start": { "line": 637, "column": 22 }, "end": { "line": 637, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20685, "end": 20691, "loc": { "start": { "line": 637, "column": 30 }, "end": { "line": 637, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 20695, "end": 20728, "loc": { "start": { "line": 637, "column": 40 }, "end": { "line": 637, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 20695, "end": 20726, "loc": { "start": { "line": 637, "column": 40 }, "end": { "line": 637, "column": 71 } }, "object": { "type": "Identifier", "start": 20695, "end": 20709, "loc": { "start": { "line": 637, "column": 40 }, "end": { "line": 637, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 20710, "end": 20726, "loc": { "start": { "line": 637, "column": 55 }, "end": { "line": 637, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20737, "end": 20789, "loc": { "start": { "line": 639, "column": 4 }, "end": { "line": 641, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20795, "end": 20823, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 642, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20799, "end": 20822, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 31 } }, "id": { "type": "Identifier", "start": 20799, "end": 20817, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 20820, "end": 20822, "loc": { "start": { "line": 642, "column": 29 }, "end": { "line": 642, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20737, "end": 20789, "loc": { "start": { "line": 639, "column": 4 }, "end": { "line": 641, "column": 7 } } } ] }, { "type": "IfStatement", "start": 20829, "end": 21968, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 671, "column": 5 } }, "test": { "type": "CallExpression", "start": 20832, "end": 20871, "loc": { "start": { "line": 643, "column": 7 }, "end": { "line": 643, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 20832, "end": 20845, "loc": { "start": { "line": 643, "column": 7 }, "end": { "line": 643, "column": 20 } }, "object": { "type": "Identifier", "start": 20832, "end": 20837, "loc": { "start": { "line": 643, "column": 7 }, "end": { "line": 643, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 20838, "end": 20845, "loc": { "start": { "line": 643, "column": 13 }, "end": { "line": 643, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20846, "end": 20870, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 45 } }, "object": { "type": "MemberExpression", "start": 20846, "end": 20858, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 33 } }, "object": { "type": "ThisExpression", "start": 20846, "end": 20850, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 25 } } }, "property": { "type": "Identifier", "start": 20851, "end": 20858, "loc": { "start": { "line": 643, "column": 26 }, "end": { "line": 643, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20859, "end": 20870, "loc": { "start": { "line": 643, "column": 34 }, "end": { "line": 643, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 20872, "end": 21968, "loc": { "start": { "line": 643, "column": 47 }, "end": { "line": 671, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 20881, "end": 21961, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 670, "column": 9 } }, "expression": { "type": "CallExpression", "start": 20881, "end": 21960, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 670, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 20881, "end": 20913, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 38 } }, "object": { "type": "MemberExpression", "start": 20881, "end": 20905, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20881, "end": 20893, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20881, "end": 20885, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 10 } } }, "property": { "type": "Identifier", "start": 20886, "end": 20893, "loc": { "start": { "line": 644, "column": 11 }, "end": { "line": 644, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20894, "end": 20905, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 644, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 20906, "end": 20913, "loc": { "start": { "line": 644, "column": 31 }, "end": { "line": 644, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20914, "end": 21959, "loc": { "start": { "line": 644, "column": 39 }, "end": { "line": 670, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20914, "end": 20922, "loc": { "start": { "line": 644, "column": 39 }, "end": { "line": 644, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 20926, "end": 21959, "loc": { "start": { "line": 644, "column": 51 }, "end": { "line": 670, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 20937, "end": 21950, "loc": { "start": { "line": 645, "column": 8 }, "end": { "line": 669, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 20940, "end": 20974, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 45 } }, "left": { "type": "MemberExpression", "start": 20940, "end": 20956, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 27 } }, "object": { "type": "Identifier", "start": 20940, "end": 20948, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20949, "end": 20956, "loc": { "start": { "line": 645, "column": 20 }, "end": { "line": 645, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 20960, "end": 20974, "loc": { "start": { "line": 645, "column": 31 }, "end": { "line": 645, "column": 45 } }, "object": { "type": "Identifier", "start": 20960, "end": 20968, "loc": { "start": { "line": 645, "column": 31 }, "end": { "line": 645, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20969, "end": 20974, "loc": { "start": { "line": 645, "column": 40 }, "end": { "line": 645, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 20975, "end": 21816, "loc": { "start": { "line": 645, "column": 46 }, "end": { "line": 667, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20988, "end": 21005, "loc": { "start": { "line": 646, "column": 10 }, "end": { "line": 646, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20992, "end": 21004, "loc": { "start": { "line": 646, "column": 14 }, "end": { "line": 646, "column": 26 } }, "id": { "type": "Identifier", "start": 20992, "end": 21004, "loc": { "start": { "line": 646, "column": 14 }, "end": { "line": 646, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 21019, "end": 21130, "loc": { "start": { "line": 648, "column": 10 }, "end": { "line": 650, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 21022, "end": 21058, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 21022, "end": 21045, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 21029, "end": 21045, "loc": { "start": { "line": 648, "column": 20 }, "end": { "line": 648, "column": 36 } }, "object": { "type": "Identifier", "start": 21029, "end": 21037, "loc": { "start": { "line": 648, "column": 20 }, "end": { "line": 648, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21038, "end": 21045, "loc": { "start": { "line": 648, "column": 29 }, "end": { "line": 648, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 21050, "end": 21058, "loc": { "start": { "line": 648, "column": 41 }, "end": { "line": 648, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 21059, "end": 21130, "loc": { "start": { "line": 648, "column": 50 }, "end": { "line": 650, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21074, "end": 21117, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 21074, "end": 21116, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 21074, "end": 21086, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 21089, "end": 21116, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 21089, "end": 21111, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 49 } }, "object": { "type": "MemberExpression", "start": 21089, "end": 21105, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 43 } }, "object": { "type": "Identifier", "start": 21089, "end": 21097, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21098, "end": 21105, "loc": { "start": { "line": 649, "column": 36 }, "end": { "line": 649, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 21106, "end": 21111, "loc": { "start": { "line": 649, "column": 44 }, "end": { "line": 649, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21112, "end": 21115, "loc": { "start": { "line": 649, "column": 50 }, "end": { "line": 649, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 21144, "end": 21805, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 666, "column": 11 } }, "test": { "type": "Identifier", "start": 21147, "end": 21159, "loc": { "start": { "line": 652, "column": 13 }, "end": { "line": 652, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 21160, "end": 21805, "loc": { "start": { "line": 652, "column": 26 }, "end": { "line": 666, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21175, "end": 21792, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 665, "column": 15 } }, "expression": { "type": "CallExpression", "start": 21175, "end": 21791, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 665, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 21175, "end": 21195, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 653, "column": 32 } }, "object": { "type": "Identifier", "start": 21175, "end": 21187, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 653, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 21188, "end": 21195, "loc": { "start": { "line": 653, "column": 25 }, "end": { "line": 653, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21196, "end": 21790, "loc": { "start": { "line": 653, "column": 33 }, "end": { "line": 665, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21196, "end": 21207, "loc": { "start": { "line": 653, "column": 33 }, "end": { "line": 653, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 21211, "end": 21790, "loc": { "start": { "line": 653, "column": 48 }, "end": { "line": 665, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 21228, "end": 21278, "loc": { "start": { "line": 654, "column": 14 }, "end": { "line": 654, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21232, "end": 21277, "loc": { "start": { "line": 654, "column": 18 }, "end": { "line": 654, "column": 63 } }, "id": { "type": "Identifier", "start": 21232, "end": 21243, "loc": { "start": { "line": 654, "column": 18 }, "end": { "line": 654, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 21246, "end": 21277, "loc": { "start": { "line": 654, "column": 32 }, "end": { "line": 654, "column": 63 } }, "object": { "type": "Identifier", "start": 21246, "end": 21264, "loc": { "start": { "line": 654, "column": 32 }, "end": { "line": 654, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21265, "end": 21276, "loc": { "start": { "line": 654, "column": 51 }, "end": { "line": 654, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21296, "end": 21335, "loc": { "start": { "line": 656, "column": 14 }, "end": { "line": 656, "column": 53 } } } ] }, { "type": "IfStatement", "start": 21351, "end": 21775, "loc": { "start": { "line": 657, "column": 14 }, "end": { "line": 664, "column": 15 } }, "test": { "type": "Identifier", "start": 21354, "end": 21365, "loc": { "start": { "line": 657, "column": 17 }, "end": { "line": 657, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21366, "end": 21684, "loc": { "start": { "line": 657, "column": 29 }, "end": { "line": 662, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 21486, "end": 21667, "loc": { "start": { "line": 659, "column": 16 }, "end": { "line": 661, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 21489, "end": 21557, "loc": { "start": { "line": 659, "column": 19 }, "end": { "line": 659, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 21490, "end": 21557, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 21490, "end": 21517, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 47 } }, "object": { "type": "MemberExpression", "start": 21490, "end": 21504, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21490, "end": 21494, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21495, "end": 21504, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21505, "end": 21517, "loc": { "start": { "line": 659, "column": 35 }, "end": { "line": 659, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 21518, "end": 21540, "loc": { "start": { "line": 659, "column": 48 }, "end": { "line": 659, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 21518, "end": 21535, "loc": { "start": { "line": 659, "column": 48 }, "end": { "line": 659, "column": 65 } }, "object": { "type": "Identifier", "start": 21518, "end": 21529, "loc": { "start": { "line": 659, "column": 48 }, "end": { "line": 659, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 21530, "end": 21535, "loc": { "start": { "line": 659, "column": 60 }, "end": { "line": 659, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21536, "end": 21539, "loc": { "start": { "line": 659, "column": 66 }, "end": { "line": 659, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 21542, "end": 21556, "loc": { "start": { "line": 659, "column": 72 }, "end": { "line": 659, "column": 86 } }, "object": { "type": "Identifier", "start": 21542, "end": 21550, "loc": { "start": { "line": 659, "column": 72 }, "end": { "line": 659, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21551, "end": 21556, "loc": { "start": { "line": 659, "column": 81 }, "end": { "line": 659, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21558, "end": 21667, "loc": { "start": { "line": 659, "column": 88 }, "end": { "line": 661, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 21579, "end": 21648, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 21579, "end": 21647, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21579, "end": 21610, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 49 } }, "object": { "type": "Identifier", "start": 21579, "end": 21597, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21598, "end": 21609, "loc": { "start": { "line": 660, "column": 37 }, "end": { "line": 660, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 21613, "end": 21647, "loc": { "start": { "line": 660, "column": 52 }, "end": { "line": 660, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 21616, "end": 21627, "loc": { "start": { "line": 660, "column": 55 }, "end": { "line": 660, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 21631, "end": 21645, "loc": { "start": { "line": 660, "column": 70 }, "end": { "line": 660, "column": 84 } }, "object": { "type": "Identifier", "start": 21631, "end": 21639, "loc": { "start": { "line": 660, "column": 70 }, "end": { "line": 660, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21640, "end": 21645, "loc": { "start": { "line": 660, "column": 79 }, "end": { "line": 660, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21614, "end": 21614, "loc": { "start": { "line": 660, "column": 53 }, "end": { "line": 660, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21628, "end": 21629, "loc": { "start": { "line": 660, "column": 67 }, "end": { "line": 660, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21646, "end": 21646, "loc": { "start": { "line": 660, "column": 85 }, "end": { "line": 660, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 21385, "end": 21468, "loc": { "start": { "line": 658, "column": 16 }, "end": { "line": 658, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21690, "end": 21775, "loc": { "start": { "line": 662, "column": 21 }, "end": { "line": 664, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 21709, "end": 21758, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 21709, "end": 21757, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21709, "end": 21740, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 47 } }, "object": { "type": "Identifier", "start": 21709, "end": 21727, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21728, "end": 21739, "loc": { "start": { "line": 663, "column": 35 }, "end": { "line": 663, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 21743, "end": 21757, "loc": { "start": { "line": 663, "column": 50 }, "end": { "line": 663, "column": 64 } }, "object": { "type": "Identifier", "start": 21743, "end": 21751, "loc": { "start": { "line": 663, "column": 50 }, "end": { "line": 663, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21752, "end": 21757, "loc": { "start": { "line": 663, "column": 59 }, "end": { "line": 663, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21296, "end": 21335, "loc": { "start": { "line": 656, "column": 14 }, "end": { "line": 656, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21822, "end": 21950, "loc": { "start": { "line": 667, "column": 15 }, "end": { "line": 669, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 21835, "end": 21939, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 114 } }, "expression": { "type": "CallExpression", "start": 21835, "end": 21939, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 21835, "end": 21847, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 22 } }, "object": { "type": "Identifier", "start": 21835, "end": 21842, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 21843, "end": 21847, "loc": { "start": { "line": 668, "column": 18 }, "end": { "line": 668, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 21848, "end": 21938, "loc": { "start": { "line": 668, "column": 23 }, "end": { "line": 668, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 21849, "end": 21937, "loc": { "start": { "line": 668, "column": 24 }, "end": { "line": 668, "column": 112 } }, "value": { "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." }, "tail": true } ] } ] } } ], "directives": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21976, "end": 22042, "loc": { "start": { "line": 673, "column": 4 }, "end": { "line": 675, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22048, "end": 22148, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 22048, "end": 22147, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22048, "end": 22074, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 30 } }, "object": { "type": "MemberExpression", "start": 22048, "end": 22064, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 20 } }, "object": { "type": "ThisExpression", "start": 22048, "end": 22052, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22053, "end": 22064, "loc": { "start": { "line": 676, "column": 9 }, "end": { "line": 676, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22065, "end": 22074, "loc": { "start": { "line": 676, "column": 21 }, "end": { "line": 676, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 22078, "end": 22147, "loc": { "start": { "line": 676, "column": 34 }, "end": { "line": 676, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 22082, "end": 22100, "loc": { "start": { "line": 676, "column": 38 }, "end": { "line": 676, "column": 56 } }, "object": { "type": "MemberExpression", "start": 22082, "end": 22094, "loc": { "start": { "line": 676, "column": 38 }, "end": { "line": 676, "column": 50 } }, "object": { "type": "ThisExpression", "start": 22082, "end": 22086, "loc": { "start": { "line": 676, "column": 38 }, "end": { "line": 676, "column": 42 } } }, "property": { "type": "Identifier", "start": 22087, "end": 22094, "loc": { "start": { "line": 676, "column": 43 }, "end": { "line": 676, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22095, "end": 22100, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 22104, "end": 22115, "loc": { "start": { "line": 676, "column": 60 }, "end": { "line": 676, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 22119, "end": 22145, "loc": { "start": { "line": 676, "column": 75 }, "end": { "line": 676, "column": 101 } }, "object": { "type": "ThisExpression", "start": 22119, "end": 22123, "loc": { "start": { "line": 676, "column": 75 }, "end": { "line": 676, "column": 79 } } }, "property": { "type": "Identifier", "start": 22124, "end": 22145, "loc": { "start": { "line": 676, "column": 80 }, "end": { "line": 676, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22079, "end": 22080, "loc": { "start": { "line": 676, "column": 35 }, "end": { "line": 676, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22101, "end": 22102, "loc": { "start": { "line": 676, "column": 57 }, "end": { "line": 676, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22116, "end": 22117, "loc": { "start": { "line": 676, "column": 72 }, "end": { "line": 676, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22146, "end": 22146, "loc": { "start": { "line": 676, "column": 102 }, "end": { "line": 676, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21976, "end": 22042, "loc": { "start": { "line": 673, "column": 4 }, "end": { "line": 675, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22156, "end": 22203, "loc": { "start": { "line": 678, "column": 4 }, "end": { "line": 680, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22209, "end": 24466, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 752, "column": 7 } }, "expression": { "type": "CallExpression", "start": 22209, "end": 24465, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 752, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 22209, "end": 22248, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 681, "column": 43 } }, "object": { "type": "MemberExpression", "start": 22209, "end": 22240, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 681, "column": 35 } }, "object": { "type": "Identifier", "start": 22209, "end": 22215, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 681, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 22216, "end": 22239, "loc": { "start": { "line": 681, "column": 11 }, "end": { "line": 681, "column": 34 } }, "object": { "type": "MemberExpression", "start": 22216, "end": 22228, "loc": { "start": { "line": 681, "column": 11 }, "end": { "line": 681, "column": 23 } }, "object": { "type": "ThisExpression", "start": 22216, "end": 22220, "loc": { "start": { "line": 681, "column": 11 }, "end": { "line": 681, "column": 15 } } }, "property": { "type": "Identifier", "start": 22221, "end": 22228, "loc": { "start": { "line": 681, "column": 16 }, "end": { "line": 681, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22229, "end": 22239, "loc": { "start": { "line": 681, "column": 24 }, "end": { "line": 681, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 22241, "end": 22248, "loc": { "start": { "line": 681, "column": 36 }, "end": { "line": 681, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22249, "end": 24464, "loc": { "start": { "line": 681, "column": 44 }, "end": { "line": 752, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22250, "end": 22253, "loc": { "start": { "line": 681, "column": 45 }, "end": { "line": 681, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 22255, "end": 22261, "loc": { "start": { "line": 681, "column": 50 }, "end": { "line": 681, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 22266, "end": 24464, "loc": { "start": { "line": 681, "column": 61 }, "end": { "line": 752, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 22275, "end": 22305, "loc": { "start": { "line": 682, "column": 6 }, "end": { "line": 682, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22279, "end": 22304, "loc": { "start": { "line": 682, "column": 10 }, "end": { "line": 682, "column": 35 } }, "id": { "type": "Identifier", "start": 22279, "end": 22287, "loc": { "start": { "line": 682, "column": 10 }, "end": { "line": 682, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 22290, "end": 22304, "loc": { "start": { "line": 682, "column": 21 }, "end": { "line": 682, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 22290, "end": 22299, "loc": { "start": { "line": 682, "column": 21 }, "end": { "line": 682, "column": 30 } }, "object": { "type": "Identifier", "start": 22290, "end": 22293, "loc": { "start": { "line": 682, "column": 21 }, "end": { "line": 682, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 22294, "end": 22299, "loc": { "start": { "line": 682, "column": 25 }, "end": { "line": 682, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22300, "end": 22303, "loc": { "start": { "line": 682, "column": 31 }, "end": { "line": 682, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22315, "end": 22358, "loc": { "start": { "line": 684, "column": 6 }, "end": { "line": 686, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 22366, "end": 22409, "loc": { "start": { "line": 687, "column": 6 }, "end": { "line": 687, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22370, "end": 22408, "loc": { "start": { "line": 687, "column": 10 }, "end": { "line": 687, "column": 48 } }, "id": { "type": "Identifier", "start": 22370, "end": 22376, "loc": { "start": { "line": 687, "column": 10 }, "end": { "line": 687, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22379, "end": 22408, "loc": { "start": { "line": 687, "column": 19 }, "end": { "line": 687, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 22379, "end": 22401, "loc": { "start": { "line": 687, "column": 19 }, "end": { "line": 687, "column": 41 } }, "object": { "type": "Identifier", "start": 22379, "end": 22387, "loc": { "start": { "line": 687, "column": 19 }, "end": { "line": 687, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22388, "end": 22401, "loc": { "start": { "line": 687, "column": 28 }, "end": { "line": 687, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22402, "end": 22407, "loc": { "start": { "line": 687, "column": 42 }, "end": { "line": 687, "column": 47 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22315, "end": 22358, "loc": { "start": { "line": 684, "column": 6 }, "end": { "line": 686, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22417, "end": 22446, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 22417, "end": 22445, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22417, "end": 22433, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 22 } }, "object": { "type": "Identifier", "start": 22417, "end": 22423, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 22424, "end": 22433, "loc": { "start": { "line": 688, "column": 13 }, "end": { "line": 688, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 22437, "end": 22445, "loc": { "start": { "line": 688, "column": 26 }, "end": { "line": 688, "column": 34 } }, "extra": { "rawValue": "hg-row", "raw": "\"hg-row\"" }, "value": "hg-row" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22456, "end": 22517, "loc": { "start": { "line": 690, "column": 6 }, "end": { "line": 692, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22525, "end": 24352, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 746, "column": 9 } }, "expression": { "type": "CallExpression", "start": 22525, "end": 24351, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 746, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 22525, "end": 22541, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 693, "column": 22 } }, "object": { "type": "Identifier", "start": 22525, "end": 22533, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 693, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 22534, "end": 22541, "loc": { "start": { "line": 693, "column": 15 }, "end": { "line": 693, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22542, "end": 24350, "loc": { "start": { "line": 693, "column": 23 }, "end": { "line": 746, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22543, "end": 22549, "loc": { "start": { "line": 693, "column": 24 }, "end": { "line": 693, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22551, "end": 22557, "loc": { "start": { "line": 693, "column": 32 }, "end": { "line": 693, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 22562, "end": 24350, "loc": { "start": { "line": 693, "column": 43 }, "end": { "line": 746, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 22573, "end": 22629, "loc": { "start": { "line": 694, "column": 8 }, "end": { "line": 694, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22577, "end": 22628, "loc": { "start": { "line": 694, "column": 12 }, "end": { "line": 694, "column": 63 } }, "id": { "type": "Identifier", "start": 22577, "end": 22588, "loc": { "start": { "line": 694, "column": 12 }, "end": { "line": 694, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 22591, "end": 22628, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 22591, "end": 22620, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 55 } }, "object": { "type": "MemberExpression", "start": 22591, "end": 22605, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 40 } }, "object": { "type": "ThisExpression", "start": 22591, "end": 22595, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 30 } } }, "property": { "type": "Identifier", "start": 22596, "end": 22605, "loc": { "start": { "line": 694, "column": 31 }, "end": { "line": 694, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22606, "end": 22620, "loc": { "start": { "line": 694, "column": 41 }, "end": { "line": 694, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22621, "end": 22627, "loc": { "start": { "line": 694, "column": 56 }, "end": { "line": 694, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22639, "end": 22689, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 695, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22643, "end": 22688, "loc": { "start": { "line": 695, "column": 12 }, "end": { "line": 695, "column": 57 } }, "id": { "type": "Identifier", "start": 22643, "end": 22659, "loc": { "start": { "line": 695, "column": 12 }, "end": { "line": 695, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 22662, "end": 22688, "loc": { "start": { "line": 695, "column": 31 }, "end": { "line": 695, "column": 57 } }, "object": { "type": "Identifier", "start": 22662, "end": 22680, "loc": { "start": { "line": 695, "column": 31 }, "end": { "line": 695, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22681, "end": 22687, "loc": { "start": { "line": 695, "column": 50 }, "end": { "line": 695, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22699, "end": 22816, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22703, "end": 22815, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 124 } }, "id": { "type": "Identifier", "start": 22703, "end": 22720, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 22723, "end": 22815, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 22723, "end": 22758, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 67 } }, "object": { "type": "MemberExpression", "start": 22723, "end": 22737, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 46 } }, "object": { "type": "ThisExpression", "start": 22723, "end": 22727, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 36 } } }, "property": { "type": "Identifier", "start": 22728, "end": 22737, "loc": { "start": { "line": 696, "column": 37 }, "end": { "line": 696, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22738, "end": 22758, "loc": { "start": { "line": 696, "column": 47 }, "end": { "line": 696, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22759, "end": 22765, "loc": { "start": { "line": 696, "column": 68 }, "end": { "line": 696, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 22767, "end": 22787, "loc": { "start": { "line": 696, "column": 76 }, "end": { "line": 696, "column": 96 } }, "object": { "type": "MemberExpression", "start": 22767, "end": 22779, "loc": { "start": { "line": 696, "column": 76 }, "end": { "line": 696, "column": 88 } }, "object": { "type": "ThisExpression", "start": 22767, "end": 22771, "loc": { "start": { "line": 696, "column": 76 }, "end": { "line": 696, "column": 80 } } }, "property": { "type": "Identifier", "start": 22772, "end": 22779, "loc": { "start": { "line": 696, "column": 81 }, "end": { "line": 696, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22780, "end": 22787, "loc": { "start": { "line": 696, "column": 89 }, "end": { "line": 696, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 22789, "end": 22814, "loc": { "start": { "line": 696, "column": 98 }, "end": { "line": 696, "column": 123 } }, "object": { "type": "MemberExpression", "start": 22789, "end": 22801, "loc": { "start": { "line": 696, "column": 98 }, "end": { "line": 696, "column": 110 } }, "object": { "type": "ThisExpression", "start": 22789, "end": 22793, "loc": { "start": { "line": 696, "column": 98 }, "end": { "line": 696, "column": 102 } } }, "property": { "type": "Identifier", "start": 22794, "end": 22801, "loc": { "start": { "line": 696, "column": 103 }, "end": { "line": 696, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22802, "end": 22814, "loc": { "start": { "line": 696, "column": 111 }, "end": { "line": 696, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22828, "end": 22872, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22882, "end": 22928, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22886, "end": 22927, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 53 } }, "id": { "type": "Identifier", "start": 22886, "end": 22895, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22898, "end": 22927, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 22898, "end": 22920, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 46 } }, "object": { "type": "Identifier", "start": 22898, "end": 22906, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22907, "end": 22920, "loc": { "start": { "line": 701, "column": 33 }, "end": { "line": 701, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22921, "end": 22926, "loc": { "start": { "line": 701, "column": 47 }, "end": { "line": 701, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22828, "end": 22872, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22938, "end": 23035, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 22938, "end": 23034, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22938, "end": 22957, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 27 } }, "object": { "type": "Identifier", "start": 22938, "end": 22947, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22948, "end": 22957, "loc": { "start": { "line": 702, "column": 18 }, "end": { "line": 702, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 22961, "end": 23034, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 22974, "end": 22985, "loc": { "start": { "line": 702, "column": 44 }, "end": { "line": 702, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 22988, "end": 23032, "loc": { "start": { "line": 702, "column": 58 }, "end": { "line": 702, "column": 102 } }, "test": { "type": "Identifier", "start": 22988, "end": 23004, "loc": { "start": { "line": 702, "column": 58 }, "end": { "line": 702, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 23007, "end": 23027, "loc": { "start": { "line": 702, "column": 77 }, "end": { "line": 702, "column": 97 } }, "left": { "type": "StringLiteral", "start": 23007, "end": 23010, "loc": { "start": { "line": 702, "column": 77 }, "end": { "line": 702, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 23011, "end": 23027, "loc": { "start": { "line": 702, "column": 81 }, "end": { "line": 702, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 23030, "end": 23032, "loc": { "start": { "line": 702, "column": 100 }, "end": { "line": 702, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 22962, "end": 22972, "loc": { "start": { "line": 702, "column": 32 }, "end": { "line": 702, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 22986, "end": 22986, "loc": { "start": { "line": 702, "column": 56 }, "end": { "line": 702, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23033, "end": 23033, "loc": { "start": { "line": 702, "column": 103 }, "end": { "line": 702, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 23045, "end": 23165, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 706, "column": 9 } }, "expression": { "type": "AssignmentExpression", "start": 23045, "end": 23165, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 706, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23045, "end": 23062, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 25 } }, "object": { "type": "Identifier", "start": 23045, "end": 23054, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23055, "end": 23062, "loc": { "start": { "line": 703, "column": 18 }, "end": { "line": 703, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23065, "end": 23165, "loc": { "start": { "line": 703, "column": 28 }, "end": { "line": 706, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 23071, "end": 23165, "loc": { "start": { "line": 703, "column": 34 }, "end": { "line": 706, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23084, "end": 23109, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 23084, "end": 23108, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23084, "end": 23100, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 26 } }, "object": { "type": "ThisExpression", "start": 23084, "end": 23088, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 14 } } }, "property": { "type": "Identifier", "start": 23089, "end": 23100, "loc": { "start": { "line": 704, "column": 15 }, "end": { "line": 704, "column": 26 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 23103, "end": 23108, "loc": { "start": { "line": 704, "column": 29 }, "end": { "line": 704, "column": 34 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 23121, "end": 23154, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23121, "end": 23153, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23121, "end": 23145, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 34 } }, "object": { "type": "ThisExpression", "start": 23121, "end": 23125, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 14 } } }, "property": { "type": "Identifier", "start": 23126, "end": 23145, "loc": { "start": { "line": 705, "column": 15 }, "end": { "line": 705, "column": 34 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23146, "end": 23152, "loc": { "start": { "line": 705, "column": 35 }, "end": { "line": 705, "column": 41 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 23175, "end": 23244, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 23175, "end": 23243, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23175, "end": 23196, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 29 } }, "object": { "type": "Identifier", "start": 23175, "end": 23184, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23185, "end": 23196, "loc": { "start": { "line": 707, "column": 18 }, "end": { "line": 707, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23199, "end": 23243, "loc": { "start": { "line": 707, "column": 32 }, "end": { "line": 707, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 23200, "end": 23201, "loc": { "start": { "line": 707, "column": 33 }, "end": { "line": 707, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 23206, "end": 23243, "loc": { "start": { "line": 707, "column": 39 }, "end": { "line": 707, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 23206, "end": 23232, "loc": { "start": { "line": 707, "column": 39 }, "end": { "line": 707, "column": 65 } }, "object": { "type": "ThisExpression", "start": 23206, "end": 23210, "loc": { "start": { "line": 707, "column": 39 }, "end": { "line": 707, "column": 43 } } }, "property": { "type": "Identifier", "start": 23211, "end": 23232, "loc": { "start": { "line": 707, "column": 44 }, "end": { "line": 707, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23233, "end": 23239, "loc": { "start": { "line": 707, "column": 66 }, "end": { "line": 707, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 23241, "end": 23242, "loc": { "start": { "line": 707, "column": 74 }, "end": { "line": 707, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 23256, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23312, "end": 23357, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 53 } }, "expression": { "type": "CallExpression", "start": 23312, "end": 23356, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 23312, "end": 23334, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 30 } }, "object": { "type": "Identifier", "start": 23312, "end": 23321, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23322, "end": 23334, "loc": { "start": { "line": 712, "column": 18 }, "end": { "line": 712, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 23335, "end": 23347, "loc": { "start": { "line": 712, "column": 31 }, "end": { "line": 712, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 23349, "end": 23355, "loc": { "start": { "line": 712, "column": 45 }, "end": { "line": 712, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 23256, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 23369, "end": 23524, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 717, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23534, "end": 23600, "loc": { "start": { "line": 718, "column": 8 }, "end": { "line": 718, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23538, "end": 23599, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 73 } }, "id": { "type": "Identifier", "start": 23538, "end": 23547, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 23550, "end": 23599, "loc": { "start": { "line": 718, "column": 24 }, "end": { "line": 718, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 23553, "end": 23576, "loc": { "start": { "line": 718, "column": 27 }, "end": { "line": 718, "column": 50 } }, "object": { "type": "MemberExpression", "start": 23553, "end": 23565, "loc": { "start": { "line": 718, "column": 27 }, "end": { "line": 718, "column": 39 } }, "object": { "type": "ThisExpression", "start": 23553, "end": 23557, "loc": { "start": { "line": 718, "column": 27 }, "end": { "line": 718, "column": 31 } } }, "property": { "type": "Identifier", "start": 23558, "end": 23565, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23566, "end": 23576, "loc": { "start": { "line": 718, "column": 40 }, "end": { "line": 718, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 23581, "end": 23587, "loc": { "start": { "line": 718, "column": 55 }, "end": { "line": 718, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 23591, "end": 23597, "loc": { "start": { "line": 718, "column": 65 }, "end": { "line": 718, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 23551, "end": 23551, "loc": { "start": { "line": 718, "column": 25 }, "end": { "line": 718, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23577, "end": 23579, "loc": { "start": { "line": 718, "column": 51 }, "end": { "line": 718, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 23588, "end": 23589, "loc": { "start": { "line": 718, "column": 62 }, "end": { "line": 718, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 23598, "end": 23598, "loc": { "start": { "line": 718, "column": 72 }, "end": { "line": 718, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 23369, "end": 23524, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 717, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23610, "end": 23661, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 59 } }, "expression": { "type": "CallExpression", "start": 23610, "end": 23660, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23610, "end": 23632, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 30 } }, "object": { "type": "Identifier", "start": 23610, "end": 23619, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23620, "end": 23632, "loc": { "start": { "line": 719, "column": 18 }, "end": { "line": 719, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23633, "end": 23648, "loc": { "start": { "line": 719, "column": 31 }, "end": { "line": 719, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 23650, "end": 23659, "loc": { "start": { "line": 719, "column": 48 }, "end": { "line": 719, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23673, "end": 23722, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 723, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23732, "end": 23795, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 71 } }, "expression": { "type": "CallExpression", "start": 23732, "end": 23794, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 23732, "end": 23754, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 30 } }, "object": { "type": "Identifier", "start": 23732, "end": 23741, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23742, "end": 23754, "loc": { "start": { "line": 724, "column": 18 }, "end": { "line": 724, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 23755, "end": 23774, "loc": { "start": { "line": 724, "column": 31 }, "end": { "line": 724, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 23776, "end": 23793, "loc": { "start": { "line": 724, "column": 52 }, "end": { "line": 724, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23673, "end": 23722, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 723, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23807, "end": 23865, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 728, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23875, "end": 23926, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 729, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23879, "end": 23925, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 58 } }, "id": { "type": "Identifier", "start": 23879, "end": 23892, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23895, "end": 23925, "loc": { "start": { "line": 729, "column": 28 }, "end": { "line": 729, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23895, "end": 23917, "loc": { "start": { "line": 729, "column": 28 }, "end": { "line": 729, "column": 50 } }, "object": { "type": "Identifier", "start": 23895, "end": 23903, "loc": { "start": { "line": 729, "column": 28 }, "end": { "line": 729, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23904, "end": 23917, "loc": { "start": { "line": 729, "column": 37 }, "end": { "line": 729, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23918, "end": 23924, "loc": { "start": { "line": 729, "column": 51 }, "end": { "line": 729, "column": 57 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23807, "end": 23865, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 728, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23936, "end": 23980, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 23936, "end": 23979, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23936, "end": 23959, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 31 } }, "object": { "type": "Identifier", "start": 23936, "end": 23949, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 23950, "end": 23959, "loc": { "start": { "line": 730, "column": 22 }, "end": { "line": 730, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 23962, "end": 23979, "loc": { "start": { "line": 730, "column": 34 }, "end": { "line": 730, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 23990, "end": 24027, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23990, "end": 24026, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23990, "end": 24011, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 29 } }, "object": { "type": "Identifier", "start": 23990, "end": 23999, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24000, "end": 24011, "loc": { "start": { "line": 731, "column": 18 }, "end": { "line": 731, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24012, "end": 24025, "loc": { "start": { "line": 731, "column": 30 }, "end": { "line": 731, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24039, "end": 24092, "loc": { "start": { "line": 733, "column": 8 }, "end": { "line": 735, "column": 11 } } } ] }, { "type": "IfStatement", "start": 24102, "end": 24179, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 737, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 24105, "end": 24133, "loc": { "start": { "line": 736, "column": 11 }, "end": { "line": 736, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24106, "end": 24133, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 39 } }, "object": { "type": "MemberExpression", "start": 24106, "end": 24125, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 31 } }, "object": { "type": "ThisExpression", "start": 24106, "end": 24110, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24111, "end": 24125, "loc": { "start": { "line": 736, "column": 17 }, "end": { "line": 736, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 24126, "end": 24132, "loc": { "start": { "line": 736, "column": 32 }, "end": { "line": 736, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 24146, "end": 24179, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24146, "end": 24178, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24146, "end": 24173, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 37 } }, "object": { "type": "MemberExpression", "start": 24146, "end": 24165, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 29 } }, "object": { "type": "ThisExpression", "start": 24146, "end": 24150, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 14 } } }, "property": { "type": "Identifier", "start": 24151, "end": 24165, "loc": { "start": { "line": 737, "column": 15 }, "end": { "line": 737, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 24166, "end": 24172, "loc": { "start": { "line": 737, "column": 30 }, "end": { "line": 737, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 24176, "end": 24178, "loc": { "start": { "line": 737, "column": 40 }, "end": { "line": 737, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24039, "end": 24092, "loc": { "start": { "line": 733, "column": 8 }, "end": { "line": 735, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24191, "end": 24235, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 52 } }, "expression": { "type": "CallExpression", "start": 24191, "end": 24234, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 24191, "end": 24223, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 40 } }, "object": { "type": "MemberExpression", "start": 24191, "end": 24218, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 35 } }, "object": { "type": "MemberExpression", "start": 24191, "end": 24210, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 27 } }, "object": { "type": "ThisExpression", "start": 24191, "end": 24195, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 12 } } }, "property": { "type": "Identifier", "start": 24196, "end": 24210, "loc": { "start": { "line": 739, "column": 13 }, "end": { "line": 739, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 24211, "end": 24217, "loc": { "start": { "line": 739, "column": 28 }, "end": { "line": 739, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 24219, "end": 24223, "loc": { "start": { "line": 739, "column": 36 }, "end": { "line": 739, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24224, "end": 24233, "loc": { "start": { "line": 739, "column": 41 }, "end": { "line": 739, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 24247, "end": 24299, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24309, "end": 24339, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 38 } }, "expression": { "type": "CallExpression", "start": 24309, "end": 24338, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 24309, "end": 24327, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 26 } }, "object": { "type": "Identifier", "start": 24309, "end": 24315, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24316, "end": 24327, "loc": { "start": { "line": 744, "column": 15 }, "end": { "line": 744, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 24328, "end": 24337, "loc": { "start": { "line": 744, "column": 27 }, "end": { "line": 744, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 24247, "end": 24299, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22456, "end": 22517, "loc": { "start": { "line": 690, "column": 6 }, "end": { "line": 692, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 24362, "end": 24412, "loc": { "start": { "line": 748, "column": 6 }, "end": { "line": 750, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24420, "end": 24457, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 43 } }, "expression": { "type": "CallExpression", "start": 24420, "end": 24456, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 24420, "end": 24448, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 34 } }, "object": { "type": "MemberExpression", "start": 24420, "end": 24436, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24420, "end": 24424, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24425, "end": 24436, "loc": { "start": { "line": 751, "column": 11 }, "end": { "line": 751, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 24437, "end": 24448, "loc": { "start": { "line": 751, "column": 23 }, "end": { "line": 751, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 24449, "end": 24455, "loc": { "start": { "line": 751, "column": 35 }, "end": { "line": 751, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 24362, "end": 24412, "loc": { "start": { "line": 748, "column": 6 }, "end": { "line": 750, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22156, "end": 22203, "loc": { "start": { "line": 678, "column": 4 }, "end": { "line": 680, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 24474, "end": 24511, "loc": { "start": { "line": 754, "column": 4 }, "end": { "line": 756, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 24517, "end": 24533, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24517, "end": 24532, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24517, "end": 24530, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24517, "end": 24521, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24522, "end": 24530, "loc": { "start": { "line": 757, "column": 9 }, "end": { "line": 757, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 24474, "end": 24511, "loc": { "start": { "line": 754, "column": 4 }, "end": { "line": 756, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24541, "end": 24578, "loc": { "start": { "line": 759, "column": 4 }, "end": { "line": 761, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 24584, "end": 24638, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 24584, "end": 24637, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24584, "end": 24602, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 22 } }, "object": { "type": "Identifier", "start": 24584, "end": 24592, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 12 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 24593, "end": 24602, "loc": { "start": { "line": 762, "column": 13 }, "end": { "line": 762, "column": 22 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 24605, "end": 24637, "loc": { "start": { "line": 762, "column": 25 }, "end": { "line": 762, "column": 57 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 24611, "end": 24637, "loc": { "start": { "line": 762, "column": 31 }, "end": { "line": 762, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 24611, "end": 24635, "loc": { "start": { "line": 762, "column": 31 }, "end": { "line": 762, "column": 55 } }, "object": { "type": "ThisExpression", "start": 24611, "end": 24615, "loc": { "start": { "line": 762, "column": 31 }, "end": { "line": 762, "column": 35 } } }, "property": { "type": "Identifier", "start": 24616, "end": 24635, "loc": { "start": { "line": 762, "column": 36 }, "end": { "line": 762, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24541, "end": 24578, "loc": { "start": { "line": 759, "column": 4 }, "end": { "line": 761, "column": 7 } } } ] }, { "type": "IfStatement", "start": 24646, "end": 24868, "loc": { "start": { "line": 764, "column": 4 }, "end": { "line": 774, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 24649, "end": 24666, "loc": { "start": { "line": 764, "column": 7 }, "end": { "line": 764, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24650, "end": 24666, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 24 } }, "object": { "type": "ThisExpression", "start": 24650, "end": 24654, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 12 } } }, "property": { "type": "Identifier", "start": 24655, "end": 24666, "loc": { "start": { "line": 764, "column": 13 }, "end": { "line": 764, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 24667, "end": 24868, "loc": { "start": { "line": 764, "column": 25 }, "end": { "line": 774, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 24766, "end": 24790, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 24766, "end": 24789, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24766, "end": 24782, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24766, "end": 24770, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24771, "end": 24782, "loc": { "start": { "line": 768, "column": 11 }, "end": { "line": 768, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 24785, "end": 24789, "loc": { "start": { "line": 768, "column": 25 }, "end": { "line": 768, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24676, "end": 24758, "loc": { "start": { "line": 765, "column": 6 }, "end": { "line": 767, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24800, "end": 24839, "loc": { "start": { "line": 770, "column": 6 }, "end": { "line": 772, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24847, "end": 24861, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24847, "end": 24860, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24847, "end": 24858, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24847, "end": 24851, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24852, "end": 24858, "loc": { "start": { "line": 773, "column": 11 }, "end": { "line": 773, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24800, "end": 24839, "loc": { "start": { "line": 770, "column": 6 }, "end": { "line": 772, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20416, "end": 20472, "loc": { "start": { "line": 627, "column": 2 }, "end": { "line": 629, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 24880, "end": 24910, "loc": { "start": { "line": 778, "column": 0 }, "end": { "line": 778, "column": 30 } }, "declaration": { "type": "Identifier", "start": 24895, "end": 24909, "loc": { "start": { "line": 778, "column": 15 }, "end": { "line": 778, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 24880, "end": 24910, "loc": { "start": { "line": 778, "column": 0 }, "end": { "line": 778, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 24876, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 776, "column": 1 } }, "id": { "type": "Identifier", "start": 373, "end": 387, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 20 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 388, "end": 24876, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 776, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7371, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 152, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 679, "end": 690, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "RestElement", "start": 691, "end": 700, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 23 } }, "argument": { "type": "Identifier", "start": 694, "end": 700, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 23 }, "identifierName": "params" }, "name": "params" } } ], "body": { "type": "BlockStatement", "start": 701, "end": 7371, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 152, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 708, "end": 794, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", "start": 712, "end": 793, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 89 } }, "id": { "type": "Identifier", "start": 712, "end": 728, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 24 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "init": { "type": "ConditionalExpression", "start": 731, "end": 793, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 89 } }, "test": { "type": "BinaryExpression", "start": 731, "end": 760, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 56 } }, "left": { "type": "UnaryExpression", "start": 731, "end": 747, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 43 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 738, "end": 747, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 43 } }, "object": { "type": "Identifier", "start": 738, "end": 744, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 40 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 745, "end": 746, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 752, "end": 760, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 56 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "MemberExpression", "start": 763, "end": 772, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 68 } }, "object": { "type": "Identifier", "start": 763, "end": 769, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 65 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 770, "end": 771, "loc": { "start": { "line": 21, "column": 66 }, "end": { "line": 21, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "StringLiteral", "start": 775, "end": 793, "loc": { "start": { "line": 21, "column": 71 }, "end": { "line": 21, "column": 89 } }, "extra": { "rawValue": ".simple-keyboard", "raw": "'.simple-keyboard'" }, "value": ".simple-keyboard" } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 800, "end": 868, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 804, "end": 867, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 71 } }, "id": { "type": "Identifier", "start": 804, "end": 811, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 15 }, "identifierName": "options" }, "name": "options" }, "init": { "type": "ConditionalExpression", "start": 814, "end": 867, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 71 } }, "test": { "type": "BinaryExpression", "start": 814, "end": 843, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 47 } }, "left": { "type": "UnaryExpression", "start": 814, "end": 830, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 34 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 821, "end": 830, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 34 } }, "object": { "type": "Identifier", "start": 821, "end": 827, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 31 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 828, "end": 829, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 835, "end": 843, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 47 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "MemberExpression", "start": 846, "end": 855, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 59 } }, "object": { "type": "Identifier", "start": 846, "end": 852, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 56 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 853, "end": 854, "loc": { "start": { "line": 22, "column": 57 }, "end": { "line": 22, "column": 58 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "MemberExpression", "start": 858, "end": 867, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 71 } }, "object": { "type": "Identifier", "start": 858, "end": 864, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 68 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 865, "end": 866, "loc": { "start": { "line": 22, "column": 69 }, "end": { "line": 22, "column": 70 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } } } ], "kind": "let" }, { "type": "IfStatement", "start": 876, "end": 909, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 25, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 879, "end": 887, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 880, "end": 887, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 15 }, "identifierName": "options" }, "name": "options" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 896, "end": 909, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 19 } }, "expression": { "type": "AssignmentExpression", "start": 896, "end": 908, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 18 } }, "operator": "=", "left": { "type": "Identifier", "start": 896, "end": 903, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 13 }, "identifierName": "options" }, "name": "options" }, "right": { "type": "ObjectExpression", "start": 906, "end": 908, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 18 } }, "properties": [] } }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 966, "end": 1003, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 966, "end": 1002, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 966, "end": 980, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } }, "object": { "type": "ThisExpression", "start": 966, "end": 970, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 971, "end": 980, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 18 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 983, "end": 1002, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 40 } }, "callee": { "type": "Identifier", "start": 987, "end": 996, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 34 }, "identifierName": "Utilities" }, "name": "Utilities" }, "arguments": [ { "type": "ThisExpression", "start": 997, "end": 1001, "loc": { "start": { "line": 30, "column": 35 }, "end": { "line": 30, "column": 39 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 1056, "end": 1116, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 1056, "end": 1115, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1056, "end": 1072, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1061, "end": 1072, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1075, "end": 1115, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 1075, "end": 1097, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 45 } }, "object": { "type": "Identifier", "start": 1075, "end": 1083, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 31 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 1084, "end": 1097, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 45 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1098, "end": 1114, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 62 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3949, "end": 3972, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 3949, "end": 3971, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3949, "end": 3961, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3949, "end": 3953, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3954, "end": 3961, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 3964, "end": 3971, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 26 }, "identifierName": "options" }, "name": "options" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3978, "end": 4041, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 3978, "end": 4040, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3978, "end": 4001, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 27 } }, "object": { "type": "MemberExpression", "start": 3978, "end": 3990, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3978, "end": 3982, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } } }, "property": { "type": "Identifier", "start": 3983, "end": 3990, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3991, "end": 4001, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 27 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4004, "end": 4040, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 66 } }, "left": { "type": "MemberExpression", "start": 4004, "end": 4027, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4004, "end": 4016, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 42 } }, "object": { "type": "ThisExpression", "start": 4004, "end": 4008, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } }, "property": { "type": "Identifier", "start": 4009, "end": 4016, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4017, "end": 4027, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 53 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4031, "end": 4040, "loc": { "start": { "line": 62, "column": 57 }, "end": { "line": 62, "column": 66 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4047, "end": 4109, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 4047, "end": 4108, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4047, "end": 4065, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 22 } }, "object": { "type": "MemberExpression", "start": 4047, "end": 4059, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4047, "end": 4051, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, "property": { "type": "Identifier", "start": 4052, "end": 4059, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4060, "end": 4065, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 22 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4068, "end": 4108, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 65 } }, "left": { "type": "MemberExpression", "start": 4068, "end": 4086, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 43 } }, "object": { "type": "MemberExpression", "start": 4068, "end": 4080, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4068, "end": 4072, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 29 } } }, "property": { "type": "Identifier", "start": 4073, "end": 4080, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4081, "end": 4086, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 43 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4090, "end": 4108, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 65 } }, "extra": { "rawValue": "hg-theme-default", "raw": "\"hg-theme-default\"" }, "value": "hg-theme-default" } } } }, { "type": "ExpressionStatement", "start": 4115, "end": 4176, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4115, "end": 4175, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4115, "end": 4137, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 26 } }, "object": { "type": "MemberExpression", "start": 4115, "end": 4127, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4115, "end": 4119, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, "property": { "type": "Identifier", "start": 4120, "end": 4127, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4128, "end": 4137, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 26 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4140, "end": 4175, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4140, "end": 4162, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4140, "end": 4152, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4140, "end": 4144, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 } } }, "property": { "type": "Identifier", "start": 4145, "end": 4152, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4153, "end": 4162, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4166, "end": 4175, "loc": { "start": { "line": 64, "column": 55 }, "end": { "line": 64, "column": 64 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4260, "end": 4292, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4260, "end": 4291, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4260, "end": 4286, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4260, "end": 4264, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4265, "end": 4286, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 30 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false, "leadingComments": null }, "right": { "type": "StringLiteral", "start": 4289, "end": 4291, "loc": { "start": { "line": 69, "column": 33 }, "end": { "line": 69, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4335, "end": 4398, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4335, "end": 4397, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4335, "end": 4359, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4335, "end": 4339, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4340, "end": 4359, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4362, "end": 4397, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4362, "end": 4391, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4362, "end": 4386, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4362, "end": 4366, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 35 } } }, "property": { "type": "Identifier", "start": 4367, "end": 4386, "loc": { "start": { "line": 74, "column": 36 }, "end": { "line": 74, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4387, "end": 4391, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4392, "end": 4396, "loc": { "start": { "line": 74, "column": 61 }, "end": { "line": 74, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4404, "end": 4465, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4404, "end": 4464, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4404, "end": 4427, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4404, "end": 4408, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4409, "end": 4427, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4430, "end": 4464, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4430, "end": 4458, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4430, "end": 4453, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4430, "end": 4434, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 34 } } }, "property": { "type": "Identifier", "start": 4435, "end": 4453, "loc": { "start": { "line": 75, "column": 35 }, "end": { "line": 75, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4454, "end": 4458, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4459, "end": 4463, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4471, "end": 4516, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4471, "end": 4515, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4471, "end": 4486, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4471, "end": 4475, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4476, "end": 4486, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4489, "end": 4515, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4489, "end": 4509, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4489, "end": 4504, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4489, "end": 4493, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 26 } } }, "property": { "type": "Identifier", "start": 4494, "end": 4504, "loc": { "start": { "line": 76, "column": 27 }, "end": { "line": 76, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4505, "end": 4509, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4510, "end": 4514, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4522, "end": 4563, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4522, "end": 4562, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4522, "end": 4535, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4522, "end": 4526, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4527, "end": 4535, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4538, "end": 4562, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4538, "end": 4556, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4538, "end": 4551, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4538, "end": 4542, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 24 } } }, "property": { "type": "Identifier", "start": 4543, "end": 4551, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4552, "end": 4556, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 77, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4557, "end": 4561, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4569, "end": 4610, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4569, "end": 4609, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4569, "end": 4582, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4569, "end": 4573, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4574, "end": 4582, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4585, "end": 4609, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4585, "end": 4603, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4585, "end": 4598, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4585, "end": 4589, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 24 } } }, "property": { "type": "Identifier", "start": 4590, "end": 4598, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4599, "end": 4603, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4604, "end": 4608, "loc": { "start": { "line": 78, "column": 39 }, "end": { "line": 78, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4616, "end": 4665, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4616, "end": 4664, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4616, "end": 4633, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4616, "end": 4620, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4621, "end": 4633, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4636, "end": 4664, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4636, "end": 4658, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4636, "end": 4653, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4636, "end": 4640, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 28 } } }, "property": { "type": "Identifier", "start": 4641, "end": 4653, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4654, "end": 4658, "loc": { "start": { "line": 79, "column": 42 }, "end": { "line": 79, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4659, "end": 4663, "loc": { "start": { "line": 79, "column": 47 }, "end": { "line": 79, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4671, "end": 4706, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4671, "end": 4705, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4671, "end": 4681, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4671, "end": 4675, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4676, "end": 4681, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4684, "end": 4705, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4684, "end": 4699, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4684, "end": 4694, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4684, "end": 4688, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 21 } } }, "property": { "type": "Identifier", "start": 4689, "end": 4694, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4695, "end": 4699, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4700, "end": 4704, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4712, "end": 4753, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4712, "end": 4752, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4712, "end": 4725, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4712, "end": 4716, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4717, "end": 4725, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4728, "end": 4752, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4728, "end": 4746, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4728, "end": 4741, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4728, "end": 4732, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 } } }, "property": { "type": "Identifier", "start": 4733, "end": 4741, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4742, "end": 4746, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4747, "end": 4751, "loc": { "start": { "line": 81, "column": 39 }, "end": { "line": 81, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4759, "end": 4812, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4759, "end": 4811, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4759, "end": 4778, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4759, "end": 4763, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4764, "end": 4778, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4781, "end": 4811, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4781, "end": 4805, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4781, "end": 4800, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4781, "end": 4785, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, "property": { "type": "Identifier", "start": 4786, "end": 4800, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4801, "end": 4805, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4806, "end": 4810, "loc": { "start": { "line": 82, "column": 51 }, "end": { "line": 82, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4818, "end": 4877, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4818, "end": 4876, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4818, "end": 4840, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4818, "end": 4822, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4823, "end": 4840, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4843, "end": 4876, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4843, "end": 4870, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4843, "end": 4865, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4843, "end": 4847, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 33 } } }, "property": { "type": "Identifier", "start": 4848, "end": 4865, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4866, "end": 4870, "loc": { "start": { "line": 83, "column": 52 }, "end": { "line": 83, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 83, "column": 57 }, "end": { "line": 83, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4883, "end": 4940, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 4883, "end": 4939, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4883, "end": 4904, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4883, "end": 4887, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 4888, "end": 4904, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 4907, "end": 4939, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 4907, "end": 4933, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4907, "end": 4928, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 49 } }, "object": { "type": "ThisExpression", "start": 4907, "end": 4911, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 } } }, "property": { "type": "Identifier", "start": 4912, "end": 4928, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 4929, "end": 4933, "loc": { "start": { "line": 84, "column": 50 }, "end": { "line": 84, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4934, "end": 4938, "loc": { "start": { "line": 84, "column": 55 }, "end": { "line": 84, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 4946, "end": 4993, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 4946, "end": 4992, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4946, "end": 4962, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4946, "end": 4950, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 4951, "end": 4962, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 4965, "end": 4992, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 4965, "end": 4986, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4965, "end": 4981, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 4965, "end": 4969, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 4970, "end": 4981, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 4982, "end": 4986, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4987, "end": 4991, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 4999, "end": 5058, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4999, "end": 5057, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4999, "end": 5021, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4999, "end": 5003, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5004, "end": 5021, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 5024, "end": 5057, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5024, "end": 5051, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5024, "end": 5046, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5024, "end": 5028, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } } }, "property": { "type": "Identifier", "start": 5029, "end": 5046, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 5047, "end": 5051, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 86, "column": 57 }, "end": { "line": 86, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5064, "end": 5101, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5064, "end": 5100, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5064, "end": 5075, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5064, "end": 5068, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5069, "end": 5075, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 5078, "end": 5100, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5078, "end": 5094, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5078, "end": 5089, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5078, "end": 5082, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 } } }, "property": { "type": "Identifier", "start": 5083, "end": 5089, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 5090, "end": 5094, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5095, "end": 5099, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5107, "end": 5148, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5107, "end": 5147, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5107, "end": 5120, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5107, "end": 5111, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5112, "end": 5120, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5123, "end": 5147, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5123, "end": 5141, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5123, "end": 5136, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5123, "end": 5127, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 24 } } }, "property": { "type": "Identifier", "start": 5128, "end": 5136, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5137, "end": 5141, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5142, "end": 5146, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5154, "end": 5191, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5154, "end": 5190, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5154, "end": 5165, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5154, "end": 5158, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, "property": { "type": "Identifier", "start": 5159, "end": 5165, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5168, "end": 5190, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5168, "end": 5184, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5168, "end": 5179, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5168, "end": 5172, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, "property": { "type": "Identifier", "start": 5173, "end": 5179, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5180, "end": 5184, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5185, "end": 5189, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5197, "end": 5244, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5197, "end": 5243, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5197, "end": 5213, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5197, "end": 5201, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, "property": { "type": "Identifier", "start": 5202, "end": 5213, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5216, "end": 5243, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5216, "end": 5237, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5216, "end": 5232, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5216, "end": 5220, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 27 } } }, "property": { "type": "Identifier", "start": 5221, "end": 5232, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5233, "end": 5237, "loc": { "start": { "line": 90, "column": 40 }, "end": { "line": 90, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5238, "end": 5242, "loc": { "start": { "line": 90, "column": 45 }, "end": { "line": 90, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5250, "end": 5313, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5250, "end": 5312, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5250, "end": 5274, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5250, "end": 5254, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 5255, "end": 5274, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5277, "end": 5312, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5277, "end": 5306, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5277, "end": 5301, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5277, "end": 5281, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 35 } } }, "property": { "type": "Identifier", "start": 5282, "end": 5301, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5302, "end": 5306, "loc": { "start": { "line": 91, "column": 56 }, "end": { "line": 91, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5307, "end": 5311, "loc": { "start": { "line": 91, "column": 61 }, "end": { "line": 91, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5319, "end": 5386, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5319, "end": 5385, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5319, "end": 5345, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5319, "end": 5323, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 5324, "end": 5345, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5348, "end": 5385, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5348, "end": 5379, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5348, "end": 5374, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5348, "end": 5352, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 37 } } }, "property": { "type": "Identifier", "start": 5353, "end": 5374, "loc": { "start": { "line": 92, "column": 38 }, "end": { "line": 92, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5375, "end": 5379, "loc": { "start": { "line": 92, "column": 60 }, "end": { "line": 92, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5380, "end": 5384, "loc": { "start": { "line": 92, "column": 65 }, "end": { "line": 92, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5392, "end": 5449, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5392, "end": 5448, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5392, "end": 5413, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5392, "end": 5396, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 5397, "end": 5413, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5416, "end": 5448, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5416, "end": 5442, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5416, "end": 5437, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5416, "end": 5420, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 32 } } }, "property": { "type": "Identifier", "start": 5421, "end": 5437, "loc": { "start": { "line": 93, "column": 33 }, "end": { "line": 93, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5438, "end": 5442, "loc": { "start": { "line": 93, "column": 50 }, "end": { "line": 93, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5443, "end": 5447, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5455, "end": 5510, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5455, "end": 5509, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5455, "end": 5475, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5455, "end": 5459, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, "property": { "type": "Identifier", "start": 5460, "end": 5475, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 24 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "right": { "type": "CallExpression", "start": 5478, "end": 5509, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 5478, "end": 5503, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 52 } }, "object": { "type": "MemberExpression", "start": 5478, "end": 5498, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 47 } }, "object": { "type": "ThisExpression", "start": 5478, "end": 5482, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 31 } } }, "property": { "type": "Identifier", "start": 5483, "end": 5498, "loc": { "start": { "line": 94, "column": 32 }, "end": { "line": 94, "column": 47 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "property": { "type": "Identifier", "start": 5499, "end": 5503, "loc": { "start": { "line": 94, "column": 48 }, "end": { "line": 94, "column": 52 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5504, "end": 5508, "loc": { "start": { "line": 94, "column": 53 }, "end": { "line": 94, "column": 57 } } } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6183, "end": 6199, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6183, "end": 6198, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6183, "end": 6193, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6183, "end": 6187, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6188, "end": 6193, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6196, "end": 6198, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "column": 19 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6205, "end": 6245, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6205, "end": 6244, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6205, "end": 6239, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6205, "end": 6215, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6205, "end": 6209, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 8 } } }, "property": { "type": "Identifier", "start": 6210, "end": 6215, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6216, "end": 6238, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6216, "end": 6228, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6216, "end": 6220, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 19 } } }, "property": { "type": "Identifier", "start": 6221, "end": 6228, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6229, "end": 6238, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6242, "end": 6244, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6368, "end": 6429, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6368, "end": 6428, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6368, "end": 6389, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6368, "end": 6372, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6373, "end": 6389, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6392, "end": 6428, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6424, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 60 } }, "object": { "type": "CallExpression", "start": 6392, "end": 6419, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6414, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 50 } }, "object": { "type": "Identifier", "start": 6392, "end": 6408, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6409, "end": 6414, "loc": { "start": { "line": 116, "column": 45 }, "end": { "line": 116, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6415, "end": 6418, "loc": { "start": { "line": 116, "column": 51 }, "end": { "line": 116, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6420, "end": 6424, "loc": { "start": { "line": 116, "column": 56 }, "end": { "line": 116, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6425, "end": 6427, "loc": { "start": { "line": 116, "column": 61 }, "end": { "line": 116, "column": 63 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6588, "end": 6613, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6588, "end": 6612, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6588, "end": 6607, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6588, "end": 6592, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6593, "end": 6607, "loc": { "start": { "line": 121, "column": 9 }, "end": { "line": 121, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6610, "end": 6612, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 28 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6666, "end": 6845, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 131, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6669, "end": 6685, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6669, "end": 6673, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6674, "end": 6685, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6694, "end": 6708, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6694, "end": 6707, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6694, "end": 6705, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6694, "end": 6698, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 10 } } }, "property": { "type": "Identifier", "start": 6699, "end": 6705, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6719, "end": 6845, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 131, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6728, "end": 6792, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6728, "end": 6791, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6728, "end": 6740, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 18 } }, "object": { "type": "Identifier", "start": 6728, "end": 6735, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6736, "end": 6740, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6741, "end": 6790, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6745, "end": 6761, "loc": { "start": { "line": 129, "column": 23 }, "end": { "line": 129, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6742, "end": 6743, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6762, "end": 6789, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6800, "end": 6838, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6806, "end": 6837, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 43 } }, "callee": { "type": "Identifier", "start": 6810, "end": 6815, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6816, "end": 6836, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 42 } }, "extra": { "rawValue": "KEYBOARD_DOM_ERROR", "raw": "\"KEYBOARD_DOM_ERROR\"" }, "value": "KEYBOARD_DOM_ERROR" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6972, "end": 7057, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 138, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6975, "end": 7009, "loc": { "start": { "line": 137, "column": 7 }, "end": { "line": 137, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6976, "end": 7009, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 41 } }, "object": { "type": "Identifier", "start": 6976, "end": 6982, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6983, "end": 7008, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7018, "end": 7057, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 7018, "end": 7056, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7018, "end": 7051, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 39 } }, "object": { "type": "Identifier", "start": 7018, "end": 7024, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7025, "end": 7050, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 7054, "end": 7056, "loc": { "start": { "line": 138, "column": 42 }, "end": { "line": 138, "column": 44 } }, "properties": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7071, "end": 7161, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 7071, "end": 7160, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7071, "end": 7153, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 86 } }, "object": { "type": "MemberExpression", "start": 7071, "end": 7104, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 37 } }, "object": { "type": "Identifier", "start": 7071, "end": 7077, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7078, "end": 7103, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 7105, "end": 7152, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 7105, "end": 7129, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 62 } }, "object": { "type": "MemberExpression", "start": 7105, "end": 7119, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7105, "end": 7109, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 42 } } }, "property": { "type": "Identifier", "start": 7110, "end": 7119, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7120, "end": 7129, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7130, "end": 7151, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 84 } }, "object": { "type": "ThisExpression", "start": 7130, "end": 7134, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 67 } } }, "property": { "type": "Identifier", "start": 7135, "end": 7151, "loc": { "start": { "line": 140, "column": 68 }, "end": { "line": 140, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 7156, "end": 7160, "loc": { "start": { "line": 140, "column": 89 }, "end": { "line": 140, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7221, "end": 7281, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7221, "end": 7280, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7221, "end": 7251, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7221, "end": 7225, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7226, "end": 7251, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7254, "end": 7280, "loc": { "start": { "line": 145, "column": 37 }, "end": { "line": 145, "column": 63 } }, "callee": { "type": "Identifier", "start": 7258, "end": 7274, "loc": { "start": { "line": 145, "column": 41 }, "end": { "line": 145, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7275, "end": 7279, "loc": { "start": { "line": 145, "column": 58 }, "end": { "line": 145, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7323, "end": 7341, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7323, "end": 7340, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 150, "column": 9 }, "end": { "line": 150, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7338, "end": 7340, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7347, "end": 7366, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7347, "end": 7365, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7347, "end": 7363, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7347, "end": 7351, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 8 } } }, "property": { "type": "Identifier", "start": 7352, "end": 7363, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 151, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7493, "end": 9015, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 212, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7493, "end": 7512, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7513, "end": 7519, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7520, "end": 9015, "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 212, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7527, "end": 7558, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 159, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7531, "end": 7557, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 34 } }, "id": { "type": "Identifier", "start": 7531, "end": 7536, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7539, "end": 7557, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7539, "end": 7551, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7539, "end": 7543, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 20 } } }, "property": { "type": "Identifier", "start": 7544, "end": 7551, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7552, "end": 7557, "loc": { "start": { "line": 159, "column": 29 }, "end": { "line": 159, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7621, "end": 7663, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 165, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7624, "end": 7641, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 24 } }, "left": { "type": "Identifier", "start": 7624, "end": 7630, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7635, "end": 7641, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7650, "end": 7663, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7657, "end": 7662, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7716, "end": 7805, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 171, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7719, "end": 7764, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7719, "end": 7749, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7726, "end": 7749, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7726, "end": 7738, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7726, "end": 7730, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7731, "end": 7738, "loc": { "start": { "line": 170, "column": 19 }, "end": { "line": 170, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7739, "end": 7749, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7754, "end": 7764, "loc": { "start": { "line": 170, "column": 42 }, "end": { "line": 170, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7773, "end": 7805, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7773, "end": 7804, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7773, "end": 7796, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7773, "end": 7785, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7773, "end": 7777, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } } }, "property": { "type": "Identifier", "start": 7778, "end": 7785, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7786, "end": 7796, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7797, "end": 7803, "loc": { "start": { "line": 171, "column": 30 }, "end": { "line": 171, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7817, "end": 7904, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 174, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7820, "end": 7855, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7821, "end": 7855, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7821, "end": 7831, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7821, "end": 7825, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } } }, "property": { "type": "Identifier", "start": 7826, "end": 7831, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7832, "end": 7854, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7832, "end": 7844, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7832, "end": 7836, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 23 } } }, "property": { "type": "Identifier", "start": 7837, "end": 7844, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7845, "end": 7854, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7864, "end": 7904, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7864, "end": 7903, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7864, "end": 7898, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7864, "end": 7874, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7864, "end": 7868, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 10 } } }, "property": { "type": "Identifier", "start": 7869, "end": 7874, "loc": { "start": { "line": 174, "column": 11 }, "end": { "line": 174, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7875, "end": 7897, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7875, "end": 7887, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7875, "end": 7879, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, "property": { "type": "Identifier", "start": 7880, "end": 7887, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7888, "end": 7897, "loc": { "start": { "line": 174, "column": 30 }, "end": { "line": 174, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7901, "end": 7903, "loc": { "start": { "line": 174, "column": 43 }, "end": { "line": 174, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7912, "end": 8054, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 178, "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7916, "end": 8053, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 178, "column": 5 } }, "id": { "type": "Identifier", "start": 7916, "end": 7928, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7931, "end": 8053, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 178, "column": 5 } }, "callee": { "type": "MemberExpression", "start": 7931, "end": 7961, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7931, "end": 7945, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7931, "end": 7935, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, "property": { "type": "Identifier", "start": 7936, "end": 7945, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7946, "end": 7961, "loc": { "start": { "line": 176, "column": 38 }, "end": { "line": 176, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7970, "end": 7976, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 177, "column": 12 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7978, "end": 8012, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 48 } }, "object": { "type": "MemberExpression", "start": 7978, "end": 7988, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7978, "end": 7982, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 18 } } }, "property": { "type": "Identifier", "start": 7983, "end": 7988, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 24 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7989, "end": 8011, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 47 } }, "object": { "type": "MemberExpression", "start": 7989, "end": 8001, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7989, "end": 7993, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 29 } } }, "property": { "type": "Identifier", "start": 7994, "end": 8001, "loc": { "start": { "line": 177, "column": 30 }, "end": { "line": 177, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8002, "end": 8011, "loc": { "start": { "line": 177, "column": 38 }, "end": { "line": 177, "column": 47 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8014, "end": 8026, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 62 } }, "object": { "type": "ThisExpression", "start": 8014, "end": 8018, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 54 } } }, "property": { "type": "Identifier", "start": 8019, "end": 8026, "loc": { "start": { "line": 177, "column": 55 }, "end": { "line": 177, "column": 62 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8028, "end": 8046, "loc": { "start": { "line": 177, "column": 64 }, "end": { "line": 177, "column": 82 } }, "object": { "type": "ThisExpression", "start": 8028, "end": 8032, "loc": { "start": { "line": 177, "column": 64 }, "end": { "line": 177, "column": 68 } } }, "property": { "type": "Identifier", "start": 8033, "end": 8046, "loc": { "start": { "line": 177, "column": 69 }, "end": { "line": 177, "column": 82 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 8062, "end": 8937, "loc": { "start": { "line": 180, "column": 4 }, "end": { "line": 207, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8065, "end": 8116, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 58 } }, "left": { "type": "MemberExpression", "start": 8065, "end": 8099, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8065, "end": 8075, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8065, "end": 8069, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 11 } } }, "property": { "type": "Identifier", "start": 8070, "end": 8075, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8076, "end": 8098, "loc": { "start": { "line": 180, "column": 18 }, "end": { "line": 180, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8076, "end": 8088, "loc": { "start": { "line": 180, "column": 18 }, "end": { "line": 180, "column": 30 } }, "object": { "type": "ThisExpression", "start": 8076, "end": 8080, "loc": { "start": { "line": 180, "column": 18 }, "end": { "line": 180, "column": 22 } } }, "property": { "type": "Identifier", "start": 8081, "end": 8088, "loc": { "start": { "line": 180, "column": 23 }, "end": { "line": 180, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8089, "end": 8098, "loc": { "start": { "line": 180, "column": 31 }, "end": { "line": 180, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 8104, "end": 8116, "loc": { "start": { "line": 180, "column": 46 }, "end": { "line": 180, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 8117, "end": 8937, "loc": { "start": { "line": 180, "column": 59 }, "end": { "line": 207, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8213, "end": 8346, "loc": { "start": { "line": 185, "column": 6 }, "end": { "line": 187, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8216, "end": 8312, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8216, "end": 8238, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8216, "end": 8228, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8216, "end": 8220, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8221, "end": 8228, "loc": { "start": { "line": 185, "column": 14 }, "end": { "line": 185, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8229, "end": 8238, "loc": { "start": { "line": 185, "column": 22 }, "end": { "line": 185, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8242, "end": 8312, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8242, "end": 8272, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8242, "end": 8256, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8242, "end": 8246, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 39 } } }, "property": { "type": "Identifier", "start": 8247, "end": 8256, "loc": { "start": { "line": 185, "column": 40 }, "end": { "line": 185, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8257, "end": 8272, "loc": { "start": { "line": 185, "column": 50 }, "end": { "line": 185, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8273, "end": 8283, "loc": { "start": { "line": 185, "column": 66 }, "end": { "line": 185, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8273, "end": 8277, "loc": { "start": { "line": 185, "column": 66 }, "end": { "line": 185, "column": 70 } } }, "property": { "type": "Identifier", "start": 8278, "end": 8283, "loc": { "start": { "line": 185, "column": 71 }, "end": { "line": 185, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8285, "end": 8297, "loc": { "start": { "line": 185, "column": 78 }, "end": { "line": 185, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8285, "end": 8289, "loc": { "start": { "line": 185, "column": 78 }, "end": { "line": 185, "column": 82 } } }, "property": { "type": "Identifier", "start": 8290, "end": 8297, "loc": { "start": { "line": 185, "column": 83 }, "end": { "line": 185, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8299, "end": 8311, "loc": { "start": { "line": 185, "column": 92 }, "end": { "line": 185, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8313, "end": 8346, "loc": { "start": { "line": 185, "column": 106 }, "end": { "line": 187, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8324, "end": 8337, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8331, "end": 8336, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 186, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8128, "end": 8205, "loc": { "start": { "line": 182, "column": 6 }, "end": { "line": 184, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8356, "end": 8527, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 191, "column": 8 } }, "expression": { "type": "AssignmentExpression", "start": 8356, "end": 8526, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 191, "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8356, "end": 8390, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8356, "end": 8366, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8356, "end": 8360, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 10 } } }, "property": { "type": "Identifier", "start": 8361, "end": 8366, "loc": { "start": { "line": 189, "column": 11 }, "end": { "line": 189, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8367, "end": 8389, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8367, "end": 8379, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8367, "end": 8371, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 21 } } }, "property": { "type": "Identifier", "start": 8372, "end": 8379, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8380, "end": 8389, "loc": { "start": { "line": 189, "column": 30 }, "end": { "line": 189, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "CallExpression", "start": 8394, "end": 8526, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 191, "column": 7 } }, "callee": { "type": "MemberExpression", "start": 8394, "end": 8424, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 189, "column": 74 } }, "object": { "type": "MemberExpression", "start": 8394, "end": 8408, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 189, "column": 58 } }, "object": { "type": "ThisExpression", "start": 8394, "end": 8398, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 189, "column": 48 } } }, "property": { "type": "Identifier", "start": 8399, "end": 8408, "loc": { "start": { "line": 189, "column": 49 }, "end": { "line": 189, "column": 58 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8409, "end": 8424, "loc": { "start": { "line": 189, "column": 59 }, "end": { "line": 189, "column": 74 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8435, "end": 8441, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 14 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 8443, "end": 8477, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 50 } }, "object": { "type": "MemberExpression", "start": 8443, "end": 8453, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8443, "end": 8447, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 20 } } }, "property": { "type": "Identifier", "start": 8448, "end": 8453, "loc": { "start": { "line": 190, "column": 21 }, "end": { "line": 190, "column": 26 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8454, "end": 8476, "loc": { "start": { "line": 190, "column": 27 }, "end": { "line": 190, "column": 49 } }, "object": { "type": "MemberExpression", "start": 8454, "end": 8466, "loc": { "start": { "line": 190, "column": 27 }, "end": { "line": 190, "column": 39 } }, "object": { "type": "ThisExpression", "start": 8454, "end": 8458, "loc": { "start": { "line": 190, "column": 27 }, "end": { "line": 190, "column": 31 } } }, "property": { "type": "Identifier", "start": 8459, "end": 8466, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8467, "end": 8476, "loc": { "start": { "line": 190, "column": 40 }, "end": { "line": 190, "column": 49 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8479, "end": 8491, "loc": { "start": { "line": 190, "column": 52 }, "end": { "line": 190, "column": 64 } }, "object": { "type": "ThisExpression", "start": 8479, "end": 8483, "loc": { "start": { "line": 190, "column": 52 }, "end": { "line": 190, "column": 56 } } }, "property": { "type": "Identifier", "start": 8484, "end": 8491, "loc": { "start": { "line": 190, "column": 57 }, "end": { "line": 190, "column": 64 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8493, "end": 8511, "loc": { "start": { "line": 190, "column": 66 }, "end": { "line": 190, "column": 84 } }, "object": { "type": "ThisExpression", "start": 8493, "end": 8497, "loc": { "start": { "line": 190, "column": 66 }, "end": { "line": 190, "column": 70 } } }, "property": { "type": "Identifier", "start": 8498, "end": 8511, "loc": { "start": { "line": 190, "column": 71 }, "end": { "line": 190, "column": 84 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, { "type": "BooleanLiteral", "start": 8513, "end": 8517, "loc": { "start": { "line": 190, "column": 86 }, "end": { "line": 190, "column": 90 } }, "value": true } ] } } }, { "type": "IfStatement", "start": 8537, "end": 8598, "loc": { "start": { "line": 193, "column": 6 }, "end": { "line": 194, "column": 50 } }, "test": { "type": "Identifier", "start": 8540, "end": 8545, "loc": { "start": { "line": 193, "column": 9 }, "end": { "line": 193, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8556, "end": 8598, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8556, "end": 8597, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8556, "end": 8567, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 19 } }, "object": { "type": "Identifier", "start": 8556, "end": 8563, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8564, "end": 8567, "loc": { "start": { "line": 194, "column": 16 }, "end": { "line": 194, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8568, "end": 8584, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8586, "end": 8596, "loc": { "start": { "line": 194, "column": 38 }, "end": { "line": 194, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8586, "end": 8590, "loc": { "start": { "line": 194, "column": 38 }, "end": { "line": 194, "column": 42 } } }, "property": { "type": "Identifier", "start": 8591, "end": 8596, "loc": { "start": { "line": 194, "column": 43 }, "end": { "line": 194, "column": 48 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8608, "end": 8667, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 198, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8675, "end": 8756, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 200, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8678, "end": 8709, "loc": { "start": { "line": 199, "column": 9 }, "end": { "line": 199, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8678, "end": 8690, "loc": { "start": { "line": 199, "column": 9 }, "end": { "line": 199, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8678, "end": 8682, "loc": { "start": { "line": 199, "column": 9 }, "end": { "line": 199, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8683, "end": 8690, "loc": { "start": { "line": 199, "column": 14 }, "end": { "line": 199, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8691, "end": 8709, "loc": { "start": { "line": 199, "column": 22 }, "end": { "line": 199, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8720, "end": 8756, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8720, "end": 8755, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8720, "end": 8743, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8720, "end": 8724, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 12 } } }, "property": { "type": "Identifier", "start": 8725, "end": 8743, "loc": { "start": { "line": 200, "column": 13 }, "end": { "line": 200, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8744, "end": 8754, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8744, "end": 8748, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 36 } } }, "property": { "type": "Identifier", "start": 8749, "end": 8754, "loc": { "start": { "line": 200, "column": 37 }, "end": { "line": 200, "column": 42 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8608, "end": 8667, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 198, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8766, "end": 8807, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8815, "end": 8930, "loc": { "start": { "line": 205, "column": 6 }, "end": { "line": 206, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8818, "end": 8861, "loc": { "start": { "line": 205, "column": 9 }, "end": { "line": 205, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8818, "end": 8846, "loc": { "start": { "line": 205, "column": 9 }, "end": { "line": 205, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8825, "end": 8846, "loc": { "start": { "line": 205, "column": 16 }, "end": { "line": 205, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8825, "end": 8837, "loc": { "start": { "line": 205, "column": 16 }, "end": { "line": 205, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8825, "end": 8829, "loc": { "start": { "line": 205, "column": 16 }, "end": { "line": 205, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8830, "end": 8837, "loc": { "start": { "line": 205, "column": 21 }, "end": { "line": 205, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8838, "end": 8846, "loc": { "start": { "line": 205, "column": 29 }, "end": { "line": 205, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8851, "end": 8861, "loc": { "start": { "line": 205, "column": 42 }, "end": { "line": 205, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8872, "end": 8930, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8872, "end": 8929, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8872, "end": 8893, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8872, "end": 8884, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8872, "end": 8876, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 12 } } }, "property": { "type": "Identifier", "start": 8877, "end": 8884, "loc": { "start": { "line": 206, "column": 13 }, "end": { "line": 206, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8885, "end": 8893, "loc": { "start": { "line": 206, "column": 21 }, "end": { "line": 206, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8894, "end": 8928, "loc": { "start": { "line": 206, "column": 30 }, "end": { "line": 206, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8894, "end": 8904, "loc": { "start": { "line": 206, "column": 30 }, "end": { "line": 206, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8894, "end": 8898, "loc": { "start": { "line": 206, "column": 30 }, "end": { "line": 206, "column": 34 } } }, "property": { "type": "Identifier", "start": 8899, "end": 8904, "loc": { "start": { "line": 206, "column": 35 }, "end": { "line": 206, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8905, "end": 8927, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8905, "end": 8917, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8905, "end": 8909, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 45 } } }, "property": { "type": "Identifier", "start": 8910, "end": 8917, "loc": { "start": { "line": 206, "column": 46 }, "end": { "line": 206, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8918, "end": 8927, "loc": { "start": { "line": 206, "column": 54 }, "end": { "line": 206, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8766, "end": 8807, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8949, "end": 9010, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 211, "column": 5 } }, "test": { "type": "Identifier", "start": 8952, "end": 8957, "loc": { "start": { "line": 209, "column": 7 }, "end": { "line": 209, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8958, "end": 9010, "loc": { "start": { "line": 209, "column": 13 }, "end": { "line": 211, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8967, "end": 9003, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8967, "end": 9002, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8967, "end": 8978, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 17 } }, "object": { "type": "Identifier", "start": 8967, "end": 8974, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8975, "end": 8978, "loc": { "start": { "line": 210, "column": 14 }, "end": { "line": 210, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8979, "end": 8993, "loc": { "start": { "line": 210, "column": 18 }, "end": { "line": 210, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8995, "end": 9001, "loc": { "start": { "line": 210, "column": 34 }, "end": { "line": 210, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9021, "end": 9062, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9066, "end": 9092, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 9096, "end": 9955, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 250, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9096, "end": 9117, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9118, "end": 9124, "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9126, "end": 9127, "loc": { "start": { "line": 218, "column": 32 }, "end": { "line": 218, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 9128, "end": 9955, "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 250, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9220, "end": 9244, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9220, "end": 9243, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9220, "end": 9236, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9220, "end": 9224, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9225, "end": 9236, "loc": { "start": { "line": 222, "column": 9 }, "end": { "line": 222, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 9239, "end": 9243, "loc": { "start": { "line": 222, "column": 23 }, "end": { "line": 222, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9135, "end": 9214, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 221, "column": 7 } } } ] }, { "type": "IfStatement", "start": 9252, "end": 9333, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 225, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9255, "end": 9282, "loc": { "start": { "line": 224, "column": 7 }, "end": { "line": 224, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9255, "end": 9259, "loc": { "start": { "line": 224, "column": 7 }, "end": { "line": 224, "column": 11 } } }, "property": { "type": "Identifier", "start": 9260, "end": 9282, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9291, "end": 9333, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9291, "end": 9332, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 47 } }, "callee": { "type": "Identifier", "start": 9291, "end": 9303, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9304, "end": 9331, "loc": { "start": { "line": 225, "column": 19 }, "end": { "line": 225, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9304, "end": 9308, "loc": { "start": { "line": 225, "column": 19 }, "end": { "line": 225, "column": 23 } } }, "property": { "type": "Identifier", "start": 9309, "end": 9331, "loc": { "start": { "line": 225, "column": 24 }, "end": { "line": 225, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null }, { "type": "IfStatement", "start": 9341, "end": 9400, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 228, "column": 37 } }, "test": { "type": "MemberExpression", "start": 9344, "end": 9360, "loc": { "start": { "line": 227, "column": 7 }, "end": { "line": 227, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9344, "end": 9348, "loc": { "start": { "line": 227, "column": 7 }, "end": { "line": 227, "column": 11 } } }, "property": { "type": "Identifier", "start": 9349, "end": 9360, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 23 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9369, "end": 9400, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9369, "end": 9399, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 36 } }, "callee": { "type": "Identifier", "start": 9369, "end": 9381, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9382, "end": 9398, "loc": { "start": { "line": 228, "column": 19 }, "end": { "line": 228, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9382, "end": 9386, "loc": { "start": { "line": 228, "column": 19 }, "end": { "line": 228, "column": 23 } } }, "property": { "type": "Identifier", "start": 9387, "end": 9398, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9408, "end": 9485, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 232, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9491, "end": 9950, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 249, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9491, "end": 9949, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 249, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9491, "end": 9507, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9491, "end": 9495, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9496, "end": 9507, "loc": { "start": { "line": 233, "column": 9 }, "end": { "line": 233, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9510, "end": 9949, "loc": { "start": { "line": 233, "column": 23 }, "end": { "line": 249, "column": 11 } }, "callee": { "type": "Identifier", "start": 9510, "end": 9520, "loc": { "start": { "line": 233, "column": 23 }, "end": { "line": 233, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9521, "end": 9943, "loc": { "start": { "line": 233, "column": 34 }, "end": { "line": 249, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9527, "end": 9943, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 249, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9536, "end": 9897, "loc": { "start": { "line": 234, "column": 6 }, "end": { "line": 247, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9549, "end": 9753, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 241, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9549, "end": 9565, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9549, "end": 9553, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 12 } } }, "property": { "type": "Identifier", "start": 9554, "end": 9565, "loc": { "start": { "line": 235, "column": 13 }, "end": { "line": 235, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9592, "end": 9742, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 240, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9592, "end": 9709, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 239, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9592, "end": 9674, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 238, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9593, "end": 9639, "loc": { "start": { "line": 237, "column": 11 }, "end": { "line": 237, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9593, "end": 9614, "loc": { "start": { "line": 237, "column": 11 }, "end": { "line": 237, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9594, "end": 9614, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9594, "end": 9609, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 27 } }, "object": { "type": "Identifier", "start": 9594, "end": 9600, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9601, "end": 9609, "loc": { "start": { "line": 237, "column": 19 }, "end": { "line": 237, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9610, "end": 9613, "loc": { "start": { "line": 237, "column": 28 }, "end": { "line": 237, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9618, "end": 9639, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9619, "end": 9639, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9619, "end": 9634, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 52 } }, "object": { "type": "Identifier", "start": 9619, "end": 9625, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9626, "end": 9634, "loc": { "start": { "line": 237, "column": 44 }, "end": { "line": 237, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9635, "end": 9638, "loc": { "start": { "line": 237, "column": 53 }, "end": { "line": 237, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9592 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9655, "end": 9674, "loc": { "start": { "line": 238, "column": 10 }, "end": { "line": 238, "column": 29 } }, "left": { "type": "Identifier", "start": 9655, "end": 9661, "loc": { "start": { "line": 238, "column": 10 }, "end": { "line": 238, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9666, "end": 9674, "loc": { "start": { "line": 238, "column": 21 }, "end": { "line": 238, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9689, "end": 9709, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 239, "column": 30 } }, "left": { "type": "Identifier", "start": 9689, "end": 9695, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 239, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9700, "end": 9709, "loc": { "start": { "line": 239, "column": 21 }, "end": { "line": 239, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9724, "end": 9742, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 28 } }, "left": { "type": "Identifier", "start": 9724, "end": 9730, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9735, "end": 9742, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9579 } } }, "consequent": { "type": "BlockStatement", "start": 9762, "end": 9897, "loc": { "start": { "line": 242, "column": 7 }, "end": { "line": 247, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 9773, "end": 9843, "loc": { "start": { "line": 243, "column": 8 }, "end": { "line": 244, "column": 46 } }, "test": { "type": "MemberExpression", "start": 9776, "end": 9794, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9776, "end": 9788, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9776, "end": 9780, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 15 } } }, "property": { "type": "Identifier", "start": 9781, "end": 9788, "loc": { "start": { "line": 243, "column": 16 }, "end": { "line": 243, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9789, "end": 9794, "loc": { "start": { "line": 243, "column": 24 }, "end": { "line": 243, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9807, "end": 9843, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9807, "end": 9842, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 9807, "end": 9818, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 21 } }, "object": { "type": "Identifier", "start": 9807, "end": 9814, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9815, "end": 9818, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9819, "end": 9833, "loc": { "start": { "line": 244, "column": 22 }, "end": { "line": 244, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 9835, "end": 9841, "loc": { "start": { "line": 244, "column": 38 }, "end": { "line": 244, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 9855, "end": 9888, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 41 } }, "expression": { "type": "CallExpression", "start": 9855, "end": 9887, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 9855, "end": 9876, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9855, "end": 9859, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 12 } } }, "property": { "type": "Identifier", "start": 9860, "end": 9876, "loc": { "start": { "line": 246, "column": 13 }, "end": { "line": 246, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9877, "end": 9883, "loc": { "start": { "line": 246, "column": 30 }, "end": { "line": 246, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9885, "end": 9886, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9905, "end": 9936, "loc": { "start": { "line": 248, "column": 6 }, "end": { "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9905, "end": 9935, "loc": { "start": { "line": 248, "column": 6 }, "end": { "line": 248, "column": 36 } }, "callee": { "type": "Identifier", "start": 9905, "end": 9917, "loc": { "start": { "line": 248, "column": 6 }, "end": { "line": 248, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9918, "end": 9934, "loc": { "start": { "line": 248, "column": 19 }, "end": { "line": 248, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9918, "end": 9922, "loc": { "start": { "line": 248, "column": 19 }, "end": { "line": 248, "column": 23 } } }, "property": { "type": "Identifier", "start": 9923, "end": 9934, "loc": { "start": { "line": 248, "column": 24 }, "end": { "line": 248, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 9945, "end": 9948, "loc": { "start": { "line": 249, "column": 7 }, "end": { "line": 249, "column": 10 } }, "extra": { "rawValue": 500, "raw": "500" }, "value": 500 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9408, "end": 9485, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 232, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9021, "end": 9062, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9066, "end": 9092, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9961, "end": 10000, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 254, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10004, "end": 10149, "loc": { "start": { "line": 255, "column": 2 }, "end": { "line": 259, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10004, "end": 10023, "loc": { "start": { "line": 255, "column": 2 }, "end": { "line": 255, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10025, "end": 10149, "loc": { "start": { "line": 255, "column": 23 }, "end": { "line": 259, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10032, "end": 10057, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 10032, "end": 10056, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10032, "end": 10048, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 20 } }, "object": { "type": "ThisExpression", "start": 10032, "end": 10036, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 8 } } }, "property": { "type": "Identifier", "start": 10037, "end": 10048, "loc": { "start": { "line": 256, "column": 9 }, "end": { "line": 256, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 10051, "end": 10056, "loc": { "start": { "line": 256, "column": 23 }, "end": { "line": 256, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 10063, "end": 10144, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 258, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10066, "end": 10093, "loc": { "start": { "line": 257, "column": 7 }, "end": { "line": 257, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10066, "end": 10070, "loc": { "start": { "line": 257, "column": 7 }, "end": { "line": 257, "column": 11 } } }, "property": { "type": "Identifier", "start": 10071, "end": 10093, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10102, "end": 10144, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10102, "end": 10143, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 47 } }, "callee": { "type": "Identifier", "start": 10102, "end": 10114, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10115, "end": 10142, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10115, "end": 10119, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 23 } } }, "property": { "type": "Identifier", "start": 10120, "end": 10142, "loc": { "start": { "line": 258, "column": 24 }, "end": { "line": 258, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9961, "end": 10000, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 254, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10155, "end": 10191, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10195, "end": 10221, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 10225, "end": 10693, "loc": { "start": { "line": 265, "column": 2 }, "end": { "line": 280, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10225, "end": 10241, "loc": { "start": { "line": 265, "column": 2 }, "end": { "line": 265, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10242, "end": 10248, "loc": { "start": { "line": 265, "column": 19 }, "end": { "line": 265, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10249, "end": 10693, "loc": { "start": { "line": 265, "column": 26 }, "end": { "line": 280, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10256, "end": 10337, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 267, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10259, "end": 10286, "loc": { "start": { "line": 266, "column": 7 }, "end": { "line": 266, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10259, "end": 10263, "loc": { "start": { "line": 266, "column": 7 }, "end": { "line": 266, "column": 11 } } }, "property": { "type": "Identifier", "start": 10264, "end": 10286, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10295, "end": 10337, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10295, "end": 10336, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 47 } }, "callee": { "type": "Identifier", "start": 10295, "end": 10307, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10308, "end": 10335, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10308, "end": 10312, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 23 } } }, "property": { "type": "Identifier", "start": 10313, "end": 10335, "loc": { "start": { "line": 267, "column": 24 }, "end": { "line": 267, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10345, "end": 10431, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 271, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 10437, "end": 10688, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 279, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 10437, "end": 10687, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 279, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10437, "end": 10464, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 272, "column": 31 } }, "object": { "type": "ThisExpression", "start": 10437, "end": 10441, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 272, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10442, "end": 10464, "loc": { "start": { "line": 272, "column": 9 }, "end": { "line": 272, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 10467, "end": 10687, "loc": { "start": { "line": 272, "column": 34 }, "end": { "line": 279, "column": 11 } }, "callee": { "type": "Identifier", "start": 10467, "end": 10477, "loc": { "start": { "line": 272, "column": 34 }, "end": { "line": 272, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10478, "end": 10681, "loc": { "start": { "line": 272, "column": 45 }, "end": { "line": 279, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10484, "end": 10681, "loc": { "start": { "line": 272, "column": 51 }, "end": { "line": 279, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 10493, "end": 10674, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 278, "column": 7 } }, "test": { "type": "MemberExpression", "start": 10496, "end": 10512, "loc": { "start": { "line": 273, "column": 9 }, "end": { "line": 273, "column": 25 } }, "object": { "type": "ThisExpression", "start": 10496, "end": 10500, "loc": { "start": { "line": 273, "column": 9 }, "end": { "line": 273, "column": 13 } } }, "property": { "type": "Identifier", "start": 10501, "end": 10512, "loc": { "start": { "line": 273, "column": 14 }, "end": { "line": 273, "column": 25 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 10513, "end": 10606, "loc": { "start": { "line": 273, "column": 26 }, "end": { "line": 276, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10524, "end": 10557, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 41 } }, "expression": { "type": "CallExpression", "start": 10524, "end": 10556, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 10524, "end": 10548, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 32 } }, "object": { "type": "ThisExpression", "start": 10524, "end": 10528, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 12 } } }, "property": { "type": "Identifier", "start": 10529, "end": 10548, "loc": { "start": { "line": 274, "column": 13 }, "end": { "line": 274, "column": 32 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10549, "end": 10555, "loc": { "start": { "line": 274, "column": 33 }, "end": { "line": 274, "column": 39 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 10567, "end": 10597, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 38 } }, "expression": { "type": "CallExpression", "start": 10567, "end": 10596, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 10567, "end": 10588, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10567, "end": 10571, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 12 } } }, "property": { "type": "Identifier", "start": 10572, "end": 10588, "loc": { "start": { "line": 275, "column": 13 }, "end": { "line": 275, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10589, "end": 10595, "loc": { "start": { "line": 275, "column": 30 }, "end": { "line": 275, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 10612, "end": 10674, "loc": { "start": { "line": 276, "column": 13 }, "end": { "line": 278, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10623, "end": 10665, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 50 } }, "expression": { "type": "CallExpression", "start": 10623, "end": 10664, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 49 } }, "callee": { "type": "Identifier", "start": 10623, "end": 10635, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 20 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10636, "end": 10663, "loc": { "start": { "line": 277, "column": 21 }, "end": { "line": 277, "column": 48 } }, "object": { "type": "ThisExpression", "start": 10636, "end": 10640, "loc": { "start": { "line": 277, "column": 21 }, "end": { "line": 277, "column": 25 } } }, "property": { "type": "Identifier", "start": 10641, "end": 10663, "loc": { "start": { "line": 277, "column": 26 }, "end": { "line": 277, "column": 48 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } } ], "directives": [] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10683, "end": 10686, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 10 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10345, "end": 10431, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 271, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10155, "end": 10191, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10195, "end": 10221, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10699, "end": 10796, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 284, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10800, "end": 10912, "loc": { "start": { "line": 285, "column": 2 }, "end": { "line": 289, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10800, "end": 10818, "loc": { "start": { "line": 285, "column": 2 }, "end": { "line": 285, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10820, "end": 10912, "loc": { "start": { "line": 285, "column": 22 }, "end": { "line": 289, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10827, "end": 10907, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 288, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10827, "end": 10906, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 288, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10827, "end": 10840, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10827, "end": 10831, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 8 } } }, "property": { "type": "Identifier", "start": 10832, "end": 10840, "loc": { "start": { "line": 286, "column": 9 }, "end": { "line": 286, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10841, "end": 10905, "loc": { "start": { "line": 286, "column": 18 }, "end": { "line": 288, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10842, "end": 10850, "loc": { "start": { "line": 286, "column": 19 }, "end": { "line": 286, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10855, "end": 10905, "loc": { "start": { "line": 286, "column": 32 }, "end": { "line": 288, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10864, "end": 10898, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10864, "end": 10897, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10864, "end": 10885, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 27 } }, "object": { "type": "Identifier", "start": 10864, "end": 10872, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10873, "end": 10885, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10886, "end": 10896, "loc": { "start": { "line": 287, "column": 28 }, "end": { "line": 287, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10886, "end": 10890, "loc": { "start": { "line": 287, "column": 28 }, "end": { "line": 287, "column": 32 } } }, "property": { "type": "Identifier", "start": 10891, "end": 10896, "loc": { "start": { "line": 287, "column": 33 }, "end": { "line": 287, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10699, "end": 10796, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 284, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10920, "end": 11038, "loc": { "start": { "line": 291, "column": 2 }, "end": { "line": 294, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11042, "end": 11317, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 304, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11042, "end": 11052, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 295, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11053, "end": 11062, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11063, "end": 11317, "loc": { "start": { "line": 295, "column": 23 }, "end": { "line": 304, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11070, "end": 11118, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11070, "end": 11117, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11070, "end": 11079, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11082, "end": 11117, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 51 } }, "left": { "type": "Identifier", "start": 11082, "end": 11091, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11095, "end": 11117, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11095, "end": 11107, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11095, "end": 11099, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 33 } } }, "property": { "type": "Identifier", "start": 11100, "end": 11107, "loc": { "start": { "line": 296, "column": 34 }, "end": { "line": 296, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11108, "end": 11117, "loc": { "start": { "line": 296, "column": 42 }, "end": { "line": 296, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11124, "end": 11164, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 11124, "end": 11163, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11124, "end": 11158, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11124, "end": 11134, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11124, "end": 11128, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 8 } } }, "property": { "type": "Identifier", "start": 11129, "end": 11134, "loc": { "start": { "line": 297, "column": 9 }, "end": { "line": 297, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11135, "end": 11157, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 37 } }, "object": { "type": "MemberExpression", "start": 11135, "end": 11147, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 27 } }, "object": { "type": "ThisExpression", "start": 11135, "end": 11139, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 19 } } }, "property": { "type": "Identifier", "start": 11140, "end": 11147, "loc": { "start": { "line": 297, "column": 20 }, "end": { "line": 297, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11148, "end": 11157, "loc": { "start": { "line": 297, "column": 28 }, "end": { "line": 297, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 11161, "end": 11163, "loc": { "start": { "line": 297, "column": 41 }, "end": { "line": 297, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11172, "end": 11227, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 301, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11233, "end": 11312, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 303, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11236, "end": 11267, "loc": { "start": { "line": 302, "column": 7 }, "end": { "line": 302, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11236, "end": 11248, "loc": { "start": { "line": 302, "column": 7 }, "end": { "line": 302, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11236, "end": 11240, "loc": { "start": { "line": 302, "column": 7 }, "end": { "line": 302, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11241, "end": 11248, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11249, "end": 11267, "loc": { "start": { "line": 302, "column": 20 }, "end": { "line": 302, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11276, "end": 11312, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11276, "end": 11311, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11276, "end": 11299, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11276, "end": 11280, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 10 } } }, "property": { "type": "Identifier", "start": 11281, "end": 11299, "loc": { "start": { "line": 303, "column": 11 }, "end": { "line": 303, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11300, "end": 11310, "loc": { "start": { "line": 303, "column": 30 }, "end": { "line": 303, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11300, "end": 11304, "loc": { "start": { "line": 303, "column": 30 }, "end": { "line": 303, "column": 34 } } }, "property": { "type": "Identifier", "start": 11305, "end": 11310, "loc": { "start": { "line": 303, "column": 35 }, "end": { "line": 303, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11172, "end": 11227, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 301, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10920, "end": 11038, "loc": { "start": { "line": 291, "column": 2 }, "end": { "line": 294, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11323, "end": 11485, "loc": { "start": { "line": 306, "column": 2 }, "end": { "line": 309, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11489, "end": 11766, "loc": { "start": { "line": 310, "column": 2 }, "end": { "line": 320, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11489, "end": 11497, "loc": { "start": { "line": 310, "column": 2 }, "end": { "line": 310, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11498, "end": 11507, "loc": { "start": { "line": 310, "column": 11 }, "end": { "line": 310, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11508, "end": 11766, "loc": { "start": { "line": 310, "column": 21 }, "end": { "line": 320, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11515, "end": 11563, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11515, "end": 11562, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11515, "end": 11524, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11527, "end": 11562, "loc": { "start": { "line": 311, "column": 16 }, "end": { "line": 311, "column": 51 } }, "left": { "type": "Identifier", "start": 11527, "end": 11536, "loc": { "start": { "line": 311, "column": 16 }, "end": { "line": 311, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11540, "end": 11562, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11540, "end": 11552, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11540, "end": 11544, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 33 } } }, "property": { "type": "Identifier", "start": 11545, "end": 11552, "loc": { "start": { "line": 311, "column": 34 }, "end": { "line": 311, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11553, "end": 11562, "loc": { "start": { "line": 311, "column": 42 }, "end": { "line": 311, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11571, "end": 11626, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 315, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11632, "end": 11711, "loc": { "start": { "line": 316, "column": 4 }, "end": { "line": 317, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11635, "end": 11666, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11635, "end": 11647, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11635, "end": 11639, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11640, "end": 11647, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11648, "end": 11666, "loc": { "start": { "line": 316, "column": 20 }, "end": { "line": 316, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11675, "end": 11711, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11675, "end": 11710, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11675, "end": 11698, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11675, "end": 11679, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 10 } } }, "property": { "type": "Identifier", "start": 11680, "end": 11698, "loc": { "start": { "line": 317, "column": 11 }, "end": { "line": 317, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11699, "end": 11709, "loc": { "start": { "line": 317, "column": 30 }, "end": { "line": 317, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11699, "end": 11703, "loc": { "start": { "line": 317, "column": 30 }, "end": { "line": 317, "column": 34 } } }, "property": { "type": "Identifier", "start": 11704, "end": 11709, "loc": { "start": { "line": 317, "column": 35 }, "end": { "line": 317, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11571, "end": 11626, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 315, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11719, "end": 11761, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11726, "end": 11760, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11726, "end": 11736, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11726, "end": 11730, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 15 } } }, "property": { "type": "Identifier", "start": 11731, "end": 11736, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11737, "end": 11759, "loc": { "start": { "line": 319, "column": 22 }, "end": { "line": 319, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11737, "end": 11749, "loc": { "start": { "line": 319, "column": 22 }, "end": { "line": 319, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11737, "end": 11741, "loc": { "start": { "line": 319, "column": 22 }, "end": { "line": 319, "column": 26 } } }, "property": { "type": "Identifier", "start": 11742, "end": 11749, "loc": { "start": { "line": 319, "column": 27 }, "end": { "line": 319, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11750, "end": 11759, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11323, "end": 11485, "loc": { "start": { "line": 306, "column": 2 }, "end": { "line": 309, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11772, "end": 11932, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11936, "end": 12206, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 336, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11936, "end": 11944, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11945, "end": 11950, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11952, "end": 11961, "loc": { "start": { "line": 327, "column": 18 }, "end": { "line": 327, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11962, "end": 12206, "loc": { "start": { "line": 327, "column": 28 }, "end": { "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11969, "end": 12017, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11969, "end": 12016, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11969, "end": 11978, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11981, "end": 12016, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 51 } }, "left": { "type": "Identifier", "start": 11981, "end": 11990, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11994, "end": 12016, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11994, "end": 12006, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11994, "end": 11998, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 33 } } }, "property": { "type": "Identifier", "start": 11999, "end": 12006, "loc": { "start": { "line": 328, "column": 34 }, "end": { "line": 328, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12007, "end": 12016, "loc": { "start": { "line": 328, "column": 42 }, "end": { "line": 328, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 12023, "end": 12053, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 12023, "end": 12052, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12023, "end": 12044, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 25 } }, "object": { "type": "MemberExpression", "start": 12023, "end": 12033, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12023, "end": 12027, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, "property": { "type": "Identifier", "start": 12028, "end": 12033, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 12034, "end": 12043, "loc": { "start": { "line": 329, "column": 15 }, "end": { "line": 329, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 12047, "end": 12052, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12061, "end": 12116, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 333, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12122, "end": 12201, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 335, "column": 42 } }, "test": { "type": "MemberExpression", "start": 12125, "end": 12156, "loc": { "start": { "line": 334, "column": 7 }, "end": { "line": 334, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12125, "end": 12137, "loc": { "start": { "line": 334, "column": 7 }, "end": { "line": 334, "column": 19 } }, "object": { "type": "ThisExpression", "start": 12125, "end": 12129, "loc": { "start": { "line": 334, "column": 7 }, "end": { "line": 334, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12130, "end": 12137, "loc": { "start": { "line": 334, "column": 12 }, "end": { "line": 334, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12138, "end": 12156, "loc": { "start": { "line": 334, "column": 20 }, "end": { "line": 334, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 12165, "end": 12201, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 42 } }, "expression": { "type": "CallExpression", "start": 12165, "end": 12200, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 12165, "end": 12188, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12165, "end": 12169, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 10 } } }, "property": { "type": "Identifier", "start": 12170, "end": 12188, "loc": { "start": { "line": 335, "column": 11 }, "end": { "line": 335, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12189, "end": 12199, "loc": { "start": { "line": 335, "column": 30 }, "end": { "line": 335, "column": 40 } }, "object": { "type": "ThisExpression", "start": 12189, "end": 12193, "loc": { "start": { "line": 335, "column": 30 }, "end": { "line": 335, "column": 34 } } }, "property": { "type": "Identifier", "start": 12194, "end": 12199, "loc": { "start": { "line": 335, "column": 35 }, "end": { "line": 335, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12061, "end": 12116, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 333, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11772, "end": 11932, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12214, "end": 12323, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12327, "end": 12383, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 344, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12327, "end": 12339, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 342, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12340, "end": 12348, "loc": { "start": { "line": 342, "column": 15 }, "end": { "line": 342, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 12349, "end": 12383, "loc": { "start": { "line": 342, "column": 24 }, "end": { "line": 344, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12356, "end": 12378, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12356, "end": 12377, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12356, "end": 12366, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12356, "end": 12360, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 8 } } }, "property": { "type": "Identifier", "start": 12361, "end": 12366, "loc": { "start": { "line": 343, "column": 9 }, "end": { "line": 343, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 12369, "end": 12377, "loc": { "start": { "line": 343, "column": 17 }, "end": { "line": 343, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12214, "end": 12323, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 12389, "end": 12515, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 349, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12519, "end": 12653, "loc": { "start": { "line": 350, "column": 2 }, "end": { "line": 354, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12519, "end": 12529, "loc": { "start": { "line": 350, "column": 2 }, "end": { "line": 350, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12532, "end": 12653, "loc": { "start": { "line": 350, "column": 15 }, "end": { "line": 354, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12532, "end": 12538, "loc": { "start": { "line": 350, "column": 15 }, "end": { "line": 350, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 12542, "end": 12653, "loc": { "start": { "line": 350, "column": 25 }, "end": { "line": 354, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12549, "end": 12571, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12549, "end": 12570, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 12549, "end": 12555, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 12558, "end": 12570, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 25 } }, "left": { "type": "Identifier", "start": 12558, "end": 12564, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 12568, "end": 12570, "loc": { "start": { "line": 351, "column": 23 }, "end": { "line": 351, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 12577, "end": 12628, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12577, "end": 12627, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12577, "end": 12589, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12577, "end": 12581, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 8 } } }, "property": { "type": "Identifier", "start": 12582, "end": 12589, "loc": { "start": { "line": 352, "column": 9 }, "end": { "line": 352, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 12592, "end": 12627, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 12592, "end": 12605, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 32 } }, "object": { "type": "Identifier", "start": 12592, "end": 12598, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12599, "end": 12605, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12606, "end": 12618, "loc": { "start": { "line": 352, "column": 33 }, "end": { "line": 352, "column": 45 } }, "object": { "type": "ThisExpression", "start": 12606, "end": 12610, "loc": { "start": { "line": 352, "column": 33 }, "end": { "line": 352, "column": 37 } } }, "property": { "type": "Identifier", "start": 12611, "end": 12618, "loc": { "start": { "line": 352, "column": 38 }, "end": { "line": 352, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 12620, "end": 12626, "loc": { "start": { "line": 352, "column": 47 }, "end": { "line": 352, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 12634, "end": 12648, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12634, "end": 12647, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12634, "end": 12645, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12634, "end": 12638, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 8 } } }, "property": { "type": "Identifier", "start": 12639, "end": 12645, "loc": { "start": { "line": 353, "column": 9 }, "end": { "line": 353, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 12389, "end": 12515, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 349, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12659, "end": 12768, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 359, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12772, "end": 12911, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 364, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12772, "end": 12777, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 360, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12779, "end": 12911, "loc": { "start": { "line": 360, "column": 9 }, "end": { "line": 364, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12786, "end": 12818, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12786, "end": 12817, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12786, "end": 12812, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12786, "end": 12802, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12786, "end": 12790, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 8 } } }, "property": { "type": "Identifier", "start": 12791, "end": 12802, "loc": { "start": { "line": 361, "column": 9 }, "end": { "line": 361, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12803, "end": 12812, "loc": { "start": { "line": 361, "column": 21 }, "end": { "line": 361, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12815, "end": 12817, "loc": { "start": { "line": 361, "column": 33 }, "end": { "line": 361, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12824, "end": 12875, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12824, "end": 12874, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12824, "end": 12850, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12824, "end": 12840, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12824, "end": 12828, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 8 } } }, "property": { "type": "Identifier", "start": 12829, "end": 12840, "loc": { "start": { "line": 362, "column": 9 }, "end": { "line": 362, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12841, "end": 12850, "loc": { "start": { "line": 362, "column": 21 }, "end": { "line": 362, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12853, "end": 12874, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12853, "end": 12857, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "column": 37 } } }, "property": { "type": "Identifier", "start": 12858, "end": 12874, "loc": { "start": { "line": 362, "column": 38 }, "end": { "line": 362, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12881, "end": 12906, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12881, "end": 12905, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12881, "end": 12900, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12881, "end": 12885, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 8 } } }, "property": { "type": "Identifier", "start": 12886, "end": 12900, "loc": { "start": { "line": 363, "column": 9 }, "end": { "line": 363, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12903, "end": 12905, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12659, "end": 12768, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 359, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12917, "end": 13122, "loc": { "start": { "line": 366, "column": 2 }, "end": { "line": 369, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13126, "end": 13494, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 379, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13126, "end": 13134, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 370, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13135, "end": 13143, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 13144, "end": 13494, "loc": { "start": { "line": 370, "column": 20 }, "end": { "line": 379, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13151, "end": 13335, "loc": { "start": { "line": 371, "column": 4 }, "end": { "line": 374, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 13154, "end": 13188, "loc": { "start": { "line": 371, "column": 7 }, "end": { "line": 371, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13155, "end": 13188, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 41 } }, "object": { "type": "Identifier", "start": 13155, "end": 13161, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13162, "end": 13187, "loc": { "start": { "line": 371, "column": 15 }, "end": { "line": 371, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13189, "end": 13335, "loc": { "start": { "line": 371, "column": 42 }, "end": { "line": 374, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13198, "end": 13281, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 89 } }, "expression": { "type": "CallExpression", "start": 13198, "end": 13280, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 13198, "end": 13210, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 18 } }, "object": { "type": "Identifier", "start": 13198, "end": 13205, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 13206, "end": 13210, "loc": { "start": { "line": 372, "column": 14 }, "end": { "line": 372, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 13211, "end": 13279, "loc": { "start": { "line": 372, "column": 19 }, "end": { "line": 372, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 13212, "end": 13278, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 372, "column": 86 } }, "value": { "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 13289, "end": 13328, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 45 } }, "argument": { "type": "NewExpression", "start": 13295, "end": 13327, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 44 } }, "callee": { "type": "Identifier", "start": 13299, "end": 13304, "loc": { "start": { "line": 373, "column": 16 }, "end": { "line": 373, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 13305, "end": 13326, "loc": { "start": { "line": 373, "column": 22 }, "end": { "line": 373, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13347, "end": 13489, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 378, "column": 6 } }, "argument": { "type": "CallExpression", "start": 13354, "end": 13489, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 378, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13354, "end": 13408, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 65 } }, "object": { "type": "CallExpression", "start": 13354, "end": 13400, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 13354, "end": 13365, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 22 } }, "object": { "type": "Identifier", "start": 13354, "end": 13360, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 13361, "end": 13365, "loc": { "start": { "line": 376, "column": 18 }, "end": { "line": 376, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13366, "end": 13399, "loc": { "start": { "line": 376, "column": 23 }, "end": { "line": 376, "column": 56 } }, "object": { "type": "Identifier", "start": 13366, "end": 13372, "loc": { "start": { "line": 376, "column": 23 }, "end": { "line": 376, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13373, "end": 13398, "loc": { "start": { "line": 376, "column": 30 }, "end": { "line": 376, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 13401, "end": 13408, "loc": { "start": { "line": 376, "column": 58 }, "end": { "line": 376, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13409, "end": 13488, "loc": { "start": { "line": 376, "column": 66 }, "end": { "line": 378, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13410, "end": 13413, "loc": { "start": { "line": 376, "column": 67 }, "end": { "line": 376, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 13418, "end": 13488, "loc": { "start": { "line": 376, "column": 75 }, "end": { "line": 378, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13427, "end": 13481, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 60 } }, "expression": { "type": "CallExpression", "start": 13427, "end": 13480, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 59 } }, "callee": { "type": "Identifier", "start": 13427, "end": 13435, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 13436, "end": 13474, "loc": { "start": { "line": 377, "column": 15 }, "end": { "line": 377, "column": 53 } }, "object": { "type": "MemberExpression", "start": 13436, "end": 13469, "loc": { "start": { "line": 377, "column": 15 }, "end": { "line": 377, "column": 48 } }, "object": { "type": "Identifier", "start": 13436, "end": 13442, "loc": { "start": { "line": 377, "column": 15 }, "end": { "line": 377, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13443, "end": 13468, "loc": { "start": { "line": 377, "column": 22 }, "end": { "line": 377, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 13470, "end": 13473, "loc": { "start": { "line": 377, "column": 49 }, "end": { "line": 377, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 13476, "end": 13479, "loc": { "start": { "line": 377, "column": 55 }, "end": { "line": 377, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12917, "end": 13122, "loc": { "start": { "line": 366, "column": 2 }, "end": { "line": 369, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13500, "end": 13781, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 385, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13785, "end": 15017, "loc": { "start": { "line": 386, "column": 2 }, "end": { "line": 429, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13785, "end": 13799, "loc": { "start": { "line": 386, "column": 2 }, "end": { "line": 386, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13800, "end": 13807, "loc": { "start": { "line": 386, "column": 17 }, "end": { "line": 386, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13809, "end": 13818, "loc": { "start": { "line": 386, "column": 26 }, "end": { "line": 386, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13819, "end": 15017, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 429, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13826, "end": 13873, "loc": { "start": { "line": 387, "column": 4 }, "end": { "line": 388, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13829, "end": 13851, "loc": { "start": { "line": 387, "column": 7 }, "end": { "line": 387, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13829, "end": 13839, "loc": { "start": { "line": 387, "column": 7 }, "end": { "line": 387, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13830, "end": 13839, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13843, "end": 13851, "loc": { "start": { "line": 387, "column": 21 }, "end": { "line": 387, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13844, "end": 13851, "loc": { "start": { "line": 387, "column": 22 }, "end": { "line": 387, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13860, "end": 13873, "loc": { "start": { "line": 388, "column": 6 }, "end": { "line": 388, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13867, "end": 13872, "loc": { "start": { "line": 388, "column": 13 }, "end": { "line": 388, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13881, "end": 14990, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 426, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13881, "end": 14989, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 426, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13881, "end": 13907, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 30 } }, "object": { "type": "CallExpression", "start": 13881, "end": 13899, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13881, "end": 13894, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 17 } }, "object": { "type": "Identifier", "start": 13881, "end": 13888, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13889, "end": 13894, "loc": { "start": { "line": 390, "column": 12 }, "end": { "line": 390, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13895, "end": 13898, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13900, "end": 13907, "loc": { "start": { "line": 390, "column": 23 }, "end": { "line": 390, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13908, "end": 14988, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 426, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13908, "end": 13914, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 390, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13918, "end": 14988, "loc": { "start": { "line": 390, "column": 41 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13927, "end": 14981, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 425, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13927, "end": 14980, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 425, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13927, "end": 13955, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 34 } }, "object": { "type": "CallExpression", "start": 13927, "end": 13947, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13927, "end": 13942, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 21 } }, "object": { "type": "Identifier", "start": 13927, "end": 13936, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13937, "end": 13942, "loc": { "start": { "line": 391, "column": 16 }, "end": { "line": 391, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13943, "end": 13946, "loc": { "start": { "line": 391, "column": 22 }, "end": { "line": 391, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13948, "end": 13955, "loc": { "start": { "line": 391, "column": 27 }, "end": { "line": 391, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13956, "end": 14979, "loc": { "start": { "line": 391, "column": 35 }, "end": { "line": 425, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13956, "end": 13969, "loc": { "start": { "line": 391, "column": 35 }, "end": { "line": 391, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13973, "end": 14979, "loc": { "start": { "line": 391, "column": 52 }, "end": { "line": 425, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13984, "end": 14055, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 393, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13987, "end": 14012, "loc": { "start": { "line": 392, "column": 11 }, "end": { "line": 392, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13988, "end": 14012, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13988, "end": 14000, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13988, "end": 13992, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 16 } } }, "property": { "type": "Identifier", "start": 13993, "end": 14000, "loc": { "start": { "line": 392, "column": 17 }, "end": { "line": 392, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14001, "end": 14012, "loc": { "start": { "line": 392, "column": 25 }, "end": { "line": 392, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 14025, "end": 14055, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 14025, "end": 14054, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14025, "end": 14049, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14025, "end": 14037, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14025, "end": 14029, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 14 } } }, "property": { "type": "Identifier", "start": 14030, "end": 14037, "loc": { "start": { "line": 393, "column": 15 }, "end": { "line": 393, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14038, "end": 14049, "loc": { "start": { "line": 393, "column": 23 }, "end": { "line": 393, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14052, "end": 14054, "loc": { "start": { "line": 393, "column": 37 }, "end": { "line": 393, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 14067, "end": 14094, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14071, "end": 14093, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 34 } }, "id": { "type": "Identifier", "start": 14071, "end": 14085, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 14088, "end": 14093, "loc": { "start": { "line": 395, "column": 29 }, "end": { "line": 395, "column": 34 } }, "value": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14108, "end": 14199, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 14209, "end": 14717, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 413, "column": 11 } }, "expression": { "type": "CallExpression", "start": 14209, "end": 14716, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 413, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 14209, "end": 14237, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14209, "end": 14233, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 32 } }, "object": { "type": "MemberExpression", "start": 14209, "end": 14221, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 20 } }, "object": { "type": "ThisExpression", "start": 14209, "end": 14213, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14214, "end": 14221, "loc": { "start": { "line": 400, "column": 13 }, "end": { "line": 400, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14222, "end": 14233, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14234, "end": 14237, "loc": { "start": { "line": 400, "column": 33 }, "end": { "line": 400, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14238, "end": 14715, "loc": { "start": { "line": 400, "column": 37 }, "end": { "line": 413, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14238, "end": 14249, "loc": { "start": { "line": 400, "column": 37 }, "end": { "line": 400, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 14253, "end": 14715, "loc": { "start": { "line": 400, "column": 52 }, "end": { "line": 413, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 14268, "end": 14673, "loc": { "start": { "line": 402, "column": 10 }, "end": { "line": 411, "column": 11 } }, "test": { "type": "CallExpression", "start": 14271, "end": 14323, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14271, "end": 14308, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 50 } }, "object": { "type": "CallExpression", "start": 14271, "end": 14299, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 14271, "end": 14294, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14271, "end": 14288, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 30 } }, "object": { "type": "Identifier", "start": 14271, "end": 14282, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14283, "end": 14288, "loc": { "start": { "line": 402, "column": 25 }, "end": { "line": 402, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 14289, "end": 14294, "loc": { "start": { "line": 402, "column": 31 }, "end": { "line": 402, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14295, "end": 14298, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14300, "end": 14308, "loc": { "start": { "line": 402, "column": 42 }, "end": { "line": 402, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14309, "end": 14322, "loc": { "start": { "line": 402, "column": 51 }, "end": { "line": 402, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 14324, "end": 14673, "loc": { "start": { "line": 402, "column": 66 }, "end": { "line": 411, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 14339, "end": 14361, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 14339, "end": 14360, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 14339, "end": 14353, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14356, "end": 14360, "loc": { "start": { "line": 403, "column": 29 }, "end": { "line": 403, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 14389, "end": 14443, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14393, "end": 14442, "loc": { "start": { "line": 405, "column": 16 }, "end": { "line": 405, "column": 65 } }, "id": { "type": "Identifier", "start": 14393, "end": 14409, "loc": { "start": { "line": 405, "column": 16 }, "end": { "line": 405, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 14412, "end": 14442, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14412, "end": 14437, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 60 } }, "object": { "type": "MemberExpression", "start": 14412, "end": 14431, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 54 } }, "object": { "type": "Identifier", "start": 14412, "end": 14423, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14424, "end": 14431, "loc": { "start": { "line": 405, "column": 47 }, "end": { "line": 405, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 14432, "end": 14437, "loc": { "start": { "line": 405, "column": 55 }, "end": { "line": 405, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14438, "end": 14441, "loc": { "start": { "line": 405, "column": 61 }, "end": { "line": 405, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14457, "end": 14660, "loc": { "start": { "line": 406, "column": 12 }, "end": { "line": 410, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 14460, "end": 14494, "loc": { "start": { "line": 406, "column": 15 }, "end": { "line": 406, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14461, "end": 14494, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 14461, "end": 14486, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 41 } }, "object": { "type": "Identifier", "start": 14461, "end": 14477, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14478, "end": 14486, "loc": { "start": { "line": 406, "column": 33 }, "end": { "line": 406, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14487, "end": 14493, "loc": { "start": { "line": 406, "column": 42 }, "end": { "line": 406, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14495, "end": 14660, "loc": { "start": { "line": 406, "column": 50 }, "end": { "line": 410, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 14512, "end": 14534, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14512, "end": 14533, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 14512, "end": 14526, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14529, "end": 14533, "loc": { "start": { "line": 407, "column": 31 }, "end": { "line": 407, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 14550, "end": 14580, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14550, "end": 14579, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14550, "end": 14571, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 35 } }, "object": { "type": "Identifier", "start": 14550, "end": 14566, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14567, "end": 14571, "loc": { "start": { "line": 408, "column": 31 }, "end": { "line": 408, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14572, "end": 14578, "loc": { "start": { "line": 408, "column": 36 }, "end": { "line": 408, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 14596, "end": 14645, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 14596, "end": 14644, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14596, "end": 14615, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 33 } }, "object": { "type": "Identifier", "start": 14596, "end": 14607, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14608, "end": 14615, "loc": { "start": { "line": 409, "column": 26 }, "end": { "line": 409, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14618, "end": 14644, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14618, "end": 14639, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 57 } }, "object": { "type": "Identifier", "start": 14618, "end": 14634, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14635, "end": 14639, "loc": { "start": { "line": 409, "column": 53 }, "end": { "line": 409, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14640, "end": 14643, "loc": { "start": { "line": 409, "column": 58 }, "end": { "line": 409, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14685, "end": 14704, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 29 } }, "argument": { "type": "Identifier", "start": 14692, "end": 14703, "loc": { "start": { "line": 412, "column": 17 }, "end": { "line": 412, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14108, "end": 14199, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14729, "end": 14804, "loc": { "start": { "line": 415, "column": 8 }, "end": { "line": 417, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14814, "end": 14968, "loc": { "start": { "line": 418, "column": 8 }, "end": { "line": 423, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14817, "end": 14832, "loc": { "start": { "line": 418, "column": 11 }, "end": { "line": 418, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14818, "end": 14832, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14833, "end": 14968, "loc": { "start": { "line": 418, "column": 27 }, "end": { "line": 423, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14846, "end": 14957, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 422, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14846, "end": 14956, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 422, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14846, "end": 14875, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14846, "end": 14870, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14846, "end": 14858, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14846, "end": 14850, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 14 } } }, "property": { "type": "Identifier", "start": 14851, "end": 14858, "loc": { "start": { "line": 419, "column": 15 }, "end": { "line": 419, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14859, "end": 14870, "loc": { "start": { "line": 419, "column": 23 }, "end": { "line": 419, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14871, "end": 14875, "loc": { "start": { "line": 419, "column": 35 }, "end": { "line": 419, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14876, "end": 14955, "loc": { "start": { "line": 419, "column": 40 }, "end": { "line": 422, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14891, "end": 14911, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14891, "end": 14896, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14898, "end": 14911, "loc": { "start": { "line": 420, "column": 19 }, "end": { "line": 420, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14926, "end": 14942, "loc": { "start": { "line": 421, "column": 12 }, "end": { "line": 421, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14926, "end": 14933, "loc": { "start": { "line": 421, "column": 12 }, "end": { "line": 421, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14935, "end": 14942, "loc": { "start": { "line": 421, "column": 21 }, "end": { "line": 421, "column": 28 }, "identifierName": "buttons" }, "name": "buttons" } } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14729, "end": 14804, "loc": { "start": { "line": 415, "column": 8 }, "end": { "line": 417, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14998, "end": 15012, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14998, "end": 15011, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14998, "end": 15009, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14998, "end": 15002, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 8 } } }, "property": { "type": "Identifier", "start": 15003, "end": 15009, "loc": { "start": { "line": 428, "column": 9 }, "end": { "line": 428, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13500, "end": 13781, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 385, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15023, "end": 15363, "loc": { "start": { "line": 431, "column": 2 }, "end": { "line": 435, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 15367, "end": 16784, "loc": { "start": { "line": 436, "column": 2 }, "end": { "line": 482, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15367, "end": 15384, "loc": { "start": { "line": 436, "column": 2 }, "end": { "line": 436, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15385, "end": 15392, "loc": { "start": { "line": 436, "column": 20 }, "end": { "line": 436, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 15394, "end": 15403, "loc": { "start": { "line": 436, "column": 29 }, "end": { "line": 436, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 15404, "end": 16784, "loc": { "start": { "line": 436, "column": 39 }, "end": { "line": 482, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15497, "end": 15612, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 444, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15500, "end": 15522, "loc": { "start": { "line": 440, "column": 7 }, "end": { "line": 440, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 15500, "end": 15508, "loc": { "start": { "line": 440, "column": 7 }, "end": { "line": 440, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15501, "end": 15508, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 15512, "end": 15522, "loc": { "start": { "line": 440, "column": 19 }, "end": { "line": 440, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15513, "end": 15522, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15523, "end": 15612, "loc": { "start": { "line": 440, "column": 30 }, "end": { "line": 444, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15532, "end": 15562, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 15532, "end": 15561, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15532, "end": 15556, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 30 } }, "object": { "type": "MemberExpression", "start": 15532, "end": 15544, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15532, "end": 15536, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 10 } } }, "property": { "type": "Identifier", "start": 15537, "end": 15544, "loc": { "start": { "line": 441, "column": 11 }, "end": { "line": 441, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15545, "end": 15556, "loc": { "start": { "line": 441, "column": 19 }, "end": { "line": 441, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 15559, "end": 15561, "loc": { "start": { "line": 441, "column": 33 }, "end": { "line": 441, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 15570, "end": 15584, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 20 } }, "expression": { "type": "CallExpression", "start": 15570, "end": 15583, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 15570, "end": 15581, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 17 } }, "object": { "type": "ThisExpression", "start": 15570, "end": 15574, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 10 } } }, "property": { "type": "Identifier", "start": 15575, "end": 15581, "loc": { "start": { "line": 442, "column": 11 }, "end": { "line": 442, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 15592, "end": 15605, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 15599, "end": 15604, "loc": { "start": { "line": 443, "column": 13 }, "end": { "line": 443, "column": 18 } }, "value": false } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15411, "end": 15491, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15620, "end": 15688, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 448, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15694, "end": 16779, "loc": { "start": { "line": 449, "column": 4 }, "end": { "line": 481, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15697, "end": 15782, "loc": { "start": { "line": 449, "column": 7 }, "end": { "line": 449, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15697, "end": 15747, "loc": { "start": { "line": 449, "column": 7 }, "end": { "line": 449, "column": 57 } }, "left": { "type": "Identifier", "start": 15697, "end": 15704, "loc": { "start": { "line": 449, "column": 7 }, "end": { "line": 449, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15708, "end": 15747, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15708, "end": 15721, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 31 } }, "object": { "type": "Identifier", "start": 15708, "end": 15713, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15714, "end": 15721, "loc": { "start": { "line": 449, "column": 24 }, "end": { "line": 449, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15722, "end": 15746, "loc": { "start": { "line": 449, "column": 32 }, "end": { "line": 449, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15722, "end": 15734, "loc": { "start": { "line": 449, "column": 32 }, "end": { "line": 449, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15722, "end": 15726, "loc": { "start": { "line": 449, "column": 32 }, "end": { "line": 449, "column": 36 } } }, "property": { "type": "Identifier", "start": 15727, "end": 15734, "loc": { "start": { "line": 449, "column": 37 }, "end": { "line": 449, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15735, "end": 15746, "loc": { "start": { "line": 449, "column": 45 }, "end": { "line": 449, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15751, "end": 15782, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15751, "end": 15775, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15751, "end": 15763, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15751, "end": 15755, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 65 } } }, "property": { "type": "Identifier", "start": 15756, "end": 15763, "loc": { "start": { "line": 449, "column": 66 }, "end": { "line": 449, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15764, "end": 15775, "loc": { "start": { "line": 449, "column": 74 }, "end": { "line": 449, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15776, "end": 15782, "loc": { "start": { "line": 449, "column": 86 }, "end": { "line": 449, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15783, "end": 16779, "loc": { "start": { "line": 449, "column": 93 }, "end": { "line": 481, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15792, "end": 15829, "loc": { "start": { "line": 450, "column": 6 }, "end": { "line": 450, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15796, "end": 15828, "loc": { "start": { "line": 450, "column": 10 }, "end": { "line": 450, "column": 42 } }, "id": { "type": "Identifier", "start": 15796, "end": 15807, "loc": { "start": { "line": 450, "column": 10 }, "end": { "line": 450, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15810, "end": 15828, "loc": { "start": { "line": 450, "column": 24 }, "end": { "line": 450, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15810, "end": 15823, "loc": { "start": { "line": 450, "column": 24 }, "end": { "line": 450, "column": 37 } }, "object": { "type": "Identifier", "start": 15810, "end": 15817, "loc": { "start": { "line": 450, "column": 24 }, "end": { "line": 450, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15818, "end": 15823, "loc": { "start": { "line": 450, "column": 32 }, "end": { "line": 450, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15824, "end": 15827, "loc": { "start": { "line": 450, "column": 38 }, "end": { "line": 450, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15837, "end": 16748, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 478, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15837, "end": 16747, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 478, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15837, "end": 15856, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 25 } }, "object": { "type": "Identifier", "start": 15837, "end": 15848, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15849, "end": 15856, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15857, "end": 16746, "loc": { "start": { "line": 451, "column": 26 }, "end": { "line": 478, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15858, "end": 15864, "loc": { "start": { "line": 451, "column": 27 }, "end": { "line": 451, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15866, "end": 15869, "loc": { "start": { "line": 451, "column": 35 }, "end": { "line": 451, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15874, "end": 16746, "loc": { "start": { "line": 451, "column": 43 }, "end": { "line": 478, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15885, "end": 16737, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 477, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15885, "end": 16736, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 477, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15885, "end": 15913, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15885, "end": 15909, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15885, "end": 15897, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15885, "end": 15889, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 12 } } }, "property": { "type": "Identifier", "start": 15890, "end": 15897, "loc": { "start": { "line": 452, "column": 13 }, "end": { "line": 452, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15898, "end": 15909, "loc": { "start": { "line": 452, "column": 21 }, "end": { "line": 452, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15910, "end": 15913, "loc": { "start": { "line": 452, "column": 33 }, "end": { "line": 452, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15914, "end": 16735, "loc": { "start": { "line": 452, "column": 37 }, "end": { "line": 477, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15915, "end": 15926, "loc": { "start": { "line": 452, "column": 38 }, "end": { "line": 452, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15928, "end": 15933, "loc": { "start": { "line": 452, "column": 51 }, "end": { "line": 452, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15938, "end": 16735, "loc": { "start": { "line": 452, "column": 61 }, "end": { "line": 477, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 16106, "end": 16691, "loc": { "start": { "line": 458, "column": 10 }, "end": { "line": 474, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 16123, "end": 16202, "loc": { "start": { "line": 459, "column": 12 }, "end": { "line": 460, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 16124, "end": 16174, "loc": { "start": { "line": 459, "column": 13 }, "end": { "line": 459, "column": 63 } }, "left": { "type": "Identifier", "start": 16124, "end": 16133, "loc": { "start": { "line": 459, "column": 13 }, "end": { "line": 459, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 16137, "end": 16174, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 16137, "end": 16155, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 44 } }, "object": { "type": "Identifier", "start": 16137, "end": 16146, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 16147, "end": 16155, "loc": { "start": { "line": 459, "column": 36 }, "end": { "line": 459, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16156, "end": 16173, "loc": { "start": { "line": 459, "column": 45 }, "end": { "line": 459, "column": 62 } }, "object": { "type": "Identifier", "start": 16156, "end": 16167, "loc": { "start": { "line": 459, "column": 45 }, "end": { "line": 459, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16168, "end": 16173, "loc": { "start": { "line": 459, "column": 57 }, "end": { "line": 459, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 16123 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 16192, "end": 16202, "loc": { "start": { "line": 460, "column": 12 }, "end": { "line": 460, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 16193, "end": 16202, "loc": { "start": { "line": 460, "column": 13 }, "end": { "line": 460, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16215, "end": 16691, "loc": { "start": { "line": 461, "column": 11 }, "end": { "line": 474, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 16230, "end": 16319, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16234, "end": 16318, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 100 } }, "id": { "type": "Identifier", "start": 16234, "end": 16253, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 16256, "end": 16318, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 16256, "end": 16293, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 75 } }, "object": { "type": "CallExpression", "start": 16256, "end": 16286, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 16256, "end": 16281, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 63 } }, "object": { "type": "MemberExpression", "start": 16256, "end": 16275, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 57 } }, "object": { "type": "Identifier", "start": 16256, "end": 16267, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16268, "end": 16275, "loc": { "start": { "line": 462, "column": 50 }, "end": { "line": 462, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16276, "end": 16281, "loc": { "start": { "line": 462, "column": 58 }, "end": { "line": 462, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16282, "end": 16285, "loc": { "start": { "line": 462, "column": 64 }, "end": { "line": 462, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 16287, "end": 16293, "loc": { "start": { "line": 462, "column": 69 }, "end": { "line": 462, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16294, "end": 16317, "loc": { "start": { "line": 462, "column": 76 }, "end": { "line": 462, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 16294, "end": 16298, "loc": { "start": { "line": 462, "column": 76 }, "end": { "line": 462, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 16302, "end": 16317, "loc": { "start": { "line": 462, "column": 84 }, "end": { "line": 462, "column": 99 } }, "left": { "type": "Identifier", "start": 16302, "end": 16306, "loc": { "start": { "line": 462, "column": 84 }, "end": { "line": 462, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 16311, "end": 16317, "loc": { "start": { "line": 462, "column": 93 }, "end": { "line": 462, "column": 99 }, "identifierName": "button" }, "name": "button" } } } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16335, "end": 16432, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 466, "column": 15 } } } ] }, { "type": "IfStatement", "start": 16446, "end": 16675, "loc": { "start": { "line": 467, "column": 12 }, "end": { "line": 472, "column": 13 } }, "test": { "type": "MemberExpression", "start": 16449, "end": 16475, "loc": { "start": { "line": 467, "column": 15 }, "end": { "line": 467, "column": 41 } }, "object": { "type": "Identifier", "start": 16449, "end": 16468, "loc": { "start": { "line": 467, "column": 15 }, "end": { "line": 467, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 16469, "end": 16475, "loc": { "start": { "line": 467, "column": 35 }, "end": { "line": 467, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16476, "end": 16560, "loc": { "start": { "line": 467, "column": 42 }, "end": { "line": 469, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16493, "end": 16545, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 16493, "end": 16544, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16493, "end": 16512, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 33 } }, "object": { "type": "Identifier", "start": 16493, "end": 16504, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16505, "end": 16512, "loc": { "start": { "line": 468, "column": 26 }, "end": { "line": 468, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 16515, "end": 16544, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16515, "end": 16539, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "column": 60 } }, "object": { "type": "Identifier", "start": 16515, "end": 16534, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 16535, "end": 16539, "loc": { "start": { "line": 468, "column": 56 }, "end": { "line": 468, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16540, "end": 16543, "loc": { "start": { "line": 468, "column": 61 }, "end": { "line": 468, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16566, "end": 16675, "loc": { "start": { "line": 469, "column": 19 }, "end": { "line": 472, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16583, "end": 16625, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 56 } }, "expression": { "type": "CallExpression", "start": 16583, "end": 16624, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 16583, "end": 16614, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16583, "end": 16607, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16583, "end": 16595, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 26 } }, "object": { "type": "ThisExpression", "start": 16583, "end": 16587, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 18 } } }, "property": { "type": "Identifier", "start": 16588, "end": 16595, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16596, "end": 16607, "loc": { "start": { "line": 470, "column": 27 }, "end": { "line": 470, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16608, "end": 16614, "loc": { "start": { "line": 470, "column": 39 }, "end": { "line": 470, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16615, "end": 16620, "loc": { "start": { "line": 470, "column": 46 }, "end": { "line": 470, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16622, "end": 16623, "loc": { "start": { "line": 470, "column": 53 }, "end": { "line": 470, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16641, "end": 16660, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16641, "end": 16659, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16641, "end": 16652, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16655, "end": 16659, "loc": { "start": { "line": 471, "column": 28 }, "end": { "line": 471, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16335, "end": 16432, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 466, "column": 15 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", "start": 15953, "end": 16094, "loc": { "start": { "line": 454, "column": 10 }, "end": { "line": 457, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16705, "end": 16724, "loc": { "start": { "line": 476, "column": 10 }, "end": { "line": 476, "column": 29 } }, "argument": { "type": "Identifier", "start": 16712, "end": 16723, "loc": { "start": { "line": 476, "column": 17 }, "end": { "line": 476, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16758, "end": 16772, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16758, "end": 16771, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16758, "end": 16769, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16758, "end": 16762, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 10 } } }, "property": { "type": "Identifier", "start": 16763, "end": 16769, "loc": { "start": { "line": 480, "column": 11 }, "end": { "line": 480, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15620, "end": 15688, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 448, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15023, "end": 15363, "loc": { "start": { "line": 431, "column": 2 }, "end": { "line": 435, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16790, "end": 16993, "loc": { "start": { "line": 484, "column": 2 }, "end": { "line": 487, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16997, "end": 17264, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 501, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16997, "end": 17013, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 488, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17014, "end": 17020, "loc": { "start": { "line": 488, "column": 19 }, "end": { "line": 488, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 17021, "end": 17264, "loc": { "start": { "line": 488, "column": 26 }, "end": { "line": 501, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17028, "end": 17039, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17032, "end": 17038, "loc": { "start": { "line": 489, "column": 8 }, "end": { "line": 489, "column": 14 } }, "id": { "type": "Identifier", "start": 17032, "end": 17038, "loc": { "start": { "line": 489, "column": 8 }, "end": { "line": 489, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 17047, "end": 17091, "loc": { "start": { "line": 491, "column": 4 }, "end": { "line": 491, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17051, "end": 17090, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 47 } }, "id": { "type": "Identifier", "start": 17051, "end": 17060, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 17063, "end": 17090, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 47 } }, "object": { "type": "MemberExpression", "start": 17063, "end": 17082, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 39 } }, "object": { "type": "ThisExpression", "start": 17063, "end": 17067, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 24 } } }, "property": { "type": "Identifier", "start": 17068, "end": 17082, "loc": { "start": { "line": 491, "column": 25 }, "end": { "line": 491, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 17083, "end": 17089, "loc": { "start": { "line": 491, "column": 40 }, "end": { "line": 491, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 17097, "end": 17237, "loc": { "start": { "line": 492, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "Identifier", "start": 17100, "end": 17109, "loc": { "start": { "line": 492, "column": 7 }, "end": { "line": 492, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 17110, "end": 17237, "loc": { "start": { "line": 492, "column": 17 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 17119, "end": 17230, "loc": { "start": { "line": 493, "column": 6 }, "end": { "line": 497, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 17122, "end": 17142, "loc": { "start": { "line": 493, "column": 9 }, "end": { "line": 493, "column": 29 } }, "left": { "type": "MemberExpression", "start": 17122, "end": 17138, "loc": { "start": { "line": 493, "column": 9 }, "end": { "line": 493, "column": 25 } }, "object": { "type": "Identifier", "start": 17122, "end": 17131, "loc": { "start": { "line": 493, "column": 9 }, "end": { "line": 493, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 17132, "end": 17138, "loc": { "start": { "line": 493, "column": 19 }, "end": { "line": 493, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 17141, "end": 17142, "loc": { "start": { "line": 493, "column": 28 }, "end": { "line": 493, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 17143, "end": 17182, "loc": { "start": { "line": 493, "column": 30 }, "end": { "line": 495, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17154, "end": 17173, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 17154, "end": 17172, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 17154, "end": 17160, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 17163, "end": 17172, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 494, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17188, "end": 17230, "loc": { "start": { "line": 495, "column": 13 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17199, "end": 17221, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 17199, "end": 17220, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 17199, "end": 17205, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 17208, "end": 17220, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 29 } }, "object": { "type": "Identifier", "start": 17208, "end": 17217, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 17218, "end": 17219, "loc": { "start": { "line": 496, "column": 27 }, "end": { "line": 496, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 17245, "end": 17259, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 18 } }, "argument": { "type": "Identifier", "start": 17252, "end": 17258, "loc": { "start": { "line": 500, "column": 11 }, "end": { "line": 500, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16790, "end": 16993, "loc": { "start": { "line": 484, "column": 2 }, "end": { "line": 487, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17270, "end": 17360, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 505, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17364, "end": 17667, "loc": { "start": { "line": 506, "column": 2 }, "end": { "line": 514, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17364, "end": 17375, "loc": { "start": { "line": 506, "column": 2 }, "end": { "line": 506, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17377, "end": 17667, "loc": { "start": { "line": 506, "column": 15 }, "end": { "line": 514, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17384, "end": 17460, "loc": { "start": { "line": 507, "column": 4 }, "end": { "line": 509, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17387, "end": 17405, "loc": { "start": { "line": 507, "column": 7 }, "end": { "line": 507, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17387, "end": 17399, "loc": { "start": { "line": 507, "column": 7 }, "end": { "line": 507, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17387, "end": 17391, "loc": { "start": { "line": 507, "column": 7 }, "end": { "line": 507, "column": 11 } } }, "property": { "type": "Identifier", "start": 17392, "end": 17399, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17400, "end": 17405, "loc": { "start": { "line": 507, "column": 20 }, "end": { "line": 507, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17406, "end": 17460, "loc": { "start": { "line": 507, "column": 26 }, "end": { "line": 509, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17415, "end": 17453, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 44 } }, "expression": { "type": "CallExpression", "start": 17415, "end": 17452, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 17415, "end": 17426, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 17 } }, "object": { "type": "Identifier", "start": 17415, "end": 17422, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17423, "end": 17426, "loc": { "start": { "line": 508, "column": 14 }, "end": { "line": 508, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17427, "end": 17451, "loc": { "start": { "line": 508, "column": 18 }, "end": { "line": 508, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 17468, "end": 17527, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 63 } }, "expression": { "type": "CallExpression", "start": 17468, "end": 17526, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 17468, "end": 17493, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 29 } }, "object": { "type": "Identifier", "start": 17468, "end": 17476, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17477, "end": 17493, "loc": { "start": { "line": 511, "column": 13 }, "end": { "line": 511, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17494, "end": 17501, "loc": { "start": { "line": 511, "column": 30 }, "end": { "line": 511, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 17503, "end": 17525, "loc": { "start": { "line": 511, "column": 39 }, "end": { "line": 511, "column": 61 } }, "object": { "type": "ThisExpression", "start": 17503, "end": 17507, "loc": { "start": { "line": 511, "column": 39 }, "end": { "line": 511, "column": 43 } } }, "property": { "type": "Identifier", "start": 17508, "end": 17525, "loc": { "start": { "line": 511, "column": 44 }, "end": { "line": 511, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17533, "end": 17594, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 65 } }, "expression": { "type": "CallExpression", "start": 17533, "end": 17593, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 17533, "end": 17558, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 29 } }, "object": { "type": "Identifier", "start": 17533, "end": 17541, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17542, "end": 17558, "loc": { "start": { "line": 512, "column": 13 }, "end": { "line": 512, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17559, "end": 17568, "loc": { "start": { "line": 512, "column": 30 }, "end": { "line": 512, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 17570, "end": 17592, "loc": { "start": { "line": 512, "column": 41 }, "end": { "line": 512, "column": 63 } }, "object": { "type": "ThisExpression", "start": 17570, "end": 17574, "loc": { "start": { "line": 512, "column": 41 }, "end": { "line": 512, "column": 45 } } }, "property": { "type": "Identifier", "start": 17575, "end": 17592, "loc": { "start": { "line": 512, "column": 46 }, "end": { "line": 512, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17600, "end": 17662, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17600, "end": 17661, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17600, "end": 17625, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 29 } }, "object": { "type": "Identifier", "start": 17600, "end": 17608, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17609, "end": 17625, "loc": { "start": { "line": 513, "column": 13 }, "end": { "line": 513, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17626, "end": 17636, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17638, "end": 17660, "loc": { "start": { "line": 513, "column": 42 }, "end": { "line": 513, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17638, "end": 17642, "loc": { "start": { "line": 513, "column": 42 }, "end": { "line": 513, "column": 46 } } }, "property": { "type": "Identifier", "start": 17643, "end": 17660, "loc": { "start": { "line": 513, "column": 47 }, "end": { "line": 513, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17270, "end": 17360, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 505, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17673, "end": 17785, "loc": { "start": { "line": 516, "column": 2 }, "end": { "line": 518, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17789, "end": 18451, "loc": { "start": { "line": 519, "column": 2 }, "end": { "line": 541, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17789, "end": 17806, "loc": { "start": { "line": 519, "column": 2 }, "end": { "line": 519, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17807, "end": 17812, "loc": { "start": { "line": 519, "column": 20 }, "end": { "line": 519, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17813, "end": 18451, "loc": { "start": { "line": 519, "column": 26 }, "end": { "line": 541, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17820, "end": 17838, "loc": { "start": { "line": 520, "column": 4 }, "end": { "line": 520, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17824, "end": 17837, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 21 } }, "id": { "type": "Identifier", "start": 17824, "end": 17837, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 17846, "end": 17937, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17849, "end": 17869, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17849, "end": 17861, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 19 } }, "object": { "type": "Identifier", "start": 17849, "end": 17854, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 12 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17855, "end": 17861, "loc": { "start": { "line": 522, "column": 13 }, "end": { "line": 522, "column": 19 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17862, "end": 17869, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 27 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17870, "end": 17937, "loc": { "start": { "line": 522, "column": 28 }, "end": { "line": 524, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17879, "end": 17930, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 17879, "end": 17929, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 17879, "end": 17892, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "right": { "type": "CallExpression", "start": 17895, "end": 17929, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 17895, "end": 17927, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17895, "end": 17915, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 42 } }, "object": { "type": "MemberExpression", "start": 17895, "end": 17907, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 34 } }, "object": { "type": "Identifier", "start": 17895, "end": 17900, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 27 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17901, "end": 17907, "loc": { "start": { "line": 523, "column": 28 }, "end": { "line": 523, "column": 34 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17908, "end": 17915, "loc": { "start": { "line": 523, "column": 35 }, "end": { "line": 523, "column": 42 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17916, "end": 17927, "loc": { "start": { "line": 523, "column": 43 }, "end": { "line": 523, "column": 54 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 17945, "end": 18446, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 540, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17956, "end": 18070, "loc": { "start": { "line": 527, "column": 6 }, "end": { "line": 529, "column": 43 } }, "left": { "type": "LogicalExpression", "start": 17957, "end": 18021, "loc": { "start": { "line": 527, "column": 7 }, "end": { "line": 528, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17957, "end": 17985, "loc": { "start": { "line": 527, "column": 7 }, "end": { "line": 527, "column": 35 } }, "left": { "type": "Identifier", "start": 17957, "end": 17970, "loc": { "start": { "line": 527, "column": 7 }, "end": { "line": 527, "column": 20 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17975, "end": 17985, "loc": { "start": { "line": 527, "column": 25 }, "end": { "line": 527, "column": 35 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17996, "end": 18021, "loc": { "start": { "line": 528, "column": 6 }, "end": { "line": 528, "column": 31 } }, "left": { "type": "Identifier", "start": 17996, "end": 18009, "loc": { "start": { "line": 528, "column": 6 }, "end": { "line": 528, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18014, "end": 18021, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } }, "extra": { "parenthesized": true, "parenStart": 17956 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 18033, "end": 18070, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18034, "end": 18070, "loc": { "start": { "line": 529, "column": 7 }, "end": { "line": 529, "column": 43 } }, "object": { "type": "MemberExpression", "start": 18034, "end": 18046, "loc": { "start": { "line": 529, "column": 7 }, "end": { "line": 529, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18034, "end": 18038, "loc": { "start": { "line": 529, "column": 7 }, "end": { "line": 529, "column": 11 } } }, "property": { "type": "Identifier", "start": 18039, "end": 18046, "loc": { "start": { "line": 529, "column": 12 }, "end": { "line": 529, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18047, "end": 18070, "loc": { "start": { "line": 529, "column": 20 }, "end": { "line": 529, "column": 43 }, "identifierName": "disableCaretPositioning" }, "name": "disableCaretPositioning" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 18077, "end": 18446, "loc": { "start": { "line": 530, "column": 5 }, "end": { "line": 540, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18242, "end": 18291, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 18242, "end": 18290, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18242, "end": 18260, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 24 } }, "object": { "type": "ThisExpression", "start": 18242, "end": 18246, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18247, "end": 18260, "loc": { "start": { "line": 535, "column": 11 }, "end": { "line": 535, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 18263, "end": 18290, "loc": { "start": { "line": 535, "column": 27 }, "end": { "line": 535, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18263, "end": 18275, "loc": { "start": { "line": 535, "column": 27 }, "end": { "line": 535, "column": 39 } }, "object": { "type": "Identifier", "start": 18263, "end": 18268, "loc": { "start": { "line": 535, "column": 27 }, "end": { "line": 535, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18269, "end": 18275, "loc": { "start": { "line": 535, "column": 33 }, "end": { "line": 535, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18276, "end": 18290, "loc": { "start": { "line": 535, "column": 40 }, "end": { "line": 535, "column": 54 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 18086, "end": 18234, "loc": { "start": { "line": 531, "column": 6 }, "end": { "line": 534, "column": 9 } } } ] }, { "type": "IfStatement", "start": 18301, "end": 18434, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 539, "column": 7 } }, "test": { "type": "MemberExpression", "start": 18304, "end": 18322, "loc": { "start": { "line": 537, "column": 9 }, "end": { "line": 537, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18304, "end": 18316, "loc": { "start": { "line": 537, "column": 9 }, "end": { "line": 537, "column": 21 } }, "object": { "type": "ThisExpression", "start": 18304, "end": 18308, "loc": { "start": { "line": 537, "column": 9 }, "end": { "line": 537, "column": 13 } } }, "property": { "type": "Identifier", "start": 18309, "end": 18316, "loc": { "start": { "line": 537, "column": 14 }, "end": { "line": 537, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18317, "end": 18322, "loc": { "start": { "line": 537, "column": 22 }, "end": { "line": 537, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18323, "end": 18434, "loc": { "start": { "line": 537, "column": 28 }, "end": { "line": 539, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 18334, "end": 18425, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 99 } }, "expression": { "type": "CallExpression", "start": 18334, "end": 18424, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 18334, "end": 18345, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 19 } }, "object": { "type": "Identifier", "start": 18334, "end": 18341, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18342, "end": 18345, "loc": { "start": { "line": 538, "column": 16 }, "end": { "line": 538, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18346, "end": 18358, "loc": { "start": { "line": 538, "column": 20 }, "end": { "line": 538, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 18360, "end": 18387, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18360, "end": 18372, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 46 } }, "object": { "type": "Identifier", "start": 18360, "end": 18365, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18366, "end": 18372, "loc": { "start": { "line": 538, "column": 40 }, "end": { "line": 538, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18373, "end": 18387, "loc": { "start": { "line": 538, "column": 47 }, "end": { "line": 538, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 18389, "end": 18423, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 18389, "end": 18421, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 95 } }, "object": { "type": "MemberExpression", "start": 18389, "end": 18409, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 83 } }, "object": { "type": "MemberExpression", "start": 18389, "end": 18401, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 75 } }, "object": { "type": "Identifier", "start": 18389, "end": 18394, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18395, "end": 18401, "loc": { "start": { "line": 538, "column": 69 }, "end": { "line": 538, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18402, "end": 18409, "loc": { "start": { "line": 538, "column": 76 }, "end": { "line": 538, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18410, "end": 18421, "loc": { "start": { "line": 538, "column": 84 }, "end": { "line": 538, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17673, "end": 17785, "loc": { "start": { "line": 516, "column": 2 }, "end": { "line": 518, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18457, "end": 18577, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 545, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18581, "end": 18817, "loc": { "start": { "line": 546, "column": 2 }, "end": { "line": 558, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18581, "end": 18587, "loc": { "start": { "line": 546, "column": 2 }, "end": { "line": 546, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18589, "end": 18817, "loc": { "start": { "line": 546, "column": 10 }, "end": { "line": 558, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18596, "end": 18661, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 549, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18599, "end": 18617, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18599, "end": 18611, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18599, "end": 18603, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 11 } } }, "property": { "type": "Identifier", "start": 18604, "end": 18611, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18612, "end": 18617, "loc": { "start": { "line": 547, "column": 20 }, "end": { "line": 547, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18618, "end": 18661, "loc": { "start": { "line": 547, "column": 26 }, "end": { "line": 549, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18627, "end": 18654, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 33 } }, "expression": { "type": "CallExpression", "start": 18627, "end": 18653, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 18627, "end": 18638, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 17 } }, "object": { "type": "Identifier", "start": 18627, "end": 18634, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18635, "end": 18638, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18639, "end": 18652, "loc": { "start": { "line": 548, "column": 18 }, "end": { "line": 548, "column": 31 } }, "extra": { "rawValue": "Initialized", "raw": "\"Initialized\"" }, "value": "Initialized" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18669, "end": 18704, "loc": { "start": { "line": 551, "column": 4 }, "end": { "line": 553, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 18710, "end": 18729, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 23 } }, "expression": { "type": "CallExpression", "start": 18710, "end": 18728, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 18710, "end": 18726, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18710, "end": 18714, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18715, "end": 18726, "loc": { "start": { "line": 554, "column": 9 }, "end": { "line": 554, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18669, "end": 18704, "loc": { "start": { "line": 551, "column": 4 }, "end": { "line": 553, "column": 7 } } } ] }, { "type": "IfStatement", "start": 18737, "end": 18812, "loc": { "start": { "line": 556, "column": 4 }, "end": { "line": 557, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 18740, "end": 18781, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 18740, "end": 18766, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18747, "end": 18766, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 33 } }, "object": { "type": "MemberExpression", "start": 18747, "end": 18759, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18747, "end": 18751, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 18 } } }, "property": { "type": "Identifier", "start": 18752, "end": 18759, "loc": { "start": { "line": 556, "column": 19 }, "end": { "line": 556, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18760, "end": 18766, "loc": { "start": { "line": 556, "column": 27 }, "end": { "line": 556, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18771, "end": 18781, "loc": { "start": { "line": 556, "column": 38 }, "end": { "line": 556, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18790, "end": 18812, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18790, "end": 18811, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18790, "end": 18809, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18790, "end": 18802, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18790, "end": 18794, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 10 } } }, "property": { "type": "Identifier", "start": 18795, "end": 18802, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18803, "end": 18809, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18457, "end": 18577, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 545, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18823, "end": 18941, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18945, "end": 19046, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 566, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18945, "end": 18953, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 563, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18955, "end": 19046, "loc": { "start": { "line": 563, "column": 12 }, "end": { "line": 566, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18962, "end": 19041, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 565, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18965, "end": 19008, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18965, "end": 18993, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18972, "end": 18993, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18972, "end": 18984, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18972, "end": 18976, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 18 } } }, "property": { "type": "Identifier", "start": 18977, "end": 18984, "loc": { "start": { "line": 564, "column": 19 }, "end": { "line": 564, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18985, "end": 18993, "loc": { "start": { "line": 564, "column": 27 }, "end": { "line": 564, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18998, "end": 19008, "loc": { "start": { "line": 564, "column": 40 }, "end": { "line": 564, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19017, "end": 19041, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 30 } }, "expression": { "type": "CallExpression", "start": 19017, "end": 19040, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 19017, "end": 19038, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 27 } }, "object": { "type": "MemberExpression", "start": 19017, "end": 19029, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19017, "end": 19021, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 10 } } }, "property": { "type": "Identifier", "start": 19022, "end": 19029, "loc": { "start": { "line": 565, "column": 11 }, "end": { "line": 565, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19030, "end": 19038, "loc": { "start": { "line": 565, "column": 19 }, "end": { "line": 565, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18823, "end": 18941, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19051, "end": 19130, "loc": { "start": { "line": 568, "column": 1 }, "end": { "line": 570, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 19134, "end": 19256, "loc": { "start": { "line": 571, "column": 2 }, "end": { "line": 574, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19134, "end": 19149, "loc": { "start": { "line": 571, "column": 2 }, "end": { "line": 571, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19151, "end": 19256, "loc": { "start": { "line": 571, "column": 19 }, "end": { "line": 574, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19158, "end": 19251, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 573, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 19161, "end": 19211, "loc": { "start": { "line": 572, "column": 7 }, "end": { "line": 572, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 19161, "end": 19196, "loc": { "start": { "line": 572, "column": 7 }, "end": { "line": 572, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19168, "end": 19196, "loc": { "start": { "line": 572, "column": 14 }, "end": { "line": 572, "column": 42 } }, "object": { "type": "MemberExpression", "start": 19168, "end": 19180, "loc": { "start": { "line": 572, "column": 14 }, "end": { "line": 572, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19168, "end": 19172, "loc": { "start": { "line": 572, "column": 14 }, "end": { "line": 572, "column": 18 } } }, "property": { "type": "Identifier", "start": 19173, "end": 19180, "loc": { "start": { "line": 572, "column": 19 }, "end": { "line": 572, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19181, "end": 19196, "loc": { "start": { "line": 572, "column": 27 }, "end": { "line": 572, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19201, "end": 19211, "loc": { "start": { "line": 572, "column": 47 }, "end": { "line": 572, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19220, "end": 19251, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19220, "end": 19250, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19220, "end": 19248, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19220, "end": 19232, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19220, "end": 19224, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 10 } } }, "property": { "type": "Identifier", "start": 19225, "end": 19232, "loc": { "start": { "line": 573, "column": 11 }, "end": { "line": 573, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19233, "end": 19248, "loc": { "start": { "line": 573, "column": 19 }, "end": { "line": 573, "column": 34 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19051, "end": 19130, "loc": { "start": { "line": 568, "column": 1 }, "end": { "line": 570, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19262, "end": 19294, "loc": { "start": { "line": 576, "column": 2 }, "end": { "line": 578, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19298, "end": 19447, "loc": { "start": { "line": 579, "column": 2 }, "end": { "line": 584, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19298, "end": 19312, "loc": { "start": { "line": 579, "column": 2 }, "end": { "line": 579, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19315, "end": 19447, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 584, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19316, "end": 19320, "loc": { "start": { "line": 579, "column": 20 }, "end": { "line": 579, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19322, "end": 19334, "loc": { "start": { "line": 579, "column": 26 }, "end": { "line": 579, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 19339, "end": 19447, "loc": { "start": { "line": 579, "column": 43 }, "end": { "line": 584, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19346, "end": 19401, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 581, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 19349, "end": 19368, "loc": { "start": { "line": 580, "column": 7 }, "end": { "line": 580, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19350, "end": 19368, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19350, "end": 19362, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19350, "end": 19354, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 12 } } }, "property": { "type": "Identifier", "start": 19355, "end": 19362, "loc": { "start": { "line": 580, "column": 13 }, "end": { "line": 580, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19363, "end": 19367, "loc": { "start": { "line": 580, "column": 21 }, "end": { "line": 580, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 19377, "end": 19401, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19377, "end": 19400, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19377, "end": 19395, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 24 } }, "object": { "type": "MemberExpression", "start": 19377, "end": 19389, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19377, "end": 19381, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 10 } } }, "property": { "type": "Identifier", "start": 19382, "end": 19389, "loc": { "start": { "line": 581, "column": 11 }, "end": { "line": 581, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19390, "end": 19394, "loc": { "start": { "line": 581, "column": 19 }, "end": { "line": 581, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 19398, "end": 19400, "loc": { "start": { "line": 581, "column": 27 }, "end": { "line": 581, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 19409, "end": 19442, "loc": { "start": { "line": 583, "column": 4 }, "end": { "line": 583, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19409, "end": 19441, "loc": { "start": { "line": 583, "column": 4 }, "end": { "line": 583, "column": 36 } }, "callee": { "type": "Identifier", "start": 19409, "end": 19421, "loc": { "start": { "line": 583, "column": 4 }, "end": { "line": 583, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 19422, "end": 19440, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19422, "end": 19434, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19422, "end": 19426, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 21 } } }, "property": { "type": "Identifier", "start": 19427, "end": 19434, "loc": { "start": { "line": 583, "column": 22 }, "end": { "line": 583, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19435, "end": 19439, "loc": { "start": { "line": 583, "column": 30 }, "end": { "line": 583, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19262, "end": 19294, "loc": { "start": { "line": 576, "column": 2 }, "end": { "line": 578, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19453, "end": 19482, "loc": { "start": { "line": 586, "column": 2 }, "end": { "line": 588, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19486, "end": 20127, "loc": { "start": { "line": 589, "column": 2 }, "end": { "line": 608, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19486, "end": 19497, "loc": { "start": { "line": 589, "column": 2 }, "end": { "line": 589, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19499, "end": 20127, "loc": { "start": { "line": 589, "column": 15 }, "end": { "line": 608, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19506, "end": 20122, "loc": { "start": { "line": 590, "column": 4 }, "end": { "line": 607, "column": 5 } }, "test": { "type": "CallExpression", "start": 19509, "end": 19544, "loc": { "start": { "line": 590, "column": 7 }, "end": { "line": 590, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19509, "end": 19522, "loc": { "start": { "line": 590, "column": 7 }, "end": { "line": 590, "column": 20 } }, "object": { "type": "Identifier", "start": 19509, "end": 19514, "loc": { "start": { "line": 590, "column": 7 }, "end": { "line": 590, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19515, "end": 19522, "loc": { "start": { "line": 590, "column": 13 }, "end": { "line": 590, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19523, "end": 19543, "loc": { "start": { "line": 590, "column": 21 }, "end": { "line": 590, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19523, "end": 19535, "loc": { "start": { "line": 590, "column": 21 }, "end": { "line": 590, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19523, "end": 19527, "loc": { "start": { "line": 590, "column": 21 }, "end": { "line": 590, "column": 25 } } }, "property": { "type": "Identifier", "start": 19528, "end": 19535, "loc": { "start": { "line": 590, "column": 26 }, "end": { "line": 590, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19536, "end": 19543, "loc": { "start": { "line": 590, "column": 34 }, "end": { "line": 590, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19545, "end": 20122, "loc": { "start": { "line": 590, "column": 43 }, "end": { "line": 607, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19554, "end": 19974, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 601, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19554, "end": 19973, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 601, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19554, "end": 19582, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19554, "end": 19574, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19554, "end": 19566, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19554, "end": 19558, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } } }, "property": { "type": "Identifier", "start": 19559, "end": 19566, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19567, "end": 19574, "loc": { "start": { "line": 591, "column": 19 }, "end": { "line": 591, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19575, "end": 19582, "loc": { "start": { "line": 591, "column": 27 }, "end": { "line": 591, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19583, "end": 19972, "loc": { "start": { "line": 591, "column": 35 }, "end": { "line": 601, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19583, "end": 19589, "loc": { "start": { "line": 591, "column": 35 }, "end": { "line": 591, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 19593, "end": 19972, "loc": { "start": { "line": 591, "column": 45 }, "end": { "line": 601, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 19604, "end": 19630, "loc": { "start": { "line": 592, "column": 8 }, "end": { "line": 592, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19608, "end": 19629, "loc": { "start": { "line": 592, "column": 12 }, "end": { "line": 592, "column": 33 } }, "id": { "type": "Identifier", "start": 19608, "end": 19614, "loc": { "start": { "line": 592, "column": 12 }, "end": { "line": 592, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 19617, "end": 19629, "loc": { "start": { "line": 592, "column": 21 }, "end": { "line": 592, "column": 33 } }, "callee": { "type": "Identifier", "start": 19621, "end": 19627, "loc": { "start": { "line": 592, "column": 25 }, "end": { "line": 592, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19642, "end": 19668, "loc": { "start": { "line": 594, "column": 8 }, "end": { "line": 594, "column": 34 } } } ] }, { "type": "IfStatement", "start": 19678, "end": 19933, "loc": { "start": { "line": 595, "column": 8 }, "end": { "line": 598, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19681, "end": 19746, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19681, "end": 19704, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19681, "end": 19699, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 29 } }, "object": { "type": "Identifier", "start": 19681, "end": 19687, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 19688, "end": 19699, "loc": { "start": { "line": 595, "column": 18 }, "end": { "line": 595, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19700, "end": 19704, "loc": { "start": { "line": 595, "column": 30 }, "end": { "line": 595, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 19708, "end": 19746, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19708, "end": 19731, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 61 } }, "object": { "type": "MemberExpression", "start": 19708, "end": 19726, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 56 } }, "object": { "type": "Identifier", "start": 19708, "end": 19714, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19715, "end": 19726, "loc": { "start": { "line": 595, "column": 45 }, "end": { "line": 595, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19727, "end": 19731, "loc": { "start": { "line": 595, "column": 57 }, "end": { "line": 595, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 19736, "end": 19746, "loc": { "start": { "line": 595, "column": 66 }, "end": { "line": 595, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 19747, "end": 19933, "loc": { "start": { "line": 595, "column": 77 }, "end": { "line": 598, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19760, "end": 19837, "loc": { "start": { "line": 596, "column": 10 }, "end": { "line": 596, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19764, "end": 19836, "loc": { "start": { "line": 596, "column": 14 }, "end": { "line": 596, "column": 86 } }, "id": { "type": "Identifier", "start": 19764, "end": 19772, "loc": { "start": { "line": 596, "column": 14 }, "end": { "line": 596, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 19775, "end": 19836, "loc": { "start": { "line": 596, "column": 25 }, "end": { "line": 596, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 19785, "end": 19834, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 19785, "end": 19809, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 59 } }, "object": { "type": "MemberExpression", "start": 19785, "end": 19799, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 49 } }, "object": { "type": "ThisExpression", "start": 19785, "end": 19789, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 39 } } }, "property": { "type": "Identifier", "start": 19790, "end": 19799, "loc": { "start": { "line": 596, "column": 40 }, "end": { "line": 596, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 19800, "end": 19809, "loc": { "start": { "line": 596, "column": 50 }, "end": { "line": 596, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19810, "end": 19833, "loc": { "start": { "line": 596, "column": 60 }, "end": { "line": 596, "column": 83 } }, "object": { "type": "MemberExpression", "start": 19810, "end": 19828, "loc": { "start": { "line": 596, "column": 60 }, "end": { "line": 596, "column": 78 } }, "object": { "type": "Identifier", "start": 19810, "end": 19816, "loc": { "start": { "line": 596, "column": 60 }, "end": { "line": 596, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19817, "end": 19828, "loc": { "start": { "line": 596, "column": 67 }, "end": { "line": 596, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19829, "end": 19833, "loc": { "start": { "line": 596, "column": 79 }, "end": { "line": 596, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 19776, "end": 19783, "loc": { "start": { "line": 596, "column": 26 }, "end": { "line": 596, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 19835, "end": 19835, "loc": { "start": { "line": 596, "column": 85 }, "end": { "line": 596, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 19849, "end": 19922, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 19849, "end": 19921, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19849, "end": 19875, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 36 } }, "object": { "type": "ThisExpression", "start": 19849, "end": 19853, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 14 } } }, "property": { "type": "Identifier", "start": 19854, "end": 19875, "loc": { "start": { "line": 597, "column": 15 }, "end": { "line": 597, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19878, "end": 19921, "loc": { "start": { "line": 597, "column": 39 }, "end": { "line": 597, "column": 82 } }, "left": { "type": "MemberExpression", "start": 19878, "end": 19904, "loc": { "start": { "line": 597, "column": 39 }, "end": { "line": 597, "column": 65 } }, "object": { "type": "ThisExpression", "start": 19878, "end": 19882, "loc": { "start": { "line": 597, "column": 39 }, "end": { "line": 597, "column": 43 } } }, "property": { "type": "Identifier", "start": 19883, "end": 19904, "loc": { "start": { "line": 597, "column": 44 }, "end": { "line": 597, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 19907, "end": 19921, "loc": { "start": { "line": 597, "column": 68 }, "end": { "line": 597, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 19911, "end": 19919, "loc": { "start": { "line": 597, "column": 72 }, "end": { "line": 597, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 19908, "end": 19909, "loc": { "start": { "line": 597, "column": 69 }, "end": { "line": 597, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 19920, "end": 19920, "loc": { "start": { "line": 597, "column": 81 }, "end": { "line": 597, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19642, "end": 19668, "loc": { "start": { "line": 594, "column": 8 }, "end": { "line": 594, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 19945, "end": 19963, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 26 } }, "expression": { "type": "CallExpression", "start": 19945, "end": 19962, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 19945, "end": 19956, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 19 } }, "object": { "type": "Identifier", "start": 19945, "end": 19951, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19952, "end": 19956, "loc": { "start": { "line": 600, "column": 15 }, "end": { "line": 600, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 19957, "end": 19961, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 19984, "end": 20060, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 19984, "end": 20059, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19984, "end": 20010, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 32 } }, "object": { "type": "ThisExpression", "start": 19984, "end": 19988, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 10 } } }, "property": { "type": "Identifier", "start": 19989, "end": 20010, "loc": { "start": { "line": 603, "column": 11 }, "end": { "line": 603, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20013, "end": 20059, "loc": { "start": { "line": 603, "column": 35 }, "end": { "line": 603, "column": 81 } }, "left": { "type": "MemberExpression", "start": 20013, "end": 20039, "loc": { "start": { "line": 603, "column": 35 }, "end": { "line": 603, "column": 61 } }, "object": { "type": "ThisExpression", "start": 20013, "end": 20017, "loc": { "start": { "line": 603, "column": 35 }, "end": { "line": 603, "column": 39 } } }, "property": { "type": "Identifier", "start": 20018, "end": 20039, "loc": { "start": { "line": 603, "column": 40 }, "end": { "line": 603, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 20042, "end": 20059, "loc": { "start": { "line": 603, "column": 64 }, "end": { "line": 603, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 20070, "end": 20084, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 20 } }, "expression": { "type": "CallExpression", "start": 20070, "end": 20083, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 20070, "end": 20081, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 17 } }, "object": { "type": "ThisExpression", "start": 20070, "end": 20074, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 10 } } }, "property": { "type": "Identifier", "start": 20075, "end": 20081, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 20092, "end": 20115, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 29 } }, "expression": { "type": "CallExpression", "start": 20092, "end": 20114, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 20092, "end": 20112, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20092, "end": 20096, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 10 } } }, "property": { "type": "Identifier", "start": 20097, "end": 20112, "loc": { "start": { "line": 606, "column": 11 }, "end": { "line": 606, "column": 26 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19453, "end": 19482, "loc": { "start": { "line": 586, "column": 2 }, "end": { "line": 588, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20133, "end": 20165, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 612, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20169, "end": 20301, "loc": { "start": { "line": 613, "column": 2 }, "end": { "line": 618, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20169, "end": 20182, "loc": { "start": { "line": 613, "column": 2 }, "end": { "line": 613, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20185, "end": 20301, "loc": { "start": { "line": 613, "column": 18 }, "end": { "line": 618, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20186, "end": 20190, "loc": { "start": { "line": 613, "column": 19 }, "end": { "line": 613, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 20192, "end": 20196, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 20201, "end": 20301, "loc": { "start": { "line": 613, "column": 34 }, "end": { "line": 618, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20208, "end": 20252, "loc": { "start": { "line": 614, "column": 4 }, "end": { "line": 615, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 20211, "end": 20230, "loc": { "start": { "line": 614, "column": 7 }, "end": { "line": 614, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 20212, "end": 20230, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20212, "end": 20224, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20212, "end": 20216, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 12 } } }, "property": { "type": "Identifier", "start": 20217, "end": 20224, "loc": { "start": { "line": 614, "column": 13 }, "end": { "line": 614, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20225, "end": 20229, "loc": { "start": { "line": 614, "column": 21 }, "end": { "line": 614, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 20239, "end": 20252, "loc": { "start": { "line": 615, "column": 6 }, "end": { "line": 615, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 20246, "end": 20251, "loc": { "start": { "line": 615, "column": 13 }, "end": { "line": 615, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 20264, "end": 20296, "loc": { "start": { "line": 617, "column": 4 }, "end": { "line": 617, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 20271, "end": 20295, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 35 } }, "object": { "type": "MemberExpression", "start": 20271, "end": 20289, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 29 } }, "object": { "type": "MemberExpression", "start": 20271, "end": 20283, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 23 } }, "object": { "type": "ThisExpression", "start": 20271, "end": 20275, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 15 } } }, "property": { "type": "Identifier", "start": 20276, "end": 20283, "loc": { "start": { "line": 617, "column": 16 }, "end": { "line": 617, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20284, "end": 20288, "loc": { "start": { "line": 617, "column": 24 }, "end": { "line": 617, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 20290, "end": 20294, "loc": { "start": { "line": 617, "column": 30 }, "end": { "line": 617, "column": 34 }, "identifierName": "prop" }, "name": "prop" }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20133, "end": 20165, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 612, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20307, "end": 20338, "loc": { "start": { "line": 620, "column": 2 }, "end": { "line": 622, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20342, "end": 20410, "loc": { "start": { "line": 623, "column": 2 }, "end": { "line": 625, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20342, "end": 20356, "loc": { "start": { "line": 623, "column": 2 }, "end": { "line": 623, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20359, "end": 20410, "loc": { "start": { "line": 623, "column": 19 }, "end": { "line": 625, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20365, "end": 20410, "loc": { "start": { "line": 623, "column": 25 }, "end": { "line": 625, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 20372, "end": 20405, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 37 } }, "argument": { "type": "CallExpression", "start": 20379, "end": 20404, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 20379, "end": 20390, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 22 } }, "object": { "type": "Identifier", "start": 20379, "end": 20385, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 20386, "end": 20390, "loc": { "start": { "line": 624, "column": 18 }, "end": { "line": 624, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20391, "end": 20403, "loc": { "start": { "line": 624, "column": 23 }, "end": { "line": 624, "column": 35 } }, "object": { "type": "ThisExpression", "start": 20391, "end": 20395, "loc": { "start": { "line": 624, "column": 23 }, "end": { "line": 624, "column": 27 } } }, "property": { "type": "Identifier", "start": 20396, "end": 20403, "loc": { "start": { "line": 624, "column": 28 }, "end": { "line": 624, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20307, "end": 20338, "loc": { "start": { "line": 620, "column": 2 }, "end": { "line": 622, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20416, "end": 20472, "loc": { "start": { "line": 627, "column": 2 }, "end": { "line": 629, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20476, "end": 24873, "loc": { "start": { "line": 630, "column": 2 }, "end": { "line": 775, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20476, "end": 20482, "loc": { "start": { "line": 630, "column": 2 }, "end": { "line": 630, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20484, "end": 24873, "loc": { "start": { "line": 630, "column": 10 }, "end": { "line": 775, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 20532, "end": 20545, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 17 } }, "expression": { "type": "CallExpression", "start": 20532, "end": 20544, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 20532, "end": 20542, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 14 } }, "object": { "type": "ThisExpression", "start": 20532, "end": 20536, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20537, "end": 20542, "loc": { "start": { "line": 634, "column": 9 }, "end": { "line": 634, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20491, "end": 20526, "loc": { "start": { "line": 631, "column": 4 }, "end": { "line": 633, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20553, "end": 20653, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20557, "end": 20652, "loc": { "start": { "line": 636, "column": 8 }, "end": { "line": 636, "column": 103 } }, "id": { "type": "Identifier", "start": 20557, "end": 20568, "loc": { "start": { "line": 636, "column": 8 }, "end": { "line": 636, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 20571, "end": 20652, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 103 } }, "test": { "type": "MemberExpression", "start": 20571, "end": 20590, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20571, "end": 20583, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20571, "end": 20575, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 26 } } }, "property": { "type": "Identifier", "start": 20576, "end": 20583, "loc": { "start": { "line": 636, "column": 27 }, "end": { "line": 636, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20584, "end": 20590, "loc": { "start": { "line": 636, "column": 35 }, "end": { "line": 636, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 20593, "end": 20611, "loc": { "start": { "line": 636, "column": 44 }, "end": { "line": 636, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 20614, "end": 20652, "loc": { "start": { "line": 636, "column": 65 }, "end": { "line": 636, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 20627, "end": 20650, "loc": { "start": { "line": 636, "column": 78 }, "end": { "line": 636, "column": 101 } }, "object": { "type": "MemberExpression", "start": 20627, "end": 20639, "loc": { "start": { "line": 636, "column": 78 }, "end": { "line": 636, "column": 90 } }, "object": { "type": "ThisExpression", "start": 20627, "end": 20631, "loc": { "start": { "line": 636, "column": 78 }, "end": { "line": 636, "column": 82 } } }, "property": { "type": "Identifier", "start": 20632, "end": 20639, "loc": { "start": { "line": 636, "column": 83 }, "end": { "line": 636, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20640, "end": 20650, "loc": { "start": { "line": 636, "column": 91 }, "end": { "line": 636, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20615, "end": 20625, "loc": { "start": { "line": 636, "column": 66 }, "end": { "line": 636, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 20651, "end": 20651, "loc": { "start": { "line": 636, "column": 102 }, "end": { "line": 636, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 20659, "end": 20729, "loc": { "start": { "line": 637, "column": 4 }, "end": { "line": 637, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20663, "end": 20728, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 73 } }, "id": { "type": "Identifier", "start": 20663, "end": 20669, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 20672, "end": 20728, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 73 } }, "left": { "type": "MemberExpression", "start": 20672, "end": 20691, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 36 } }, "object": { "type": "MemberExpression", "start": 20672, "end": 20684, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20672, "end": 20676, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 21 } } }, "property": { "type": "Identifier", "start": 20677, "end": 20684, "loc": { "start": { "line": 637, "column": 22 }, "end": { "line": 637, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20685, "end": 20691, "loc": { "start": { "line": 637, "column": 30 }, "end": { "line": 637, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 20695, "end": 20728, "loc": { "start": { "line": 637, "column": 40 }, "end": { "line": 637, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 20695, "end": 20726, "loc": { "start": { "line": 637, "column": 40 }, "end": { "line": 637, "column": 71 } }, "object": { "type": "Identifier", "start": 20695, "end": 20709, "loc": { "start": { "line": 637, "column": 40 }, "end": { "line": 637, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 20710, "end": 20726, "loc": { "start": { "line": 637, "column": 55 }, "end": { "line": 637, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20737, "end": 20789, "loc": { "start": { "line": 639, "column": 4 }, "end": { "line": 641, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20795, "end": 20823, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 642, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20799, "end": 20822, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 31 } }, "id": { "type": "Identifier", "start": 20799, "end": 20817, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 20820, "end": 20822, "loc": { "start": { "line": 642, "column": 29 }, "end": { "line": 642, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20737, "end": 20789, "loc": { "start": { "line": 639, "column": 4 }, "end": { "line": 641, "column": 7 } } } ] }, { "type": "IfStatement", "start": 20829, "end": 21968, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 671, "column": 5 } }, "test": { "type": "CallExpression", "start": 20832, "end": 20871, "loc": { "start": { "line": 643, "column": 7 }, "end": { "line": 643, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 20832, "end": 20845, "loc": { "start": { "line": 643, "column": 7 }, "end": { "line": 643, "column": 20 } }, "object": { "type": "Identifier", "start": 20832, "end": 20837, "loc": { "start": { "line": 643, "column": 7 }, "end": { "line": 643, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 20838, "end": 20845, "loc": { "start": { "line": 643, "column": 13 }, "end": { "line": 643, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20846, "end": 20870, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 45 } }, "object": { "type": "MemberExpression", "start": 20846, "end": 20858, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 33 } }, "object": { "type": "ThisExpression", "start": 20846, "end": 20850, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 25 } } }, "property": { "type": "Identifier", "start": 20851, "end": 20858, "loc": { "start": { "line": 643, "column": 26 }, "end": { "line": 643, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20859, "end": 20870, "loc": { "start": { "line": 643, "column": 34 }, "end": { "line": 643, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 20872, "end": 21968, "loc": { "start": { "line": 643, "column": 47 }, "end": { "line": 671, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 20881, "end": 21961, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 670, "column": 9 } }, "expression": { "type": "CallExpression", "start": 20881, "end": 21960, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 670, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 20881, "end": 20913, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 38 } }, "object": { "type": "MemberExpression", "start": 20881, "end": 20905, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20881, "end": 20893, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20881, "end": 20885, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 10 } } }, "property": { "type": "Identifier", "start": 20886, "end": 20893, "loc": { "start": { "line": 644, "column": 11 }, "end": { "line": 644, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20894, "end": 20905, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 644, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 20906, "end": 20913, "loc": { "start": { "line": 644, "column": 31 }, "end": { "line": 644, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20914, "end": 21959, "loc": { "start": { "line": 644, "column": 39 }, "end": { "line": 670, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20914, "end": 20922, "loc": { "start": { "line": 644, "column": 39 }, "end": { "line": 644, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 20926, "end": 21959, "loc": { "start": { "line": 644, "column": 51 }, "end": { "line": 670, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 20937, "end": 21950, "loc": { "start": { "line": 645, "column": 8 }, "end": { "line": 669, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 20940, "end": 20974, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 45 } }, "left": { "type": "MemberExpression", "start": 20940, "end": 20956, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 27 } }, "object": { "type": "Identifier", "start": 20940, "end": 20948, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20949, "end": 20956, "loc": { "start": { "line": 645, "column": 20 }, "end": { "line": 645, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 20960, "end": 20974, "loc": { "start": { "line": 645, "column": 31 }, "end": { "line": 645, "column": 45 } }, "object": { "type": "Identifier", "start": 20960, "end": 20968, "loc": { "start": { "line": 645, "column": 31 }, "end": { "line": 645, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20969, "end": 20974, "loc": { "start": { "line": 645, "column": 40 }, "end": { "line": 645, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 20975, "end": 21816, "loc": { "start": { "line": 645, "column": 46 }, "end": { "line": 667, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20988, "end": 21005, "loc": { "start": { "line": 646, "column": 10 }, "end": { "line": 646, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20992, "end": 21004, "loc": { "start": { "line": 646, "column": 14 }, "end": { "line": 646, "column": 26 } }, "id": { "type": "Identifier", "start": 20992, "end": 21004, "loc": { "start": { "line": 646, "column": 14 }, "end": { "line": 646, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 21019, "end": 21130, "loc": { "start": { "line": 648, "column": 10 }, "end": { "line": 650, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 21022, "end": 21058, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 21022, "end": 21045, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 21029, "end": 21045, "loc": { "start": { "line": 648, "column": 20 }, "end": { "line": 648, "column": 36 } }, "object": { "type": "Identifier", "start": 21029, "end": 21037, "loc": { "start": { "line": 648, "column": 20 }, "end": { "line": 648, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21038, "end": 21045, "loc": { "start": { "line": 648, "column": 29 }, "end": { "line": 648, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 21050, "end": 21058, "loc": { "start": { "line": 648, "column": 41 }, "end": { "line": 648, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 21059, "end": 21130, "loc": { "start": { "line": 648, "column": 50 }, "end": { "line": 650, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21074, "end": 21117, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 21074, "end": 21116, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 21074, "end": 21086, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 21089, "end": 21116, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 21089, "end": 21111, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 49 } }, "object": { "type": "MemberExpression", "start": 21089, "end": 21105, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 43 } }, "object": { "type": "Identifier", "start": 21089, "end": 21097, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21098, "end": 21105, "loc": { "start": { "line": 649, "column": 36 }, "end": { "line": 649, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 21106, "end": 21111, "loc": { "start": { "line": 649, "column": 44 }, "end": { "line": 649, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21112, "end": 21115, "loc": { "start": { "line": 649, "column": 50 }, "end": { "line": 649, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 21144, "end": 21805, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 666, "column": 11 } }, "test": { "type": "Identifier", "start": 21147, "end": 21159, "loc": { "start": { "line": 652, "column": 13 }, "end": { "line": 652, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 21160, "end": 21805, "loc": { "start": { "line": 652, "column": 26 }, "end": { "line": 666, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21175, "end": 21792, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 665, "column": 15 } }, "expression": { "type": "CallExpression", "start": 21175, "end": 21791, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 665, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 21175, "end": 21195, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 653, "column": 32 } }, "object": { "type": "Identifier", "start": 21175, "end": 21187, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 653, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 21188, "end": 21195, "loc": { "start": { "line": 653, "column": 25 }, "end": { "line": 653, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21196, "end": 21790, "loc": { "start": { "line": 653, "column": 33 }, "end": { "line": 665, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21196, "end": 21207, "loc": { "start": { "line": 653, "column": 33 }, "end": { "line": 653, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 21211, "end": 21790, "loc": { "start": { "line": 653, "column": 48 }, "end": { "line": 665, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 21228, "end": 21278, "loc": { "start": { "line": 654, "column": 14 }, "end": { "line": 654, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21232, "end": 21277, "loc": { "start": { "line": 654, "column": 18 }, "end": { "line": 654, "column": 63 } }, "id": { "type": "Identifier", "start": 21232, "end": 21243, "loc": { "start": { "line": 654, "column": 18 }, "end": { "line": 654, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 21246, "end": 21277, "loc": { "start": { "line": 654, "column": 32 }, "end": { "line": 654, "column": 63 } }, "object": { "type": "Identifier", "start": 21246, "end": 21264, "loc": { "start": { "line": 654, "column": 32 }, "end": { "line": 654, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21265, "end": 21276, "loc": { "start": { "line": 654, "column": 51 }, "end": { "line": 654, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21296, "end": 21335, "loc": { "start": { "line": 656, "column": 14 }, "end": { "line": 656, "column": 53 } } } ] }, { "type": "IfStatement", "start": 21351, "end": 21775, "loc": { "start": { "line": 657, "column": 14 }, "end": { "line": 664, "column": 15 } }, "test": { "type": "Identifier", "start": 21354, "end": 21365, "loc": { "start": { "line": 657, "column": 17 }, "end": { "line": 657, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21366, "end": 21684, "loc": { "start": { "line": 657, "column": 29 }, "end": { "line": 662, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 21486, "end": 21667, "loc": { "start": { "line": 659, "column": 16 }, "end": { "line": 661, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 21489, "end": 21557, "loc": { "start": { "line": 659, "column": 19 }, "end": { "line": 659, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 21490, "end": 21557, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 21490, "end": 21517, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 47 } }, "object": { "type": "MemberExpression", "start": 21490, "end": 21504, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21490, "end": 21494, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21495, "end": 21504, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21505, "end": 21517, "loc": { "start": { "line": 659, "column": 35 }, "end": { "line": 659, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 21518, "end": 21540, "loc": { "start": { "line": 659, "column": 48 }, "end": { "line": 659, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 21518, "end": 21535, "loc": { "start": { "line": 659, "column": 48 }, "end": { "line": 659, "column": 65 } }, "object": { "type": "Identifier", "start": 21518, "end": 21529, "loc": { "start": { "line": 659, "column": 48 }, "end": { "line": 659, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 21530, "end": 21535, "loc": { "start": { "line": 659, "column": 60 }, "end": { "line": 659, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21536, "end": 21539, "loc": { "start": { "line": 659, "column": 66 }, "end": { "line": 659, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 21542, "end": 21556, "loc": { "start": { "line": 659, "column": 72 }, "end": { "line": 659, "column": 86 } }, "object": { "type": "Identifier", "start": 21542, "end": 21550, "loc": { "start": { "line": 659, "column": 72 }, "end": { "line": 659, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21551, "end": 21556, "loc": { "start": { "line": 659, "column": 81 }, "end": { "line": 659, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21558, "end": 21667, "loc": { "start": { "line": 659, "column": 88 }, "end": { "line": 661, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 21579, "end": 21648, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 21579, "end": 21647, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21579, "end": 21610, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 49 } }, "object": { "type": "Identifier", "start": 21579, "end": 21597, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21598, "end": 21609, "loc": { "start": { "line": 660, "column": 37 }, "end": { "line": 660, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 21613, "end": 21647, "loc": { "start": { "line": 660, "column": 52 }, "end": { "line": 660, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 21616, "end": 21627, "loc": { "start": { "line": 660, "column": 55 }, "end": { "line": 660, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 21631, "end": 21645, "loc": { "start": { "line": 660, "column": 70 }, "end": { "line": 660, "column": 84 } }, "object": { "type": "Identifier", "start": 21631, "end": 21639, "loc": { "start": { "line": 660, "column": 70 }, "end": { "line": 660, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21640, "end": 21645, "loc": { "start": { "line": 660, "column": 79 }, "end": { "line": 660, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21614, "end": 21614, "loc": { "start": { "line": 660, "column": 53 }, "end": { "line": 660, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21628, "end": 21629, "loc": { "start": { "line": 660, "column": 67 }, "end": { "line": 660, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21646, "end": 21646, "loc": { "start": { "line": 660, "column": 85 }, "end": { "line": 660, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 21385, "end": 21468, "loc": { "start": { "line": 658, "column": 16 }, "end": { "line": 658, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21690, "end": 21775, "loc": { "start": { "line": 662, "column": 21 }, "end": { "line": 664, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 21709, "end": 21758, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 21709, "end": 21757, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21709, "end": 21740, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 47 } }, "object": { "type": "Identifier", "start": 21709, "end": 21727, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21728, "end": 21739, "loc": { "start": { "line": 663, "column": 35 }, "end": { "line": 663, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 21743, "end": 21757, "loc": { "start": { "line": 663, "column": 50 }, "end": { "line": 663, "column": 64 } }, "object": { "type": "Identifier", "start": 21743, "end": 21751, "loc": { "start": { "line": 663, "column": 50 }, "end": { "line": 663, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21752, "end": 21757, "loc": { "start": { "line": 663, "column": 59 }, "end": { "line": 663, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21296, "end": 21335, "loc": { "start": { "line": 656, "column": 14 }, "end": { "line": 656, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21822, "end": 21950, "loc": { "start": { "line": 667, "column": 15 }, "end": { "line": 669, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 21835, "end": 21939, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 114 } }, "expression": { "type": "CallExpression", "start": 21835, "end": 21939, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 21835, "end": 21847, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 22 } }, "object": { "type": "Identifier", "start": 21835, "end": 21842, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 21843, "end": 21847, "loc": { "start": { "line": 668, "column": 18 }, "end": { "line": 668, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 21848, "end": 21938, "loc": { "start": { "line": 668, "column": 23 }, "end": { "line": 668, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 21849, "end": 21937, "loc": { "start": { "line": 668, "column": 24 }, "end": { "line": 668, "column": 112 } }, "value": { "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." }, "tail": true } ] } ] } } ], "directives": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21976, "end": 22042, "loc": { "start": { "line": 673, "column": 4 }, "end": { "line": 675, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22048, "end": 22148, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 22048, "end": 22147, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22048, "end": 22074, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 30 } }, "object": { "type": "MemberExpression", "start": 22048, "end": 22064, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 20 } }, "object": { "type": "ThisExpression", "start": 22048, "end": 22052, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22053, "end": 22064, "loc": { "start": { "line": 676, "column": 9 }, "end": { "line": 676, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22065, "end": 22074, "loc": { "start": { "line": 676, "column": 21 }, "end": { "line": 676, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 22078, "end": 22147, "loc": { "start": { "line": 676, "column": 34 }, "end": { "line": 676, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 22082, "end": 22100, "loc": { "start": { "line": 676, "column": 38 }, "end": { "line": 676, "column": 56 } }, "object": { "type": "MemberExpression", "start": 22082, "end": 22094, "loc": { "start": { "line": 676, "column": 38 }, "end": { "line": 676, "column": 50 } }, "object": { "type": "ThisExpression", "start": 22082, "end": 22086, "loc": { "start": { "line": 676, "column": 38 }, "end": { "line": 676, "column": 42 } } }, "property": { "type": "Identifier", "start": 22087, "end": 22094, "loc": { "start": { "line": 676, "column": 43 }, "end": { "line": 676, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22095, "end": 22100, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 22104, "end": 22115, "loc": { "start": { "line": 676, "column": 60 }, "end": { "line": 676, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 22119, "end": 22145, "loc": { "start": { "line": 676, "column": 75 }, "end": { "line": 676, "column": 101 } }, "object": { "type": "ThisExpression", "start": 22119, "end": 22123, "loc": { "start": { "line": 676, "column": 75 }, "end": { "line": 676, "column": 79 } } }, "property": { "type": "Identifier", "start": 22124, "end": 22145, "loc": { "start": { "line": 676, "column": 80 }, "end": { "line": 676, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22079, "end": 22080, "loc": { "start": { "line": 676, "column": 35 }, "end": { "line": 676, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22101, "end": 22102, "loc": { "start": { "line": 676, "column": 57 }, "end": { "line": 676, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22116, "end": 22117, "loc": { "start": { "line": 676, "column": 72 }, "end": { "line": 676, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22146, "end": 22146, "loc": { "start": { "line": 676, "column": 102 }, "end": { "line": 676, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21976, "end": 22042, "loc": { "start": { "line": 673, "column": 4 }, "end": { "line": 675, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22156, "end": 22203, "loc": { "start": { "line": 678, "column": 4 }, "end": { "line": 680, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22209, "end": 24466, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 752, "column": 7 } }, "expression": { "type": "CallExpression", "start": 22209, "end": 24465, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 752, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 22209, "end": 22248, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 681, "column": 43 } }, "object": { "type": "MemberExpression", "start": 22209, "end": 22240, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 681, "column": 35 } }, "object": { "type": "Identifier", "start": 22209, "end": 22215, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 681, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 22216, "end": 22239, "loc": { "start": { "line": 681, "column": 11 }, "end": { "line": 681, "column": 34 } }, "object": { "type": "MemberExpression", "start": 22216, "end": 22228, "loc": { "start": { "line": 681, "column": 11 }, "end": { "line": 681, "column": 23 } }, "object": { "type": "ThisExpression", "start": 22216, "end": 22220, "loc": { "start": { "line": 681, "column": 11 }, "end": { "line": 681, "column": 15 } } }, "property": { "type": "Identifier", "start": 22221, "end": 22228, "loc": { "start": { "line": 681, "column": 16 }, "end": { "line": 681, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22229, "end": 22239, "loc": { "start": { "line": 681, "column": 24 }, "end": { "line": 681, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 22241, "end": 22248, "loc": { "start": { "line": 681, "column": 36 }, "end": { "line": 681, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22249, "end": 24464, "loc": { "start": { "line": 681, "column": 44 }, "end": { "line": 752, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22250, "end": 22253, "loc": { "start": { "line": 681, "column": 45 }, "end": { "line": 681, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 22255, "end": 22261, "loc": { "start": { "line": 681, "column": 50 }, "end": { "line": 681, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 22266, "end": 24464, "loc": { "start": { "line": 681, "column": 61 }, "end": { "line": 752, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 22275, "end": 22305, "loc": { "start": { "line": 682, "column": 6 }, "end": { "line": 682, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22279, "end": 22304, "loc": { "start": { "line": 682, "column": 10 }, "end": { "line": 682, "column": 35 } }, "id": { "type": "Identifier", "start": 22279, "end": 22287, "loc": { "start": { "line": 682, "column": 10 }, "end": { "line": 682, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 22290, "end": 22304, "loc": { "start": { "line": 682, "column": 21 }, "end": { "line": 682, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 22290, "end": 22299, "loc": { "start": { "line": 682, "column": 21 }, "end": { "line": 682, "column": 30 } }, "object": { "type": "Identifier", "start": 22290, "end": 22293, "loc": { "start": { "line": 682, "column": 21 }, "end": { "line": 682, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 22294, "end": 22299, "loc": { "start": { "line": 682, "column": 25 }, "end": { "line": 682, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22300, "end": 22303, "loc": { "start": { "line": 682, "column": 31 }, "end": { "line": 682, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22315, "end": 22358, "loc": { "start": { "line": 684, "column": 6 }, "end": { "line": 686, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 22366, "end": 22409, "loc": { "start": { "line": 687, "column": 6 }, "end": { "line": 687, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22370, "end": 22408, "loc": { "start": { "line": 687, "column": 10 }, "end": { "line": 687, "column": 48 } }, "id": { "type": "Identifier", "start": 22370, "end": 22376, "loc": { "start": { "line": 687, "column": 10 }, "end": { "line": 687, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22379, "end": 22408, "loc": { "start": { "line": 687, "column": 19 }, "end": { "line": 687, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 22379, "end": 22401, "loc": { "start": { "line": 687, "column": 19 }, "end": { "line": 687, "column": 41 } }, "object": { "type": "Identifier", "start": 22379, "end": 22387, "loc": { "start": { "line": 687, "column": 19 }, "end": { "line": 687, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22388, "end": 22401, "loc": { "start": { "line": 687, "column": 28 }, "end": { "line": 687, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22402, "end": 22407, "loc": { "start": { "line": 687, "column": 42 }, "end": { "line": 687, "column": 47 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22315, "end": 22358, "loc": { "start": { "line": 684, "column": 6 }, "end": { "line": 686, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22417, "end": 22446, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 22417, "end": 22445, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22417, "end": 22433, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 22 } }, "object": { "type": "Identifier", "start": 22417, "end": 22423, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 22424, "end": 22433, "loc": { "start": { "line": 688, "column": 13 }, "end": { "line": 688, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 22437, "end": 22445, "loc": { "start": { "line": 688, "column": 26 }, "end": { "line": 688, "column": 34 } }, "extra": { "rawValue": "hg-row", "raw": "\"hg-row\"" }, "value": "hg-row" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22456, "end": 22517, "loc": { "start": { "line": 690, "column": 6 }, "end": { "line": 692, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22525, "end": 24352, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 746, "column": 9 } }, "expression": { "type": "CallExpression", "start": 22525, "end": 24351, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 746, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 22525, "end": 22541, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 693, "column": 22 } }, "object": { "type": "Identifier", "start": 22525, "end": 22533, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 693, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 22534, "end": 22541, "loc": { "start": { "line": 693, "column": 15 }, "end": { "line": 693, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22542, "end": 24350, "loc": { "start": { "line": 693, "column": 23 }, "end": { "line": 746, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22543, "end": 22549, "loc": { "start": { "line": 693, "column": 24 }, "end": { "line": 693, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22551, "end": 22557, "loc": { "start": { "line": 693, "column": 32 }, "end": { "line": 693, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 22562, "end": 24350, "loc": { "start": { "line": 693, "column": 43 }, "end": { "line": 746, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 22573, "end": 22629, "loc": { "start": { "line": 694, "column": 8 }, "end": { "line": 694, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22577, "end": 22628, "loc": { "start": { "line": 694, "column": 12 }, "end": { "line": 694, "column": 63 } }, "id": { "type": "Identifier", "start": 22577, "end": 22588, "loc": { "start": { "line": 694, "column": 12 }, "end": { "line": 694, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 22591, "end": 22628, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 22591, "end": 22620, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 55 } }, "object": { "type": "MemberExpression", "start": 22591, "end": 22605, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 40 } }, "object": { "type": "ThisExpression", "start": 22591, "end": 22595, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 30 } } }, "property": { "type": "Identifier", "start": 22596, "end": 22605, "loc": { "start": { "line": 694, "column": 31 }, "end": { "line": 694, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22606, "end": 22620, "loc": { "start": { "line": 694, "column": 41 }, "end": { "line": 694, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22621, "end": 22627, "loc": { "start": { "line": 694, "column": 56 }, "end": { "line": 694, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22639, "end": 22689, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 695, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22643, "end": 22688, "loc": { "start": { "line": 695, "column": 12 }, "end": { "line": 695, "column": 57 } }, "id": { "type": "Identifier", "start": 22643, "end": 22659, "loc": { "start": { "line": 695, "column": 12 }, "end": { "line": 695, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 22662, "end": 22688, "loc": { "start": { "line": 695, "column": 31 }, "end": { "line": 695, "column": 57 } }, "object": { "type": "Identifier", "start": 22662, "end": 22680, "loc": { "start": { "line": 695, "column": 31 }, "end": { "line": 695, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22681, "end": 22687, "loc": { "start": { "line": 695, "column": 50 }, "end": { "line": 695, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22699, "end": 22816, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22703, "end": 22815, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 124 } }, "id": { "type": "Identifier", "start": 22703, "end": 22720, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 22723, "end": 22815, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 22723, "end": 22758, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 67 } }, "object": { "type": "MemberExpression", "start": 22723, "end": 22737, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 46 } }, "object": { "type": "ThisExpression", "start": 22723, "end": 22727, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 36 } } }, "property": { "type": "Identifier", "start": 22728, "end": 22737, "loc": { "start": { "line": 696, "column": 37 }, "end": { "line": 696, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22738, "end": 22758, "loc": { "start": { "line": 696, "column": 47 }, "end": { "line": 696, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22759, "end": 22765, "loc": { "start": { "line": 696, "column": 68 }, "end": { "line": 696, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 22767, "end": 22787, "loc": { "start": { "line": 696, "column": 76 }, "end": { "line": 696, "column": 96 } }, "object": { "type": "MemberExpression", "start": 22767, "end": 22779, "loc": { "start": { "line": 696, "column": 76 }, "end": { "line": 696, "column": 88 } }, "object": { "type": "ThisExpression", "start": 22767, "end": 22771, "loc": { "start": { "line": 696, "column": 76 }, "end": { "line": 696, "column": 80 } } }, "property": { "type": "Identifier", "start": 22772, "end": 22779, "loc": { "start": { "line": 696, "column": 81 }, "end": { "line": 696, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22780, "end": 22787, "loc": { "start": { "line": 696, "column": 89 }, "end": { "line": 696, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 22789, "end": 22814, "loc": { "start": { "line": 696, "column": 98 }, "end": { "line": 696, "column": 123 } }, "object": { "type": "MemberExpression", "start": 22789, "end": 22801, "loc": { "start": { "line": 696, "column": 98 }, "end": { "line": 696, "column": 110 } }, "object": { "type": "ThisExpression", "start": 22789, "end": 22793, "loc": { "start": { "line": 696, "column": 98 }, "end": { "line": 696, "column": 102 } } }, "property": { "type": "Identifier", "start": 22794, "end": 22801, "loc": { "start": { "line": 696, "column": 103 }, "end": { "line": 696, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22802, "end": 22814, "loc": { "start": { "line": 696, "column": 111 }, "end": { "line": 696, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22828, "end": 22872, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22882, "end": 22928, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22886, "end": 22927, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 53 } }, "id": { "type": "Identifier", "start": 22886, "end": 22895, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22898, "end": 22927, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 22898, "end": 22920, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 46 } }, "object": { "type": "Identifier", "start": 22898, "end": 22906, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22907, "end": 22920, "loc": { "start": { "line": 701, "column": 33 }, "end": { "line": 701, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22921, "end": 22926, "loc": { "start": { "line": 701, "column": 47 }, "end": { "line": 701, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22828, "end": 22872, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22938, "end": 23035, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 22938, "end": 23034, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22938, "end": 22957, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 27 } }, "object": { "type": "Identifier", "start": 22938, "end": 22947, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22948, "end": 22957, "loc": { "start": { "line": 702, "column": 18 }, "end": { "line": 702, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 22961, "end": 23034, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 22974, "end": 22985, "loc": { "start": { "line": 702, "column": 44 }, "end": { "line": 702, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 22988, "end": 23032, "loc": { "start": { "line": 702, "column": 58 }, "end": { "line": 702, "column": 102 } }, "test": { "type": "Identifier", "start": 22988, "end": 23004, "loc": { "start": { "line": 702, "column": 58 }, "end": { "line": 702, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 23007, "end": 23027, "loc": { "start": { "line": 702, "column": 77 }, "end": { "line": 702, "column": 97 } }, "left": { "type": "StringLiteral", "start": 23007, "end": 23010, "loc": { "start": { "line": 702, "column": 77 }, "end": { "line": 702, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 23011, "end": 23027, "loc": { "start": { "line": 702, "column": 81 }, "end": { "line": 702, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 23030, "end": 23032, "loc": { "start": { "line": 702, "column": 100 }, "end": { "line": 702, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 22962, "end": 22972, "loc": { "start": { "line": 702, "column": 32 }, "end": { "line": 702, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 22986, "end": 22986, "loc": { "start": { "line": 702, "column": 56 }, "end": { "line": 702, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23033, "end": 23033, "loc": { "start": { "line": 702, "column": 103 }, "end": { "line": 702, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 23045, "end": 23165, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 706, "column": 9 } }, "expression": { "type": "AssignmentExpression", "start": 23045, "end": 23165, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 706, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23045, "end": 23062, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 25 } }, "object": { "type": "Identifier", "start": 23045, "end": 23054, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23055, "end": 23062, "loc": { "start": { "line": 703, "column": 18 }, "end": { "line": 703, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23065, "end": 23165, "loc": { "start": { "line": 703, "column": 28 }, "end": { "line": 706, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 23071, "end": 23165, "loc": { "start": { "line": 703, "column": 34 }, "end": { "line": 706, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23084, "end": 23109, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 23084, "end": 23108, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23084, "end": 23100, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 26 } }, "object": { "type": "ThisExpression", "start": 23084, "end": 23088, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 14 } } }, "property": { "type": "Identifier", "start": 23089, "end": 23100, "loc": { "start": { "line": 704, "column": 15 }, "end": { "line": 704, "column": 26 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 23103, "end": 23108, "loc": { "start": { "line": 704, "column": 29 }, "end": { "line": 704, "column": 34 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 23121, "end": 23154, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23121, "end": 23153, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23121, "end": 23145, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 34 } }, "object": { "type": "ThisExpression", "start": 23121, "end": 23125, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 14 } } }, "property": { "type": "Identifier", "start": 23126, "end": 23145, "loc": { "start": { "line": 705, "column": 15 }, "end": { "line": 705, "column": 34 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23146, "end": 23152, "loc": { "start": { "line": 705, "column": 35 }, "end": { "line": 705, "column": 41 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 23175, "end": 23244, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 23175, "end": 23243, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23175, "end": 23196, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 29 } }, "object": { "type": "Identifier", "start": 23175, "end": 23184, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23185, "end": 23196, "loc": { "start": { "line": 707, "column": 18 }, "end": { "line": 707, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23199, "end": 23243, "loc": { "start": { "line": 707, "column": 32 }, "end": { "line": 707, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 23200, "end": 23201, "loc": { "start": { "line": 707, "column": 33 }, "end": { "line": 707, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 23206, "end": 23243, "loc": { "start": { "line": 707, "column": 39 }, "end": { "line": 707, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 23206, "end": 23232, "loc": { "start": { "line": 707, "column": 39 }, "end": { "line": 707, "column": 65 } }, "object": { "type": "ThisExpression", "start": 23206, "end": 23210, "loc": { "start": { "line": 707, "column": 39 }, "end": { "line": 707, "column": 43 } } }, "property": { "type": "Identifier", "start": 23211, "end": 23232, "loc": { "start": { "line": 707, "column": 44 }, "end": { "line": 707, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23233, "end": 23239, "loc": { "start": { "line": 707, "column": 66 }, "end": { "line": 707, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 23241, "end": 23242, "loc": { "start": { "line": 707, "column": 74 }, "end": { "line": 707, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 23256, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23312, "end": 23357, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 53 } }, "expression": { "type": "CallExpression", "start": 23312, "end": 23356, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 23312, "end": 23334, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 30 } }, "object": { "type": "Identifier", "start": 23312, "end": 23321, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23322, "end": 23334, "loc": { "start": { "line": 712, "column": 18 }, "end": { "line": 712, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 23335, "end": 23347, "loc": { "start": { "line": 712, "column": 31 }, "end": { "line": 712, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 23349, "end": 23355, "loc": { "start": { "line": 712, "column": 45 }, "end": { "line": 712, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 23256, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 23369, "end": 23524, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 717, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23534, "end": 23600, "loc": { "start": { "line": 718, "column": 8 }, "end": { "line": 718, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23538, "end": 23599, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 73 } }, "id": { "type": "Identifier", "start": 23538, "end": 23547, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 23550, "end": 23599, "loc": { "start": { "line": 718, "column": 24 }, "end": { "line": 718, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 23553, "end": 23576, "loc": { "start": { "line": 718, "column": 27 }, "end": { "line": 718, "column": 50 } }, "object": { "type": "MemberExpression", "start": 23553, "end": 23565, "loc": { "start": { "line": 718, "column": 27 }, "end": { "line": 718, "column": 39 } }, "object": { "type": "ThisExpression", "start": 23553, "end": 23557, "loc": { "start": { "line": 718, "column": 27 }, "end": { "line": 718, "column": 31 } } }, "property": { "type": "Identifier", "start": 23558, "end": 23565, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23566, "end": 23576, "loc": { "start": { "line": 718, "column": 40 }, "end": { "line": 718, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 23581, "end": 23587, "loc": { "start": { "line": 718, "column": 55 }, "end": { "line": 718, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 23591, "end": 23597, "loc": { "start": { "line": 718, "column": 65 }, "end": { "line": 718, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 23551, "end": 23551, "loc": { "start": { "line": 718, "column": 25 }, "end": { "line": 718, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23577, "end": 23579, "loc": { "start": { "line": 718, "column": 51 }, "end": { "line": 718, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 23588, "end": 23589, "loc": { "start": { "line": 718, "column": 62 }, "end": { "line": 718, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 23598, "end": 23598, "loc": { "start": { "line": 718, "column": 72 }, "end": { "line": 718, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 23369, "end": 23524, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 717, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23610, "end": 23661, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 59 } }, "expression": { "type": "CallExpression", "start": 23610, "end": 23660, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23610, "end": 23632, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 30 } }, "object": { "type": "Identifier", "start": 23610, "end": 23619, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23620, "end": 23632, "loc": { "start": { "line": 719, "column": 18 }, "end": { "line": 719, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23633, "end": 23648, "loc": { "start": { "line": 719, "column": 31 }, "end": { "line": 719, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 23650, "end": 23659, "loc": { "start": { "line": 719, "column": 48 }, "end": { "line": 719, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23673, "end": 23722, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 723, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23732, "end": 23795, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 71 } }, "expression": { "type": "CallExpression", "start": 23732, "end": 23794, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 23732, "end": 23754, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 30 } }, "object": { "type": "Identifier", "start": 23732, "end": 23741, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23742, "end": 23754, "loc": { "start": { "line": 724, "column": 18 }, "end": { "line": 724, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 23755, "end": 23774, "loc": { "start": { "line": 724, "column": 31 }, "end": { "line": 724, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 23776, "end": 23793, "loc": { "start": { "line": 724, "column": 52 }, "end": { "line": 724, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23673, "end": 23722, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 723, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23807, "end": 23865, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 728, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23875, "end": 23926, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 729, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23879, "end": 23925, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 58 } }, "id": { "type": "Identifier", "start": 23879, "end": 23892, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23895, "end": 23925, "loc": { "start": { "line": 729, "column": 28 }, "end": { "line": 729, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23895, "end": 23917, "loc": { "start": { "line": 729, "column": 28 }, "end": { "line": 729, "column": 50 } }, "object": { "type": "Identifier", "start": 23895, "end": 23903, "loc": { "start": { "line": 729, "column": 28 }, "end": { "line": 729, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23904, "end": 23917, "loc": { "start": { "line": 729, "column": 37 }, "end": { "line": 729, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23918, "end": 23924, "loc": { "start": { "line": 729, "column": 51 }, "end": { "line": 729, "column": 57 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23807, "end": 23865, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 728, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23936, "end": 23980, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 23936, "end": 23979, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23936, "end": 23959, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 31 } }, "object": { "type": "Identifier", "start": 23936, "end": 23949, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 23950, "end": 23959, "loc": { "start": { "line": 730, "column": 22 }, "end": { "line": 730, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 23962, "end": 23979, "loc": { "start": { "line": 730, "column": 34 }, "end": { "line": 730, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 23990, "end": 24027, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23990, "end": 24026, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23990, "end": 24011, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 29 } }, "object": { "type": "Identifier", "start": 23990, "end": 23999, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24000, "end": 24011, "loc": { "start": { "line": 731, "column": 18 }, "end": { "line": 731, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24012, "end": 24025, "loc": { "start": { "line": 731, "column": 30 }, "end": { "line": 731, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24039, "end": 24092, "loc": { "start": { "line": 733, "column": 8 }, "end": { "line": 735, "column": 11 } } } ] }, { "type": "IfStatement", "start": 24102, "end": 24179, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 737, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 24105, "end": 24133, "loc": { "start": { "line": 736, "column": 11 }, "end": { "line": 736, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24106, "end": 24133, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 39 } }, "object": { "type": "MemberExpression", "start": 24106, "end": 24125, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 31 } }, "object": { "type": "ThisExpression", "start": 24106, "end": 24110, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24111, "end": 24125, "loc": { "start": { "line": 736, "column": 17 }, "end": { "line": 736, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 24126, "end": 24132, "loc": { "start": { "line": 736, "column": 32 }, "end": { "line": 736, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 24146, "end": 24179, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24146, "end": 24178, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24146, "end": 24173, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 37 } }, "object": { "type": "MemberExpression", "start": 24146, "end": 24165, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 29 } }, "object": { "type": "ThisExpression", "start": 24146, "end": 24150, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 14 } } }, "property": { "type": "Identifier", "start": 24151, "end": 24165, "loc": { "start": { "line": 737, "column": 15 }, "end": { "line": 737, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 24166, "end": 24172, "loc": { "start": { "line": 737, "column": 30 }, "end": { "line": 737, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 24176, "end": 24178, "loc": { "start": { "line": 737, "column": 40 }, "end": { "line": 737, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24039, "end": 24092, "loc": { "start": { "line": 733, "column": 8 }, "end": { "line": 735, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24191, "end": 24235, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 52 } }, "expression": { "type": "CallExpression", "start": 24191, "end": 24234, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 24191, "end": 24223, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 40 } }, "object": { "type": "MemberExpression", "start": 24191, "end": 24218, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 35 } }, "object": { "type": "MemberExpression", "start": 24191, "end": 24210, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 27 } }, "object": { "type": "ThisExpression", "start": 24191, "end": 24195, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 12 } } }, "property": { "type": "Identifier", "start": 24196, "end": 24210, "loc": { "start": { "line": 739, "column": 13 }, "end": { "line": 739, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 24211, "end": 24217, "loc": { "start": { "line": 739, "column": 28 }, "end": { "line": 739, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 24219, "end": 24223, "loc": { "start": { "line": 739, "column": 36 }, "end": { "line": 739, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24224, "end": 24233, "loc": { "start": { "line": 739, "column": 41 }, "end": { "line": 739, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 24247, "end": 24299, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24309, "end": 24339, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 38 } }, "expression": { "type": "CallExpression", "start": 24309, "end": 24338, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 24309, "end": 24327, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 26 } }, "object": { "type": "Identifier", "start": 24309, "end": 24315, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24316, "end": 24327, "loc": { "start": { "line": 744, "column": 15 }, "end": { "line": 744, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 24328, "end": 24337, "loc": { "start": { "line": 744, "column": 27 }, "end": { "line": 744, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 24247, "end": 24299, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22456, "end": 22517, "loc": { "start": { "line": 690, "column": 6 }, "end": { "line": 692, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 24362, "end": 24412, "loc": { "start": { "line": 748, "column": 6 }, "end": { "line": 750, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24420, "end": 24457, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 43 } }, "expression": { "type": "CallExpression", "start": 24420, "end": 24456, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 24420, "end": 24448, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 34 } }, "object": { "type": "MemberExpression", "start": 24420, "end": 24436, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24420, "end": 24424, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24425, "end": 24436, "loc": { "start": { "line": 751, "column": 11 }, "end": { "line": 751, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 24437, "end": 24448, "loc": { "start": { "line": 751, "column": 23 }, "end": { "line": 751, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 24449, "end": 24455, "loc": { "start": { "line": 751, "column": 35 }, "end": { "line": 751, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 24362, "end": 24412, "loc": { "start": { "line": 748, "column": 6 }, "end": { "line": 750, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22156, "end": 22203, "loc": { "start": { "line": 678, "column": 4 }, "end": { "line": 680, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 24474, "end": 24511, "loc": { "start": { "line": 754, "column": 4 }, "end": { "line": 756, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 24517, "end": 24533, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24517, "end": 24532, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24517, "end": 24530, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24517, "end": 24521, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24522, "end": 24530, "loc": { "start": { "line": 757, "column": 9 }, "end": { "line": 757, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 24474, "end": 24511, "loc": { "start": { "line": 754, "column": 4 }, "end": { "line": 756, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24541, "end": 24578, "loc": { "start": { "line": 759, "column": 4 }, "end": { "line": 761, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 24584, "end": 24638, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 24584, "end": 24637, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24584, "end": 24602, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 22 } }, "object": { "type": "Identifier", "start": 24584, "end": 24592, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 12 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 24593, "end": 24602, "loc": { "start": { "line": 762, "column": 13 }, "end": { "line": 762, "column": 22 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 24605, "end": 24637, "loc": { "start": { "line": 762, "column": 25 }, "end": { "line": 762, "column": 57 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 24611, "end": 24637, "loc": { "start": { "line": 762, "column": 31 }, "end": { "line": 762, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 24611, "end": 24635, "loc": { "start": { "line": 762, "column": 31 }, "end": { "line": 762, "column": 55 } }, "object": { "type": "ThisExpression", "start": 24611, "end": 24615, "loc": { "start": { "line": 762, "column": 31 }, "end": { "line": 762, "column": 35 } } }, "property": { "type": "Identifier", "start": 24616, "end": 24635, "loc": { "start": { "line": 762, "column": 36 }, "end": { "line": 762, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24541, "end": 24578, "loc": { "start": { "line": 759, "column": 4 }, "end": { "line": 761, "column": 7 } } } ] }, { "type": "IfStatement", "start": 24646, "end": 24868, "loc": { "start": { "line": 764, "column": 4 }, "end": { "line": 774, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 24649, "end": 24666, "loc": { "start": { "line": 764, "column": 7 }, "end": { "line": 764, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24650, "end": 24666, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 24 } }, "object": { "type": "ThisExpression", "start": 24650, "end": 24654, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 12 } } }, "property": { "type": "Identifier", "start": 24655, "end": 24666, "loc": { "start": { "line": 764, "column": 13 }, "end": { "line": 764, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 24667, "end": 24868, "loc": { "start": { "line": 764, "column": 25 }, "end": { "line": 774, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 24766, "end": 24790, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 24766, "end": 24789, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24766, "end": 24782, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24766, "end": 24770, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24771, "end": 24782, "loc": { "start": { "line": 768, "column": 11 }, "end": { "line": 768, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 24785, "end": 24789, "loc": { "start": { "line": 768, "column": 25 }, "end": { "line": 768, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24676, "end": 24758, "loc": { "start": { "line": 765, "column": 6 }, "end": { "line": 767, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24800, "end": 24839, "loc": { "start": { "line": 770, "column": 6 }, "end": { "line": 772, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24847, "end": 24861, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24847, "end": 24860, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24847, "end": 24858, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24847, "end": 24851, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24852, "end": 24858, "loc": { "start": { "line": 773, "column": 11 }, "end": { "line": 773, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24800, "end": 24839, "loc": { "start": { "line": 770, "column": 6 }, "end": { "line": 772, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20416, "end": 20472, "loc": { "start": { "line": 627, "column": 2 }, "end": { "line": 629, "column": 5 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } } ], "__PseudoExport__": false, "trailingComments": [] }, "leadingComments": null } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8128, "end": 8205, "loc": { "start": { "line": 182, "column": 6 }, "end": { "line": 184, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8608, "end": 8667, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 198, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8766, "end": 8807, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9021, "end": 9062, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9066, "end": 9092, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9135, "end": 9214, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 221, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9408, "end": 9485, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 232, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9961, "end": 10000, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 254, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10155, "end": 10191, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10195, "end": 10221, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10345, "end": 10431, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 271, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10699, "end": 10796, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 284, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10920, "end": 11038, "loc": { "start": { "line": 291, "column": 2 }, "end": { "line": 294, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11172, "end": 11227, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 301, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11323, "end": 11485, "loc": { "start": { "line": 306, "column": 2 }, "end": { "line": 309, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11571, "end": 11626, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 315, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11772, "end": 11932, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12061, "end": 12116, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 333, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12214, "end": 12323, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 12389, "end": 12515, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 349, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12659, "end": 12768, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 359, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12917, "end": 13122, "loc": { "start": { "line": 366, "column": 2 }, "end": { "line": 369, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13500, "end": 13781, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 385, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14108, "end": 14199, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14729, "end": 14804, "loc": { "start": { "line": 415, "column": 8 }, "end": { "line": 417, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15023, "end": 15363, "loc": { "start": { "line": 431, "column": 2 }, "end": { "line": 435, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15411, "end": 15491, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15620, "end": 15688, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 448, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", "start": 15953, "end": 16094, "loc": { "start": { "line": 454, "column": 10 }, "end": { "line": 457, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16335, "end": 16432, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 466, "column": 15 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16790, "end": 16993, "loc": { "start": { "line": 484, "column": 2 }, "end": { "line": 487, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17270, "end": 17360, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 505, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17673, "end": 17785, "loc": { "start": { "line": 516, "column": 2 }, "end": { "line": 518, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 18086, "end": 18234, "loc": { "start": { "line": 531, "column": 6 }, "end": { "line": 534, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18457, "end": 18577, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 545, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18669, "end": 18704, "loc": { "start": { "line": 551, "column": 4 }, "end": { "line": 553, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18823, "end": 18941, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19051, "end": 19130, "loc": { "start": { "line": 568, "column": 1 }, "end": { "line": 570, "column": 4 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19262, "end": 19294, "loc": { "start": { "line": 576, "column": 2 }, "end": { "line": 578, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19453, "end": 19482, "loc": { "start": { "line": 586, "column": 2 }, "end": { "line": 588, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19642, "end": 19668, "loc": { "start": { "line": 594, "column": 8 }, "end": { "line": 594, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20133, "end": 20165, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 612, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20307, "end": 20338, "loc": { "start": { "line": 620, "column": 2 }, "end": { "line": 622, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20416, "end": 20472, "loc": { "start": { "line": 627, "column": 2 }, "end": { "line": 629, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20491, "end": 20526, "loc": { "start": { "line": 631, "column": 4 }, "end": { "line": 633, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20737, "end": 20789, "loc": { "start": { "line": 639, "column": 4 }, "end": { "line": 641, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 21296, "end": 21335, "loc": { "start": { "line": 656, "column": 14 }, "end": { "line": 656, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 21385, "end": 21468, "loc": { "start": { "line": 658, "column": 16 }, "end": { "line": 658, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21976, "end": 22042, "loc": { "start": { "line": 673, "column": 4 }, "end": { "line": 675, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22156, "end": 22203, "loc": { "start": { "line": 678, "column": 4 }, "end": { "line": 680, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22315, "end": 22358, "loc": { "start": { "line": 684, "column": 6 }, "end": { "line": 686, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22456, "end": 22517, "loc": { "start": { "line": 690, "column": 6 }, "end": { "line": 692, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22828, "end": 22872, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 23256, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 23369, "end": 23524, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 717, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23673, "end": 23722, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 723, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23807, "end": 23865, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 728, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24039, "end": 24092, "loc": { "start": { "line": 733, "column": 8 }, "end": { "line": 735, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 24247, "end": 24299, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 24362, "end": 24412, "loc": { "start": { "line": 748, "column": 6 }, "end": { "line": 750, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 24474, "end": 24511, "loc": { "start": { "line": 754, "column": 4 }, "end": { "line": 756, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24541, "end": 24578, "loc": { "start": { "line": 759, "column": 4 }, "end": { "line": 761, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24676, "end": 24758, "loc": { "start": { "line": 765, "column": 6 }, "end": { "line": 767, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24800, "end": 24839, "loc": { "start": { "line": 770, "column": 6 }, "end": { "line": 772, "column": 9 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Keyboard.css", "start": 7, "end": 23, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23, "end": 24, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } }, { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 41, "end": 47, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 48, "end": 64, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 65, "end": 69, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../services/PhysicalKeyboard", "start": 70, "end": 100, "loc": { "start": { "line": 4, "column": 29 }, "end": { "line": 4, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 100, "end": 101, "loc": { "start": { "line": 4, "column": 59 }, "end": { "line": 4, "column": 60 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 103, "end": 109, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 110, "end": 124, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 125, "end": 129, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../services/KeyboardLayout", "start": 130, "end": 158, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 158, "end": 159, "loc": { "start": { "line": 5, "column": 55 }, "end": { "line": 5, "column": 56 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 161, "end": 167, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Utilities", "start": 168, "end": 177, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 178, "end": 182, "loc": { "start": { "line": 6, "column": 17 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../services/Utilities", "start": 183, "end": 206, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 206, "end": 207, "loc": { "start": { "line": 6, "column": 45 }, "end": { "line": 6, "column": 46 } } }, { "type": "CommentBlock", "value": "*\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 367, "end": 372, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 373, "end": 387, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 388, "end": 389, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 15, "column": 22 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 679, "end": 690, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 690, "end": 691, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 14 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 691, "end": 694, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 694, "end": 700, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 700, "end": 701, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 701, "end": 702, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 20, "column": 25 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 708, "end": 711, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 712, "end": 728, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 729, "end": 730, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 731, "end": 737, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 738, "end": 744, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 744, "end": 745, "loc": { "start": { "line": 21, "column": 40 }, "end": { "line": 21, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 745, "end": 746, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 746, "end": 747, "loc": { "start": { "line": 21, "column": 42 }, "end": { "line": 21, "column": 43 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 748, "end": 751, "loc": { "start": { "line": 21, "column": 44 }, "end": { "line": 21, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 752, "end": 760, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 56 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 761, "end": 762, "loc": { "start": { "line": 21, "column": 57 }, "end": { "line": 21, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 763, "end": 769, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 769, "end": 770, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 770, "end": 771, "loc": { "start": { "line": 21, "column": 66 }, "end": { "line": 21, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 771, "end": 772, "loc": { "start": { "line": 21, "column": 67 }, "end": { "line": 21, "column": 68 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 773, "end": 774, "loc": { "start": { "line": 21, "column": 69 }, "end": { "line": 21, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".simple-keyboard", "start": 775, "end": 793, "loc": { "start": { "line": 21, "column": 71 }, "end": { "line": 21, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 793, "end": 794, "loc": { "start": { "line": 21, "column": 89 }, "end": { "line": 21, "column": 90 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 800, "end": 803, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 804, "end": 811, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 812, "end": 813, "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 17 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 814, "end": 820, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 821, "end": 827, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 827, "end": 828, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 828, "end": 829, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 829, "end": 830, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 831, "end": 834, "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 22, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 835, "end": 843, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 47 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 844, "end": 845, "loc": { "start": { "line": 22, "column": 48 }, "end": { "line": 22, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 846, "end": 852, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 56 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 852, "end": 853, "loc": { "start": { "line": 22, "column": 56 }, "end": { "line": 22, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 853, "end": 854, "loc": { "start": { "line": 22, "column": 57 }, "end": { "line": 22, "column": 58 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 854, "end": 855, "loc": { "start": { "line": 22, "column": 58 }, "end": { "line": 22, "column": 59 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 856, "end": 857, "loc": { "start": { "line": 22, "column": 60 }, "end": { "line": 22, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 858, "end": 864, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 68 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 864, "end": 865, "loc": { "start": { "line": 22, "column": 68 }, "end": { "line": 22, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 865, "end": 866, "loc": { "start": { "line": 22, "column": 69 }, "end": { "line": 22, "column": 70 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 866, "end": 867, "loc": { "start": { "line": 22, "column": 70 }, "end": { "line": 22, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 867, "end": 868, "loc": { "start": { "line": 22, "column": 71 }, "end": { "line": 22, "column": 72 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 876, "end": 878, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 878, "end": 879, "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 879, "end": 880, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 880, "end": 887, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 887, "end": 888, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 896, "end": 903, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 904, "end": 905, "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 25, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 906, "end": 907, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 907, "end": 908, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 908, "end": 909, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 966, "end": 970, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 970, "end": 971, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 971, "end": 980, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 981, "end": 982, "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 30, "column": 20 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 983, "end": 986, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Utilities", "start": 987, "end": 996, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 996, "end": 997, "loc": { "start": { "line": 30, "column": 34 }, "end": { "line": 30, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 997, "end": 1001, "loc": { "start": { "line": 30, "column": 35 }, "end": { "line": 30, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1001, "end": 1002, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1002, "end": 1003, "loc": { "start": { "line": 30, "column": 40 }, "end": { "line": 30, "column": 41 } } }, { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1060, "end": 1061, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 1061, "end": 1072, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1073, "end": 1074, "loc": { "start": { "line": 35, "column": 21 }, "end": { "line": 35, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 1075, "end": 1083, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1083, "end": 1084, "loc": { "start": { "line": 35, "column": 31 }, "end": { "line": 35, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "querySelector", "start": 1084, "end": 1097, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1097, "end": 1098, "loc": { "start": { "line": 35, "column": 45 }, "end": { "line": 35, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 1098, "end": 1114, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1114, "end": 1115, "loc": { "start": { "line": 35, "column": 62 }, "end": { "line": 35, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1115, "end": 1116, "loc": { "start": { "line": 35, "column": 63 }, "end": { "line": 35, "column": 64 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3949, "end": 3953, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3953, "end": 3954, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3954, "end": 3961, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3962, "end": 3963, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3964, "end": 3971, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3971, "end": 3972, "loc": { "start": { "line": 61, "column": 26 }, "end": { "line": 61, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3978, "end": 3982, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3982, "end": 3983, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3983, "end": 3990, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3990, "end": 3991, "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 3991, "end": 4001, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4002, "end": 4003, "loc": { "start": { "line": 62, "column": 28 }, "end": { "line": 62, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4004, "end": 4008, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4008, "end": 4009, "loc": { "start": { "line": 62, "column": 34 }, "end": { "line": 62, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4009, "end": 4016, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4016, "end": 4017, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 4017, "end": 4027, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 53 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4028, "end": 4030, "loc": { "start": { "line": 62, "column": 54 }, "end": { "line": 62, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 4031, "end": 4040, "loc": { "start": { "line": 62, "column": 57 }, "end": { "line": 62, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4040, "end": 4041, "loc": { "start": { "line": 62, "column": 66 }, "end": { "line": 62, "column": 67 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4047, "end": 4051, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4051, "end": 4052, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4052, "end": 4059, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4059, "end": 4060, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 4060, "end": 4065, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4066, "end": 4067, "loc": { "start": { "line": 63, "column": 23 }, "end": { "line": 63, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4068, "end": 4072, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4072, "end": 4073, "loc": { "start": { "line": 63, "column": 29 }, "end": { "line": 63, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4073, "end": 4080, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4080, "end": 4081, "loc": { "start": { "line": 63, "column": 37 }, "end": { "line": 63, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 4081, "end": 4086, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 43 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4087, "end": 4089, "loc": { "start": { "line": 63, "column": 44 }, "end": { "line": 63, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-theme-default", "start": 4090, "end": 4108, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4108, "end": 4109, "loc": { "start": { "line": 63, "column": 65 }, "end": { "line": 63, "column": 66 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4115, "end": 4119, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4119, "end": 4120, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4120, "end": 4127, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4127, "end": 4128, "loc": { "start": { "line": 64, "column": 16 }, "end": { "line": 64, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4128, "end": 4137, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4138, "end": 4139, "loc": { "start": { "line": 64, "column": 27 }, "end": { "line": 64, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4140, "end": 4144, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4144, "end": 4145, "loc": { "start": { "line": 64, "column": 33 }, "end": { "line": 64, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4145, "end": 4152, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4152, "end": 4153, "loc": { "start": { "line": 64, "column": 41 }, "end": { "line": 64, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4153, "end": 4162, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 51 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4163, "end": 4165, "loc": { "start": { "line": 64, "column": 52 }, "end": { "line": 64, "column": 54 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 4166, "end": 4175, "loc": { "start": { "line": 64, "column": 55 }, "end": { "line": 64, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4175, "end": 4176, "loc": { "start": { "line": 64, "column": 64 }, "end": { "line": 64, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4260, "end": 4264, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4264, "end": 4265, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 4265, "end": 4286, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4287, "end": 4288, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 4289, "end": 4291, "loc": { "start": { "line": 69, "column": 33 }, "end": { "line": 69, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4291, "end": 4292, "loc": { "start": { "line": 69, "column": 35 }, "end": { "line": 69, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4335, "end": 4339, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4339, "end": 4340, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4340, "end": 4359, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4360, "end": 4361, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4362, "end": 4366, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4366, "end": 4367, "loc": { "start": { "line": 74, "column": 35 }, "end": { "line": 74, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4367, "end": 4386, "loc": { "start": { "line": 74, "column": 36 }, "end": { "line": 74, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4386, "end": 4387, "loc": { "start": { "line": 74, "column": 55 }, "end": { "line": 74, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4387, "end": 4391, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4391, "end": 4392, "loc": { "start": { "line": 74, "column": 60 }, "end": { "line": 74, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4392, "end": 4396, "loc": { "start": { "line": 74, "column": 61 }, "end": { "line": 74, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4396, "end": 4397, "loc": { "start": { "line": 74, "column": 65 }, "end": { "line": 74, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4397, "end": 4398, "loc": { "start": { "line": 74, "column": 66 }, "end": { "line": 74, "column": 67 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4404, "end": 4408, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4408, "end": 4409, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4409, "end": 4427, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4428, "end": 4429, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4430, "end": 4434, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4434, "end": 4435, "loc": { "start": { "line": 75, "column": 34 }, "end": { "line": 75, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4435, "end": 4453, "loc": { "start": { "line": 75, "column": 35 }, "end": { "line": 75, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4453, "end": 4454, "loc": { "start": { "line": 75, "column": 53 }, "end": { "line": 75, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4454, "end": 4458, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4458, "end": 4459, "loc": { "start": { "line": 75, "column": 58 }, "end": { "line": 75, "column": 59 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4459, "end": 4463, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4463, "end": 4464, "loc": { "start": { "line": 75, "column": 63 }, "end": { "line": 75, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4464, "end": 4465, "loc": { "start": { "line": 75, "column": 64 }, "end": { "line": 75, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4471, "end": 4475, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4475, "end": 4476, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4476, "end": 4486, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4487, "end": 4488, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4489, "end": 4493, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4493, "end": 4494, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4494, "end": 4504, "loc": { "start": { "line": 76, "column": 27 }, "end": { "line": 76, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4504, "end": 4505, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4505, "end": 4509, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4509, "end": 4510, "loc": { "start": { "line": 76, "column": 42 }, "end": { "line": 76, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4510, "end": 4514, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4514, "end": 4515, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4515, "end": 4516, "loc": { "start": { "line": 76, "column": 48 }, "end": { "line": 76, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4522, "end": 4526, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4526, "end": 4527, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4527, "end": 4535, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4536, "end": 4537, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4538, "end": 4542, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4542, "end": 4543, "loc": { "start": { "line": 77, "column": 24 }, "end": { "line": 77, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4543, "end": 4551, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4551, "end": 4552, "loc": { "start": { "line": 77, "column": 33 }, "end": { "line": 77, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4552, "end": 4556, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 77, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4556, "end": 4557, "loc": { "start": { "line": 77, "column": 38 }, "end": { "line": 77, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4557, "end": 4561, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4561, "end": 4562, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4562, "end": 4563, "loc": { "start": { "line": 77, "column": 44 }, "end": { "line": 77, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4569, "end": 4573, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4573, "end": 4574, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4574, "end": 4582, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4583, "end": 4584, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4585, "end": 4589, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4589, "end": 4590, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4590, "end": 4598, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4598, "end": 4599, "loc": { "start": { "line": 78, "column": 33 }, "end": { "line": 78, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4599, "end": 4603, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4603, "end": 4604, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4604, "end": 4608, "loc": { "start": { "line": 78, "column": 39 }, "end": { "line": 78, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4608, "end": 4609, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4609, "end": 4610, "loc": { "start": { "line": 78, "column": 44 }, "end": { "line": 78, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4616, "end": 4620, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4620, "end": 4621, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4621, "end": 4633, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4634, "end": 4635, "loc": { "start": { "line": 79, "column": 22 }, "end": { "line": 79, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4636, "end": 4640, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4640, "end": 4641, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4641, "end": 4653, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4653, "end": 4654, "loc": { "start": { "line": 79, "column": 41 }, "end": { "line": 79, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4654, "end": 4658, "loc": { "start": { "line": 79, "column": 42 }, "end": { "line": 79, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4658, "end": 4659, "loc": { "start": { "line": 79, "column": 46 }, "end": { "line": 79, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4659, "end": 4663, "loc": { "start": { "line": 79, "column": 47 }, "end": { "line": 79, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4663, "end": 4664, "loc": { "start": { "line": 79, "column": 51 }, "end": { "line": 79, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4664, "end": 4665, "loc": { "start": { "line": 79, "column": 52 }, "end": { "line": 79, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4671, "end": 4675, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4675, "end": 4676, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 4676, "end": 4681, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4682, "end": 4683, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4684, "end": 4688, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4688, "end": 4689, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 4689, "end": 4694, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4694, "end": 4695, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4695, "end": 4699, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4699, "end": 4700, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4700, "end": 4704, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4704, "end": 4705, "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4705, "end": 4706, "loc": { "start": { "line": 80, "column": 38 }, "end": { "line": 80, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4712, "end": 4716, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4716, "end": 4717, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 4717, "end": 4725, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4726, "end": 4727, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4728, "end": 4732, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4732, "end": 4733, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 4733, "end": 4741, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4741, "end": 4742, "loc": { "start": { "line": 81, "column": 33 }, "end": { "line": 81, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4742, "end": 4746, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4746, "end": 4747, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4747, "end": 4751, "loc": { "start": { "line": 81, "column": 39 }, "end": { "line": 81, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4751, "end": 4752, "loc": { "start": { "line": 81, "column": 43 }, "end": { "line": 81, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4752, "end": 4753, "loc": { "start": { "line": 81, "column": 44 }, "end": { "line": 81, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4759, "end": 4763, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4763, "end": 4764, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 4764, "end": 4778, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4779, "end": 4780, "loc": { "start": { "line": 82, "column": 24 }, "end": { "line": 82, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4781, "end": 4785, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4785, "end": 4786, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 4786, "end": 4800, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4800, "end": 4801, "loc": { "start": { "line": 82, "column": 45 }, "end": { "line": 82, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4801, "end": 4805, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4805, "end": 4806, "loc": { "start": { "line": 82, "column": 50 }, "end": { "line": 82, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4806, "end": 4810, "loc": { "start": { "line": 82, "column": 51 }, "end": { "line": 82, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4810, "end": 4811, "loc": { "start": { "line": 82, "column": 55 }, "end": { "line": 82, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4811, "end": 4812, "loc": { "start": { "line": 82, "column": 56 }, "end": { "line": 82, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4818, "end": 4822, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4822, "end": 4823, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 4823, "end": 4840, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4841, "end": 4842, "loc": { "start": { "line": 83, "column": 27 }, "end": { "line": 83, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4843, "end": 4847, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4847, "end": 4848, "loc": { "start": { "line": 83, "column": 33 }, "end": { "line": 83, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 4848, "end": 4865, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4865, "end": 4866, "loc": { "start": { "line": 83, "column": 51 }, "end": { "line": 83, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4866, "end": 4870, "loc": { "start": { "line": 83, "column": 52 }, "end": { "line": 83, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4870, "end": 4871, "loc": { "start": { "line": 83, "column": 56 }, "end": { "line": 83, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4871, "end": 4875, "loc": { "start": { "line": 83, "column": 57 }, "end": { "line": 83, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4875, "end": 4876, "loc": { "start": { "line": 83, "column": 61 }, "end": { "line": 83, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4876, "end": 4877, "loc": { "start": { "line": 83, "column": 62 }, "end": { "line": 83, "column": 63 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4883, "end": 4887, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4887, "end": 4888, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 4888, "end": 4904, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4905, "end": 4906, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4907, "end": 4911, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4911, "end": 4912, "loc": { "start": { "line": 84, "column": 32 }, "end": { "line": 84, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 4912, "end": 4928, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4928, "end": 4929, "loc": { "start": { "line": 84, "column": 49 }, "end": { "line": 84, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4929, "end": 4933, "loc": { "start": { "line": 84, "column": 50 }, "end": { "line": 84, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4933, "end": 4934, "loc": { "start": { "line": 84, "column": 54 }, "end": { "line": 84, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4934, "end": 4938, "loc": { "start": { "line": 84, "column": 55 }, "end": { "line": 84, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4938, "end": 4939, "loc": { "start": { "line": 84, "column": 59 }, "end": { "line": 84, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4939, "end": 4940, "loc": { "start": { "line": 84, "column": 60 }, "end": { "line": 84, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4946, "end": 4950, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4950, "end": 4951, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 4951, "end": 4962, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4963, "end": 4964, "loc": { "start": { "line": 85, "column": 21 }, "end": { "line": 85, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4965, "end": 4969, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4969, "end": 4970, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 4970, "end": 4981, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4981, "end": 4982, "loc": { "start": { "line": 85, "column": 39 }, "end": { "line": 85, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4982, "end": 4986, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4986, "end": 4987, "loc": { "start": { "line": 85, "column": 44 }, "end": { "line": 85, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4987, "end": 4991, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4991, "end": 4992, "loc": { "start": { "line": 85, "column": 49 }, "end": { "line": 85, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4992, "end": 4993, "loc": { "start": { "line": 85, "column": 50 }, "end": { "line": 85, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4999, "end": 5003, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5003, "end": 5004, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 5004, "end": 5021, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5022, "end": 5023, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5024, "end": 5028, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5028, "end": 5029, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 5029, "end": 5046, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5046, "end": 5047, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5047, "end": 5051, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5051, "end": 5052, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5052, "end": 5056, "loc": { "start": { "line": 86, "column": 57 }, "end": { "line": 86, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5056, "end": 5057, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5057, "end": 5058, "loc": { "start": { "line": 86, "column": 62 }, "end": { "line": 86, "column": 63 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5064, "end": 5068, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5068, "end": 5069, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 5069, "end": 5075, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5076, "end": 5077, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5078, "end": 5082, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5082, "end": 5083, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 5083, "end": 5089, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5089, "end": 5090, "loc": { "start": { "line": 87, "column": 29 }, "end": { "line": 87, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5090, "end": 5094, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5094, "end": 5095, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5095, "end": 5099, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5099, "end": 5100, "loc": { "start": { "line": 87, "column": 39 }, "end": { "line": 87, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5100, "end": 5101, "loc": { "start": { "line": 87, "column": 40 }, "end": { "line": 87, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5107, "end": 5111, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5111, "end": 5112, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 5112, "end": 5120, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5121, "end": 5122, "loc": { "start": { "line": 88, "column": 18 }, "end": { "line": 88, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5123, "end": 5127, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5127, "end": 5128, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 5128, "end": 5136, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5136, "end": 5137, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5137, "end": 5141, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5141, "end": 5142, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5142, "end": 5146, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5146, "end": 5147, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5147, "end": 5148, "loc": { "start": { "line": 88, "column": 44 }, "end": { "line": 88, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5154, "end": 5158, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5158, "end": 5159, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5159, "end": 5165, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5166, "end": 5167, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5168, "end": 5172, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5172, "end": 5173, "loc": { "start": { "line": 89, "column": 22 }, "end": { "line": 89, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5173, "end": 5179, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5179, "end": 5180, "loc": { "start": { "line": 89, "column": 29 }, "end": { "line": 89, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5180, "end": 5184, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5184, "end": 5185, "loc": { "start": { "line": 89, "column": 34 }, "end": { "line": 89, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5185, "end": 5189, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5189, "end": 5190, "loc": { "start": { "line": 89, "column": 39 }, "end": { "line": 89, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5190, "end": 5191, "loc": { "start": { "line": 89, "column": 40 }, "end": { "line": 89, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5197, "end": 5201, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5201, "end": 5202, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 5202, "end": 5213, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5214, "end": 5215, "loc": { "start": { "line": 90, "column": 21 }, "end": { "line": 90, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5216, "end": 5220, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5220, "end": 5221, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 5221, "end": 5232, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5232, "end": 5233, "loc": { "start": { "line": 90, "column": 39 }, "end": { "line": 90, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5233, "end": 5237, "loc": { "start": { "line": 90, "column": 40 }, "end": { "line": 90, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5237, "end": 5238, "loc": { "start": { "line": 90, "column": 44 }, "end": { "line": 90, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5238, "end": 5242, "loc": { "start": { "line": 90, "column": 45 }, "end": { "line": 90, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5242, "end": 5243, "loc": { "start": { "line": 90, "column": 49 }, "end": { "line": 90, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5243, "end": 5244, "loc": { "start": { "line": 90, "column": 50 }, "end": { "line": 90, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5250, "end": 5254, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5254, "end": 5255, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5255, "end": 5274, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5275, "end": 5276, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5277, "end": 5281, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5281, "end": 5282, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5282, "end": 5301, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5301, "end": 5302, "loc": { "start": { "line": 91, "column": 55 }, "end": { "line": 91, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5302, "end": 5306, "loc": { "start": { "line": 91, "column": 56 }, "end": { "line": 91, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5306, "end": 5307, "loc": { "start": { "line": 91, "column": 60 }, "end": { "line": 91, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5307, "end": 5311, "loc": { "start": { "line": 91, "column": 61 }, "end": { "line": 91, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5311, "end": 5312, "loc": { "start": { "line": 91, "column": 65 }, "end": { "line": 91, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5312, "end": 5313, "loc": { "start": { "line": 91, "column": 66 }, "end": { "line": 91, "column": 67 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5319, "end": 5323, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5323, "end": 5324, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 5324, "end": 5345, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5346, "end": 5347, "loc": { "start": { "line": 92, "column": 31 }, "end": { "line": 92, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5348, "end": 5352, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5352, "end": 5353, "loc": { "start": { "line": 92, "column": 37 }, "end": { "line": 92, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 5353, "end": 5374, "loc": { "start": { "line": 92, "column": 38 }, "end": { "line": 92, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5374, "end": 5375, "loc": { "start": { "line": 92, "column": 59 }, "end": { "line": 92, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5375, "end": 5379, "loc": { "start": { "line": 92, "column": 60 }, "end": { "line": 92, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5379, "end": 5380, "loc": { "start": { "line": 92, "column": 64 }, "end": { "line": 92, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5380, "end": 5384, "loc": { "start": { "line": 92, "column": 65 }, "end": { "line": 92, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5384, "end": 5385, "loc": { "start": { "line": 92, "column": 69 }, "end": { "line": 92, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5385, "end": 5386, "loc": { "start": { "line": 92, "column": 70 }, "end": { "line": 92, "column": 71 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5392, "end": 5396, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5396, "end": 5397, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 5397, "end": 5413, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5414, "end": 5415, "loc": { "start": { "line": 93, "column": 26 }, "end": { "line": 93, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5416, "end": 5420, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5420, "end": 5421, "loc": { "start": { "line": 93, "column": 32 }, "end": { "line": 93, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 5421, "end": 5437, "loc": { "start": { "line": 93, "column": 33 }, "end": { "line": 93, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5437, "end": 5438, "loc": { "start": { "line": 93, "column": 49 }, "end": { "line": 93, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5438, "end": 5442, "loc": { "start": { "line": 93, "column": 50 }, "end": { "line": 93, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5442, "end": 5443, "loc": { "start": { "line": 93, "column": 54 }, "end": { "line": 93, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5443, "end": 5447, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5447, "end": 5448, "loc": { "start": { "line": 93, "column": 59 }, "end": { "line": 93, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5448, "end": 5449, "loc": { "start": { "line": 93, "column": 60 }, "end": { "line": 93, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5455, "end": 5459, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5459, "end": 5460, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 5460, "end": 5475, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5476, "end": 5477, "loc": { "start": { "line": 94, "column": 25 }, "end": { "line": 94, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5478, "end": 5482, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5482, "end": 5483, "loc": { "start": { "line": 94, "column": 31 }, "end": { "line": 94, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 5483, "end": 5498, "loc": { "start": { "line": 94, "column": 32 }, "end": { "line": 94, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5498, "end": 5499, "loc": { "start": { "line": 94, "column": 47 }, "end": { "line": 94, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5499, "end": 5503, "loc": { "start": { "line": 94, "column": 48 }, "end": { "line": 94, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5503, "end": 5504, "loc": { "start": { "line": 94, "column": 52 }, "end": { "line": 94, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5504, "end": 5508, "loc": { "start": { "line": 94, "column": 53 }, "end": { "line": 94, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5508, "end": 5509, "loc": { "start": { "line": 94, "column": 57 }, "end": { "line": 94, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5509, "end": 5510, "loc": { "start": { "line": 94, "column": 58 }, "end": { "line": 94, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6183, "end": 6187, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6187, "end": 6188, "loc": { "start": { "line": 110, "column": 8 }, "end": { "line": 110, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6188, "end": 6193, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6194, "end": 6195, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 110, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6196, "end": 6197, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6197, "end": 6198, "loc": { "start": { "line": 110, "column": 18 }, "end": { "line": 110, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6198, "end": 6199, "loc": { "start": { "line": 110, "column": 19 }, "end": { "line": 110, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6205, "end": 6209, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6209, "end": 6210, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6210, "end": 6215, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6215, "end": 6216, "loc": { "start": { "line": 111, "column": 14 }, "end": { "line": 111, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6216, "end": 6220, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6220, "end": 6221, "loc": { "start": { "line": 111, "column": 19 }, "end": { "line": 111, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6221, "end": 6228, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6228, "end": 6229, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6229, "end": 6238, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6238, "end": 6239, "loc": { "start": { "line": 111, "column": 37 }, "end": { "line": 111, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6240, "end": 6241, "loc": { "start": { "line": 111, "column": 39 }, "end": { "line": 111, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 6242, "end": 6244, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6244, "end": 6245, "loc": { "start": { "line": 111, "column": 43 }, "end": { "line": 111, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6368, "end": 6372, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6372, "end": 6373, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 6373, "end": 6389, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6390, "end": 6391, "loc": { "start": { "line": 116, "column": 26 }, "end": { "line": 116, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6392, "end": 6408, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6408, "end": 6409, "loc": { "start": { "line": 116, "column": 44 }, "end": { "line": 116, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 6409, "end": 6414, "loc": { "start": { "line": 116, "column": 45 }, "end": { "line": 116, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6414, "end": 6415, "loc": { "start": { "line": 116, "column": 50 }, "end": { "line": 116, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 6415, "end": 6418, "loc": { "start": { "line": 116, "column": 51 }, "end": { "line": 116, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6418, "end": 6419, "loc": { "start": { "line": 116, "column": 54 }, "end": { "line": 116, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6419, "end": 6420, "loc": { "start": { "line": 116, "column": 55 }, "end": { "line": 116, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 6420, "end": 6424, "loc": { "start": { "line": 116, "column": 56 }, "end": { "line": 116, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6424, "end": 6425, "loc": { "start": { "line": 116, "column": 60 }, "end": { "line": 116, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 6425, "end": 6427, "loc": { "start": { "line": 116, "column": 61 }, "end": { "line": 116, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6427, "end": 6428, "loc": { "start": { "line": 116, "column": 63 }, "end": { "line": 116, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6428, "end": 6429, "loc": { "start": { "line": 116, "column": 64 }, "end": { "line": 116, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6588, "end": 6592, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6592, "end": 6593, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 6593, "end": 6607, "loc": { "start": { "line": 121, "column": 9 }, "end": { "line": 121, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6608, "end": 6609, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6610, "end": 6611, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6611, "end": 6612, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6612, "end": 6613, "loc": { "start": { "line": 121, "column": 28 }, "end": { "line": 121, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6666, "end": 6668, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6668, "end": 6669, "loc": { "start": { "line": 126, "column": 6 }, "end": { "line": 126, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6669, "end": 6673, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6673, "end": 6674, "loc": { "start": { "line": 126, "column": 11 }, "end": { "line": 126, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 6674, "end": 6685, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6685, "end": 6686, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6694, "end": 6698, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6698, "end": 6699, "loc": { "start": { "line": 127, "column": 10 }, "end": { "line": 127, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 6699, "end": 6705, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6705, "end": 6706, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6706, "end": 6707, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6707, "end": 6708, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 20 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 6714, "end": 6718, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6719, "end": 6720, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 128, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 6728, "end": 6735, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6735, "end": 6736, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 6736, "end": 6740, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6740, "end": 6741, "loc": { "start": { "line": 129, "column": 18 }, "end": { "line": 129, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6741, "end": 6742, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "column": 20 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\"", "start": 6742, "end": 6743, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6743, "end": 6745, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6745, "end": 6761, "loc": { "start": { "line": 129, "column": 23 }, "end": { "line": 129, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6761, "end": 6762, "loc": { "start": { "line": 129, "column": 39 }, "end": { "line": 129, "column": 40 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\" was not found in the DOM.", "start": 6762, "end": 6789, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6789, "end": 6790, "loc": { "start": { "line": 129, "column": 67 }, "end": { "line": 129, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6790, "end": 6791, "loc": { "start": { "line": 129, "column": 68 }, "end": { "line": 129, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6791, "end": 6792, "loc": { "start": { "line": 129, "column": 69 }, "end": { "line": 129, "column": 70 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 6800, "end": 6805, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 11 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 6806, "end": 6809, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 6810, "end": 6815, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6815, "end": 6816, "loc": { "start": { "line": 130, "column": 21 }, "end": { "line": 130, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "KEYBOARD_DOM_ERROR", "start": 6816, "end": 6836, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6836, "end": 6837, "loc": { "start": { "line": 130, "column": 42 }, "end": { "line": 130, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6837, "end": 6838, "loc": { "start": { "line": 130, "column": 43 }, "end": { "line": 130, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6844, "end": 6845, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 131, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6972, "end": 6974, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6974, "end": 6975, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6975, "end": 6976, "loc": { "start": { "line": 137, "column": 7 }, "end": { "line": 137, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6976, "end": 6982, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6982, "end": 6983, "loc": { "start": { "line": 137, "column": 14 }, "end": { "line": 137, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 6983, "end": 7008, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7008, "end": 7009, "loc": { "start": { "line": 137, "column": 40 }, "end": { "line": 137, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7009, "end": 7010, "loc": { "start": { "line": 137, "column": 41 }, "end": { "line": 137, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 7018, "end": 7024, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7024, "end": 7025, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 7025, "end": 7050, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7050, "end": 7051, "loc": { "start": { "line": 138, "column": 38 }, "end": { "line": 138, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7052, "end": 7053, "loc": { "start": { "line": 138, "column": 40 }, "end": { "line": 138, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7054, "end": 7055, "loc": { "start": { "line": 138, "column": 42 }, "end": { "line": 138, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7055, "end": 7056, "loc": { "start": { "line": 138, "column": 43 }, "end": { "line": 138, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7056, "end": 7057, "loc": { "start": { "line": 138, "column": 44 }, "end": { "line": 138, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 7071, "end": 7077, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7077, "end": 7078, "loc": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "column": 11 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 7078, "end": 7103, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7103, "end": 7104, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7104, "end": 7105, "loc": { "start": { "line": 140, "column": 37 }, "end": { "line": 140, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7105, "end": 7109, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7109, "end": 7110, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 7110, "end": 7119, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7119, "end": 7120, "loc": { "start": { "line": 140, "column": 52 }, "end": { "line": 140, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 7120, "end": 7129, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7129, "end": 7130, "loc": { "start": { "line": 140, "column": 62 }, "end": { "line": 140, "column": 63 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7130, "end": 7134, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7134, "end": 7135, "loc": { "start": { "line": 140, "column": 67 }, "end": { "line": 140, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 7135, "end": 7151, "loc": { "start": { "line": 140, "column": 68 }, "end": { "line": 140, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7151, "end": 7152, "loc": { "start": { "line": 140, "column": 84 }, "end": { "line": 140, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7152, "end": 7153, "loc": { "start": { "line": 140, "column": 85 }, "end": { "line": 140, "column": 86 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7154, "end": 7155, "loc": { "start": { "line": 140, "column": 87 }, "end": { "line": 140, "column": 88 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7156, "end": 7160, "loc": { "start": { "line": 140, "column": 89 }, "end": { "line": 140, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7160, "end": 7161, "loc": { "start": { "line": 140, "column": 93 }, "end": { "line": 140, "column": 94 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7221, "end": 7225, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7225, "end": 7226, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicalKeyboardInterface", "start": 7226, "end": 7251, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7252, "end": 7253, "loc": { "start": { "line": 145, "column": 35 }, "end": { "line": 145, "column": 36 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 7254, "end": 7257, "loc": { "start": { "line": 145, "column": 37 }, "end": { "line": 145, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 7258, "end": 7274, "loc": { "start": { "line": 145, "column": 41 }, "end": { "line": 145, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7274, "end": 7275, "loc": { "start": { "line": 145, "column": 57 }, "end": { "line": 145, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7275, "end": 7279, "loc": { "start": { "line": 145, "column": 58 }, "end": { "line": 145, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7279, "end": 7280, "loc": { "start": { "line": 145, "column": 62 }, "end": { "line": 145, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7280, "end": 7281, "loc": { "start": { "line": 145, "column": 63 }, "end": { "line": 145, "column": 64 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7323, "end": 7327, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7327, "end": 7328, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 7328, "end": 7335, "loc": { "start": { "line": 150, "column": 9 }, "end": { "line": 150, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7336, "end": 7337, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7338, "end": 7339, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7339, "end": 7340, "loc": { "start": { "line": 150, "column": 20 }, "end": { "line": 150, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7340, "end": 7341, "loc": { "start": { "line": 150, "column": 21 }, "end": { "line": 150, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7347, "end": 7351, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7351, "end": 7352, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 7352, "end": 7363, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 151, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7363, "end": 7364, "loc": { "start": { "line": 151, "column": 20 }, "end": { "line": 151, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7364, "end": 7365, "loc": { "start": { "line": 151, "column": 21 }, "end": { "line": 151, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7365, "end": 7366, "loc": { "start": { "line": 151, "column": 22 }, "end": { "line": 151, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7370, "end": 7371, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 7493, "end": 7512, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7512, "end": 7513, "loc": { "start": { "line": 158, "column": 21 }, "end": { "line": 158, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7513, "end": 7519, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7519, "end": 7520, "loc": { "start": { "line": 158, "column": 28 }, "end": { "line": 158, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7520, "end": 7521, "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 158, "column": 30 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 7527, "end": 7530, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 159, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7531, "end": 7536, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7537, "end": 7538, "loc": { "start": { "line": 159, "column": 14 }, "end": { "line": 159, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7539, "end": 7543, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7543, "end": 7544, "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7544, "end": 7551, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7551, "end": 7552, "loc": { "start": { "line": 159, "column": 28 }, "end": { "line": 159, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7552, "end": 7557, "loc": { "start": { "line": 159, "column": 29 }, "end": { "line": 159, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7557, "end": 7558, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7621, "end": 7623, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 164, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7623, "end": 7624, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 164, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7624, "end": 7630, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7631, "end": 7634, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{//}", "start": 7635, "end": 7641, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7641, "end": 7642, "loc": { "start": { "line": 164, "column": 24 }, "end": { "line": 164, "column": 25 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 7650, "end": 7656, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 12 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 7657, "end": 7662, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7662, "end": 7663, "loc": { "start": { "line": 165, "column": 18 }, "end": { "line": 165, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7716, "end": 7718, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7718, "end": 7719, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 7 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 7719, "end": 7725, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7726, "end": 7730, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7730, "end": 7731, "loc": { "start": { "line": 170, "column": 18 }, "end": { "line": 170, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7731, "end": 7738, "loc": { "start": { "line": 170, "column": 19 }, "end": { "line": 170, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7738, "end": 7739, "loc": { "start": { "line": 170, "column": 26 }, "end": { "line": 170, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7739, "end": 7749, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7750, "end": 7753, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 7754, "end": 7764, "loc": { "start": { "line": 170, "column": 42 }, "end": { "line": 170, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7764, "end": 7765, "loc": { "start": { "line": 170, "column": 52 }, "end": { "line": 170, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7773, "end": 7777, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7777, "end": 7778, "loc": { "start": { "line": 171, "column": 10 }, "end": { "line": 171, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7778, "end": 7785, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7785, "end": 7786, "loc": { "start": { "line": 171, "column": 18 }, "end": { "line": 171, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7786, "end": 7796, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7796, "end": 7797, "loc": { "start": { "line": 171, "column": 29 }, "end": { "line": 171, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7797, "end": 7803, "loc": { "start": { "line": 171, "column": 30 }, "end": { "line": 171, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7803, "end": 7804, "loc": { "start": { "line": 171, "column": 36 }, "end": { "line": 171, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7804, "end": 7805, "loc": { "start": { "line": 171, "column": 37 }, "end": { "line": 171, "column": 38 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7817, "end": 7819, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7819, "end": 7820, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 7820, "end": 7821, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7821, "end": 7825, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7825, "end": 7826, "loc": { "start": { "line": 173, "column": 12 }, "end": { "line": 173, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7826, "end": 7831, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7831, "end": 7832, "loc": { "start": { "line": 173, "column": 18 }, "end": { "line": 173, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7832, "end": 7836, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7836, "end": 7837, "loc": { "start": { "line": 173, "column": 23 }, "end": { "line": 173, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7837, "end": 7844, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7844, "end": 7845, "loc": { "start": { "line": 173, "column": 31 }, "end": { "line": 173, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7845, "end": 7854, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7854, "end": 7855, "loc": { "start": { "line": 173, "column": 41 }, "end": { "line": 173, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7855, "end": 7856, "loc": { "start": { "line": 173, "column": 42 }, "end": { "line": 173, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7864, "end": 7868, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7868, "end": 7869, "loc": { "start": { "line": 174, "column": 10 }, "end": { "line": 174, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7869, "end": 7874, "loc": { "start": { "line": 174, "column": 11 }, "end": { "line": 174, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7874, "end": 7875, "loc": { "start": { "line": 174, "column": 16 }, "end": { "line": 174, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7875, "end": 7879, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7879, "end": 7880, "loc": { "start": { "line": 174, "column": 21 }, "end": { "line": 174, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7880, "end": 7887, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7887, "end": 7888, "loc": { "start": { "line": 174, "column": 29 }, "end": { "line": 174, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7888, "end": 7897, "loc": { "start": { "line": 174, "column": 30 }, "end": { "line": 174, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7897, "end": 7898, "loc": { "start": { "line": 174, "column": 39 }, "end": { "line": 174, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7899, "end": 7900, "loc": { "start": { "line": 174, "column": 41 }, "end": { "line": 174, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 7901, "end": 7903, "loc": { "start": { "line": 174, "column": 43 }, "end": { "line": 174, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7903, "end": 7904, "loc": { "start": { "line": 174, "column": 45 }, "end": { "line": 174, "column": 46 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 7912, "end": 7915, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 7916, "end": 7928, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7929, "end": 7930, "loc": { "start": { "line": 176, "column": 21 }, "end": { "line": 176, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7931, "end": 7935, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7935, "end": 7936, "loc": { "start": { "line": 176, "column": 27 }, "end": { "line": 176, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 7936, "end": 7945, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7945, "end": 7946, "loc": { "start": { "line": 176, "column": 37 }, "end": { "line": 176, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 7946, "end": 7961, "loc": { "start": { "line": 176, "column": 38 }, "end": { "line": 176, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7961, "end": 7962, "loc": { "start": { "line": 176, "column": 53 }, "end": { "line": 176, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7970, "end": 7976, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 177, "column": 12 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7976, "end": 7977, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7978, "end": 7982, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7982, "end": 7983, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 177, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7983, "end": 7988, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7988, "end": 7989, "loc": { "start": { "line": 177, "column": 24 }, "end": { "line": 177, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7989, "end": 7993, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7993, "end": 7994, "loc": { "start": { "line": 177, "column": 29 }, "end": { "line": 177, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7994, "end": 8001, "loc": { "start": { "line": 177, "column": 30 }, "end": { "line": 177, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8001, "end": 8002, "loc": { "start": { "line": 177, "column": 37 }, "end": { "line": 177, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8002, "end": 8011, "loc": { "start": { "line": 177, "column": 38 }, "end": { "line": 177, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8011, "end": 8012, "loc": { "start": { "line": 177, "column": 47 }, "end": { "line": 177, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8012, "end": 8013, "loc": { "start": { "line": 177, "column": 48 }, "end": { "line": 177, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8014, "end": 8018, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8018, "end": 8019, "loc": { "start": { "line": 177, "column": 54 }, "end": { "line": 177, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8019, "end": 8026, "loc": { "start": { "line": 177, "column": 55 }, "end": { "line": 177, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8026, "end": 8027, "loc": { "start": { "line": 177, "column": 62 }, "end": { "line": 177, "column": 63 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8028, "end": 8032, "loc": { "start": { "line": 177, "column": 64 }, "end": { "line": 177, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8032, "end": 8033, "loc": { "start": { "line": 177, "column": 68 }, "end": { "line": 177, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 8033, "end": 8046, "loc": { "start": { "line": 177, "column": 69 }, "end": { "line": 177, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8052, "end": 8053, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 178, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8053, "end": 8054, "loc": { "start": { "line": 178, "column": 5 }, "end": { "line": 178, "column": 6 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8062, "end": 8064, "loc": { "start": { "line": 180, "column": 4 }, "end": { "line": 180, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8064, "end": 8065, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 180, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8065, "end": 8069, "loc": { "start": { "line": 180, "column": 7 }, "end": { "line": 180, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8069, "end": 8070, "loc": { "start": { "line": 180, "column": 11 }, "end": { "line": 180, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8070, "end": 8075, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8075, "end": 8076, "loc": { "start": { "line": 180, "column": 17 }, "end": { "line": 180, "column": 18 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8076, "end": 8080, "loc": { "start": { "line": 180, "column": 18 }, "end": { "line": 180, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8080, "end": 8081, "loc": { "start": { "line": 180, "column": 22 }, "end": { "line": 180, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8081, "end": 8088, "loc": { "start": { "line": 180, "column": 23 }, "end": { "line": 180, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8088, "end": 8089, "loc": { "start": { "line": 180, "column": 30 }, "end": { "line": 180, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8089, "end": 8098, "loc": { "start": { "line": 180, "column": 31 }, "end": { "line": 180, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8098, "end": 8099, "loc": { "start": { "line": 180, "column": 40 }, "end": { "line": 180, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 8100, "end": 8103, "loc": { "start": { "line": 180, "column": 42 }, "end": { "line": 180, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8104, "end": 8116, "loc": { "start": { "line": 180, "column": 46 }, "end": { "line": 180, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8116, "end": 8117, "loc": { "start": { "line": 180, "column": 58 }, "end": { "line": 180, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8117, "end": 8118, "loc": { "start": { "line": 180, "column": 59 }, "end": { "line": 180, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8128, "end": 8205, "loc": { "start": { "line": 182, "column": 6 }, "end": { "line": 184, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8213, "end": 8215, "loc": { "start": { "line": 185, "column": 6 }, "end": { "line": 185, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8215, "end": 8216, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8216, "end": 8220, "loc": { "start": { "line": 185, "column": 9 }, "end": { "line": 185, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8220, "end": 8221, "loc": { "start": { "line": 185, "column": 13 }, "end": { "line": 185, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8221, "end": 8228, "loc": { "start": { "line": 185, "column": 14 }, "end": { "line": 185, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8228, "end": 8229, "loc": { "start": { "line": 185, "column": 21 }, "end": { "line": 185, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8229, "end": 8238, "loc": { "start": { "line": 185, "column": 22 }, "end": { "line": 185, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8239, "end": 8241, "loc": { "start": { "line": 185, "column": 32 }, "end": { "line": 185, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8242, "end": 8246, "loc": { "start": { "line": 185, "column": 35 }, "end": { "line": 185, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8246, "end": 8247, "loc": { "start": { "line": 185, "column": 39 }, "end": { "line": 185, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8247, "end": 8256, "loc": { "start": { "line": 185, "column": 40 }, "end": { "line": 185, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8256, "end": 8257, "loc": { "start": { "line": 185, "column": 49 }, "end": { "line": 185, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 8257, "end": 8272, "loc": { "start": { "line": 185, "column": 50 }, "end": { "line": 185, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8272, "end": 8273, "loc": { "start": { "line": 185, "column": 65 }, "end": { "line": 185, "column": 66 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8273, "end": 8277, "loc": { "start": { "line": 185, "column": 66 }, "end": { "line": 185, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8277, "end": 8278, "loc": { "start": { "line": 185, "column": 70 }, "end": { "line": 185, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8278, "end": 8283, "loc": { "start": { "line": 185, "column": 71 }, "end": { "line": 185, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8283, "end": 8284, "loc": { "start": { "line": 185, "column": 76 }, "end": { "line": 185, "column": 77 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8285, "end": 8289, "loc": { "start": { "line": 185, "column": 78 }, "end": { "line": 185, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8289, "end": 8290, "loc": { "start": { "line": 185, "column": 82 }, "end": { "line": 185, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8290, "end": 8297, "loc": { "start": { "line": 185, "column": 83 }, "end": { "line": 185, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8297, "end": 8298, "loc": { "start": { "line": 185, "column": 90 }, "end": { "line": 185, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8299, "end": 8311, "loc": { "start": { "line": 185, "column": 92 }, "end": { "line": 185, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8311, "end": 8312, "loc": { "start": { "line": 185, "column": 104 }, "end": { "line": 185, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8312, "end": 8313, "loc": { "start": { "line": 185, "column": 105 }, "end": { "line": 185, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8313, "end": 8314, "loc": { "start": { "line": 185, "column": 106 }, "end": { "line": 185, "column": 107 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 8324, "end": 8330, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 8331, "end": 8336, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 186, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8336, "end": 8337, "loc": { "start": { "line": 186, "column": 20 }, "end": { "line": 186, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8345, "end": 8346, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8356, "end": 8360, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8360, "end": 8361, "loc": { "start": { "line": 189, "column": 10 }, "end": { "line": 189, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8361, "end": 8366, "loc": { "start": { "line": 189, "column": 11 }, "end": { "line": 189, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8366, "end": 8367, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8367, "end": 8371, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8371, "end": 8372, "loc": { "start": { "line": 189, "column": 21 }, "end": { "line": 189, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8372, "end": 8379, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8379, "end": 8380, "loc": { "start": { "line": 189, "column": 29 }, "end": { "line": 189, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8380, "end": 8389, "loc": { "start": { "line": 189, "column": 30 }, "end": { "line": 189, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8389, "end": 8390, "loc": { "start": { "line": 189, "column": 39 }, "end": { "line": 189, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8392, "end": 8393, "loc": { "start": { "line": 189, "column": 42 }, "end": { "line": 189, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8394, "end": 8398, "loc": { "start": { "line": 189, "column": 44 }, "end": { "line": 189, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8398, "end": 8399, "loc": { "start": { "line": 189, "column": 48 }, "end": { "line": 189, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8399, "end": 8408, "loc": { "start": { "line": 189, "column": 49 }, "end": { "line": 189, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8408, "end": 8409, "loc": { "start": { "line": 189, "column": 58 }, "end": { "line": 189, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 8409, "end": 8424, "loc": { "start": { "line": 189, "column": 59 }, "end": { "line": 189, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8424, "end": 8425, "loc": { "start": { "line": 189, "column": 74 }, "end": { "line": 189, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8435, "end": 8441, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8441, "end": 8442, "loc": { "start": { "line": 190, "column": 14 }, "end": { "line": 190, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8443, "end": 8447, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8447, "end": 8448, "loc": { "start": { "line": 190, "column": 20 }, "end": { "line": 190, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8448, "end": 8453, "loc": { "start": { "line": 190, "column": 21 }, "end": { "line": 190, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8453, "end": 8454, "loc": { "start": { "line": 190, "column": 26 }, "end": { "line": 190, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8454, "end": 8458, "loc": { "start": { "line": 190, "column": 27 }, "end": { "line": 190, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8458, "end": 8459, "loc": { "start": { "line": 190, "column": 31 }, "end": { "line": 190, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8459, "end": 8466, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8466, "end": 8467, "loc": { "start": { "line": 190, "column": 39 }, "end": { "line": 190, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8467, "end": 8476, "loc": { "start": { "line": 190, "column": 40 }, "end": { "line": 190, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8476, "end": 8477, "loc": { "start": { "line": 190, "column": 49 }, "end": { "line": 190, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8477, "end": 8478, "loc": { "start": { "line": 190, "column": 50 }, "end": { "line": 190, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8479, "end": 8483, "loc": { "start": { "line": 190, "column": 52 }, "end": { "line": 190, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8483, "end": 8484, "loc": { "start": { "line": 190, "column": 56 }, "end": { "line": 190, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8484, "end": 8491, "loc": { "start": { "line": 190, "column": 57 }, "end": { "line": 190, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8491, "end": 8492, "loc": { "start": { "line": 190, "column": 64 }, "end": { "line": 190, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8493, "end": 8497, "loc": { "start": { "line": 190, "column": 66 }, "end": { "line": 190, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8497, "end": 8498, "loc": { "start": { "line": 190, "column": 70 }, "end": { "line": 190, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 8498, "end": 8511, "loc": { "start": { "line": 190, "column": 71 }, "end": { "line": 190, "column": 84 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8511, "end": 8512, "loc": { "start": { "line": 190, "column": 84 }, "end": { "line": 190, "column": 85 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 8513, "end": 8517, "loc": { "start": { "line": 190, "column": 86 }, "end": { "line": 190, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8525, "end": 8526, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 7 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8526, "end": 8527, "loc": { "start": { "line": 191, "column": 7 }, "end": { "line": 191, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8537, "end": 8539, "loc": { "start": { "line": 193, "column": 6 }, "end": { "line": 193, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8539, "end": 8540, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8540, "end": 8545, "loc": { "start": { "line": 193, "column": 9 }, "end": { "line": 193, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8545, "end": 8546, "loc": { "start": { "line": 193, "column": 14 }, "end": { "line": 193, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8556, "end": 8563, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8563, "end": 8564, "loc": { "start": { "line": 194, "column": 15 }, "end": { "line": 194, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8564, "end": 8567, "loc": { "start": { "line": 194, "column": 16 }, "end": { "line": 194, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8567, "end": 8568, "loc": { "start": { "line": 194, "column": 19 }, "end": { "line": 194, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input changed:", "start": 8568, "end": 8584, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8584, "end": 8585, "loc": { "start": { "line": 194, "column": 36 }, "end": { "line": 194, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8586, "end": 8590, "loc": { "start": { "line": 194, "column": 38 }, "end": { "line": 194, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8590, "end": 8591, "loc": { "start": { "line": 194, "column": 42 }, "end": { "line": 194, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8591, "end": 8596, "loc": { "start": { "line": 194, "column": 43 }, "end": { "line": 194, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8596, "end": 8597, "loc": { "start": { "line": 194, "column": 48 }, "end": { "line": 194, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8597, "end": 8598, "loc": { "start": { "line": 194, "column": 49 }, "end": { "line": 194, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8608, "end": 8667, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 198, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8675, "end": 8677, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 199, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8677, "end": 8678, "loc": { "start": { "line": 199, "column": 8 }, "end": { "line": 199, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8678, "end": 8682, "loc": { "start": { "line": 199, "column": 9 }, "end": { "line": 199, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8682, "end": 8683, "loc": { "start": { "line": 199, "column": 13 }, "end": { "line": 199, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8683, "end": 8690, "loc": { "start": { "line": 199, "column": 14 }, "end": { "line": 199, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8690, "end": 8691, "loc": { "start": { "line": 199, "column": 21 }, "end": { "line": 199, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8691, "end": 8709, "loc": { "start": { "line": 199, "column": 22 }, "end": { "line": 199, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8709, "end": 8710, "loc": { "start": { "line": 199, "column": 40 }, "end": { "line": 199, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8720, "end": 8724, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8724, "end": 8725, "loc": { "start": { "line": 200, "column": 12 }, "end": { "line": 200, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8725, "end": 8743, "loc": { "start": { "line": 200, "column": 13 }, "end": { "line": 200, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8743, "end": 8744, "loc": { "start": { "line": 200, "column": 31 }, "end": { "line": 200, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8744, "end": 8748, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8748, "end": 8749, "loc": { "start": { "line": 200, "column": 36 }, "end": { "line": 200, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8749, "end": 8754, "loc": { "start": { "line": 200, "column": 37 }, "end": { "line": 200, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8754, "end": 8755, "loc": { "start": { "line": 200, "column": 42 }, "end": { "line": 200, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8755, "end": 8756, "loc": { "start": { "line": 200, "column": 43 }, "end": { "line": 200, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8766, "end": 8807, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8815, "end": 8817, "loc": { "start": { "line": 205, "column": 6 }, "end": { "line": 205, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8817, "end": 8818, "loc": { "start": { "line": 205, "column": 8 }, "end": { "line": 205, "column": 9 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 8818, "end": 8824, "loc": { "start": { "line": 205, "column": 9 }, "end": { "line": 205, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8825, "end": 8829, "loc": { "start": { "line": 205, "column": 16 }, "end": { "line": 205, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8829, "end": 8830, "loc": { "start": { "line": 205, "column": 20 }, "end": { "line": 205, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8830, "end": 8837, "loc": { "start": { "line": 205, "column": 21 }, "end": { "line": 205, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8837, "end": 8838, "loc": { "start": { "line": 205, "column": 28 }, "end": { "line": 205, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8838, "end": 8846, "loc": { "start": { "line": 205, "column": 29 }, "end": { "line": 205, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8847, "end": 8850, "loc": { "start": { "line": 205, "column": 38 }, "end": { "line": 205, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 8851, "end": 8861, "loc": { "start": { "line": 205, "column": 42 }, "end": { "line": 205, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8861, "end": 8862, "loc": { "start": { "line": 205, "column": 52 }, "end": { "line": 205, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8872, "end": 8876, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8876, "end": 8877, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 206, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8877, "end": 8884, "loc": { "start": { "line": 206, "column": 13 }, "end": { "line": 206, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8884, "end": 8885, "loc": { "start": { "line": 206, "column": 20 }, "end": { "line": 206, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8885, "end": 8893, "loc": { "start": { "line": 206, "column": 21 }, "end": { "line": 206, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8893, "end": 8894, "loc": { "start": { "line": 206, "column": 29 }, "end": { "line": 206, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8894, "end": 8898, "loc": { "start": { "line": 206, "column": 30 }, "end": { "line": 206, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8898, "end": 8899, "loc": { "start": { "line": 206, "column": 34 }, "end": { "line": 206, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8899, "end": 8904, "loc": { "start": { "line": 206, "column": 35 }, "end": { "line": 206, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8904, "end": 8905, "loc": { "start": { "line": 206, "column": 40 }, "end": { "line": 206, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8905, "end": 8909, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8909, "end": 8910, "loc": { "start": { "line": 206, "column": 45 }, "end": { "line": 206, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8910, "end": 8917, "loc": { "start": { "line": 206, "column": 46 }, "end": { "line": 206, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8917, "end": 8918, "loc": { "start": { "line": 206, "column": 53 }, "end": { "line": 206, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8918, "end": 8927, "loc": { "start": { "line": 206, "column": 54 }, "end": { "line": 206, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8927, "end": 8928, "loc": { "start": { "line": 206, "column": 63 }, "end": { "line": 206, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8928, "end": 8929, "loc": { "start": { "line": 206, "column": 64 }, "end": { "line": 206, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8929, "end": 8930, "loc": { "start": { "line": 206, "column": 65 }, "end": { "line": 206, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8936, "end": 8937, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8949, "end": 8951, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 209, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8951, "end": 8952, "loc": { "start": { "line": 209, "column": 6 }, "end": { "line": 209, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8952, "end": 8957, "loc": { "start": { "line": 209, "column": 7 }, "end": { "line": 209, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8957, "end": 8958, "loc": { "start": { "line": 209, "column": 12 }, "end": { "line": 209, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8958, "end": 8959, "loc": { "start": { "line": 209, "column": 13 }, "end": { "line": 209, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8967, "end": 8974, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8974, "end": 8975, "loc": { "start": { "line": 210, "column": 13 }, "end": { "line": 210, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8975, "end": 8978, "loc": { "start": { "line": 210, "column": 14 }, "end": { "line": 210, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8978, "end": 8979, "loc": { "start": { "line": 210, "column": 17 }, "end": { "line": 210, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Key pressed:", "start": 8979, "end": 8993, "loc": { "start": { "line": 210, "column": 18 }, "end": { "line": 210, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8993, "end": 8994, "loc": { "start": { "line": 210, "column": 32 }, "end": { "line": 210, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8995, "end": 9001, "loc": { "start": { "line": 210, "column": 34 }, "end": { "line": 210, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9001, "end": 9002, "loc": { "start": { "line": 210, "column": 40 }, "end": { "line": 210, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9002, "end": 9003, "loc": { "start": { "line": 210, "column": 41 }, "end": { "line": 210, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9009, "end": 9010, "loc": { "start": { "line": 211, "column": 4 }, "end": { "line": 211, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9014, "end": 9015, "loc": { "start": { "line": 212, "column": 2 }, "end": { "line": 212, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9021, "end": 9062, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9066, "end": 9092, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 9096, "end": 9117, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9117, "end": 9118, "loc": { "start": { "line": 218, "column": 23 }, "end": { "line": 218, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9118, "end": 9124, "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9124, "end": 9125, "loc": { "start": { "line": 218, "column": 30 }, "end": { "line": 218, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 9126, "end": 9127, "loc": { "start": { "line": 218, "column": 32 }, "end": { "line": 218, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9127, "end": 9128, "loc": { "start": { "line": 218, "column": 33 }, "end": { "line": 218, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9128, "end": 9129, "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 218, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9135, "end": 9214, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 221, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9220, "end": 9224, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9224, "end": 9225, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9225, "end": 9236, "loc": { "start": { "line": 222, "column": 9 }, "end": { "line": 222, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9237, "end": 9238, "loc": { "start": { "line": 222, "column": 21 }, "end": { "line": 222, "column": 22 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 9239, "end": 9243, "loc": { "start": { "line": 222, "column": 23 }, "end": { "line": 222, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9243, "end": 9244, "loc": { "start": { "line": 222, "column": 27 }, "end": { "line": 222, "column": 28 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9252, "end": 9254, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9254, "end": 9255, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9255, "end": 9259, "loc": { "start": { "line": 224, "column": 7 }, "end": { "line": 224, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9259, "end": 9260, "loc": { "start": { "line": 224, "column": 11 }, "end": { "line": 224, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9260, "end": 9282, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9282, "end": 9283, "loc": { "start": { "line": 224, "column": 34 }, "end": { "line": 224, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9291, "end": 9303, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9303, "end": 9304, "loc": { "start": { "line": 225, "column": 18 }, "end": { "line": 225, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9304, "end": 9308, "loc": { "start": { "line": 225, "column": 19 }, "end": { "line": 225, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9308, "end": 9309, "loc": { "start": { "line": 225, "column": 23 }, "end": { "line": 225, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9309, "end": 9331, "loc": { "start": { "line": 225, "column": 24 }, "end": { "line": 225, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9331, "end": 9332, "loc": { "start": { "line": 225, "column": 46 }, "end": { "line": 225, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9332, "end": 9333, "loc": { "start": { "line": 225, "column": 47 }, "end": { "line": 225, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9341, "end": 9343, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9343, "end": 9344, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9344, "end": 9348, "loc": { "start": { "line": 227, "column": 7 }, "end": { "line": 227, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9348, "end": 9349, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9349, "end": 9360, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9360, "end": 9361, "loc": { "start": { "line": 227, "column": 23 }, "end": { "line": 227, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9369, "end": 9381, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9381, "end": 9382, "loc": { "start": { "line": 228, "column": 18 }, "end": { "line": 228, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9382, "end": 9386, "loc": { "start": { "line": 228, "column": 19 }, "end": { "line": 228, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9386, "end": 9387, "loc": { "start": { "line": 228, "column": 23 }, "end": { "line": 228, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9387, "end": 9398, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9398, "end": 9399, "loc": { "start": { "line": 228, "column": 35 }, "end": { "line": 228, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9399, "end": 9400, "loc": { "start": { "line": 228, "column": 36 }, "end": { "line": 228, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9408, "end": 9485, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 232, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9491, "end": 9495, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9495, "end": 9496, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9496, "end": 9507, "loc": { "start": { "line": 233, "column": 9 }, "end": { "line": 233, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9508, "end": 9509, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 9510, "end": 9520, "loc": { "start": { "line": 233, "column": 23 }, "end": { "line": 233, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9520, "end": 9521, "loc": { "start": { "line": 233, "column": 33 }, "end": { "line": 233, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9521, "end": 9522, "loc": { "start": { "line": 233, "column": 34 }, "end": { "line": 233, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9522, "end": 9523, "loc": { "start": { "line": 233, "column": 35 }, "end": { "line": 233, "column": 36 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9524, "end": 9526, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9527, "end": 9528, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 233, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9536, "end": 9538, "loc": { "start": { "line": 234, "column": 6 }, "end": { "line": 234, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9538, "end": 9539, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9549, "end": 9553, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9553, "end": 9554, "loc": { "start": { "line": 235, "column": 12 }, "end": { "line": 235, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9554, "end": 9565, "loc": { "start": { "line": 235, "column": 13 }, "end": { "line": 235, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9567, "end": 9569, "loc": { "start": { "line": 235, "column": 26 }, "end": { "line": 235, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9579, "end": 9580, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9592, "end": 9593, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 237, "column": 11 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 9593, "end": 9594, "loc": { "start": { "line": 237, "column": 11 }, "end": { "line": 237, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9594, "end": 9600, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9600, "end": 9601, "loc": { "start": { "line": 237, "column": 18 }, "end": { "line": 237, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9601, "end": 9609, "loc": { "start": { "line": 237, "column": 19 }, "end": { "line": 237, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9609, "end": 9610, "loc": { "start": { "line": 237, "column": 27 }, "end": { "line": 237, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{", "start": 9610, "end": 9613, "loc": { "start": { "line": 237, "column": 28 }, "end": { "line": 237, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9613, "end": 9614, "loc": { "start": { "line": 237, "column": 31 }, "end": { "line": 237, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9615, "end": 9617, "loc": { "start": { "line": 237, "column": 33 }, "end": { "line": 237, "column": 35 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 9618, "end": 9619, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9619, "end": 9625, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9625, "end": 9626, "loc": { "start": { "line": 237, "column": 43 }, "end": { "line": 237, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9626, "end": 9634, "loc": { "start": { "line": 237, "column": 44 }, "end": { "line": 237, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9634, "end": 9635, "loc": { "start": { "line": 237, "column": 52 }, "end": { "line": 237, "column": 53 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "}", "start": 9635, "end": 9638, "loc": { "start": { "line": 237, "column": 53 }, "end": { "line": 237, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9638, "end": 9639, "loc": { "start": { "line": 237, "column": 56 }, "end": { "line": 237, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9639, "end": 9640, "loc": { "start": { "line": 237, "column": 57 }, "end": { "line": 237, "column": 58 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9641, "end": 9643, "loc": { "start": { "line": 237, "column": 59 }, "end": { "line": 237, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9655, "end": 9661, "loc": { "start": { "line": 238, "column": 10 }, "end": { "line": 238, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9662, "end": 9665, "loc": { "start": { "line": 238, "column": 17 }, "end": { "line": 238, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{bksp}", "start": 9666, "end": 9674, "loc": { "start": { "line": 238, "column": 21 }, "end": { "line": 238, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9675, "end": 9677, "loc": { "start": { "line": 238, "column": 30 }, "end": { "line": 238, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9689, "end": 9695, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 239, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9696, "end": 9699, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{space}", "start": 9700, "end": 9709, "loc": { "start": { "line": 239, "column": 21 }, "end": { "line": 239, "column": 30 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9710, "end": 9712, "loc": { "start": { "line": 239, "column": 31 }, "end": { "line": 239, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9724, "end": 9730, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9731, "end": 9734, "loc": { "start": { "line": 240, "column": 17 }, "end": { "line": 240, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{tab}", "start": 9735, "end": 9742, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9752, "end": 9753, "loc": { "start": { "line": 241, "column": 8 }, "end": { "line": 241, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9761, "end": 9762, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9762, "end": 9763, "loc": { "start": { "line": 242, "column": 7 }, "end": { "line": 242, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9773, "end": 9775, "loc": { "start": { "line": 243, "column": 8 }, "end": { "line": 243, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9775, "end": 9776, "loc": { "start": { "line": 243, "column": 10 }, "end": { "line": 243, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9776, "end": 9780, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9780, "end": 9781, "loc": { "start": { "line": 243, "column": 15 }, "end": { "line": 243, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9781, "end": 9788, "loc": { "start": { "line": 243, "column": 16 }, "end": { "line": 243, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9788, "end": 9789, "loc": { "start": { "line": 243, "column": 23 }, "end": { "line": 243, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 9789, "end": 9794, "loc": { "start": { "line": 243, "column": 24 }, "end": { "line": 243, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9794, "end": 9795, "loc": { "start": { "line": 243, "column": 29 }, "end": { "line": 243, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 9807, "end": 9814, "loc": { "start": { "line": 244, "column": 10 }, "end": { "line": 244, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9814, "end": 9815, "loc": { "start": { "line": 244, "column": 17 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 9815, "end": 9818, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9818, "end": 9819, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Button held:", "start": 9819, "end": 9833, "loc": { "start": { "line": 244, "column": 22 }, "end": { "line": 244, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9833, "end": 9834, "loc": { "start": { "line": 244, "column": 36 }, "end": { "line": 244, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9835, "end": 9841, "loc": { "start": { "line": 244, "column": 38 }, "end": { "line": 244, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9841, "end": 9842, "loc": { "start": { "line": 244, "column": 44 }, "end": { "line": 244, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9842, "end": 9843, "loc": { "start": { "line": 244, "column": 45 }, "end": { "line": 244, "column": 46 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9855, "end": 9859, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9859, "end": 9860, "loc": { "start": { "line": 246, "column": 12 }, "end": { "line": 246, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 9860, "end": 9876, "loc": { "start": { "line": 246, "column": 13 }, "end": { "line": 246, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9876, "end": 9877, "loc": { "start": { "line": 246, "column": 29 }, "end": { "line": 246, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9877, "end": 9883, "loc": { "start": { "line": 246, "column": 30 }, "end": { "line": 246, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9883, "end": 9884, "loc": { "start": { "line": 246, "column": 36 }, "end": { "line": 246, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 9885, "end": 9886, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9886, "end": 9887, "loc": { "start": { "line": 246, "column": 39 }, "end": { "line": 246, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9887, "end": 9888, "loc": { "start": { "line": 246, "column": 40 }, "end": { "line": 246, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9896, "end": 9897, "loc": { "start": { "line": 247, "column": 6 }, "end": { "line": 247, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9905, "end": 9917, "loc": { "start": { "line": 248, "column": 6 }, "end": { "line": 248, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9917, "end": 9918, "loc": { "start": { "line": 248, "column": 18 }, "end": { "line": 248, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9918, "end": 9922, "loc": { "start": { "line": 248, "column": 19 }, "end": { "line": 248, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9922, "end": 9923, "loc": { "start": { "line": 248, "column": 23 }, "end": { "line": 248, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9923, "end": 9934, "loc": { "start": { "line": 248, "column": 24 }, "end": { "line": 248, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9934, "end": 9935, "loc": { "start": { "line": 248, "column": 35 }, "end": { "line": 248, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9935, "end": 9936, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9942, "end": 9943, "loc": { "start": { "line": 249, "column": 4 }, "end": { "line": 249, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9943, "end": 9944, "loc": { "start": { "line": 249, "column": 5 }, "end": { "line": 249, "column": 6 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 500, "start": 9945, "end": 9948, "loc": { "start": { "line": 249, "column": 7 }, "end": { "line": 249, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9948, "end": 9949, "loc": { "start": { "line": 249, "column": 10 }, "end": { "line": 249, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9949, "end": 9950, "loc": { "start": { "line": 249, "column": 11 }, "end": { "line": 249, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9954, "end": 9955, "loc": { "start": { "line": 250, "column": 2 }, "end": { "line": 250, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9961, "end": 10000, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 254, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 10004, "end": 10023, "loc": { "start": { "line": 255, "column": 2 }, "end": { "line": 255, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10023, "end": 10024, "loc": { "start": { "line": 255, "column": 21 }, "end": { "line": 255, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10024, "end": 10025, "loc": { "start": { "line": 255, "column": 22 }, "end": { "line": 255, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10025, "end": 10026, "loc": { "start": { "line": 255, "column": 23 }, "end": { "line": 255, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10032, "end": 10036, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10036, "end": 10037, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 10037, "end": 10048, "loc": { "start": { "line": 256, "column": 9 }, "end": { "line": 256, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10049, "end": 10050, "loc": { "start": { "line": 256, "column": 21 }, "end": { "line": 256, "column": 22 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 10051, "end": 10056, "loc": { "start": { "line": 256, "column": 23 }, "end": { "line": 256, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10056, "end": 10057, "loc": { "start": { "line": 256, "column": 28 }, "end": { "line": 256, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10063, "end": 10065, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10065, "end": 10066, "loc": { "start": { "line": 257, "column": 6 }, "end": { "line": 257, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10066, "end": 10070, "loc": { "start": { "line": 257, "column": 7 }, "end": { "line": 257, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10070, "end": 10071, "loc": { "start": { "line": 257, "column": 11 }, "end": { "line": 257, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10071, "end": 10093, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10093, "end": 10094, "loc": { "start": { "line": 257, "column": 34 }, "end": { "line": 257, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 10102, "end": 10114, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10114, "end": 10115, "loc": { "start": { "line": 258, "column": 18 }, "end": { "line": 258, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10115, "end": 10119, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10119, "end": 10120, "loc": { "start": { "line": 258, "column": 23 }, "end": { "line": 258, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10120, "end": 10142, "loc": { "start": { "line": 258, "column": 24 }, "end": { "line": 258, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10142, "end": 10143, "loc": { "start": { "line": 258, "column": 46 }, "end": { "line": 258, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10143, "end": 10144, "loc": { "start": { "line": 258, "column": 47 }, "end": { "line": 258, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10148, "end": 10149, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 259, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10155, "end": 10191, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10195, "end": 10221, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 10225, "end": 10241, "loc": { "start": { "line": 265, "column": 2 }, "end": { "line": 265, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10241, "end": 10242, "loc": { "start": { "line": 265, "column": 18 }, "end": { "line": 265, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10242, "end": 10248, "loc": { "start": { "line": 265, "column": 19 }, "end": { "line": 265, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10248, "end": 10249, "loc": { "start": { "line": 265, "column": 25 }, "end": { "line": 265, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10249, "end": 10250, "loc": { "start": { "line": 265, "column": 26 }, "end": { "line": 265, "column": 27 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10256, "end": 10258, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10258, "end": 10259, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10259, "end": 10263, "loc": { "start": { "line": 266, "column": 7 }, "end": { "line": 266, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10263, "end": 10264, "loc": { "start": { "line": 266, "column": 11 }, "end": { "line": 266, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10264, "end": 10286, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10286, "end": 10287, "loc": { "start": { "line": 266, "column": 34 }, "end": { "line": 266, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 10295, "end": 10307, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10307, "end": 10308, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10308, "end": 10312, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10312, "end": 10313, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10313, "end": 10335, "loc": { "start": { "line": 267, "column": 24 }, "end": { "line": 267, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10335, "end": 10336, "loc": { "start": { "line": 267, "column": 46 }, "end": { "line": 267, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10336, "end": 10337, "loc": { "start": { "line": 267, "column": 47 }, "end": { "line": 267, "column": 48 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10345, "end": 10431, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 271, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10437, "end": 10441, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 272, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10441, "end": 10442, "loc": { "start": { "line": 272, "column": 8 }, "end": { "line": 272, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10442, "end": 10464, "loc": { "start": { "line": 272, "column": 9 }, "end": { "line": 272, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10465, "end": 10466, "loc": { "start": { "line": 272, "column": 32 }, "end": { "line": 272, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 10467, "end": 10477, "loc": { "start": { "line": 272, "column": 34 }, "end": { "line": 272, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10477, "end": 10478, "loc": { "start": { "line": 272, "column": 44 }, "end": { "line": 272, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10478, "end": 10479, "loc": { "start": { "line": 272, "column": 45 }, "end": { "line": 272, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10479, "end": 10480, "loc": { "start": { "line": 272, "column": 46 }, "end": { "line": 272, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10481, "end": 10483, "loc": { "start": { "line": 272, "column": 48 }, "end": { "line": 272, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10484, "end": 10485, "loc": { "start": { "line": 272, "column": 51 }, "end": { "line": 272, "column": 52 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10493, "end": 10495, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 273, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10495, "end": 10496, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10496, "end": 10500, "loc": { "start": { "line": 273, "column": 9 }, "end": { "line": 273, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10500, "end": 10501, "loc": { "start": { "line": 273, "column": 13 }, "end": { "line": 273, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 10501, "end": 10512, "loc": { "start": { "line": 273, "column": 14 }, "end": { "line": 273, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10512, "end": 10513, "loc": { "start": { "line": 273, "column": 25 }, "end": { "line": 273, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10513, "end": 10514, "loc": { "start": { "line": 273, "column": 26 }, "end": { "line": 273, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10524, "end": 10528, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10528, "end": 10529, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 10529, "end": 10548, "loc": { "start": { "line": 274, "column": 13 }, "end": { "line": 274, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10548, "end": 10549, "loc": { "start": { "line": 274, "column": 32 }, "end": { "line": 274, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10549, "end": 10555, "loc": { "start": { "line": 274, "column": 33 }, "end": { "line": 274, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10555, "end": 10556, "loc": { "start": { "line": 274, "column": 39 }, "end": { "line": 274, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10556, "end": 10557, "loc": { "start": { "line": 274, "column": 40 }, "end": { "line": 274, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10567, "end": 10571, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10571, "end": 10572, "loc": { "start": { "line": 275, "column": 12 }, "end": { "line": 275, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 10572, "end": 10588, "loc": { "start": { "line": 275, "column": 13 }, "end": { "line": 275, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10588, "end": 10589, "loc": { "start": { "line": 275, "column": 29 }, "end": { "line": 275, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10589, "end": 10595, "loc": { "start": { "line": 275, "column": 30 }, "end": { "line": 275, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10595, "end": 10596, "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10596, "end": 10597, "loc": { "start": { "line": 275, "column": 37 }, "end": { "line": 275, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10605, "end": 10606, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 7 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 10607, "end": 10611, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10612, "end": 10613, "loc": { "start": { "line": 276, "column": 13 }, "end": { "line": 276, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 10623, "end": 10635, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10635, "end": 10636, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10636, "end": 10640, "loc": { "start": { "line": 277, "column": 21 }, "end": { "line": 277, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10640, "end": 10641, "loc": { "start": { "line": 277, "column": 25 }, "end": { "line": 277, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10641, "end": 10663, "loc": { "start": { "line": 277, "column": 26 }, "end": { "line": 277, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10663, "end": 10664, "loc": { "start": { "line": 277, "column": 48 }, "end": { "line": 277, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10664, "end": 10665, "loc": { "start": { "line": 277, "column": 49 }, "end": { "line": 277, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10673, "end": 10674, "loc": { "start": { "line": 278, "column": 6 }, "end": { "line": 278, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10680, "end": 10681, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 279, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10681, "end": 10682, "loc": { "start": { "line": 279, "column": 5 }, "end": { "line": 279, "column": 6 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 10683, "end": 10686, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10686, "end": 10687, "loc": { "start": { "line": 279, "column": 10 }, "end": { "line": 279, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10687, "end": 10688, "loc": { "start": { "line": 279, "column": 11 }, "end": { "line": 279, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10692, "end": 10693, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 280, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10699, "end": 10796, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 284, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10800, "end": 10818, "loc": { "start": { "line": 285, "column": 2 }, "end": { "line": 285, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10818, "end": 10819, "loc": { "start": { "line": 285, "column": 20 }, "end": { "line": 285, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10819, "end": 10820, "loc": { "start": { "line": 285, "column": 21 }, "end": { "line": 285, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10820, "end": 10821, "loc": { "start": { "line": 285, "column": 22 }, "end": { "line": 285, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10827, "end": 10831, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10831, "end": 10832, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 10832, "end": 10840, "loc": { "start": { "line": 286, "column": 9 }, "end": { "line": 286, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10840, "end": 10841, "loc": { "start": { "line": 286, "column": 17 }, "end": { "line": 286, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10841, "end": 10842, "loc": { "start": { "line": 286, "column": 18 }, "end": { "line": 286, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10842, "end": 10850, "loc": { "start": { "line": 286, "column": 19 }, "end": { "line": 286, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10850, "end": 10851, "loc": { "start": { "line": 286, "column": 27 }, "end": { "line": 286, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10852, "end": 10854, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10855, "end": 10856, "loc": { "start": { "line": 286, "column": 32 }, "end": { "line": 286, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10864, "end": 10872, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10872, "end": 10873, "loc": { "start": { "line": 287, "column": 14 }, "end": { "line": 287, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 10873, "end": 10885, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10885, "end": 10886, "loc": { "start": { "line": 287, "column": 27 }, "end": { "line": 287, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10886, "end": 10890, "loc": { "start": { "line": 287, "column": 28 }, "end": { "line": 287, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10890, "end": 10891, "loc": { "start": { "line": 287, "column": 32 }, "end": { "line": 287, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10891, "end": 10896, "loc": { "start": { "line": 287, "column": 33 }, "end": { "line": 287, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10896, "end": 10897, "loc": { "start": { "line": 287, "column": 38 }, "end": { "line": 287, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10897, "end": 10898, "loc": { "start": { "line": 287, "column": 39 }, "end": { "line": 287, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10904, "end": 10905, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10905, "end": 10906, "loc": { "start": { "line": 288, "column": 5 }, "end": { "line": 288, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10906, "end": 10907, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10911, "end": 10912, "loc": { "start": { "line": 289, "column": 2 }, "end": { "line": 289, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10920, "end": 11038, "loc": { "start": { "line": 291, "column": 2 }, "end": { "line": 294, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 11042, "end": 11052, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 295, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11052, "end": 11053, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11053, "end": 11062, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11062, "end": 11063, "loc": { "start": { "line": 295, "column": 22 }, "end": { "line": 295, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11063, "end": 11064, "loc": { "start": { "line": 295, "column": 23 }, "end": { "line": 295, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11070, "end": 11079, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11080, "end": 11081, "loc": { "start": { "line": 296, "column": 14 }, "end": { "line": 296, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11082, "end": 11091, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11092, "end": 11094, "loc": { "start": { "line": 296, "column": 26 }, "end": { "line": 296, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11095, "end": 11099, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11099, "end": 11100, "loc": { "start": { "line": 296, "column": 33 }, "end": { "line": 296, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11100, "end": 11107, "loc": { "start": { "line": 296, "column": 34 }, "end": { "line": 296, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11107, "end": 11108, "loc": { "start": { "line": 296, "column": 41 }, "end": { "line": 296, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11108, "end": 11117, "loc": { "start": { "line": 296, "column": 42 }, "end": { "line": 296, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11117, "end": 11118, "loc": { "start": { "line": 296, "column": 51 }, "end": { "line": 296, "column": 52 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11124, "end": 11128, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11128, "end": 11129, "loc": { "start": { "line": 297, "column": 8 }, "end": { "line": 297, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11129, "end": 11134, "loc": { "start": { "line": 297, "column": 9 }, "end": { "line": 297, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11134, "end": 11135, "loc": { "start": { "line": 297, "column": 14 }, "end": { "line": 297, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11135, "end": 11139, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11139, "end": 11140, "loc": { "start": { "line": 297, "column": 19 }, "end": { "line": 297, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11140, "end": 11147, "loc": { "start": { "line": 297, "column": 20 }, "end": { "line": 297, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11147, "end": 11148, "loc": { "start": { "line": 297, "column": 27 }, "end": { "line": 297, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11148, "end": 11157, "loc": { "start": { "line": 297, "column": 28 }, "end": { "line": 297, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11157, "end": 11158, "loc": { "start": { "line": 297, "column": 37 }, "end": { "line": 297, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11159, "end": 11160, "loc": { "start": { "line": 297, "column": 39 }, "end": { "line": 297, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11161, "end": 11163, "loc": { "start": { "line": 297, "column": 41 }, "end": { "line": 297, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11163, "end": 11164, "loc": { "start": { "line": 297, "column": 43 }, "end": { "line": 297, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11172, "end": 11227, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 301, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11233, "end": 11235, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 302, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11235, "end": 11236, "loc": { "start": { "line": 302, "column": 6 }, "end": { "line": 302, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11236, "end": 11240, "loc": { "start": { "line": 302, "column": 7 }, "end": { "line": 302, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11240, "end": 11241, "loc": { "start": { "line": 302, "column": 11 }, "end": { "line": 302, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11241, "end": 11248, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11248, "end": 11249, "loc": { "start": { "line": 302, "column": 19 }, "end": { "line": 302, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11249, "end": 11267, "loc": { "start": { "line": 302, "column": 20 }, "end": { "line": 302, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11267, "end": 11268, "loc": { "start": { "line": 302, "column": 38 }, "end": { "line": 302, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11276, "end": 11280, "loc": { "start": { "line": 303, "column": 6 }, "end": { "line": 303, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11280, "end": 11281, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11281, "end": 11299, "loc": { "start": { "line": 303, "column": 11 }, "end": { "line": 303, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11299, "end": 11300, "loc": { "start": { "line": 303, "column": 29 }, "end": { "line": 303, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11300, "end": 11304, "loc": { "start": { "line": 303, "column": 30 }, "end": { "line": 303, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11304, "end": 11305, "loc": { "start": { "line": 303, "column": 34 }, "end": { "line": 303, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11305, "end": 11310, "loc": { "start": { "line": 303, "column": 35 }, "end": { "line": 303, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11310, "end": 11311, "loc": { "start": { "line": 303, "column": 40 }, "end": { "line": 303, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11311, "end": 11312, "loc": { "start": { "line": 303, "column": 41 }, "end": { "line": 303, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11316, "end": 11317, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 304, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11323, "end": 11485, "loc": { "start": { "line": 306, "column": 2 }, "end": { "line": 309, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 11489, "end": 11497, "loc": { "start": { "line": 310, "column": 2 }, "end": { "line": 310, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11497, "end": 11498, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11498, "end": 11507, "loc": { "start": { "line": 310, "column": 11 }, "end": { "line": 310, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11507, "end": 11508, "loc": { "start": { "line": 310, "column": 20 }, "end": { "line": 310, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11508, "end": 11509, "loc": { "start": { "line": 310, "column": 21 }, "end": { "line": 310, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11515, "end": 11524, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11525, "end": 11526, "loc": { "start": { "line": 311, "column": 14 }, "end": { "line": 311, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11527, "end": 11536, "loc": { "start": { "line": 311, "column": 16 }, "end": { "line": 311, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11537, "end": 11539, "loc": { "start": { "line": 311, "column": 26 }, "end": { "line": 311, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11540, "end": 11544, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11544, "end": 11545, "loc": { "start": { "line": 311, "column": 33 }, "end": { "line": 311, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11545, "end": 11552, "loc": { "start": { "line": 311, "column": 34 }, "end": { "line": 311, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11552, "end": 11553, "loc": { "start": { "line": 311, "column": 41 }, "end": { "line": 311, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11553, "end": 11562, "loc": { "start": { "line": 311, "column": 42 }, "end": { "line": 311, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11562, "end": 11563, "loc": { "start": { "line": 311, "column": 51 }, "end": { "line": 311, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11571, "end": 11626, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 315, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11632, "end": 11634, "loc": { "start": { "line": 316, "column": 4 }, "end": { "line": 316, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11634, "end": 11635, "loc": { "start": { "line": 316, "column": 6 }, "end": { "line": 316, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11635, "end": 11639, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11639, "end": 11640, "loc": { "start": { "line": 316, "column": 11 }, "end": { "line": 316, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11640, "end": 11647, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11647, "end": 11648, "loc": { "start": { "line": 316, "column": 19 }, "end": { "line": 316, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11648, "end": 11666, "loc": { "start": { "line": 316, "column": 20 }, "end": { "line": 316, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11666, "end": 11667, "loc": { "start": { "line": 316, "column": 38 }, "end": { "line": 316, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11675, "end": 11679, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11679, "end": 11680, "loc": { "start": { "line": 317, "column": 10 }, "end": { "line": 317, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11680, "end": 11698, "loc": { "start": { "line": 317, "column": 11 }, "end": { "line": 317, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11698, "end": 11699, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11699, "end": 11703, "loc": { "start": { "line": 317, "column": 30 }, "end": { "line": 317, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11703, "end": 11704, "loc": { "start": { "line": 317, "column": 34 }, "end": { "line": 317, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11704, "end": 11709, "loc": { "start": { "line": 317, "column": 35 }, "end": { "line": 317, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11709, "end": 11710, "loc": { "start": { "line": 317, "column": 40 }, "end": { "line": 317, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11710, "end": 11711, "loc": { "start": { "line": 317, "column": 41 }, "end": { "line": 317, "column": 42 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 11719, "end": 11725, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 10 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11726, "end": 11730, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11730, "end": 11731, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11731, "end": 11736, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11736, "end": 11737, "loc": { "start": { "line": 319, "column": 21 }, "end": { "line": 319, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11737, "end": 11741, "loc": { "start": { "line": 319, "column": 22 }, "end": { "line": 319, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11741, "end": 11742, "loc": { "start": { "line": 319, "column": 26 }, "end": { "line": 319, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11742, "end": 11749, "loc": { "start": { "line": 319, "column": 27 }, "end": { "line": 319, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11749, "end": 11750, "loc": { "start": { "line": 319, "column": 34 }, "end": { "line": 319, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11750, "end": 11759, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11759, "end": 11760, "loc": { "start": { "line": 319, "column": 44 }, "end": { "line": 319, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11760, "end": 11761, "loc": { "start": { "line": 319, "column": 45 }, "end": { "line": 319, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11765, "end": 11766, "loc": { "start": { "line": 320, "column": 2 }, "end": { "line": 320, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11772, "end": 11932, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 11936, "end": 11944, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11944, "end": 11945, "loc": { "start": { "line": 327, "column": 10 }, "end": { "line": 327, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11945, "end": 11950, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11950, "end": 11951, "loc": { "start": { "line": 327, "column": 16 }, "end": { "line": 327, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11952, "end": 11961, "loc": { "start": { "line": 327, "column": 18 }, "end": { "line": 327, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11961, "end": 11962, "loc": { "start": { "line": 327, "column": 27 }, "end": { "line": 327, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11962, "end": 11963, "loc": { "start": { "line": 327, "column": 28 }, "end": { "line": 327, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11969, "end": 11978, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11979, "end": 11980, "loc": { "start": { "line": 328, "column": 14 }, "end": { "line": 328, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11981, "end": 11990, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11991, "end": 11993, "loc": { "start": { "line": 328, "column": 26 }, "end": { "line": 328, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11994, "end": 11998, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11998, "end": 11999, "loc": { "start": { "line": 328, "column": 33 }, "end": { "line": 328, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11999, "end": 12006, "loc": { "start": { "line": 328, "column": 34 }, "end": { "line": 328, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12006, "end": 12007, "loc": { "start": { "line": 328, "column": 41 }, "end": { "line": 328, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 12007, "end": 12016, "loc": { "start": { "line": 328, "column": 42 }, "end": { "line": 328, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12016, "end": 12017, "loc": { "start": { "line": 328, "column": 51 }, "end": { "line": 328, "column": 52 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12023, "end": 12027, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12027, "end": 12028, "loc": { "start": { "line": 329, "column": 8 }, "end": { "line": 329, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12028, "end": 12033, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12033, "end": 12034, "loc": { "start": { "line": 329, "column": 14 }, "end": { "line": 329, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 12034, "end": 12043, "loc": { "start": { "line": 329, "column": 15 }, "end": { "line": 329, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12043, "end": 12044, "loc": { "start": { "line": 329, "column": 24 }, "end": { "line": 329, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12045, "end": 12046, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12047, "end": 12052, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12052, "end": 12053, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12061, "end": 12116, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 333, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12122, "end": 12124, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12124, "end": 12125, "loc": { "start": { "line": 334, "column": 6 }, "end": { "line": 334, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12125, "end": 12129, "loc": { "start": { "line": 334, "column": 7 }, "end": { "line": 334, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12129, "end": 12130, "loc": { "start": { "line": 334, "column": 11 }, "end": { "line": 334, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12130, "end": 12137, "loc": { "start": { "line": 334, "column": 12 }, "end": { "line": 334, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12137, "end": 12138, "loc": { "start": { "line": 334, "column": 19 }, "end": { "line": 334, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 12138, "end": 12156, "loc": { "start": { "line": 334, "column": 20 }, "end": { "line": 334, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12156, "end": 12157, "loc": { "start": { "line": 334, "column": 38 }, "end": { "line": 334, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12165, "end": 12169, "loc": { "start": { "line": 335, "column": 6 }, "end": { "line": 335, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12169, "end": 12170, "loc": { "start": { "line": 335, "column": 10 }, "end": { "line": 335, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 12170, "end": 12188, "loc": { "start": { "line": 335, "column": 11 }, "end": { "line": 335, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12188, "end": 12189, "loc": { "start": { "line": 335, "column": 29 }, "end": { "line": 335, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12189, "end": 12193, "loc": { "start": { "line": 335, "column": 30 }, "end": { "line": 335, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12193, "end": 12194, "loc": { "start": { "line": 335, "column": 34 }, "end": { "line": 335, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12194, "end": 12199, "loc": { "start": { "line": 335, "column": 35 }, "end": { "line": 335, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12199, "end": 12200, "loc": { "start": { "line": 335, "column": 40 }, "end": { "line": 335, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12200, "end": 12201, "loc": { "start": { "line": 335, "column": 41 }, "end": { "line": 335, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12205, "end": 12206, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 336, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12214, "end": 12323, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 12327, "end": 12339, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 342, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12339, "end": 12340, "loc": { "start": { "line": 342, "column": 14 }, "end": { "line": 342, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 12340, "end": 12348, "loc": { "start": { "line": 342, "column": 15 }, "end": { "line": 342, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12348, "end": 12349, "loc": { "start": { "line": 342, "column": 23 }, "end": { "line": 342, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12349, "end": 12350, "loc": { "start": { "line": 342, "column": 24 }, "end": { "line": 342, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12356, "end": 12360, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12360, "end": 12361, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12361, "end": 12366, "loc": { "start": { "line": 343, "column": 9 }, "end": { "line": 343, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12367, "end": 12368, "loc": { "start": { "line": 343, "column": 15 }, "end": { "line": 343, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 12369, "end": 12377, "loc": { "start": { "line": 343, "column": 17 }, "end": { "line": 343, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12377, "end": 12378, "loc": { "start": { "line": 343, "column": 25 }, "end": { "line": 343, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12382, "end": 12383, "loc": { "start": { "line": 344, "column": 2 }, "end": { "line": 344, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 12389, "end": 12515, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 349, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setOptions", "start": 12519, "end": 12529, "loc": { "start": { "line": 350, "column": 2 }, "end": { "line": 350, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12530, "end": 12531, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12532, "end": 12538, "loc": { "start": { "line": 350, "column": 15 }, "end": { "line": 350, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12539, "end": 12541, "loc": { "start": { "line": 350, "column": 22 }, "end": { "line": 350, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12542, "end": 12543, "loc": { "start": { "line": 350, "column": 25 }, "end": { "line": 350, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12549, "end": 12555, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12556, "end": 12557, "loc": { "start": { "line": 351, "column": 11 }, "end": { "line": 351, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12558, "end": 12564, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12565, "end": 12567, "loc": { "start": { "line": 351, "column": 20 }, "end": { "line": 351, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12568, "end": 12569, "loc": { "start": { "line": 351, "column": 23 }, "end": { "line": 351, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12569, "end": 12570, "loc": { "start": { "line": 351, "column": 24 }, "end": { "line": 351, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12570, "end": 12571, "loc": { "start": { "line": 351, "column": 25 }, "end": { "line": 351, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12577, "end": 12581, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12581, "end": 12582, "loc": { "start": { "line": 352, "column": 8 }, "end": { "line": 352, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12582, "end": 12589, "loc": { "start": { "line": 352, "column": 9 }, "end": { "line": 352, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12590, "end": 12591, "loc": { "start": { "line": 352, "column": 17 }, "end": { "line": 352, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 12592, "end": 12598, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12598, "end": 12599, "loc": { "start": { "line": 352, "column": 25 }, "end": { "line": 352, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 12599, "end": 12605, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12605, "end": 12606, "loc": { "start": { "line": 352, "column": 32 }, "end": { "line": 352, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12606, "end": 12610, "loc": { "start": { "line": 352, "column": 33 }, "end": { "line": 352, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12610, "end": 12611, "loc": { "start": { "line": 352, "column": 37 }, "end": { "line": 352, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12611, "end": 12618, "loc": { "start": { "line": 352, "column": 38 }, "end": { "line": 352, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12618, "end": 12619, "loc": { "start": { "line": 352, "column": 45 }, "end": { "line": 352, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12620, "end": 12626, "loc": { "start": { "line": 352, "column": 47 }, "end": { "line": 352, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12626, "end": 12627, "loc": { "start": { "line": 352, "column": 53 }, "end": { "line": 352, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12627, "end": 12628, "loc": { "start": { "line": 352, "column": 54 }, "end": { "line": 352, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12634, "end": 12638, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12638, "end": 12639, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 12639, "end": 12645, "loc": { "start": { "line": 353, "column": 9 }, "end": { "line": 353, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12645, "end": 12646, "loc": { "start": { "line": 353, "column": 15 }, "end": { "line": 353, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12646, "end": 12647, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12647, "end": 12648, "loc": { "start": { "line": 353, "column": 17 }, "end": { "line": 353, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12652, "end": 12653, "loc": { "start": { "line": 354, "column": 2 }, "end": { "line": 354, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12659, "end": 12768, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 359, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 12772, "end": 12777, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 360, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12777, "end": 12778, "loc": { "start": { "line": 360, "column": 7 }, "end": { "line": 360, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12778, "end": 12779, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12779, "end": 12780, "loc": { "start": { "line": 360, "column": 9 }, "end": { "line": 360, "column": 10 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12786, "end": 12790, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12790, "end": 12791, "loc": { "start": { "line": 361, "column": 8 }, "end": { "line": 361, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 12791, "end": 12802, "loc": { "start": { "line": 361, "column": 9 }, "end": { "line": 361, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12802, "end": 12803, "loc": { "start": { "line": 361, "column": 20 }, "end": { "line": 361, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 12803, "end": 12812, "loc": { "start": { "line": 361, "column": 21 }, "end": { "line": 361, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12813, "end": 12814, "loc": { "start": { "line": 361, "column": 31 }, "end": { "line": 361, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 12815, "end": 12817, "loc": { "start": { "line": 361, "column": 33 }, "end": { "line": 361, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12817, "end": 12818, "loc": { "start": { "line": 361, "column": 35 }, "end": { "line": 361, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12824, "end": 12828, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12828, "end": 12829, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 12829, "end": 12840, "loc": { "start": { "line": 362, "column": 9 }, "end": { "line": 362, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12840, "end": 12841, "loc": { "start": { "line": 362, "column": 20 }, "end": { "line": 362, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12841, "end": 12850, "loc": { "start": { "line": 362, "column": 21 }, "end": { "line": 362, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12851, "end": 12852, "loc": { "start": { "line": 362, "column": 31 }, "end": { "line": 362, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12853, "end": 12857, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12857, "end": 12858, "loc": { "start": { "line": 362, "column": 37 }, "end": { "line": 362, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 12858, "end": 12874, "loc": { "start": { "line": 362, "column": 38 }, "end": { "line": 362, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12874, "end": 12875, "loc": { "start": { "line": 362, "column": 54 }, "end": { "line": 362, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12881, "end": 12885, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12885, "end": 12886, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 12886, "end": 12900, "loc": { "start": { "line": 363, "column": 9 }, "end": { "line": 363, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12901, "end": 12902, "loc": { "start": { "line": 363, "column": 24 }, "end": { "line": 363, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12903, "end": 12904, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12904, "end": 12905, "loc": { "start": { "line": 363, "column": 27 }, "end": { "line": 363, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12905, "end": 12906, "loc": { "start": { "line": 363, "column": 28 }, "end": { "line": 363, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12910, "end": 12911, "loc": { "start": { "line": 364, "column": 2 }, "end": { "line": 364, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12917, "end": 13122, "loc": { "start": { "line": 366, "column": 2 }, "end": { "line": 369, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 13126, "end": 13134, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 370, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13134, "end": 13135, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 13135, "end": 13143, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13143, "end": 13144, "loc": { "start": { "line": 370, "column": 19 }, "end": { "line": 370, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13144, "end": 13145, "loc": { "start": { "line": 370, "column": 20 }, "end": { "line": 370, "column": 21 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13151, "end": 13153, "loc": { "start": { "line": 371, "column": 4 }, "end": { "line": 371, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13153, "end": 13154, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13154, "end": 13155, "loc": { "start": { "line": 371, "column": 7 }, "end": { "line": 371, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13155, "end": 13161, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13161, "end": 13162, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 13162, "end": 13187, "loc": { "start": { "line": 371, "column": 15 }, "end": { "line": 371, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13187, "end": 13188, "loc": { "start": { "line": 371, "column": 40 }, "end": { "line": 371, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13188, "end": 13189, "loc": { "start": { "line": 371, "column": 41 }, "end": { "line": 371, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13189, "end": 13190, "loc": { "start": { "line": 371, "column": 42 }, "end": { "line": 371, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 13198, "end": 13205, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13205, "end": 13206, "loc": { "start": { "line": 372, "column": 13 }, "end": { "line": 372, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 13206, "end": 13210, "loc": { "start": { "line": 372, "column": 14 }, "end": { "line": 372, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13210, "end": 13211, "loc": { "start": { "line": 372, "column": 18 }, "end": { "line": 372, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13211, "end": 13212, "loc": { "start": { "line": 372, "column": 19 }, "end": { "line": 372, "column": 20 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", "start": 13212, "end": 13278, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 372, "column": 86 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13278, "end": 13279, "loc": { "start": { "line": 372, "column": 86 }, "end": { "line": 372, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13279, "end": 13280, "loc": { "start": { "line": 372, "column": 87 }, "end": { "line": 372, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13280, "end": 13281, "loc": { "start": { "line": 372, "column": 88 }, "end": { "line": 372, "column": 89 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 13289, "end": 13294, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 11 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 13295, "end": 13298, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 13299, "end": 13304, "loc": { "start": { "line": 373, "column": 16 }, "end": { "line": 373, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13304, "end": 13305, "loc": { "start": { "line": 373, "column": 21 }, "end": { "line": 373, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "INSTANCES_VAR_ERROR", "start": 13305, "end": 13326, "loc": { "start": { "line": 373, "column": 22 }, "end": { "line": 373, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13326, "end": 13327, "loc": { "start": { "line": 373, "column": 43 }, "end": { "line": 373, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13327, "end": 13328, "loc": { "start": { "line": 373, "column": 44 }, "end": { "line": 373, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13334, "end": 13335, "loc": { "start": { "line": 374, "column": 4 }, "end": { "line": 374, "column": 5 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 13347, "end": 13353, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 376, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 13354, "end": 13360, "loc": { "start": { "line": 376, "column": 11 }, "end": { "line": 376, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13360, "end": 13361, "loc": { "start": { "line": 376, "column": 17 }, "end": { "line": 376, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 13361, "end": 13365, "loc": { "start": { "line": 376, "column": 18 }, "end": { "line": 376, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13365, "end": 13366, "loc": { "start": { "line": 376, "column": 22 }, "end": { "line": 376, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13366, "end": 13372, "loc": { "start": { "line": 376, "column": 23 }, "end": { "line": 376, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13372, "end": 13373, "loc": { "start": { "line": 376, "column": 29 }, "end": { "line": 376, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 13373, "end": 13398, "loc": { "start": { "line": 376, "column": 30 }, "end": { "line": 376, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13398, "end": 13399, "loc": { "start": { "line": 376, "column": 55 }, "end": { "line": 376, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13399, "end": 13400, "loc": { "start": { "line": 376, "column": 56 }, "end": { "line": 376, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13400, "end": 13401, "loc": { "start": { "line": 376, "column": 57 }, "end": { "line": 376, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13401, "end": 13408, "loc": { "start": { "line": 376, "column": 58 }, "end": { "line": 376, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13408, "end": 13409, "loc": { "start": { "line": 376, "column": 65 }, "end": { "line": 376, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13409, "end": 13410, "loc": { "start": { "line": 376, "column": 66 }, "end": { "line": 376, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13410, "end": 13413, "loc": { "start": { "line": 376, "column": 67 }, "end": { "line": 376, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13413, "end": 13414, "loc": { "start": { "line": 376, "column": 70 }, "end": { "line": 376, "column": 71 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13415, "end": 13417, "loc": { "start": { "line": 376, "column": 72 }, "end": { "line": 376, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13418, "end": 13419, "loc": { "start": { "line": 376, "column": 75 }, "end": { "line": 376, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 13427, "end": 13435, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13435, "end": 13436, "loc": { "start": { "line": 377, "column": 14 }, "end": { "line": 377, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13436, "end": 13442, "loc": { "start": { "line": 377, "column": 15 }, "end": { "line": 377, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13442, "end": 13443, "loc": { "start": { "line": 377, "column": 21 }, "end": { "line": 377, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 13443, "end": 13468, "loc": { "start": { "line": 377, "column": 22 }, "end": { "line": 377, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13468, "end": 13469, "loc": { "start": { "line": 377, "column": 47 }, "end": { "line": 377, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13469, "end": 13470, "loc": { "start": { "line": 377, "column": 48 }, "end": { "line": 377, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13470, "end": 13473, "loc": { "start": { "line": 377, "column": 49 }, "end": { "line": 377, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13473, "end": 13474, "loc": { "start": { "line": 377, "column": 52 }, "end": { "line": 377, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13474, "end": 13475, "loc": { "start": { "line": 377, "column": 53 }, "end": { "line": 377, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13476, "end": 13479, "loc": { "start": { "line": 377, "column": 55 }, "end": { "line": 377, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13479, "end": 13480, "loc": { "start": { "line": 377, "column": 58 }, "end": { "line": 377, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13480, "end": 13481, "loc": { "start": { "line": 377, "column": 59 }, "end": { "line": 377, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13487, "end": 13488, "loc": { "start": { "line": 378, "column": 4 }, "end": { "line": 378, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13488, "end": 13489, "loc": { "start": { "line": 378, "column": 5 }, "end": { "line": 378, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13493, "end": 13494, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13500, "end": 13781, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 385, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 13785, "end": 13799, "loc": { "start": { "line": 386, "column": 2 }, "end": { "line": 386, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13799, "end": 13800, "loc": { "start": { "line": 386, "column": 16 }, "end": { "line": 386, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13800, "end": 13807, "loc": { "start": { "line": 386, "column": 17 }, "end": { "line": 386, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13807, "end": 13808, "loc": { "start": { "line": 386, "column": 24 }, "end": { "line": 386, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13809, "end": 13818, "loc": { "start": { "line": 386, "column": 26 }, "end": { "line": 386, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13818, "end": 13819, "loc": { "start": { "line": 386, "column": 35 }, "end": { "line": 386, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13819, "end": 13820, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 37 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13826, "end": 13828, "loc": { "start": { "line": 387, "column": 4 }, "end": { "line": 387, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13828, "end": 13829, "loc": { "start": { "line": 387, "column": 6 }, "end": { "line": 387, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13829, "end": 13830, "loc": { "start": { "line": 387, "column": 7 }, "end": { "line": 387, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13830, "end": 13839, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 13840, "end": 13842, "loc": { "start": { "line": 387, "column": 18 }, "end": { "line": 387, "column": 20 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13843, "end": 13844, "loc": { "start": { "line": 387, "column": 21 }, "end": { "line": 387, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13844, "end": 13851, "loc": { "start": { "line": 387, "column": 22 }, "end": { "line": 387, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13851, "end": 13852, "loc": { "start": { "line": 387, "column": 29 }, "end": { "line": 387, "column": 30 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 13860, "end": 13866, "loc": { "start": { "line": 388, "column": 6 }, "end": { "line": 388, "column": 12 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 13867, "end": 13872, "loc": { "start": { "line": 388, "column": 13 }, "end": { "line": 388, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13872, "end": 13873, "loc": { "start": { "line": 388, "column": 18 }, "end": { "line": 388, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13881, "end": 13888, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13888, "end": 13889, "loc": { "start": { "line": 390, "column": 11 }, "end": { "line": 390, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13889, "end": 13894, "loc": { "start": { "line": 390, "column": 12 }, "end": { "line": 390, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13894, "end": 13895, "loc": { "start": { "line": 390, "column": 17 }, "end": { "line": 390, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 13895, "end": 13898, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13898, "end": 13899, "loc": { "start": { "line": 390, "column": 21 }, "end": { "line": 390, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13899, "end": 13900, "loc": { "start": { "line": 390, "column": 22 }, "end": { "line": 390, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13900, "end": 13907, "loc": { "start": { "line": 390, "column": 23 }, "end": { "line": 390, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13907, "end": 13908, "loc": { "start": { "line": 390, "column": 30 }, "end": { "line": 390, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13908, "end": 13914, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 390, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13915, "end": 13917, "loc": { "start": { "line": 390, "column": 38 }, "end": { "line": 390, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13918, "end": 13919, "loc": { "start": { "line": 390, "column": 41 }, "end": { "line": 390, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13927, "end": 13936, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13936, "end": 13937, "loc": { "start": { "line": 391, "column": 15 }, "end": { "line": 391, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13937, "end": 13942, "loc": { "start": { "line": 391, "column": 16 }, "end": { "line": 391, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13942, "end": 13943, "loc": { "start": { "line": 391, "column": 21 }, "end": { "line": 391, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 13943, "end": 13946, "loc": { "start": { "line": 391, "column": 22 }, "end": { "line": 391, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13946, "end": 13947, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13947, "end": 13948, "loc": { "start": { "line": 391, "column": 26 }, "end": { "line": 391, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13948, "end": 13955, "loc": { "start": { "line": 391, "column": 27 }, "end": { "line": 391, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13955, "end": 13956, "loc": { "start": { "line": 391, "column": 34 }, "end": { "line": 391, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 13956, "end": 13969, "loc": { "start": { "line": 391, "column": 35 }, "end": { "line": 391, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13970, "end": 13972, "loc": { "start": { "line": 391, "column": 49 }, "end": { "line": 391, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13973, "end": 13974, "loc": { "start": { "line": 391, "column": 52 }, "end": { "line": 391, "column": 53 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13984, "end": 13986, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13986, "end": 13987, "loc": { "start": { "line": 392, "column": 10 }, "end": { "line": 392, "column": 11 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13987, "end": 13988, "loc": { "start": { "line": 392, "column": 11 }, "end": { "line": 392, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13988, "end": 13992, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13992, "end": 13993, "loc": { "start": { "line": 392, "column": 16 }, "end": { "line": 392, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13993, "end": 14000, "loc": { "start": { "line": 392, "column": 17 }, "end": { "line": 392, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14000, "end": 14001, "loc": { "start": { "line": 392, "column": 24 }, "end": { "line": 392, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14001, "end": 14012, "loc": { "start": { "line": 392, "column": 25 }, "end": { "line": 392, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14012, "end": 14013, "loc": { "start": { "line": 392, "column": 36 }, "end": { "line": 392, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 14025, "end": 14029, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14029, "end": 14030, "loc": { "start": { "line": 393, "column": 14 }, "end": { "line": 393, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14030, "end": 14037, "loc": { "start": { "line": 393, "column": 15 }, "end": { "line": 393, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14037, "end": 14038, "loc": { "start": { "line": 393, "column": 22 }, "end": { "line": 393, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14038, "end": 14049, "loc": { "start": { "line": 393, "column": 23 }, "end": { "line": 393, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14050, "end": 14051, "loc": { "start": { "line": 393, "column": 35 }, "end": { "line": 393, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14052, "end": 14053, "loc": { "start": { "line": 393, "column": 37 }, "end": { "line": 393, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14053, "end": 14054, "loc": { "start": { "line": 393, "column": 38 }, "end": { "line": 393, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14054, "end": 14055, "loc": { "start": { "line": 393, "column": 39 }, "end": { "line": 393, "column": 40 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 14067, "end": 14070, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14071, "end": 14085, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14086, "end": 14087, "loc": { "start": { "line": 395, "column": 27 }, "end": { "line": 395, "column": 28 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 14088, "end": 14093, "loc": { "start": { "line": 395, "column": 29 }, "end": { "line": 395, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14093, "end": 14094, "loc": { "start": { "line": 395, "column": 34 }, "end": { "line": 395, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14108, "end": 14199, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 14209, "end": 14213, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14213, "end": 14214, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14214, "end": 14221, "loc": { "start": { "line": 400, "column": 13 }, "end": { "line": 400, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14221, "end": 14222, "loc": { "start": { "line": 400, "column": 20 }, "end": { "line": 400, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14222, "end": 14233, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14233, "end": 14234, "loc": { "start": { "line": 400, "column": 32 }, "end": { "line": 400, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 14234, "end": 14237, "loc": { "start": { "line": 400, "column": 33 }, "end": { "line": 400, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14237, "end": 14238, "loc": { "start": { "line": 400, "column": 36 }, "end": { "line": 400, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14238, "end": 14249, "loc": { "start": { "line": 400, "column": 37 }, "end": { "line": 400, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14250, "end": 14252, "loc": { "start": { "line": 400, "column": 49 }, "end": { "line": 400, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14253, "end": 14254, "loc": { "start": { "line": 400, "column": 52 }, "end": { "line": 400, "column": 53 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14268, "end": 14270, "loc": { "start": { "line": 402, "column": 10 }, "end": { "line": 402, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14270, "end": 14271, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14271, "end": 14282, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14282, "end": 14283, "loc": { "start": { "line": 402, "column": 24 }, "end": { "line": 402, "column": 25 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 14283, "end": 14288, "loc": { "start": { "line": 402, "column": 25 }, "end": { "line": 402, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14288, "end": 14289, "loc": { "start": { "line": 402, "column": 30 }, "end": { "line": 402, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 14289, "end": 14294, "loc": { "start": { "line": 402, "column": 31 }, "end": { "line": 402, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14294, "end": 14295, "loc": { "start": { "line": 402, "column": 36 }, "end": { "line": 402, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 14295, "end": 14298, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14298, "end": 14299, "loc": { "start": { "line": 402, "column": 40 }, "end": { "line": 402, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14299, "end": 14300, "loc": { "start": { "line": 402, "column": 41 }, "end": { "line": 402, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 14300, "end": 14308, "loc": { "start": { "line": 402, "column": 42 }, "end": { "line": 402, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14308, "end": 14309, "loc": { "start": { "line": 402, "column": 50 }, "end": { "line": 402, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 14309, "end": 14322, "loc": { "start": { "line": 402, "column": 51 }, "end": { "line": 402, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14322, "end": 14323, "loc": { "start": { "line": 402, "column": 64 }, "end": { "line": 402, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14323, "end": 14324, "loc": { "start": { "line": 402, "column": 65 }, "end": { "line": 402, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14324, "end": 14325, "loc": { "start": { "line": 402, "column": 66 }, "end": { "line": 402, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14339, "end": 14353, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14354, "end": 14355, "loc": { "start": { "line": 403, "column": 27 }, "end": { "line": 403, "column": 28 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 14356, "end": 14360, "loc": { "start": { "line": 403, "column": 29 }, "end": { "line": 403, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14360, "end": 14361, "loc": { "start": { "line": 403, "column": 33 }, "end": { "line": 403, "column": 34 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 14389, "end": 14392, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14393, "end": 14409, "loc": { "start": { "line": 405, "column": 16 }, "end": { "line": 405, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14410, "end": 14411, "loc": { "start": { "line": 405, "column": 33 }, "end": { "line": 405, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14412, "end": 14423, "loc": { "start": { "line": 405, "column": 35 }, "end": { "line": 405, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14423, "end": 14424, "loc": { "start": { "line": 405, "column": 46 }, "end": { "line": 405, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14424, "end": 14431, "loc": { "start": { "line": 405, "column": 47 }, "end": { "line": 405, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14431, "end": 14432, "loc": { "start": { "line": 405, "column": 54 }, "end": { "line": 405, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 14432, "end": 14437, "loc": { "start": { "line": 405, "column": 55 }, "end": { "line": 405, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14437, "end": 14438, "loc": { "start": { "line": 405, "column": 60 }, "end": { "line": 405, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 14438, "end": 14441, "loc": { "start": { "line": 405, "column": 61 }, "end": { "line": 405, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14441, "end": 14442, "loc": { "start": { "line": 405, "column": 64 }, "end": { "line": 405, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14442, "end": 14443, "loc": { "start": { "line": 405, "column": 65 }, "end": { "line": 405, "column": 66 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14457, "end": 14459, "loc": { "start": { "line": 406, "column": 12 }, "end": { "line": 406, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14459, "end": 14460, "loc": { "start": { "line": 406, "column": 14 }, "end": { "line": 406, "column": 15 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 14460, "end": 14461, "loc": { "start": { "line": 406, "column": 15 }, "end": { "line": 406, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14461, "end": 14477, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14477, "end": 14478, "loc": { "start": { "line": 406, "column": 32 }, "end": { "line": 406, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 14478, "end": 14486, "loc": { "start": { "line": 406, "column": 33 }, "end": { "line": 406, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14486, "end": 14487, "loc": { "start": { "line": 406, "column": 41 }, "end": { "line": 406, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14487, "end": 14493, "loc": { "start": { "line": 406, "column": 42 }, "end": { "line": 406, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14493, "end": 14494, "loc": { "start": { "line": 406, "column": 48 }, "end": { "line": 406, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14494, "end": 14495, "loc": { "start": { "line": 406, "column": 49 }, "end": { "line": 406, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14495, "end": 14496, "loc": { "start": { "line": 406, "column": 50 }, "end": { "line": 406, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14512, "end": 14526, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14527, "end": 14528, "loc": { "start": { "line": 407, "column": 29 }, "end": { "line": 407, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 14529, "end": 14533, "loc": { "start": { "line": 407, "column": 31 }, "end": { "line": 407, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14533, "end": 14534, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14550, "end": 14566, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14566, "end": 14567, "loc": { "start": { "line": 408, "column": 30 }, "end": { "line": 408, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14567, "end": 14571, "loc": { "start": { "line": 408, "column": 31 }, "end": { "line": 408, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14571, "end": 14572, "loc": { "start": { "line": 408, "column": 35 }, "end": { "line": 408, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14572, "end": 14578, "loc": { "start": { "line": 408, "column": 36 }, "end": { "line": 408, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14578, "end": 14579, "loc": { "start": { "line": 408, "column": 42 }, "end": { "line": 408, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14579, "end": 14580, "loc": { "start": { "line": 408, "column": 43 }, "end": { "line": 408, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14596, "end": 14607, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14607, "end": 14608, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14608, "end": 14615, "loc": { "start": { "line": 409, "column": 26 }, "end": { "line": 409, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14616, "end": 14617, "loc": { "start": { "line": 409, "column": 34 }, "end": { "line": 409, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14618, "end": 14634, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14634, "end": 14635, "loc": { "start": { "line": 409, "column": 52 }, "end": { "line": 409, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 14635, "end": 14639, "loc": { "start": { "line": 409, "column": 53 }, "end": { "line": 409, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14639, "end": 14640, "loc": { "start": { "line": 409, "column": 57 }, "end": { "line": 409, "column": 58 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 14640, "end": 14643, "loc": { "start": { "line": 409, "column": 58 }, "end": { "line": 409, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14643, "end": 14644, "loc": { "start": { "line": 409, "column": 61 }, "end": { "line": 409, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14644, "end": 14645, "loc": { "start": { "line": 409, "column": 62 }, "end": { "line": 409, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14659, "end": 14660, "loc": { "start": { "line": 410, "column": 12 }, "end": { "line": 410, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14672, "end": 14673, "loc": { "start": { "line": 411, "column": 10 }, "end": { "line": 411, "column": 11 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 14685, "end": 14691, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14692, "end": 14703, "loc": { "start": { "line": 412, "column": 17 }, "end": { "line": 412, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14703, "end": 14704, "loc": { "start": { "line": 412, "column": 28 }, "end": { "line": 412, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14714, "end": 14715, "loc": { "start": { "line": 413, "column": 8 }, "end": { "line": 413, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14715, "end": 14716, "loc": { "start": { "line": 413, "column": 9 }, "end": { "line": 413, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14716, "end": 14717, "loc": { "start": { "line": 413, "column": 10 }, "end": { "line": 413, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14729, "end": 14804, "loc": { "start": { "line": 415, "column": 8 }, "end": { "line": 417, "column": 11 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14814, "end": 14816, "loc": { "start": { "line": 418, "column": 8 }, "end": { "line": 418, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14816, "end": 14817, "loc": { "start": { "line": 418, "column": 10 }, "end": { "line": 418, "column": 11 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 14817, "end": 14818, "loc": { "start": { "line": 418, "column": 11 }, "end": { "line": 418, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14818, "end": 14832, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14832, "end": 14833, "loc": { "start": { "line": 418, "column": 26 }, "end": { "line": 418, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14833, "end": 14834, "loc": { "start": { "line": 418, "column": 27 }, "end": { "line": 418, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 14846, "end": 14850, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14850, "end": 14851, "loc": { "start": { "line": 419, "column": 14 }, "end": { "line": 419, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14851, "end": 14858, "loc": { "start": { "line": 419, "column": 15 }, "end": { "line": 419, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14858, "end": 14859, "loc": { "start": { "line": 419, "column": 22 }, "end": { "line": 419, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14859, "end": 14870, "loc": { "start": { "line": 419, "column": 23 }, "end": { "line": 419, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14870, "end": 14871, "loc": { "start": { "line": 419, "column": 34 }, "end": { "line": 419, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14871, "end": 14875, "loc": { "start": { "line": 419, "column": 35 }, "end": { "line": 419, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14875, "end": 14876, "loc": { "start": { "line": 419, "column": 39 }, "end": { "line": 419, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14876, "end": 14877, "loc": { "start": { "line": 419, "column": 40 }, "end": { "line": 419, "column": 41 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 14891, "end": 14896, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14896, "end": 14897, "loc": { "start": { "line": 420, "column": 17 }, "end": { "line": 420, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 14898, "end": 14911, "loc": { "start": { "line": 420, "column": 19 }, "end": { "line": 420, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14911, "end": 14912, "loc": { "start": { "line": 420, "column": 32 }, "end": { "line": 420, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14926, "end": 14933, "loc": { "start": { "line": 421, "column": 12 }, "end": { "line": 421, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14933, "end": 14934, "loc": { "start": { "line": 421, "column": 19 }, "end": { "line": 421, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14935, "end": 14942, "loc": { "start": { "line": 421, "column": 21 }, "end": { "line": 421, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14954, "end": 14955, "loc": { "start": { "line": 422, "column": 10 }, "end": { "line": 422, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14955, "end": 14956, "loc": { "start": { "line": 422, "column": 11 }, "end": { "line": 422, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14956, "end": 14957, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14967, "end": 14968, "loc": { "start": { "line": 423, "column": 8 }, "end": { "line": 423, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14978, "end": 14979, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 425, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14979, "end": 14980, "loc": { "start": { "line": 425, "column": 7 }, "end": { "line": 425, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14980, "end": 14981, "loc": { "start": { "line": 425, "column": 8 }, "end": { "line": 425, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14987, "end": 14988, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14988, "end": 14989, "loc": { "start": { "line": 426, "column": 5 }, "end": { "line": 426, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14989, "end": 14990, "loc": { "start": { "line": 426, "column": 6 }, "end": { "line": 426, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 14998, "end": 15002, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15002, "end": 15003, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 15003, "end": 15009, "loc": { "start": { "line": 428, "column": 9 }, "end": { "line": 428, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15009, "end": 15010, "loc": { "start": { "line": 428, "column": 15 }, "end": { "line": 428, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15010, "end": 15011, "loc": { "start": { "line": 428, "column": 16 }, "end": { "line": 428, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15011, "end": 15012, "loc": { "start": { "line": 428, "column": 17 }, "end": { "line": 428, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15016, "end": 15017, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 429, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15023, "end": 15363, "loc": { "start": { "line": 431, "column": 2 }, "end": { "line": 435, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 15367, "end": 15384, "loc": { "start": { "line": 436, "column": 2 }, "end": { "line": 436, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15384, "end": 15385, "loc": { "start": { "line": 436, "column": 19 }, "end": { "line": 436, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15385, "end": 15392, "loc": { "start": { "line": 436, "column": 20 }, "end": { "line": 436, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15392, "end": 15393, "loc": { "start": { "line": 436, "column": 27 }, "end": { "line": 436, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15394, "end": 15403, "loc": { "start": { "line": 436, "column": 29 }, "end": { "line": 436, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15403, "end": 15404, "loc": { "start": { "line": 436, "column": 38 }, "end": { "line": 436, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15404, "end": 15405, "loc": { "start": { "line": 436, "column": 39 }, "end": { "line": 436, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15411, "end": 15491, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15497, "end": 15499, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15499, "end": 15500, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 440, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 15500, "end": 15501, "loc": { "start": { "line": 440, "column": 7 }, "end": { "line": 440, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15501, "end": 15508, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15509, "end": 15511, "loc": { "start": { "line": 440, "column": 16 }, "end": { "line": 440, "column": 18 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 15512, "end": 15513, "loc": { "start": { "line": 440, "column": 19 }, "end": { "line": 440, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15513, "end": 15522, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15522, "end": 15523, "loc": { "start": { "line": 440, "column": 29 }, "end": { "line": 440, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15523, "end": 15524, "loc": { "start": { "line": 440, "column": 30 }, "end": { "line": 440, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15532, "end": 15536, "loc": { "start": { "line": 441, "column": 6 }, "end": { "line": 441, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15536, "end": 15537, "loc": { "start": { "line": 441, "column": 10 }, "end": { "line": 441, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15537, "end": 15544, "loc": { "start": { "line": 441, "column": 11 }, "end": { "line": 441, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15544, "end": 15545, "loc": { "start": { "line": 441, "column": 18 }, "end": { "line": 441, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15545, "end": 15556, "loc": { "start": { "line": 441, "column": 19 }, "end": { "line": 441, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15557, "end": 15558, "loc": { "start": { "line": 441, "column": 31 }, "end": { "line": 441, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15559, "end": 15560, "loc": { "start": { "line": 441, "column": 33 }, "end": { "line": 441, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15560, "end": 15561, "loc": { "start": { "line": 441, "column": 34 }, "end": { "line": 441, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15561, "end": 15562, "loc": { "start": { "line": 441, "column": 35 }, "end": { "line": 441, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15570, "end": 15574, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15574, "end": 15575, "loc": { "start": { "line": 442, "column": 10 }, "end": { "line": 442, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 15575, "end": 15581, "loc": { "start": { "line": 442, "column": 11 }, "end": { "line": 442, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15581, "end": 15582, "loc": { "start": { "line": 442, "column": 17 }, "end": { "line": 442, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15582, "end": 15583, "loc": { "start": { "line": 442, "column": 18 }, "end": { "line": 442, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15583, "end": 15584, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 20 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 15592, "end": 15598, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 12 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 15599, "end": 15604, "loc": { "start": { "line": 443, "column": 13 }, "end": { "line": 443, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15604, "end": 15605, "loc": { "start": { "line": 443, "column": 18 }, "end": { "line": 443, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15611, "end": 15612, "loc": { "start": { "line": 444, "column": 4 }, "end": { "line": 444, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15620, "end": 15688, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 448, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15694, "end": 15696, "loc": { "start": { "line": 449, "column": 4 }, "end": { "line": 449, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15696, "end": 15697, "loc": { "start": { "line": 449, "column": 6 }, "end": { "line": 449, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15697, "end": 15704, "loc": { "start": { "line": 449, "column": 7 }, "end": { "line": 449, "column": 14 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15705, "end": 15707, "loc": { "start": { "line": 449, "column": 15 }, "end": { "line": 449, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 15708, "end": 15713, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15713, "end": 15714, "loc": { "start": { "line": 449, "column": 23 }, "end": { "line": 449, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 15714, "end": 15721, "loc": { "start": { "line": 449, "column": 24 }, "end": { "line": 449, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15721, "end": 15722, "loc": { "start": { "line": 449, "column": 31 }, "end": { "line": 449, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15722, "end": 15726, "loc": { "start": { "line": 449, "column": 32 }, "end": { "line": 449, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15726, "end": 15727, "loc": { "start": { "line": 449, "column": 36 }, "end": { "line": 449, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15727, "end": 15734, "loc": { "start": { "line": 449, "column": 37 }, "end": { "line": 449, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15734, "end": 15735, "loc": { "start": { "line": 449, "column": 44 }, "end": { "line": 449, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15735, "end": 15746, "loc": { "start": { "line": 449, "column": 45 }, "end": { "line": 449, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15746, "end": 15747, "loc": { "start": { "line": 449, "column": 56 }, "end": { "line": 449, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15748, "end": 15750, "loc": { "start": { "line": 449, "column": 58 }, "end": { "line": 449, "column": 60 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15751, "end": 15755, "loc": { "start": { "line": 449, "column": 61 }, "end": { "line": 449, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15755, "end": 15756, "loc": { "start": { "line": 449, "column": 65 }, "end": { "line": 449, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15756, "end": 15763, "loc": { "start": { "line": 449, "column": 66 }, "end": { "line": 449, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15763, "end": 15764, "loc": { "start": { "line": 449, "column": 73 }, "end": { "line": 449, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15764, "end": 15775, "loc": { "start": { "line": 449, "column": 74 }, "end": { "line": 449, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15775, "end": 15776, "loc": { "start": { "line": 449, "column": 85 }, "end": { "line": 449, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15776, "end": 15782, "loc": { "start": { "line": 449, "column": 86 }, "end": { "line": 449, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15782, "end": 15783, "loc": { "start": { "line": 449, "column": 92 }, "end": { "line": 449, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15783, "end": 15784, "loc": { "start": { "line": 449, "column": 93 }, "end": { "line": 449, "column": 94 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 15792, "end": 15795, "loc": { "start": { "line": 450, "column": 6 }, "end": { "line": 450, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15796, "end": 15807, "loc": { "start": { "line": 450, "column": 10 }, "end": { "line": 450, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15808, "end": 15809, "loc": { "start": { "line": 450, "column": 22 }, "end": { "line": 450, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15810, "end": 15817, "loc": { "start": { "line": 450, "column": 24 }, "end": { "line": 450, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15817, "end": 15818, "loc": { "start": { "line": 450, "column": 31 }, "end": { "line": 450, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 15818, "end": 15823, "loc": { "start": { "line": 450, "column": 32 }, "end": { "line": 450, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15823, "end": 15824, "loc": { "start": { "line": 450, "column": 37 }, "end": { "line": 450, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 15824, "end": 15827, "loc": { "start": { "line": 450, "column": 38 }, "end": { "line": 450, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15827, "end": 15828, "loc": { "start": { "line": 450, "column": 41 }, "end": { "line": 450, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15828, "end": 15829, "loc": { "start": { "line": 450, "column": 42 }, "end": { "line": 450, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15837, "end": 15848, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15848, "end": 15849, "loc": { "start": { "line": 451, "column": 17 }, "end": { "line": 451, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 15849, "end": 15856, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15856, "end": 15857, "loc": { "start": { "line": 451, "column": 25 }, "end": { "line": 451, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15857, "end": 15858, "loc": { "start": { "line": 451, "column": 26 }, "end": { "line": 451, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 15858, "end": 15864, "loc": { "start": { "line": 451, "column": 27 }, "end": { "line": 451, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15864, "end": 15865, "loc": { "start": { "line": 451, "column": 33 }, "end": { "line": 451, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 15866, "end": 15869, "loc": { "start": { "line": 451, "column": 35 }, "end": { "line": 451, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15869, "end": 15870, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15871, "end": 15873, "loc": { "start": { "line": 451, "column": 40 }, "end": { "line": 451, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15874, "end": 15875, "loc": { "start": { "line": 451, "column": 43 }, "end": { "line": 451, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15885, "end": 15889, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15889, "end": 15890, "loc": { "start": { "line": 452, "column": 12 }, "end": { "line": 452, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15890, "end": 15897, "loc": { "start": { "line": 452, "column": 13 }, "end": { "line": 452, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15897, "end": 15898, "loc": { "start": { "line": 452, "column": 20 }, "end": { "line": 452, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15898, "end": 15909, "loc": { "start": { "line": 452, "column": 21 }, "end": { "line": 452, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15909, "end": 15910, "loc": { "start": { "line": 452, "column": 32 }, "end": { "line": 452, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 15910, "end": 15913, "loc": { "start": { "line": 452, "column": 33 }, "end": { "line": 452, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15913, "end": 15914, "loc": { "start": { "line": 452, "column": 36 }, "end": { "line": 452, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15914, "end": 15915, "loc": { "start": { "line": 452, "column": 37 }, "end": { "line": 452, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15915, "end": 15926, "loc": { "start": { "line": 452, "column": 38 }, "end": { "line": 452, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15926, "end": 15927, "loc": { "start": { "line": 452, "column": 49 }, "end": { "line": 452, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 15928, "end": 15933, "loc": { "start": { "line": 452, "column": 51 }, "end": { "line": 452, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15933, "end": 15934, "loc": { "start": { "line": 452, "column": 56 }, "end": { "line": 452, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15935, "end": 15937, "loc": { "start": { "line": 452, "column": 58 }, "end": { "line": 452, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15938, "end": 15939, "loc": { "start": { "line": 452, "column": 61 }, "end": { "line": 452, "column": 62 } } }, { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", "start": 15953, "end": 16094, "loc": { "start": { "line": 454, "column": 10 }, "end": { "line": 457, "column": 13 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16106, "end": 16108, "loc": { "start": { "line": 458, "column": 10 }, "end": { "line": 458, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16108, "end": 16109, "loc": { "start": { "line": 458, "column": 12 }, "end": { "line": 458, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16123, "end": 16124, "loc": { "start": { "line": 459, "column": 12 }, "end": { "line": 459, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 16124, "end": 16133, "loc": { "start": { "line": 459, "column": 13 }, "end": { "line": 459, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16134, "end": 16136, "loc": { "start": { "line": 459, "column": 23 }, "end": { "line": 459, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 16137, "end": 16146, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16146, "end": 16147, "loc": { "start": { "line": 459, "column": 35 }, "end": { "line": 459, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 16147, "end": 16155, "loc": { "start": { "line": 459, "column": 36 }, "end": { "line": 459, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16155, "end": 16156, "loc": { "start": { "line": 459, "column": 44 }, "end": { "line": 459, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16156, "end": 16167, "loc": { "start": { "line": 459, "column": 45 }, "end": { "line": 459, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16167, "end": 16168, "loc": { "start": { "line": 459, "column": 56 }, "end": { "line": 459, "column": 57 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 16168, "end": 16173, "loc": { "start": { "line": 459, "column": 57 }, "end": { "line": 459, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16173, "end": 16174, "loc": { "start": { "line": 459, "column": 62 }, "end": { "line": 459, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16174, "end": 16175, "loc": { "start": { "line": 459, "column": 63 }, "end": { "line": 459, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 16176, "end": 16178, "loc": { "start": { "line": 459, "column": 65 }, "end": { "line": 459, "column": 67 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 16192, "end": 16193, "loc": { "start": { "line": 460, "column": 12 }, "end": { "line": 460, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 16193, "end": 16202, "loc": { "start": { "line": 460, "column": 13 }, "end": { "line": 460, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16214, "end": 16215, "loc": { "start": { "line": 461, "column": 10 }, "end": { "line": 461, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16215, "end": 16216, "loc": { "start": { "line": 461, "column": 11 }, "end": { "line": 461, "column": 12 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 16230, "end": 16233, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16234, "end": 16253, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16254, "end": 16255, "loc": { "start": { "line": 462, "column": 36 }, "end": { "line": 462, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16256, "end": 16267, "loc": { "start": { "line": 462, "column": 38 }, "end": { "line": 462, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16267, "end": 16268, "loc": { "start": { "line": 462, "column": 49 }, "end": { "line": 462, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16268, "end": 16275, "loc": { "start": { "line": 462, "column": 50 }, "end": { "line": 462, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16275, "end": 16276, "loc": { "start": { "line": 462, "column": 57 }, "end": { "line": 462, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 16276, "end": 16281, "loc": { "start": { "line": 462, "column": 58 }, "end": { "line": 462, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16281, "end": 16282, "loc": { "start": { "line": 462, "column": 63 }, "end": { "line": 462, "column": 64 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 16282, "end": 16285, "loc": { "start": { "line": 462, "column": 64 }, "end": { "line": 462, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16285, "end": 16286, "loc": { "start": { "line": 462, "column": 67 }, "end": { "line": 462, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16286, "end": 16287, "loc": { "start": { "line": 462, "column": 68 }, "end": { "line": 462, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 16287, "end": 16293, "loc": { "start": { "line": 462, "column": 69 }, "end": { "line": 462, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16293, "end": 16294, "loc": { "start": { "line": 462, "column": 75 }, "end": { "line": 462, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 16294, "end": 16298, "loc": { "start": { "line": 462, "column": 76 }, "end": { "line": 462, "column": 80 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16299, "end": 16301, "loc": { "start": { "line": 462, "column": 81 }, "end": { "line": 462, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 16302, "end": 16306, "loc": { "start": { "line": 462, "column": 84 }, "end": { "line": 462, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 16307, "end": 16310, "loc": { "start": { "line": 462, "column": 89 }, "end": { "line": 462, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16311, "end": 16317, "loc": { "start": { "line": 462, "column": 93 }, "end": { "line": 462, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16317, "end": 16318, "loc": { "start": { "line": 462, "column": 99 }, "end": { "line": 462, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16318, "end": 16319, "loc": { "start": { "line": 462, "column": 100 }, "end": { "line": 462, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16335, "end": 16432, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 466, "column": 15 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16446, "end": 16448, "loc": { "start": { "line": 467, "column": 12 }, "end": { "line": 467, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16448, "end": 16449, "loc": { "start": { "line": 467, "column": 14 }, "end": { "line": 467, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16449, "end": 16468, "loc": { "start": { "line": 467, "column": 15 }, "end": { "line": 467, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16468, "end": 16469, "loc": { "start": { "line": 467, "column": 34 }, "end": { "line": 467, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16469, "end": 16475, "loc": { "start": { "line": 467, "column": 35 }, "end": { "line": 467, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16475, "end": 16476, "loc": { "start": { "line": 467, "column": 41 }, "end": { "line": 467, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16476, "end": 16477, "loc": { "start": { "line": 467, "column": 42 }, "end": { "line": 467, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16493, "end": 16504, "loc": { "start": { "line": 468, "column": 14 }, "end": { "line": 468, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16504, "end": 16505, "loc": { "start": { "line": 468, "column": 25 }, "end": { "line": 468, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16505, "end": 16512, "loc": { "start": { "line": 468, "column": 26 }, "end": { "line": 468, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16513, "end": 16514, "loc": { "start": { "line": 468, "column": 34 }, "end": { "line": 468, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16515, "end": 16534, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16534, "end": 16535, "loc": { "start": { "line": 468, "column": 55 }, "end": { "line": 468, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 16535, "end": 16539, "loc": { "start": { "line": 468, "column": 56 }, "end": { "line": 468, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16539, "end": 16540, "loc": { "start": { "line": 468, "column": 60 }, "end": { "line": 468, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 16540, "end": 16543, "loc": { "start": { "line": 468, "column": 61 }, "end": { "line": 468, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16543, "end": 16544, "loc": { "start": { "line": 468, "column": 64 }, "end": { "line": 468, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16544, "end": 16545, "loc": { "start": { "line": 468, "column": 65 }, "end": { "line": 468, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16559, "end": 16560, "loc": { "start": { "line": 469, "column": 12 }, "end": { "line": 469, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 16561, "end": 16565, "loc": { "start": { "line": 469, "column": 14 }, "end": { "line": 469, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16566, "end": 16567, "loc": { "start": { "line": 469, "column": 19 }, "end": { "line": 469, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16583, "end": 16587, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16587, "end": 16588, "loc": { "start": { "line": 470, "column": 18 }, "end": { "line": 470, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16588, "end": 16595, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16595, "end": 16596, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16596, "end": 16607, "loc": { "start": { "line": 470, "column": 27 }, "end": { "line": 470, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16607, "end": 16608, "loc": { "start": { "line": 470, "column": 38 }, "end": { "line": 470, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 16608, "end": 16614, "loc": { "start": { "line": 470, "column": 39 }, "end": { "line": 470, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16614, "end": 16615, "loc": { "start": { "line": 470, "column": 45 }, "end": { "line": 470, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 16615, "end": 16620, "loc": { "start": { "line": 470, "column": 46 }, "end": { "line": 470, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16620, "end": 16621, "loc": { "start": { "line": 470, "column": 51 }, "end": { "line": 470, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 16622, "end": 16623, "loc": { "start": { "line": 470, "column": 53 }, "end": { "line": 470, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16623, "end": 16624, "loc": { "start": { "line": 470, "column": 54 }, "end": { "line": 470, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16624, "end": 16625, "loc": { "start": { "line": 470, "column": 55 }, "end": { "line": 470, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16641, "end": 16652, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16653, "end": 16654, "loc": { "start": { "line": 471, "column": 26 }, "end": { "line": 471, "column": 27 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 16655, "end": 16659, "loc": { "start": { "line": 471, "column": 28 }, "end": { "line": 471, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16659, "end": 16660, "loc": { "start": { "line": 471, "column": 32 }, "end": { "line": 471, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16674, "end": 16675, "loc": { "start": { "line": 472, "column": 12 }, "end": { "line": 472, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16690, "end": 16691, "loc": { "start": { "line": 474, "column": 10 }, "end": { "line": 474, "column": 11 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 16705, "end": 16711, "loc": { "start": { "line": 476, "column": 10 }, "end": { "line": 476, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16712, "end": 16723, "loc": { "start": { "line": 476, "column": 17 }, "end": { "line": 476, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16723, "end": 16724, "loc": { "start": { "line": 476, "column": 28 }, "end": { "line": 476, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16734, "end": 16735, "loc": { "start": { "line": 477, "column": 8 }, "end": { "line": 477, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16735, "end": 16736, "loc": { "start": { "line": 477, "column": 9 }, "end": { "line": 477, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16736, "end": 16737, "loc": { "start": { "line": 477, "column": 10 }, "end": { "line": 477, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16745, "end": 16746, "loc": { "start": { "line": 478, "column": 6 }, "end": { "line": 478, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16746, "end": 16747, "loc": { "start": { "line": 478, "column": 7 }, "end": { "line": 478, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16747, "end": 16748, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16758, "end": 16762, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16762, "end": 16763, "loc": { "start": { "line": 480, "column": 10 }, "end": { "line": 480, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 16763, "end": 16769, "loc": { "start": { "line": 480, "column": 11 }, "end": { "line": 480, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16769, "end": 16770, "loc": { "start": { "line": 480, "column": 17 }, "end": { "line": 480, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16770, "end": 16771, "loc": { "start": { "line": 480, "column": 18 }, "end": { "line": 480, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16771, "end": 16772, "loc": { "start": { "line": 480, "column": 19 }, "end": { "line": 480, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16778, "end": 16779, "loc": { "start": { "line": 481, "column": 4 }, "end": { "line": 481, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16783, "end": 16784, "loc": { "start": { "line": 482, "column": 2 }, "end": { "line": 482, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16790, "end": 16993, "loc": { "start": { "line": 484, "column": 2 }, "end": { "line": 487, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 16997, "end": 17013, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 488, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17013, "end": 17014, "loc": { "start": { "line": 488, "column": 18 }, "end": { "line": 488, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17014, "end": 17020, "loc": { "start": { "line": 488, "column": 19 }, "end": { "line": 488, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17020, "end": 17021, "loc": { "start": { "line": 488, "column": 25 }, "end": { "line": 488, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17021, "end": 17022, "loc": { "start": { "line": 488, "column": 26 }, "end": { "line": 488, "column": 27 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 17028, "end": 17031, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17032, "end": 17038, "loc": { "start": { "line": 489, "column": 8 }, "end": { "line": 489, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17038, "end": 17039, "loc": { "start": { "line": 489, "column": 14 }, "end": { "line": 489, "column": 15 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 17047, "end": 17050, "loc": { "start": { "line": 491, "column": 4 }, "end": { "line": 491, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17051, "end": 17060, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17061, "end": 17062, "loc": { "start": { "line": 491, "column": 18 }, "end": { "line": 491, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17063, "end": 17067, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17067, "end": 17068, "loc": { "start": { "line": 491, "column": 24 }, "end": { "line": 491, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 17068, "end": 17082, "loc": { "start": { "line": 491, "column": 25 }, "end": { "line": 491, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17082, "end": 17083, "loc": { "start": { "line": 491, "column": 39 }, "end": { "line": 491, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17083, "end": 17089, "loc": { "start": { "line": 491, "column": 40 }, "end": { "line": 491, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17089, "end": 17090, "loc": { "start": { "line": 491, "column": 46 }, "end": { "line": 491, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17090, "end": 17091, "loc": { "start": { "line": 491, "column": 47 }, "end": { "line": 491, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17097, "end": 17099, "loc": { "start": { "line": 492, "column": 4 }, "end": { "line": 492, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17099, "end": 17100, "loc": { "start": { "line": 492, "column": 6 }, "end": { "line": 492, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17100, "end": 17109, "loc": { "start": { "line": 492, "column": 7 }, "end": { "line": 492, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17109, "end": 17110, "loc": { "start": { "line": 492, "column": 16 }, "end": { "line": 492, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17110, "end": 17111, "loc": { "start": { "line": 492, "column": 17 }, "end": { "line": 492, "column": 18 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17119, "end": 17121, "loc": { "start": { "line": 493, "column": 6 }, "end": { "line": 493, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17121, "end": 17122, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17122, "end": 17131, "loc": { "start": { "line": 493, "column": 9 }, "end": { "line": 493, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17131, "end": 17132, "loc": { "start": { "line": 493, "column": 18 }, "end": { "line": 493, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 17132, "end": 17138, "loc": { "start": { "line": 493, "column": 19 }, "end": { "line": 493, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 17139, "end": 17140, "loc": { "start": { "line": 493, "column": 26 }, "end": { "line": 493, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 17141, "end": 17142, "loc": { "start": { "line": 493, "column": 28 }, "end": { "line": 493, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17142, "end": 17143, "loc": { "start": { "line": 493, "column": 29 }, "end": { "line": 493, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17143, "end": 17144, "loc": { "start": { "line": 493, "column": 30 }, "end": { "line": 493, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17154, "end": 17160, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17161, "end": 17162, "loc": { "start": { "line": 494, "column": 15 }, "end": { "line": 494, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17163, "end": 17172, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 494, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17172, "end": 17173, "loc": { "start": { "line": 494, "column": 26 }, "end": { "line": 494, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17181, "end": 17182, "loc": { "start": { "line": 495, "column": 6 }, "end": { "line": 495, "column": 7 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 17183, "end": 17187, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17188, "end": 17189, "loc": { "start": { "line": 495, "column": 13 }, "end": { "line": 495, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17199, "end": 17205, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17206, "end": 17207, "loc": { "start": { "line": 496, "column": 15 }, "end": { "line": 496, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17208, "end": 17217, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17217, "end": 17218, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 496, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17218, "end": 17219, "loc": { "start": { "line": 496, "column": 27 }, "end": { "line": 496, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17219, "end": 17220, "loc": { "start": { "line": 496, "column": 28 }, "end": { "line": 496, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17220, "end": 17221, "loc": { "start": { "line": 496, "column": 29 }, "end": { "line": 496, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17229, "end": 17230, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17236, "end": 17237, "loc": { "start": { "line": 498, "column": 4 }, "end": { "line": 498, "column": 5 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 17245, "end": 17251, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17252, "end": 17258, "loc": { "start": { "line": 500, "column": 11 }, "end": { "line": 500, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17258, "end": 17259, "loc": { "start": { "line": 500, "column": 17 }, "end": { "line": 500, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17263, "end": 17264, "loc": { "start": { "line": 501, "column": 2 }, "end": { "line": 501, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17270, "end": 17360, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 505, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 17364, "end": 17375, "loc": { "start": { "line": 506, "column": 2 }, "end": { "line": 506, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17375, "end": 17376, "loc": { "start": { "line": 506, "column": 13 }, "end": { "line": 506, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17376, "end": 17377, "loc": { "start": { "line": 506, "column": 14 }, "end": { "line": 506, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17377, "end": 17378, "loc": { "start": { "line": 506, "column": 15 }, "end": { "line": 506, "column": 16 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17384, "end": 17386, "loc": { "start": { "line": 507, "column": 4 }, "end": { "line": 507, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17386, "end": 17387, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17387, "end": 17391, "loc": { "start": { "line": 507, "column": 7 }, "end": { "line": 507, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17391, "end": 17392, "loc": { "start": { "line": 507, "column": 11 }, "end": { "line": 507, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17392, "end": 17399, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17399, "end": 17400, "loc": { "start": { "line": 507, "column": 19 }, "end": { "line": 507, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 17400, "end": 17405, "loc": { "start": { "line": 507, "column": 20 }, "end": { "line": 507, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17405, "end": 17406, "loc": { "start": { "line": 507, "column": 25 }, "end": { "line": 507, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17406, "end": 17407, "loc": { "start": { "line": 507, "column": 26 }, "end": { "line": 507, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17415, "end": 17422, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 508, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17422, "end": 17423, "loc": { "start": { "line": 508, "column": 13 }, "end": { "line": 508, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17423, "end": 17426, "loc": { "start": { "line": 508, "column": 14 }, "end": { "line": 508, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17426, "end": 17427, "loc": { "start": { "line": 508, "column": 17 }, "end": { "line": 508, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Caret handling started", "start": 17427, "end": 17451, "loc": { "start": { "line": 508, "column": 18 }, "end": { "line": 508, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17451, "end": 17452, "loc": { "start": { "line": 508, "column": 42 }, "end": { "line": 508, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17452, "end": 17453, "loc": { "start": { "line": 508, "column": 43 }, "end": { "line": 508, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17459, "end": 17460, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 509, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17468, "end": 17476, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17476, "end": 17477, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17477, "end": 17493, "loc": { "start": { "line": 511, "column": 13 }, "end": { "line": 511, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17493, "end": 17494, "loc": { "start": { "line": 511, "column": 29 }, "end": { "line": 511, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "keyup", "start": 17494, "end": 17501, "loc": { "start": { "line": 511, "column": 30 }, "end": { "line": 511, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17501, "end": 17502, "loc": { "start": { "line": 511, "column": 37 }, "end": { "line": 511, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17503, "end": 17507, "loc": { "start": { "line": 511, "column": 39 }, "end": { "line": 511, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17507, "end": 17508, "loc": { "start": { "line": 511, "column": 43 }, "end": { "line": 511, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17508, "end": 17525, "loc": { "start": { "line": 511, "column": 44 }, "end": { "line": 511, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17525, "end": 17526, "loc": { "start": { "line": 511, "column": 61 }, "end": { "line": 511, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17526, "end": 17527, "loc": { "start": { "line": 511, "column": 62 }, "end": { "line": 511, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17533, "end": 17541, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17541, "end": 17542, "loc": { "start": { "line": 512, "column": 12 }, "end": { "line": 512, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17542, "end": 17558, "loc": { "start": { "line": 512, "column": 13 }, "end": { "line": 512, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17558, "end": 17559, "loc": { "start": { "line": 512, "column": 29 }, "end": { "line": 512, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mouseup", "start": 17559, "end": 17568, "loc": { "start": { "line": 512, "column": 30 }, "end": { "line": 512, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17568, "end": 17569, "loc": { "start": { "line": 512, "column": 39 }, "end": { "line": 512, "column": 40 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17570, "end": 17574, "loc": { "start": { "line": 512, "column": 41 }, "end": { "line": 512, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17574, "end": 17575, "loc": { "start": { "line": 512, "column": 45 }, "end": { "line": 512, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17575, "end": 17592, "loc": { "start": { "line": 512, "column": 46 }, "end": { "line": 512, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17592, "end": 17593, "loc": { "start": { "line": 512, "column": 63 }, "end": { "line": 512, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17593, "end": 17594, "loc": { "start": { "line": 512, "column": 64 }, "end": { "line": 512, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17600, "end": 17608, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17608, "end": 17609, "loc": { "start": { "line": 513, "column": 12 }, "end": { "line": 513, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17609, "end": 17625, "loc": { "start": { "line": 513, "column": 13 }, "end": { "line": 513, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17625, "end": 17626, "loc": { "start": { "line": 513, "column": 29 }, "end": { "line": 513, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchend", "start": 17626, "end": 17636, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17636, "end": 17637, "loc": { "start": { "line": 513, "column": 40 }, "end": { "line": 513, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17638, "end": 17642, "loc": { "start": { "line": 513, "column": 42 }, "end": { "line": 513, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17642, "end": 17643, "loc": { "start": { "line": 513, "column": 46 }, "end": { "line": 513, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17643, "end": 17660, "loc": { "start": { "line": 513, "column": 47 }, "end": { "line": 513, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17660, "end": 17661, "loc": { "start": { "line": 513, "column": 64 }, "end": { "line": 513, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17661, "end": 17662, "loc": { "start": { "line": 513, "column": 65 }, "end": { "line": 513, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17666, "end": 17667, "loc": { "start": { "line": 514, "column": 2 }, "end": { "line": 514, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17673, "end": 17785, "loc": { "start": { "line": 516, "column": 2 }, "end": { "line": 518, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17789, "end": 17806, "loc": { "start": { "line": 519, "column": 2 }, "end": { "line": 519, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17806, "end": 17807, "loc": { "start": { "line": 519, "column": 19 }, "end": { "line": 519, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17807, "end": 17812, "loc": { "start": { "line": 519, "column": 20 }, "end": { "line": 519, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17812, "end": 17813, "loc": { "start": { "line": 519, "column": 25 }, "end": { "line": 519, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17813, "end": 17814, "loc": { "start": { "line": 519, "column": 26 }, "end": { "line": 519, "column": 27 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 17820, "end": 17823, "loc": { "start": { "line": 520, "column": 4 }, "end": { "line": 520, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17824, "end": 17837, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17837, "end": 17838, "loc": { "start": { "line": 520, "column": 21 }, "end": { "line": 520, "column": 22 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17846, "end": 17848, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 522, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17848, "end": 17849, "loc": { "start": { "line": 522, "column": 6 }, "end": { "line": 522, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17849, "end": 17854, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17854, "end": 17855, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17855, "end": 17861, "loc": { "start": { "line": 522, "column": 13 }, "end": { "line": 522, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17861, "end": 17862, "loc": { "start": { "line": 522, "column": 19 }, "end": { "line": 522, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17862, "end": 17869, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17869, "end": 17870, "loc": { "start": { "line": 522, "column": 27 }, "end": { "line": 522, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17870, "end": 17871, "loc": { "start": { "line": 522, "column": 28 }, "end": { "line": 522, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17879, "end": 17892, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17893, "end": 17894, "loc": { "start": { "line": 523, "column": 20 }, "end": { "line": 523, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17895, "end": 17900, "loc": { "start": { "line": 523, "column": 22 }, "end": { "line": 523, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17900, "end": 17901, "loc": { "start": { "line": 523, "column": 27 }, "end": { "line": 523, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17901, "end": 17907, "loc": { "start": { "line": 523, "column": 28 }, "end": { "line": 523, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17907, "end": 17908, "loc": { "start": { "line": 523, "column": 34 }, "end": { "line": 523, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17908, "end": 17915, "loc": { "start": { "line": 523, "column": 35 }, "end": { "line": 523, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17915, "end": 17916, "loc": { "start": { "line": 523, "column": 42 }, "end": { "line": 523, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 17916, "end": 17927, "loc": { "start": { "line": 523, "column": 43 }, "end": { "line": 523, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17927, "end": 17928, "loc": { "start": { "line": 523, "column": 54 }, "end": { "line": 523, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17928, "end": 17929, "loc": { "start": { "line": 523, "column": 55 }, "end": { "line": 523, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17929, "end": 17930, "loc": { "start": { "line": 523, "column": 56 }, "end": { "line": 523, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17936, "end": 17937, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 524, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17945, "end": 17947, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17947, "end": 17948, "loc": { "start": { "line": 526, "column": 6 }, "end": { "line": 526, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17956, "end": 17957, "loc": { "start": { "line": 527, "column": 6 }, "end": { "line": 527, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17957, "end": 17970, "loc": { "start": { "line": 527, "column": 7 }, "end": { "line": 527, "column": 20 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17971, "end": 17974, "loc": { "start": { "line": 527, "column": 21 }, "end": { "line": 527, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "textarea", "start": 17975, "end": 17985, "loc": { "start": { "line": 527, "column": 25 }, "end": { "line": 527, "column": 35 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 17986, "end": 17988, "loc": { "start": { "line": 527, "column": 36 }, "end": { "line": 527, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17996, "end": 18009, "loc": { "start": { "line": 528, "column": 6 }, "end": { "line": 528, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18010, "end": 18013, "loc": { "start": { "line": 528, "column": 20 }, "end": { "line": 528, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "input", "start": 18014, "end": 18021, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18021, "end": 18022, "loc": { "start": { "line": 528, "column": 31 }, "end": { "line": 528, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 18023, "end": 18025, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 35 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 18033, "end": 18034, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18034, "end": 18038, "loc": { "start": { "line": 529, "column": 7 }, "end": { "line": 529, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18038, "end": 18039, "loc": { "start": { "line": 529, "column": 11 }, "end": { "line": 529, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18039, "end": 18046, "loc": { "start": { "line": 529, "column": 12 }, "end": { "line": 529, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18046, "end": 18047, "loc": { "start": { "line": 529, "column": 19 }, "end": { "line": 529, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disableCaretPositioning", "start": 18047, "end": 18070, "loc": { "start": { "line": 529, "column": 20 }, "end": { "line": 529, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18076, "end": 18077, "loc": { "start": { "line": 530, "column": 4 }, "end": { "line": 530, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18077, "end": 18078, "loc": { "start": { "line": 530, "column": 5 }, "end": { "line": 530, "column": 6 } } }, { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 18086, "end": 18234, "loc": { "start": { "line": 531, "column": 6 }, "end": { "line": 534, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18242, "end": 18246, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18246, "end": 18247, "loc": { "start": { "line": 535, "column": 10 }, "end": { "line": 535, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 18247, "end": 18260, "loc": { "start": { "line": 535, "column": 11 }, "end": { "line": 535, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18261, "end": 18262, "loc": { "start": { "line": 535, "column": 25 }, "end": { "line": 535, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18263, "end": 18268, "loc": { "start": { "line": 535, "column": 27 }, "end": { "line": 535, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18268, "end": 18269, "loc": { "start": { "line": 535, "column": 32 }, "end": { "line": 535, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18269, "end": 18275, "loc": { "start": { "line": 535, "column": 33 }, "end": { "line": 535, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18275, "end": 18276, "loc": { "start": { "line": 535, "column": 39 }, "end": { "line": 535, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 18276, "end": 18290, "loc": { "start": { "line": 535, "column": 40 }, "end": { "line": 535, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18290, "end": 18291, "loc": { "start": { "line": 535, "column": 54 }, "end": { "line": 535, "column": 55 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 18301, "end": 18303, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18303, "end": 18304, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 537, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18304, "end": 18308, "loc": { "start": { "line": 537, "column": 9 }, "end": { "line": 537, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18308, "end": 18309, "loc": { "start": { "line": 537, "column": 13 }, "end": { "line": 537, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18309, "end": 18316, "loc": { "start": { "line": 537, "column": 14 }, "end": { "line": 537, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18316, "end": 18317, "loc": { "start": { "line": 537, "column": 21 }, "end": { "line": 537, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 18317, "end": 18322, "loc": { "start": { "line": 537, "column": 22 }, "end": { "line": 537, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18322, "end": 18323, "loc": { "start": { "line": 537, "column": 27 }, "end": { "line": 537, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18323, "end": 18324, "loc": { "start": { "line": 537, "column": 28 }, "end": { "line": 537, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 18334, "end": 18341, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18341, "end": 18342, "loc": { "start": { "line": 538, "column": 15 }, "end": { "line": 538, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 18342, "end": 18345, "loc": { "start": { "line": 538, "column": 16 }, "end": { "line": 538, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18345, "end": 18346, "loc": { "start": { "line": 538, "column": 19 }, "end": { "line": 538, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Caret at: ", "start": 18346, "end": 18358, "loc": { "start": { "line": 538, "column": 20 }, "end": { "line": 538, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18358, "end": 18359, "loc": { "start": { "line": 538, "column": 32 }, "end": { "line": 538, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18360, "end": 18365, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18365, "end": 18366, "loc": { "start": { "line": 538, "column": 39 }, "end": { "line": 538, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18366, "end": 18372, "loc": { "start": { "line": 538, "column": 40 }, "end": { "line": 538, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18372, "end": 18373, "loc": { "start": { "line": 538, "column": 46 }, "end": { "line": 538, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 18373, "end": 18387, "loc": { "start": { "line": 538, "column": 47 }, "end": { "line": 538, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18387, "end": 18388, "loc": { "start": { "line": 538, "column": 61 }, "end": { "line": 538, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18389, "end": 18394, "loc": { "start": { "line": 538, "column": 63 }, "end": { "line": 538, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18394, "end": 18395, "loc": { "start": { "line": 538, "column": 68 }, "end": { "line": 538, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18395, "end": 18401, "loc": { "start": { "line": 538, "column": 69 }, "end": { "line": 538, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18401, "end": 18402, "loc": { "start": { "line": 538, "column": 75 }, "end": { "line": 538, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 18402, "end": 18409, "loc": { "start": { "line": 538, "column": 76 }, "end": { "line": 538, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18409, "end": 18410, "loc": { "start": { "line": 538, "column": 83 }, "end": { "line": 538, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 18410, "end": 18421, "loc": { "start": { "line": 538, "column": 84 }, "end": { "line": 538, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18421, "end": 18422, "loc": { "start": { "line": 538, "column": 95 }, "end": { "line": 538, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18422, "end": 18423, "loc": { "start": { "line": 538, "column": 96 }, "end": { "line": 538, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18423, "end": 18424, "loc": { "start": { "line": 538, "column": 97 }, "end": { "line": 538, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18424, "end": 18425, "loc": { "start": { "line": 538, "column": 98 }, "end": { "line": 538, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18433, "end": 18434, "loc": { "start": { "line": 539, "column": 6 }, "end": { "line": 539, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18445, "end": 18446, "loc": { "start": { "line": 540, "column": 4 }, "end": { "line": 540, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18450, "end": 18451, "loc": { "start": { "line": 541, "column": 2 }, "end": { "line": 541, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18457, "end": 18577, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 545, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18581, "end": 18587, "loc": { "start": { "line": 546, "column": 2 }, "end": { "line": 546, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18587, "end": 18588, "loc": { "start": { "line": 546, "column": 8 }, "end": { "line": 546, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18588, "end": 18589, "loc": { "start": { "line": 546, "column": 9 }, "end": { "line": 546, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18589, "end": 18590, "loc": { "start": { "line": 546, "column": 10 }, "end": { "line": 546, "column": 11 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 18596, "end": 18598, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18598, "end": 18599, "loc": { "start": { "line": 547, "column": 6 }, "end": { "line": 547, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18599, "end": 18603, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18603, "end": 18604, "loc": { "start": { "line": 547, "column": 11 }, "end": { "line": 547, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18604, "end": 18611, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18611, "end": 18612, "loc": { "start": { "line": 547, "column": 19 }, "end": { "line": 547, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 18612, "end": 18617, "loc": { "start": { "line": 547, "column": 20 }, "end": { "line": 547, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18617, "end": 18618, "loc": { "start": { "line": 547, "column": 25 }, "end": { "line": 547, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18618, "end": 18619, "loc": { "start": { "line": 547, "column": 26 }, "end": { "line": 547, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 18627, "end": 18634, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18634, "end": 18635, "loc": { "start": { "line": 548, "column": 13 }, "end": { "line": 548, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 18635, "end": 18638, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18638, "end": 18639, "loc": { "start": { "line": 548, "column": 17 }, "end": { "line": 548, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Initialized", "start": 18639, "end": 18652, "loc": { "start": { "line": 548, "column": 18 }, "end": { "line": 548, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18652, "end": 18653, "loc": { "start": { "line": 548, "column": 31 }, "end": { "line": 548, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18653, "end": 18654, "loc": { "start": { "line": 548, "column": 32 }, "end": { "line": 548, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18660, "end": 18661, "loc": { "start": { "line": 549, "column": 4 }, "end": { "line": 549, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18669, "end": 18704, "loc": { "start": { "line": 551, "column": 4 }, "end": { "line": 553, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18710, "end": 18714, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18714, "end": 18715, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 18715, "end": 18726, "loc": { "start": { "line": 554, "column": 9 }, "end": { "line": 554, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18726, "end": 18727, "loc": { "start": { "line": 554, "column": 20 }, "end": { "line": 554, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18727, "end": 18728, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18728, "end": 18729, "loc": { "start": { "line": 554, "column": 22 }, "end": { "line": 554, "column": 23 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 18737, "end": 18739, "loc": { "start": { "line": 556, "column": 4 }, "end": { "line": 556, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18739, "end": 18740, "loc": { "start": { "line": 556, "column": 6 }, "end": { "line": 556, "column": 7 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 18740, "end": 18746, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18747, "end": 18751, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18751, "end": 18752, "loc": { "start": { "line": 556, "column": 18 }, "end": { "line": 556, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18752, "end": 18759, "loc": { "start": { "line": 556, "column": 19 }, "end": { "line": 556, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18759, "end": 18760, "loc": { "start": { "line": 556, "column": 26 }, "end": { "line": 556, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18760, "end": 18766, "loc": { "start": { "line": 556, "column": 27 }, "end": { "line": 556, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18767, "end": 18770, "loc": { "start": { "line": 556, "column": 34 }, "end": { "line": 556, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 18771, "end": 18781, "loc": { "start": { "line": 556, "column": 38 }, "end": { "line": 556, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18781, "end": 18782, "loc": { "start": { "line": 556, "column": 48 }, "end": { "line": 556, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18790, "end": 18794, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18794, "end": 18795, "loc": { "start": { "line": 557, "column": 10 }, "end": { "line": 557, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18795, "end": 18802, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18802, "end": 18803, "loc": { "start": { "line": 557, "column": 18 }, "end": { "line": 557, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18803, "end": 18809, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18809, "end": 18810, "loc": { "start": { "line": 557, "column": 25 }, "end": { "line": 557, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18810, "end": 18811, "loc": { "start": { "line": 557, "column": 26 }, "end": { "line": 557, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18811, "end": 18812, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18816, "end": 18817, "loc": { "start": { "line": 558, "column": 2 }, "end": { "line": 558, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18823, "end": 18941, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18945, "end": 18953, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 563, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18953, "end": 18954, "loc": { "start": { "line": 563, "column": 10 }, "end": { "line": 563, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18954, "end": 18955, "loc": { "start": { "line": 563, "column": 11 }, "end": { "line": 563, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18955, "end": 18956, "loc": { "start": { "line": 563, "column": 12 }, "end": { "line": 563, "column": 13 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 18962, "end": 18964, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 564, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18964, "end": 18965, "loc": { "start": { "line": 564, "column": 6 }, "end": { "line": 564, "column": 7 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 18965, "end": 18971, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18972, "end": 18976, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18976, "end": 18977, "loc": { "start": { "line": 564, "column": 18 }, "end": { "line": 564, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18977, "end": 18984, "loc": { "start": { "line": 564, "column": 19 }, "end": { "line": 564, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18984, "end": 18985, "loc": { "start": { "line": 564, "column": 26 }, "end": { "line": 564, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18985, "end": 18993, "loc": { "start": { "line": 564, "column": 27 }, "end": { "line": 564, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18994, "end": 18997, "loc": { "start": { "line": 564, "column": 36 }, "end": { "line": 564, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 18998, "end": 19008, "loc": { "start": { "line": 564, "column": 40 }, "end": { "line": 564, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19008, "end": 19009, "loc": { "start": { "line": 564, "column": 50 }, "end": { "line": 564, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19017, "end": 19021, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19021, "end": 19022, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19022, "end": 19029, "loc": { "start": { "line": 565, "column": 11 }, "end": { "line": 565, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19029, "end": 19030, "loc": { "start": { "line": 565, "column": 18 }, "end": { "line": 565, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19030, "end": 19038, "loc": { "start": { "line": 565, "column": 19 }, "end": { "line": 565, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19038, "end": 19039, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19039, "end": 19040, "loc": { "start": { "line": 565, "column": 28 }, "end": { "line": 565, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19040, "end": 19041, "loc": { "start": { "line": 565, "column": 29 }, "end": { "line": 565, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19045, "end": 19046, "loc": { "start": { "line": 566, "column": 2 }, "end": { "line": 566, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19051, "end": 19130, "loc": { "start": { "line": 568, "column": 1 }, "end": { "line": 570, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19134, "end": 19149, "loc": { "start": { "line": 571, "column": 2 }, "end": { "line": 571, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19149, "end": 19150, "loc": { "start": { "line": 571, "column": 17 }, "end": { "line": 571, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19150, "end": 19151, "loc": { "start": { "line": 571, "column": 18 }, "end": { "line": 571, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19151, "end": 19152, "loc": { "start": { "line": 571, "column": 19 }, "end": { "line": 571, "column": 20 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19158, "end": 19160, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 572, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19160, "end": 19161, "loc": { "start": { "line": 572, "column": 6 }, "end": { "line": 572, "column": 7 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 19161, "end": 19167, "loc": { "start": { "line": 572, "column": 7 }, "end": { "line": 572, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19168, "end": 19172, "loc": { "start": { "line": 572, "column": 14 }, "end": { "line": 572, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19172, "end": 19173, "loc": { "start": { "line": 572, "column": 18 }, "end": { "line": 572, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19173, "end": 19180, "loc": { "start": { "line": 572, "column": 19 }, "end": { "line": 572, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19180, "end": 19181, "loc": { "start": { "line": 572, "column": 26 }, "end": { "line": 572, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19181, "end": 19196, "loc": { "start": { "line": 572, "column": 27 }, "end": { "line": 572, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19197, "end": 19200, "loc": { "start": { "line": 572, "column": 43 }, "end": { "line": 572, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 19201, "end": 19211, "loc": { "start": { "line": 572, "column": 47 }, "end": { "line": 572, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19211, "end": 19212, "loc": { "start": { "line": 572, "column": 57 }, "end": { "line": 572, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19220, "end": 19224, "loc": { "start": { "line": 573, "column": 6 }, "end": { "line": 573, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19224, "end": 19225, "loc": { "start": { "line": 573, "column": 10 }, "end": { "line": 573, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19225, "end": 19232, "loc": { "start": { "line": 573, "column": 11 }, "end": { "line": 573, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19232, "end": 19233, "loc": { "start": { "line": 573, "column": 18 }, "end": { "line": 573, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19233, "end": 19248, "loc": { "start": { "line": 573, "column": 19 }, "end": { "line": 573, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19248, "end": 19249, "loc": { "start": { "line": 573, "column": 34 }, "end": { "line": 573, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19249, "end": 19250, "loc": { "start": { "line": 573, "column": 35 }, "end": { "line": 573, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19250, "end": 19251, "loc": { "start": { "line": 573, "column": 36 }, "end": { "line": 573, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19255, "end": 19256, "loc": { "start": { "line": 574, "column": 2 }, "end": { "line": 574, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19262, "end": 19294, "loc": { "start": { "line": 576, "column": 2 }, "end": { "line": 578, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerModule", "start": 19298, "end": 19312, "loc": { "start": { "line": 579, "column": 2 }, "end": { "line": 579, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19313, "end": 19314, "loc": { "start": { "line": 579, "column": 17 }, "end": { "line": 579, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19315, "end": 19316, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19316, "end": 19320, "loc": { "start": { "line": 579, "column": 20 }, "end": { "line": 579, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19320, "end": 19321, "loc": { "start": { "line": 579, "column": 24 }, "end": { "line": 579, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 19322, "end": 19334, "loc": { "start": { "line": 579, "column": 26 }, "end": { "line": 579, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19334, "end": 19335, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19336, "end": 19338, "loc": { "start": { "line": 579, "column": 40 }, "end": { "line": 579, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19339, "end": 19340, "loc": { "start": { "line": 579, "column": 43 }, "end": { "line": 579, "column": 44 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19346, "end": 19348, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19348, "end": 19349, "loc": { "start": { "line": 580, "column": 6 }, "end": { "line": 580, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 19349, "end": 19350, "loc": { "start": { "line": 580, "column": 7 }, "end": { "line": 580, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19350, "end": 19354, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19354, "end": 19355, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19355, "end": 19362, "loc": { "start": { "line": 580, "column": 13 }, "end": { "line": 580, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19362, "end": 19363, "loc": { "start": { "line": 580, "column": 20 }, "end": { "line": 580, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19363, "end": 19367, "loc": { "start": { "line": 580, "column": 21 }, "end": { "line": 580, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19367, "end": 19368, "loc": { "start": { "line": 580, "column": 25 }, "end": { "line": 580, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19368, "end": 19369, "loc": { "start": { "line": 580, "column": 26 }, "end": { "line": 580, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19377, "end": 19381, "loc": { "start": { "line": 581, "column": 6 }, "end": { "line": 581, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19381, "end": 19382, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19382, "end": 19389, "loc": { "start": { "line": 581, "column": 11 }, "end": { "line": 581, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19389, "end": 19390, "loc": { "start": { "line": 581, "column": 18 }, "end": { "line": 581, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19390, "end": 19394, "loc": { "start": { "line": 581, "column": 19 }, "end": { "line": 581, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19394, "end": 19395, "loc": { "start": { "line": 581, "column": 23 }, "end": { "line": 581, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19396, "end": 19397, "loc": { "start": { "line": 581, "column": 25 }, "end": { "line": 581, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19398, "end": 19399, "loc": { "start": { "line": 581, "column": 27 }, "end": { "line": 581, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19399, "end": 19400, "loc": { "start": { "line": 581, "column": 28 }, "end": { "line": 581, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19400, "end": 19401, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 19409, "end": 19421, "loc": { "start": { "line": 583, "column": 4 }, "end": { "line": 583, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19421, "end": 19422, "loc": { "start": { "line": 583, "column": 16 }, "end": { "line": 583, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19422, "end": 19426, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19426, "end": 19427, "loc": { "start": { "line": 583, "column": 21 }, "end": { "line": 583, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19427, "end": 19434, "loc": { "start": { "line": 583, "column": 22 }, "end": { "line": 583, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19434, "end": 19435, "loc": { "start": { "line": 583, "column": 29 }, "end": { "line": 583, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19435, "end": 19439, "loc": { "start": { "line": 583, "column": 30 }, "end": { "line": 583, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19439, "end": 19440, "loc": { "start": { "line": 583, "column": 34 }, "end": { "line": 583, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19440, "end": 19441, "loc": { "start": { "line": 583, "column": 35 }, "end": { "line": 583, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19441, "end": 19442, "loc": { "start": { "line": 583, "column": 36 }, "end": { "line": 583, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19446, "end": 19447, "loc": { "start": { "line": 584, "column": 2 }, "end": { "line": 584, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19453, "end": 19482, "loc": { "start": { "line": 586, "column": 2 }, "end": { "line": 588, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 19486, "end": 19497, "loc": { "start": { "line": 589, "column": 2 }, "end": { "line": 589, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19497, "end": 19498, "loc": { "start": { "line": 589, "column": 13 }, "end": { "line": 589, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19498, "end": 19499, "loc": { "start": { "line": 589, "column": 14 }, "end": { "line": 589, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19499, "end": 19500, "loc": { "start": { "line": 589, "column": 15 }, "end": { "line": 589, "column": 16 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19506, "end": 19508, "loc": { "start": { "line": 590, "column": 4 }, "end": { "line": 590, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19508, "end": 19509, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 19509, "end": 19514, "loc": { "start": { "line": 590, "column": 7 }, "end": { "line": 590, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19514, "end": 19515, "loc": { "start": { "line": 590, "column": 12 }, "end": { "line": 590, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 19515, "end": 19522, "loc": { "start": { "line": 590, "column": 13 }, "end": { "line": 590, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19522, "end": 19523, "loc": { "start": { "line": 590, "column": 20 }, "end": { "line": 590, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19523, "end": 19527, "loc": { "start": { "line": 590, "column": 21 }, "end": { "line": 590, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19527, "end": 19528, "loc": { "start": { "line": 590, "column": 25 }, "end": { "line": 590, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19528, "end": 19535, "loc": { "start": { "line": 590, "column": 26 }, "end": { "line": 590, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19535, "end": 19536, "loc": { "start": { "line": 590, "column": 33 }, "end": { "line": 590, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19536, "end": 19543, "loc": { "start": { "line": 590, "column": 34 }, "end": { "line": 590, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19543, "end": 19544, "loc": { "start": { "line": 590, "column": 41 }, "end": { "line": 590, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19544, "end": 19545, "loc": { "start": { "line": 590, "column": 42 }, "end": { "line": 590, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19545, "end": 19546, "loc": { "start": { "line": 590, "column": 43 }, "end": { "line": 590, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19554, "end": 19558, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19558, "end": 19559, "loc": { "start": { "line": 591, "column": 10 }, "end": { "line": 591, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19559, "end": 19566, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19566, "end": 19567, "loc": { "start": { "line": 591, "column": 18 }, "end": { "line": 591, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19567, "end": 19574, "loc": { "start": { "line": 591, "column": 19 }, "end": { "line": 591, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19574, "end": 19575, "loc": { "start": { "line": 591, "column": 26 }, "end": { "line": 591, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 19575, "end": 19582, "loc": { "start": { "line": 591, "column": 27 }, "end": { "line": 591, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19582, "end": 19583, "loc": { "start": { "line": 591, "column": 34 }, "end": { "line": 591, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 19583, "end": 19589, "loc": { "start": { "line": 591, "column": 35 }, "end": { "line": 591, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19590, "end": 19592, "loc": { "start": { "line": 591, "column": 42 }, "end": { "line": 591, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19593, "end": 19594, "loc": { "start": { "line": 591, "column": 45 }, "end": { "line": 591, "column": 46 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 19604, "end": 19607, "loc": { "start": { "line": 592, "column": 8 }, "end": { "line": 592, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19608, "end": 19614, "loc": { "start": { "line": 592, "column": 12 }, "end": { "line": 592, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19615, "end": 19616, "loc": { "start": { "line": 592, "column": 19 }, "end": { "line": 592, "column": 20 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 19617, "end": 19620, "loc": { "start": { "line": 592, "column": 21 }, "end": { "line": 592, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 19621, "end": 19627, "loc": { "start": { "line": 592, "column": 25 }, "end": { "line": 592, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19627, "end": 19628, "loc": { "start": { "line": 592, "column": 31 }, "end": { "line": 592, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19628, "end": 19629, "loc": { "start": { "line": 592, "column": 32 }, "end": { "line": 592, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19629, "end": 19630, "loc": { "start": { "line": 592, "column": 33 }, "end": { "line": 592, "column": 34 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19642, "end": 19668, "loc": { "start": { "line": 594, "column": 8 }, "end": { "line": 594, "column": 34 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19678, "end": 19680, "loc": { "start": { "line": 595, "column": 8 }, "end": { "line": 595, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19680, "end": 19681, "loc": { "start": { "line": 595, "column": 10 }, "end": { "line": 595, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19681, "end": 19687, "loc": { "start": { "line": 595, "column": 11 }, "end": { "line": 595, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19687, "end": 19688, "loc": { "start": { "line": 595, "column": 17 }, "end": { "line": 595, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 19688, "end": 19699, "loc": { "start": { "line": 595, "column": 18 }, "end": { "line": 595, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19699, "end": 19700, "loc": { "start": { "line": 595, "column": 29 }, "end": { "line": 595, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19700, "end": 19704, "loc": { "start": { "line": 595, "column": 30 }, "end": { "line": 595, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 19705, "end": 19707, "loc": { "start": { "line": 595, "column": 35 }, "end": { "line": 595, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19708, "end": 19714, "loc": { "start": { "line": 595, "column": 38 }, "end": { "line": 595, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19714, "end": 19715, "loc": { "start": { "line": 595, "column": 44 }, "end": { "line": 595, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 19715, "end": 19726, "loc": { "start": { "line": 595, "column": 45 }, "end": { "line": 595, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19726, "end": 19727, "loc": { "start": { "line": 595, "column": 56 }, "end": { "line": 595, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19727, "end": 19731, "loc": { "start": { "line": 595, "column": 57 }, "end": { "line": 595, "column": 61 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 19732, "end": 19735, "loc": { "start": { "line": 595, "column": 62 }, "end": { "line": 595, "column": 65 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Function", "start": 19736, "end": 19746, "loc": { "start": { "line": 595, "column": 66 }, "end": { "line": 595, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19746, "end": 19747, "loc": { "start": { "line": 595, "column": 76 }, "end": { "line": 595, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19747, "end": 19748, "loc": { "start": { "line": 595, "column": 77 }, "end": { "line": 595, "column": 78 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 19760, "end": 19763, "loc": { "start": { "line": 596, "column": 10 }, "end": { "line": 596, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 19764, "end": 19772, "loc": { "start": { "line": 596, "column": 14 }, "end": { "line": 596, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19773, "end": 19774, "loc": { "start": { "line": 596, "column": 23 }, "end": { "line": 596, "column": 24 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19775, "end": 19776, "loc": { "start": { "line": 596, "column": 25 }, "end": { "line": 596, "column": 26 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "module-", "start": 19776, "end": 19783, "loc": { "start": { "line": 596, "column": 26 }, "end": { "line": 596, "column": 33 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19783, "end": 19785, "loc": { "start": { "line": 596, "column": 33 }, "end": { "line": 596, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19785, "end": 19789, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19789, "end": 19790, "loc": { "start": { "line": 596, "column": 39 }, "end": { "line": 596, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 19790, "end": 19799, "loc": { "start": { "line": 596, "column": 40 }, "end": { "line": 596, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19799, "end": 19800, "loc": { "start": { "line": 596, "column": 49 }, "end": { "line": 596, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 19800, "end": 19809, "loc": { "start": { "line": 596, "column": 50 }, "end": { "line": 596, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19809, "end": 19810, "loc": { "start": { "line": 596, "column": 59 }, "end": { "line": 596, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19810, "end": 19816, "loc": { "start": { "line": 596, "column": 60 }, "end": { "line": 596, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19816, "end": 19817, "loc": { "start": { "line": 596, "column": 66 }, "end": { "line": 596, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 19817, "end": 19828, "loc": { "start": { "line": 596, "column": 67 }, "end": { "line": 596, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19828, "end": 19829, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19829, "end": 19833, "loc": { "start": { "line": 596, "column": 79 }, "end": { "line": 596, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19833, "end": 19834, "loc": { "start": { "line": 596, "column": 83 }, "end": { "line": 596, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19834, "end": 19835, "loc": { "start": { "line": 596, "column": 84 }, "end": { "line": 596, "column": 85 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 19835, "end": 19835, "loc": { "start": { "line": 596, "column": 85 }, "end": { "line": 596, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19835, "end": 19836, "loc": { "start": { "line": 596, "column": 85 }, "end": { "line": 596, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19836, "end": 19837, "loc": { "start": { "line": 596, "column": 86 }, "end": { "line": 596, "column": 87 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19849, "end": 19853, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19853, "end": 19854, "loc": { "start": { "line": 597, "column": 14 }, "end": { "line": 597, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 19854, "end": 19875, "loc": { "start": { "line": 597, "column": 15 }, "end": { "line": 597, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19876, "end": 19877, "loc": { "start": { "line": 597, "column": 37 }, "end": { "line": 597, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19878, "end": 19882, "loc": { "start": { "line": 597, "column": 39 }, "end": { "line": 597, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19882, "end": 19883, "loc": { "start": { "line": 597, "column": 43 }, "end": { "line": 597, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 19883, "end": 19904, "loc": { "start": { "line": 597, "column": 44 }, "end": { "line": 597, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19905, "end": 19906, "loc": { "start": { "line": 597, "column": 66 }, "end": { "line": 597, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19907, "end": 19908, "loc": { "start": { "line": 597, "column": 68 }, "end": { "line": 597, "column": 69 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 19908, "end": 19909, "loc": { "start": { "line": 597, "column": 69 }, "end": { "line": 597, "column": 70 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19909, "end": 19911, "loc": { "start": { "line": 597, "column": 70 }, "end": { "line": 597, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 19911, "end": 19919, "loc": { "start": { "line": 597, "column": 72 }, "end": { "line": 597, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19919, "end": 19920, "loc": { "start": { "line": 597, "column": 80 }, "end": { "line": 597, "column": 81 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 19920, "end": 19920, "loc": { "start": { "line": 597, "column": 81 }, "end": { "line": 597, "column": 81 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19920, "end": 19921, "loc": { "start": { "line": 597, "column": 81 }, "end": { "line": 597, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19921, "end": 19922, "loc": { "start": { "line": 597, "column": 82 }, "end": { "line": 597, "column": 83 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19932, "end": 19933, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19945, "end": 19951, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19951, "end": 19952, "loc": { "start": { "line": 600, "column": 14 }, "end": { "line": 600, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 19952, "end": 19956, "loc": { "start": { "line": 600, "column": 15 }, "end": { "line": 600, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19956, "end": 19957, "loc": { "start": { "line": 600, "column": 19 }, "end": { "line": 600, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19957, "end": 19961, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19961, "end": 19962, "loc": { "start": { "line": 600, "column": 24 }, "end": { "line": 600, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19962, "end": 19963, "loc": { "start": { "line": 600, "column": 25 }, "end": { "line": 600, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19971, "end": 19972, "loc": { "start": { "line": 601, "column": 6 }, "end": { "line": 601, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19972, "end": 19973, "loc": { "start": { "line": 601, "column": 7 }, "end": { "line": 601, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19973, "end": 19974, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19984, "end": 19988, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19988, "end": 19989, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 19989, "end": 20010, "loc": { "start": { "line": 603, "column": 11 }, "end": { "line": 603, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20011, "end": 20012, "loc": { "start": { "line": 603, "column": 33 }, "end": { "line": 603, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20013, "end": 20017, "loc": { "start": { "line": 603, "column": 35 }, "end": { "line": 603, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20017, "end": 20018, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20018, "end": 20039, "loc": { "start": { "line": 603, "column": 40 }, "end": { "line": 603, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20040, "end": 20041, "loc": { "start": { "line": 603, "column": 62 }, "end": { "line": 603, "column": 63 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " modules-loaded", "start": 20042, "end": 20059, "loc": { "start": { "line": 603, "column": 64 }, "end": { "line": 603, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20059, "end": 20060, "loc": { "start": { "line": 603, "column": 81 }, "end": { "line": 603, "column": 82 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20070, "end": 20074, "loc": { "start": { "line": 605, "column": 6 }, "end": { "line": 605, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20074, "end": 20075, "loc": { "start": { "line": 605, "column": 10 }, "end": { "line": 605, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 20075, "end": 20081, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20081, "end": 20082, "loc": { "start": { "line": 605, "column": 17 }, "end": { "line": 605, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20082, "end": 20083, "loc": { "start": { "line": 605, "column": 18 }, "end": { "line": 605, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20083, "end": 20084, "loc": { "start": { "line": 605, "column": 19 }, "end": { "line": 605, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20092, "end": 20096, "loc": { "start": { "line": 606, "column": 6 }, "end": { "line": 606, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20096, "end": 20097, "loc": { "start": { "line": 606, "column": 10 }, "end": { "line": 606, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 20097, "end": 20112, "loc": { "start": { "line": 606, "column": 11 }, "end": { "line": 606, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20112, "end": 20113, "loc": { "start": { "line": 606, "column": 26 }, "end": { "line": 606, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20113, "end": 20114, "loc": { "start": { "line": 606, "column": 27 }, "end": { "line": 606, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20114, "end": 20115, "loc": { "start": { "line": 606, "column": 28 }, "end": { "line": 606, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20121, "end": 20122, "loc": { "start": { "line": 607, "column": 4 }, "end": { "line": 607, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20126, "end": 20127, "loc": { "start": { "line": 608, "column": 2 }, "end": { "line": 608, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20133, "end": 20165, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 612, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModuleProp", "start": 20169, "end": 20182, "loc": { "start": { "line": 613, "column": 2 }, "end": { "line": 613, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20183, "end": 20184, "loc": { "start": { "line": 613, "column": 16 }, "end": { "line": 613, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20185, "end": 20186, "loc": { "start": { "line": 613, "column": 18 }, "end": { "line": 613, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20186, "end": 20190, "loc": { "start": { "line": 613, "column": 19 }, "end": { "line": 613, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20190, "end": 20191, "loc": { "start": { "line": 613, "column": 23 }, "end": { "line": 613, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 20192, "end": 20196, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20196, "end": 20197, "loc": { "start": { "line": 613, "column": 29 }, "end": { "line": 613, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20198, "end": 20200, "loc": { "start": { "line": 613, "column": 31 }, "end": { "line": 613, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20201, "end": 20202, "loc": { "start": { "line": 613, "column": 34 }, "end": { "line": 613, "column": 35 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 20208, "end": 20210, "loc": { "start": { "line": 614, "column": 4 }, "end": { "line": 614, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20210, "end": 20211, "loc": { "start": { "line": 614, "column": 6 }, "end": { "line": 614, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 20211, "end": 20212, "loc": { "start": { "line": 614, "column": 7 }, "end": { "line": 614, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20212, "end": 20216, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20216, "end": 20217, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20217, "end": 20224, "loc": { "start": { "line": 614, "column": 13 }, "end": { "line": 614, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20224, "end": 20225, "loc": { "start": { "line": 614, "column": 20 }, "end": { "line": 614, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20225, "end": 20229, "loc": { "start": { "line": 614, "column": 21 }, "end": { "line": 614, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20229, "end": 20230, "loc": { "start": { "line": 614, "column": 25 }, "end": { "line": 614, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20230, "end": 20231, "loc": { "start": { "line": 614, "column": 26 }, "end": { "line": 614, "column": 27 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 20239, "end": 20245, "loc": { "start": { "line": 615, "column": 6 }, "end": { "line": 615, "column": 12 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 20246, "end": 20251, "loc": { "start": { "line": 615, "column": 13 }, "end": { "line": 615, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20251, "end": 20252, "loc": { "start": { "line": 615, "column": 18 }, "end": { "line": 615, "column": 19 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 20264, "end": 20270, "loc": { "start": { "line": 617, "column": 4 }, "end": { "line": 617, "column": 10 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20271, "end": 20275, "loc": { "start": { "line": 617, "column": 11 }, "end": { "line": 617, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20275, "end": 20276, "loc": { "start": { "line": 617, "column": 15 }, "end": { "line": 617, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20276, "end": 20283, "loc": { "start": { "line": 617, "column": 16 }, "end": { "line": 617, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20283, "end": 20284, "loc": { "start": { "line": 617, "column": 23 }, "end": { "line": 617, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20284, "end": 20288, "loc": { "start": { "line": 617, "column": 24 }, "end": { "line": 617, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20288, "end": 20289, "loc": { "start": { "line": 617, "column": 28 }, "end": { "line": 617, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20289, "end": 20290, "loc": { "start": { "line": 617, "column": 29 }, "end": { "line": 617, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 20290, "end": 20294, "loc": { "start": { "line": 617, "column": 30 }, "end": { "line": 617, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20294, "end": 20295, "loc": { "start": { "line": 617, "column": 34 }, "end": { "line": 617, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20295, "end": 20296, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20300, "end": 20301, "loc": { "start": { "line": 618, "column": 2 }, "end": { "line": 618, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20307, "end": 20338, "loc": { "start": { "line": 620, "column": 2 }, "end": { "line": 622, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModulesList", "start": 20342, "end": 20356, "loc": { "start": { "line": 623, "column": 2 }, "end": { "line": 623, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20357, "end": 20358, "loc": { "start": { "line": 623, "column": 17 }, "end": { "line": 623, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20359, "end": 20360, "loc": { "start": { "line": 623, "column": 19 }, "end": { "line": 623, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20360, "end": 20361, "loc": { "start": { "line": 623, "column": 20 }, "end": { "line": 623, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20362, "end": 20364, "loc": { "start": { "line": 623, "column": 22 }, "end": { "line": 623, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20365, "end": 20366, "loc": { "start": { "line": 623, "column": 25 }, "end": { "line": 623, "column": 26 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 20372, "end": 20378, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 20379, "end": 20385, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20385, "end": 20386, "loc": { "start": { "line": 624, "column": 17 }, "end": { "line": 624, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 20386, "end": 20390, "loc": { "start": { "line": 624, "column": 18 }, "end": { "line": 624, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20390, "end": 20391, "loc": { "start": { "line": 624, "column": 22 }, "end": { "line": 624, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20391, "end": 20395, "loc": { "start": { "line": 624, "column": 23 }, "end": { "line": 624, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20395, "end": 20396, "loc": { "start": { "line": 624, "column": 27 }, "end": { "line": 624, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20396, "end": 20403, "loc": { "start": { "line": 624, "column": 28 }, "end": { "line": 624, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20403, "end": 20404, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20404, "end": 20405, "loc": { "start": { "line": 624, "column": 36 }, "end": { "line": 624, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20409, "end": 20410, "loc": { "start": { "line": 625, "column": 2 }, "end": { "line": 625, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20416, "end": 20472, "loc": { "start": { "line": 627, "column": 2 }, "end": { "line": 629, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 20476, "end": 20482, "loc": { "start": { "line": 630, "column": 2 }, "end": { "line": 630, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20482, "end": 20483, "loc": { "start": { "line": 630, "column": 8 }, "end": { "line": 630, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20483, "end": 20484, "loc": { "start": { "line": 630, "column": 9 }, "end": { "line": 630, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20484, "end": 20485, "loc": { "start": { "line": 630, "column": 10 }, "end": { "line": 630, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20491, "end": 20526, "loc": { "start": { "line": 631, "column": 4 }, "end": { "line": 633, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20532, "end": 20536, "loc": { "start": { "line": 634, "column": 4 }, "end": { "line": 634, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20536, "end": 20537, "loc": { "start": { "line": 634, "column": 8 }, "end": { "line": 634, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 20537, "end": 20542, "loc": { "start": { "line": 634, "column": 9 }, "end": { "line": 634, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20542, "end": 20543, "loc": { "start": { "line": 634, "column": 14 }, "end": { "line": 634, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20543, "end": 20544, "loc": { "start": { "line": 634, "column": 15 }, "end": { "line": 634, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20544, "end": 20545, "loc": { "start": { "line": 634, "column": 16 }, "end": { "line": 634, "column": 17 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 20553, "end": 20556, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 20557, "end": 20568, "loc": { "start": { "line": 636, "column": 8 }, "end": { "line": 636, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20569, "end": 20570, "loc": { "start": { "line": 636, "column": 20 }, "end": { "line": 636, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20571, "end": 20575, "loc": { "start": { "line": 636, "column": 22 }, "end": { "line": 636, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20575, "end": 20576, "loc": { "start": { "line": 636, "column": 26 }, "end": { "line": 636, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20576, "end": 20583, "loc": { "start": { "line": 636, "column": 27 }, "end": { "line": 636, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20583, "end": 20584, "loc": { "start": { "line": 636, "column": 34 }, "end": { "line": 636, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20584, "end": 20590, "loc": { "start": { "line": 636, "column": 35 }, "end": { "line": 636, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20591, "end": 20592, "loc": { "start": { "line": 636, "column": 42 }, "end": { "line": 636, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-layout-custom", "start": 20593, "end": 20611, "loc": { "start": { "line": 636, "column": 44 }, "end": { "line": 636, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20612, "end": 20613, "loc": { "start": { "line": 636, "column": 63 }, "end": { "line": 636, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20614, "end": 20615, "loc": { "start": { "line": 636, "column": 65 }, "end": { "line": 636, "column": 66 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-layout-", "start": 20615, "end": 20625, "loc": { "start": { "line": 636, "column": 66 }, "end": { "line": 636, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20625, "end": 20627, "loc": { "start": { "line": 636, "column": 76 }, "end": { "line": 636, "column": 78 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20627, "end": 20631, "loc": { "start": { "line": 636, "column": 78 }, "end": { "line": 636, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20631, "end": 20632, "loc": { "start": { "line": 636, "column": 82 }, "end": { "line": 636, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20632, "end": 20639, "loc": { "start": { "line": 636, "column": 83 }, "end": { "line": 636, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20639, "end": 20640, "loc": { "start": { "line": 636, "column": 90 }, "end": { "line": 636, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 20640, "end": 20650, "loc": { "start": { "line": 636, "column": 91 }, "end": { "line": 636, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20650, "end": 20651, "loc": { "start": { "line": 636, "column": 101 }, "end": { "line": 636, "column": 102 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 20651, "end": 20651, "loc": { "start": { "line": 636, "column": 102 }, "end": { "line": 636, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20651, "end": 20652, "loc": { "start": { "line": 636, "column": 102 }, "end": { "line": 636, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20652, "end": 20653, "loc": { "start": { "line": 636, "column": 103 }, "end": { "line": 636, "column": 104 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 20659, "end": 20662, "loc": { "start": { "line": 637, "column": 4 }, "end": { "line": 637, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20663, "end": 20669, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20670, "end": 20671, "loc": { "start": { "line": 637, "column": 15 }, "end": { "line": 637, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20672, "end": 20676, "loc": { "start": { "line": 637, "column": 17 }, "end": { "line": 637, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20676, "end": 20677, "loc": { "start": { "line": 637, "column": 21 }, "end": { "line": 637, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20677, "end": 20684, "loc": { "start": { "line": 637, "column": 22 }, "end": { "line": 637, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20684, "end": 20685, "loc": { "start": { "line": 637, "column": 29 }, "end": { "line": 637, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20685, "end": 20691, "loc": { "start": { "line": 637, "column": 30 }, "end": { "line": 637, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 20692, "end": 20694, "loc": { "start": { "line": 637, "column": 37 }, "end": { "line": 637, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 20695, "end": 20709, "loc": { "start": { "line": 637, "column": 40 }, "end": { "line": 637, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20709, "end": 20710, "loc": { "start": { "line": 637, "column": 54 }, "end": { "line": 637, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 20710, "end": 20726, "loc": { "start": { "line": 637, "column": 55 }, "end": { "line": 637, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20726, "end": 20727, "loc": { "start": { "line": 637, "column": 71 }, "end": { "line": 637, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20727, "end": 20728, "loc": { "start": { "line": 637, "column": 72 }, "end": { "line": 637, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20728, "end": 20729, "loc": { "start": { "line": 637, "column": 73 }, "end": { "line": 637, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20737, "end": 20789, "loc": { "start": { "line": 639, "column": 4 }, "end": { "line": 641, "column": 7 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 20795, "end": 20798, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 642, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20799, "end": 20817, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20818, "end": 20819, "loc": { "start": { "line": 642, "column": 27 }, "end": { "line": 642, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20820, "end": 20821, "loc": { "start": { "line": 642, "column": 29 }, "end": { "line": 642, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20821, "end": 20822, "loc": { "start": { "line": 642, "column": 30 }, "end": { "line": 642, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20822, "end": 20823, "loc": { "start": { "line": 642, "column": 31 }, "end": { "line": 642, "column": 32 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 20829, "end": 20831, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 643, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20831, "end": 20832, "loc": { "start": { "line": 643, "column": 6 }, "end": { "line": 643, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 20832, "end": 20837, "loc": { "start": { "line": 643, "column": 7 }, "end": { "line": 643, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20837, "end": 20838, "loc": { "start": { "line": 643, "column": 12 }, "end": { "line": 643, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 20838, "end": 20845, "loc": { "start": { "line": 643, "column": 13 }, "end": { "line": 643, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20845, "end": 20846, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20846, "end": 20850, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20850, "end": 20851, "loc": { "start": { "line": 643, "column": 25 }, "end": { "line": 643, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20851, "end": 20858, "loc": { "start": { "line": 643, "column": 26 }, "end": { "line": 643, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20858, "end": 20859, "loc": { "start": { "line": 643, "column": 33 }, "end": { "line": 643, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 20859, "end": 20870, "loc": { "start": { "line": 643, "column": 34 }, "end": { "line": 643, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20870, "end": 20871, "loc": { "start": { "line": 643, "column": 45 }, "end": { "line": 643, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20871, "end": 20872, "loc": { "start": { "line": 643, "column": 46 }, "end": { "line": 643, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20872, "end": 20873, "loc": { "start": { "line": 643, "column": 47 }, "end": { "line": 643, "column": 48 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20881, "end": 20885, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 644, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20885, "end": 20886, "loc": { "start": { "line": 644, "column": 10 }, "end": { "line": 644, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20886, "end": 20893, "loc": { "start": { "line": 644, "column": 11 }, "end": { "line": 644, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20893, "end": 20894, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 20894, "end": 20905, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 644, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20905, "end": 20906, "loc": { "start": { "line": 644, "column": 30 }, "end": { "line": 644, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 20906, "end": 20913, "loc": { "start": { "line": 644, "column": 31 }, "end": { "line": 644, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20913, "end": 20914, "loc": { "start": { "line": 644, "column": 38 }, "end": { "line": 644, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20914, "end": 20922, "loc": { "start": { "line": 644, "column": 39 }, "end": { "line": 644, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20923, "end": 20925, "loc": { "start": { "line": 644, "column": 48 }, "end": { "line": 644, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20926, "end": 20927, "loc": { "start": { "line": 644, "column": 51 }, "end": { "line": 644, "column": 52 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 20937, "end": 20939, "loc": { "start": { "line": 645, "column": 8 }, "end": { "line": 645, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20939, "end": 20940, "loc": { "start": { "line": 645, "column": 10 }, "end": { "line": 645, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20940, "end": 20948, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20948, "end": 20949, "loc": { "start": { "line": 645, "column": 19 }, "end": { "line": 645, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 20949, "end": 20956, "loc": { "start": { "line": 645, "column": 20 }, "end": { "line": 645, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 20957, "end": 20959, "loc": { "start": { "line": 645, "column": 28 }, "end": { "line": 645, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20960, "end": 20968, "loc": { "start": { "line": 645, "column": 31 }, "end": { "line": 645, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20968, "end": 20969, "loc": { "start": { "line": 645, "column": 39 }, "end": { "line": 645, "column": 40 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 20969, "end": 20974, "loc": { "start": { "line": 645, "column": 40 }, "end": { "line": 645, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20974, "end": 20975, "loc": { "start": { "line": 645, "column": 45 }, "end": { "line": 645, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20975, "end": 20976, "loc": { "start": { "line": 645, "column": 46 }, "end": { "line": 645, "column": 47 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 20988, "end": 20991, "loc": { "start": { "line": 646, "column": 10 }, "end": { "line": 646, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20992, "end": 21004, "loc": { "start": { "line": 646, "column": 14 }, "end": { "line": 646, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21004, "end": 21005, "loc": { "start": { "line": 646, "column": 26 }, "end": { "line": 646, "column": 27 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 21019, "end": 21021, "loc": { "start": { "line": 648, "column": 10 }, "end": { "line": 648, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21021, "end": 21022, "loc": { "start": { "line": 648, "column": 12 }, "end": { "line": 648, "column": 13 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 21022, "end": 21028, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21029, "end": 21037, "loc": { "start": { "line": 648, "column": 20 }, "end": { "line": 648, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21037, "end": 21038, "loc": { "start": { "line": 648, "column": 28 }, "end": { "line": 648, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 21038, "end": 21045, "loc": { "start": { "line": 648, "column": 29 }, "end": { "line": 648, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 21046, "end": 21049, "loc": { "start": { "line": 648, "column": 37 }, "end": { "line": 648, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 21050, "end": 21058, "loc": { "start": { "line": 648, "column": 41 }, "end": { "line": 648, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21058, "end": 21059, "loc": { "start": { "line": 648, "column": 49 }, "end": { "line": 648, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21059, "end": 21060, "loc": { "start": { "line": 648, "column": 50 }, "end": { "line": 648, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21074, "end": 21086, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21087, "end": 21088, "loc": { "start": { "line": 649, "column": 25 }, "end": { "line": 649, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21089, "end": 21097, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21097, "end": 21098, "loc": { "start": { "line": 649, "column": 35 }, "end": { "line": 649, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 21098, "end": 21105, "loc": { "start": { "line": 649, "column": 36 }, "end": { "line": 649, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21105, "end": 21106, "loc": { "start": { "line": 649, "column": 43 }, "end": { "line": 649, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21106, "end": 21111, "loc": { "start": { "line": 649, "column": 44 }, "end": { "line": 649, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21111, "end": 21112, "loc": { "start": { "line": 649, "column": 49 }, "end": { "line": 649, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 21112, "end": 21115, "loc": { "start": { "line": 649, "column": 50 }, "end": { "line": 649, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21115, "end": 21116, "loc": { "start": { "line": 649, "column": 53 }, "end": { "line": 649, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21116, "end": 21117, "loc": { "start": { "line": 649, "column": 54 }, "end": { "line": 649, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21129, "end": 21130, "loc": { "start": { "line": 650, "column": 10 }, "end": { "line": 650, "column": 11 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 21144, "end": 21146, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21146, "end": 21147, "loc": { "start": { "line": 652, "column": 12 }, "end": { "line": 652, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21147, "end": 21159, "loc": { "start": { "line": 652, "column": 13 }, "end": { "line": 652, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21159, "end": 21160, "loc": { "start": { "line": 652, "column": 25 }, "end": { "line": 652, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21160, "end": 21161, "loc": { "start": { "line": 652, "column": 26 }, "end": { "line": 652, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21175, "end": 21187, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 653, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21187, "end": 21188, "loc": { "start": { "line": 653, "column": 24 }, "end": { "line": 653, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21188, "end": 21195, "loc": { "start": { "line": 653, "column": 25 }, "end": { "line": 653, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21195, "end": 21196, "loc": { "start": { "line": 653, "column": 32 }, "end": { "line": 653, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21196, "end": 21207, "loc": { "start": { "line": 653, "column": 33 }, "end": { "line": 653, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21208, "end": 21210, "loc": { "start": { "line": 653, "column": 45 }, "end": { "line": 653, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21211, "end": 21212, "loc": { "start": { "line": 653, "column": 48 }, "end": { "line": 653, "column": 49 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 21228, "end": 21231, "loc": { "start": { "line": 654, "column": 14 }, "end": { "line": 654, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21232, "end": 21243, "loc": { "start": { "line": 654, "column": 18 }, "end": { "line": 654, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21244, "end": 21245, "loc": { "start": { "line": 654, "column": 30 }, "end": { "line": 654, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21246, "end": 21264, "loc": { "start": { "line": 654, "column": 32 }, "end": { "line": 654, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21264, "end": 21265, "loc": { "start": { "line": 654, "column": 50 }, "end": { "line": 654, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21265, "end": 21276, "loc": { "start": { "line": 654, "column": 51 }, "end": { "line": 654, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21276, "end": 21277, "loc": { "start": { "line": 654, "column": 62 }, "end": { "line": 654, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21277, "end": 21278, "loc": { "start": { "line": 654, "column": 63 }, "end": { "line": 654, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 21296, "end": 21335, "loc": { "start": { "line": 656, "column": 14 }, "end": { "line": 656, "column": 53 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 21351, "end": 21353, "loc": { "start": { "line": 657, "column": 14 }, "end": { "line": 657, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21353, "end": 21354, "loc": { "start": { "line": 657, "column": 16 }, "end": { "line": 657, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21354, "end": 21365, "loc": { "start": { "line": 657, "column": 17 }, "end": { "line": 657, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21365, "end": 21366, "loc": { "start": { "line": 657, "column": 28 }, "end": { "line": 657, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21366, "end": 21367, "loc": { "start": { "line": 657, "column": 29 }, "end": { "line": 657, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 21385, "end": 21468, "loc": { "start": { "line": 658, "column": 16 }, "end": { "line": 658, "column": 99 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 21486, "end": 21488, "loc": { "start": { "line": 659, "column": 16 }, "end": { "line": 659, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21488, "end": 21489, "loc": { "start": { "line": 659, "column": 18 }, "end": { "line": 659, "column": 19 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 21489, "end": 21490, "loc": { "start": { "line": 659, "column": 19 }, "end": { "line": 659, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 21490, "end": 21494, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21494, "end": 21495, "loc": { "start": { "line": 659, "column": 24 }, "end": { "line": 659, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 21495, "end": 21504, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21504, "end": 21505, "loc": { "start": { "line": 659, "column": 34 }, "end": { "line": 659, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 21505, "end": 21517, "loc": { "start": { "line": 659, "column": 35 }, "end": { "line": 659, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21517, "end": 21518, "loc": { "start": { "line": 659, "column": 47 }, "end": { "line": 659, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21518, "end": 21529, "loc": { "start": { "line": 659, "column": 48 }, "end": { "line": 659, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21529, "end": 21530, "loc": { "start": { "line": 659, "column": 59 }, "end": { "line": 659, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21530, "end": 21535, "loc": { "start": { "line": 659, "column": 60 }, "end": { "line": 659, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21535, "end": 21536, "loc": { "start": { "line": 659, "column": 65 }, "end": { "line": 659, "column": 66 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 21536, "end": 21539, "loc": { "start": { "line": 659, "column": 66 }, "end": { "line": 659, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21539, "end": 21540, "loc": { "start": { "line": 659, "column": 69 }, "end": { "line": 659, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21540, "end": 21541, "loc": { "start": { "line": 659, "column": 70 }, "end": { "line": 659, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21542, "end": 21550, "loc": { "start": { "line": 659, "column": 72 }, "end": { "line": 659, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21550, "end": 21551, "loc": { "start": { "line": 659, "column": 80 }, "end": { "line": 659, "column": 81 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 21551, "end": 21556, "loc": { "start": { "line": 659, "column": 81 }, "end": { "line": 659, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21556, "end": 21557, "loc": { "start": { "line": 659, "column": 86 }, "end": { "line": 659, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21557, "end": 21558, "loc": { "start": { "line": 659, "column": 87 }, "end": { "line": 659, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21558, "end": 21559, "loc": { "start": { "line": 659, "column": 88 }, "end": { "line": 659, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21579, "end": 21597, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21597, "end": 21598, "loc": { "start": { "line": 660, "column": 36 }, "end": { "line": 660, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21598, "end": 21609, "loc": { "start": { "line": 660, "column": 37 }, "end": { "line": 660, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21609, "end": 21610, "loc": { "start": { "line": 660, "column": 48 }, "end": { "line": 660, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21611, "end": 21612, "loc": { "start": { "line": 660, "column": 50 }, "end": { "line": 660, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21613, "end": 21614, "loc": { "start": { "line": 660, "column": 52 }, "end": { "line": 660, "column": 53 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 21614, "end": 21614, "loc": { "start": { "line": 660, "column": 53 }, "end": { "line": 660, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21614, "end": 21616, "loc": { "start": { "line": 660, "column": 53 }, "end": { "line": 660, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21616, "end": 21627, "loc": { "start": { "line": 660, "column": 55 }, "end": { "line": 660, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21627, "end": 21628, "loc": { "start": { "line": 660, "column": 66 }, "end": { "line": 660, "column": 67 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 21628, "end": 21629, "loc": { "start": { "line": 660, "column": 67 }, "end": { "line": 660, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21629, "end": 21631, "loc": { "start": { "line": 660, "column": 68 }, "end": { "line": 660, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21631, "end": 21639, "loc": { "start": { "line": 660, "column": 70 }, "end": { "line": 660, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21639, "end": 21640, "loc": { "start": { "line": 660, "column": 78 }, "end": { "line": 660, "column": 79 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 21640, "end": 21645, "loc": { "start": { "line": 660, "column": 79 }, "end": { "line": 660, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21645, "end": 21646, "loc": { "start": { "line": 660, "column": 84 }, "end": { "line": 660, "column": 85 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 21646, "end": 21646, "loc": { "start": { "line": 660, "column": 85 }, "end": { "line": 660, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21646, "end": 21647, "loc": { "start": { "line": 660, "column": 85 }, "end": { "line": 660, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21647, "end": 21648, "loc": { "start": { "line": 660, "column": 86 }, "end": { "line": 660, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21666, "end": 21667, "loc": { "start": { "line": 661, "column": 16 }, "end": { "line": 661, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21683, "end": 21684, "loc": { "start": { "line": 662, "column": 14 }, "end": { "line": 662, "column": 15 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 21685, "end": 21689, "loc": { "start": { "line": 662, "column": 16 }, "end": { "line": 662, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21690, "end": 21691, "loc": { "start": { "line": 662, "column": 21 }, "end": { "line": 662, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21709, "end": 21727, "loc": { "start": { "line": 663, "column": 16 }, "end": { "line": 663, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21727, "end": 21728, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21728, "end": 21739, "loc": { "start": { "line": 663, "column": 35 }, "end": { "line": 663, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21739, "end": 21740, "loc": { "start": { "line": 663, "column": 46 }, "end": { "line": 663, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21741, "end": 21742, "loc": { "start": { "line": 663, "column": 48 }, "end": { "line": 663, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21743, "end": 21751, "loc": { "start": { "line": 663, "column": 50 }, "end": { "line": 663, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21751, "end": 21752, "loc": { "start": { "line": 663, "column": 58 }, "end": { "line": 663, "column": 59 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 21752, "end": 21757, "loc": { "start": { "line": 663, "column": 59 }, "end": { "line": 663, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21757, "end": 21758, "loc": { "start": { "line": 663, "column": 64 }, "end": { "line": 663, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21774, "end": 21775, "loc": { "start": { "line": 664, "column": 14 }, "end": { "line": 664, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21789, "end": 21790, "loc": { "start": { "line": 665, "column": 12 }, "end": { "line": 665, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21790, "end": 21791, "loc": { "start": { "line": 665, "column": 13 }, "end": { "line": 665, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21791, "end": 21792, "loc": { "start": { "line": 665, "column": 14 }, "end": { "line": 665, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21804, "end": 21805, "loc": { "start": { "line": 666, "column": 10 }, "end": { "line": 666, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21815, "end": 21816, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 21817, "end": 21821, "loc": { "start": { "line": 667, "column": 10 }, "end": { "line": 667, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21822, "end": 21823, "loc": { "start": { "line": 667, "column": 15 }, "end": { "line": 667, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 21835, "end": 21842, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21842, "end": 21843, "loc": { "start": { "line": 668, "column": 17 }, "end": { "line": 668, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 21843, "end": 21847, "loc": { "start": { "line": 668, "column": 18 }, "end": { "line": 668, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21847, "end": 21848, "loc": { "start": { "line": 668, "column": 22 }, "end": { "line": 668, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21848, "end": 21849, "loc": { "start": { "line": 668, "column": 23 }, "end": { "line": 668, "column": 24 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", "start": 21849, "end": 21937, "loc": { "start": { "line": 668, "column": 24 }, "end": { "line": 668, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21937, "end": 21938, "loc": { "start": { "line": 668, "column": 112 }, "end": { "line": 668, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21938, "end": 21939, "loc": { "start": { "line": 668, "column": 113 }, "end": { "line": 668, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21949, "end": 21950, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21958, "end": 21959, "loc": { "start": { "line": 670, "column": 6 }, "end": { "line": 670, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21959, "end": 21960, "loc": { "start": { "line": 670, "column": 7 }, "end": { "line": 670, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21960, "end": 21961, "loc": { "start": { "line": 670, "column": 8 }, "end": { "line": 670, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21967, "end": 21968, "loc": { "start": { "line": 671, "column": 4 }, "end": { "line": 671, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21976, "end": 22042, "loc": { "start": { "line": 673, "column": 4 }, "end": { "line": 675, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22048, "end": 22052, "loc": { "start": { "line": 676, "column": 4 }, "end": { "line": 676, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22052, "end": 22053, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 22053, "end": 22064, "loc": { "start": { "line": 676, "column": 9 }, "end": { "line": 676, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22064, "end": 22065, "loc": { "start": { "line": 676, "column": 20 }, "end": { "line": 676, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 22065, "end": 22074, "loc": { "start": { "line": 676, "column": 21 }, "end": { "line": 676, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 22075, "end": 22077, "loc": { "start": { "line": 676, "column": 31 }, "end": { "line": 676, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22078, "end": 22079, "loc": { "start": { "line": 676, "column": 34 }, "end": { "line": 676, "column": 35 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 22079, "end": 22080, "loc": { "start": { "line": 676, "column": 35 }, "end": { "line": 676, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22080, "end": 22082, "loc": { "start": { "line": 676, "column": 36 }, "end": { "line": 676, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22082, "end": 22086, "loc": { "start": { "line": 676, "column": 38 }, "end": { "line": 676, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22086, "end": 22087, "loc": { "start": { "line": 676, "column": 42 }, "end": { "line": 676, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22087, "end": 22094, "loc": { "start": { "line": 676, "column": 43 }, "end": { "line": 676, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22094, "end": 22095, "loc": { "start": { "line": 676, "column": 50 }, "end": { "line": 676, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 22095, "end": 22100, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22100, "end": 22101, "loc": { "start": { "line": 676, "column": 56 }, "end": { "line": 676, "column": 57 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 22101, "end": 22102, "loc": { "start": { "line": 676, "column": 57 }, "end": { "line": 676, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22102, "end": 22104, "loc": { "start": { "line": 676, "column": 58 }, "end": { "line": 676, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 22104, "end": 22115, "loc": { "start": { "line": 676, "column": 60 }, "end": { "line": 676, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22115, "end": 22116, "loc": { "start": { "line": 676, "column": 71 }, "end": { "line": 676, "column": 72 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 22116, "end": 22117, "loc": { "start": { "line": 676, "column": 72 }, "end": { "line": 676, "column": 73 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22117, "end": 22119, "loc": { "start": { "line": 676, "column": 73 }, "end": { "line": 676, "column": 75 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22119, "end": 22123, "loc": { "start": { "line": 676, "column": 75 }, "end": { "line": 676, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22123, "end": 22124, "loc": { "start": { "line": 676, "column": 79 }, "end": { "line": 676, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 22124, "end": 22145, "loc": { "start": { "line": 676, "column": 80 }, "end": { "line": 676, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22145, "end": 22146, "loc": { "start": { "line": 676, "column": 101 }, "end": { "line": 676, "column": 102 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 22146, "end": 22146, "loc": { "start": { "line": 676, "column": 102 }, "end": { "line": 676, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22146, "end": 22147, "loc": { "start": { "line": 676, "column": 102 }, "end": { "line": 676, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22147, "end": 22148, "loc": { "start": { "line": 676, "column": 103 }, "end": { "line": 676, "column": 104 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22156, "end": 22203, "loc": { "start": { "line": 678, "column": 4 }, "end": { "line": 680, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 22209, "end": 22215, "loc": { "start": { "line": 681, "column": 4 }, "end": { "line": 681, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22215, "end": 22216, "loc": { "start": { "line": 681, "column": 10 }, "end": { "line": 681, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22216, "end": 22220, "loc": { "start": { "line": 681, "column": 11 }, "end": { "line": 681, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22220, "end": 22221, "loc": { "start": { "line": 681, "column": 15 }, "end": { "line": 681, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22221, "end": 22228, "loc": { "start": { "line": 681, "column": 16 }, "end": { "line": 681, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22228, "end": 22229, "loc": { "start": { "line": 681, "column": 23 }, "end": { "line": 681, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 22229, "end": 22239, "loc": { "start": { "line": 681, "column": 24 }, "end": { "line": 681, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22239, "end": 22240, "loc": { "start": { "line": 681, "column": 34 }, "end": { "line": 681, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22240, "end": 22241, "loc": { "start": { "line": 681, "column": 35 }, "end": { "line": 681, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 22241, "end": 22248, "loc": { "start": { "line": 681, "column": 36 }, "end": { "line": 681, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22248, "end": 22249, "loc": { "start": { "line": 681, "column": 43 }, "end": { "line": 681, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22249, "end": 22250, "loc": { "start": { "line": 681, "column": 44 }, "end": { "line": 681, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 22250, "end": 22253, "loc": { "start": { "line": 681, "column": 45 }, "end": { "line": 681, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22253, "end": 22254, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 22255, "end": 22261, "loc": { "start": { "line": 681, "column": 50 }, "end": { "line": 681, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22261, "end": 22262, "loc": { "start": { "line": 681, "column": 56 }, "end": { "line": 681, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22263, "end": 22265, "loc": { "start": { "line": 681, "column": 58 }, "end": { "line": 681, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22266, "end": 22267, "loc": { "start": { "line": 681, "column": 61 }, "end": { "line": 681, "column": 62 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 22275, "end": 22278, "loc": { "start": { "line": 682, "column": 6 }, "end": { "line": 682, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 22279, "end": 22287, "loc": { "start": { "line": 682, "column": 10 }, "end": { "line": 682, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22288, "end": 22289, "loc": { "start": { "line": 682, "column": 19 }, "end": { "line": 682, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 22290, "end": 22293, "loc": { "start": { "line": 682, "column": 21 }, "end": { "line": 682, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22293, "end": 22294, "loc": { "start": { "line": 682, "column": 24 }, "end": { "line": 682, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 22294, "end": 22299, "loc": { "start": { "line": 682, "column": 25 }, "end": { "line": 682, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22299, "end": 22300, "loc": { "start": { "line": 682, "column": 30 }, "end": { "line": 682, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 22300, "end": 22303, "loc": { "start": { "line": 682, "column": 31 }, "end": { "line": 682, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22303, "end": 22304, "loc": { "start": { "line": 682, "column": 34 }, "end": { "line": 682, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22304, "end": 22305, "loc": { "start": { "line": 682, "column": 35 }, "end": { "line": 682, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22315, "end": 22358, "loc": { "start": { "line": 684, "column": 6 }, "end": { "line": 686, "column": 9 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 22366, "end": 22369, "loc": { "start": { "line": 687, "column": 6 }, "end": { "line": 687, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 22370, "end": 22376, "loc": { "start": { "line": 687, "column": 10 }, "end": { "line": 687, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22377, "end": 22378, "loc": { "start": { "line": 687, "column": 17 }, "end": { "line": 687, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 22379, "end": 22387, "loc": { "start": { "line": 687, "column": 19 }, "end": { "line": 687, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22387, "end": 22388, "loc": { "start": { "line": 687, "column": 27 }, "end": { "line": 687, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 22388, "end": 22401, "loc": { "start": { "line": 687, "column": 28 }, "end": { "line": 687, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22401, "end": 22402, "loc": { "start": { "line": 687, "column": 41 }, "end": { "line": 687, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "div", "start": 22402, "end": 22407, "loc": { "start": { "line": 687, "column": 42 }, "end": { "line": 687, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22407, "end": 22408, "loc": { "start": { "line": 687, "column": 47 }, "end": { "line": 687, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22408, "end": 22409, "loc": { "start": { "line": 687, "column": 48 }, "end": { "line": 687, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 22417, "end": 22423, "loc": { "start": { "line": 688, "column": 6 }, "end": { "line": 688, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22423, "end": 22424, "loc": { "start": { "line": 688, "column": 12 }, "end": { "line": 688, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 22424, "end": 22433, "loc": { "start": { "line": 688, "column": 13 }, "end": { "line": 688, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 22434, "end": 22436, "loc": { "start": { "line": 688, "column": 23 }, "end": { "line": 688, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-row", "start": 22437, "end": 22445, "loc": { "start": { "line": 688, "column": 26 }, "end": { "line": 688, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22445, "end": 22446, "loc": { "start": { "line": 688, "column": 34 }, "end": { "line": 688, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22456, "end": 22517, "loc": { "start": { "line": 690, "column": 6 }, "end": { "line": 692, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 22525, "end": 22533, "loc": { "start": { "line": 693, "column": 6 }, "end": { "line": 693, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22533, "end": 22534, "loc": { "start": { "line": 693, "column": 14 }, "end": { "line": 693, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 22534, "end": 22541, "loc": { "start": { "line": 693, "column": 15 }, "end": { "line": 693, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22541, "end": 22542, "loc": { "start": { "line": 693, "column": 22 }, "end": { "line": 693, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22542, "end": 22543, "loc": { "start": { "line": 693, "column": 23 }, "end": { "line": 693, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22543, "end": 22549, "loc": { "start": { "line": 693, "column": 24 }, "end": { "line": 693, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22549, "end": 22550, "loc": { "start": { "line": 693, "column": 30 }, "end": { "line": 693, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 22551, "end": 22557, "loc": { "start": { "line": 693, "column": 32 }, "end": { "line": 693, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22557, "end": 22558, "loc": { "start": { "line": 693, "column": 38 }, "end": { "line": 693, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22559, "end": 22561, "loc": { "start": { "line": 693, "column": 40 }, "end": { "line": 693, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22562, "end": 22563, "loc": { "start": { "line": 693, "column": 43 }, "end": { "line": 693, "column": 44 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 22573, "end": 22576, "loc": { "start": { "line": 694, "column": 8 }, "end": { "line": 694, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 22577, "end": 22588, "loc": { "start": { "line": 694, "column": 12 }, "end": { "line": 694, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22589, "end": 22590, "loc": { "start": { "line": 694, "column": 24 }, "end": { "line": 694, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22591, "end": 22595, "loc": { "start": { "line": 694, "column": 26 }, "end": { "line": 694, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22595, "end": 22596, "loc": { "start": { "line": 694, "column": 30 }, "end": { "line": 694, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 22596, "end": 22605, "loc": { "start": { "line": 694, "column": 31 }, "end": { "line": 694, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22605, "end": 22606, "loc": { "start": { "line": 694, "column": 40 }, "end": { "line": 694, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 22606, "end": 22620, "loc": { "start": { "line": 694, "column": 41 }, "end": { "line": 694, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22620, "end": 22621, "loc": { "start": { "line": 694, "column": 55 }, "end": { "line": 694, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22621, "end": 22627, "loc": { "start": { "line": 694, "column": 56 }, "end": { "line": 694, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22627, "end": 22628, "loc": { "start": { "line": 694, "column": 62 }, "end": { "line": 694, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22628, "end": 22629, "loc": { "start": { "line": 694, "column": 63 }, "end": { "line": 694, "column": 64 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 22639, "end": 22642, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 695, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 22643, "end": 22659, "loc": { "start": { "line": 695, "column": 12 }, "end": { "line": 695, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22660, "end": 22661, "loc": { "start": { "line": 695, "column": 29 }, "end": { "line": 695, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 22662, "end": 22680, "loc": { "start": { "line": 695, "column": 31 }, "end": { "line": 695, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22680, "end": 22681, "loc": { "start": { "line": 695, "column": 49 }, "end": { "line": 695, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22681, "end": 22687, "loc": { "start": { "line": 695, "column": 50 }, "end": { "line": 695, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22687, "end": 22688, "loc": { "start": { "line": 695, "column": 56 }, "end": { "line": 695, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22688, "end": 22689, "loc": { "start": { "line": 695, "column": 57 }, "end": { "line": 695, "column": 58 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 22699, "end": 22702, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 22703, "end": 22720, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22721, "end": 22722, "loc": { "start": { "line": 696, "column": 30 }, "end": { "line": 696, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22723, "end": 22727, "loc": { "start": { "line": 696, "column": 32 }, "end": { "line": 696, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22727, "end": 22728, "loc": { "start": { "line": 696, "column": 36 }, "end": { "line": 696, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 22728, "end": 22737, "loc": { "start": { "line": 696, "column": 37 }, "end": { "line": 696, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22737, "end": 22738, "loc": { "start": { "line": 696, "column": 46 }, "end": { "line": 696, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 22738, "end": 22758, "loc": { "start": { "line": 696, "column": 47 }, "end": { "line": 696, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22758, "end": 22759, "loc": { "start": { "line": 696, "column": 67 }, "end": { "line": 696, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22759, "end": 22765, "loc": { "start": { "line": 696, "column": 68 }, "end": { "line": 696, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22765, "end": 22766, "loc": { "start": { "line": 696, "column": 74 }, "end": { "line": 696, "column": 75 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22767, "end": 22771, "loc": { "start": { "line": 696, "column": 76 }, "end": { "line": 696, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22771, "end": 22772, "loc": { "start": { "line": 696, "column": 80 }, "end": { "line": 696, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22772, "end": 22779, "loc": { "start": { "line": 696, "column": 81 }, "end": { "line": 696, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22779, "end": 22780, "loc": { "start": { "line": 696, "column": 88 }, "end": { "line": 696, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 22780, "end": 22787, "loc": { "start": { "line": 696, "column": 89 }, "end": { "line": 696, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22787, "end": 22788, "loc": { "start": { "line": 696, "column": 96 }, "end": { "line": 696, "column": 97 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22789, "end": 22793, "loc": { "start": { "line": 696, "column": 98 }, "end": { "line": 696, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22793, "end": 22794, "loc": { "start": { "line": 696, "column": 102 }, "end": { "line": 696, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22794, "end": 22801, "loc": { "start": { "line": 696, "column": 103 }, "end": { "line": 696, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22801, "end": 22802, "loc": { "start": { "line": 696, "column": 110 }, "end": { "line": 696, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 22802, "end": 22814, "loc": { "start": { "line": 696, "column": 111 }, "end": { "line": 696, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22814, "end": 22815, "loc": { "start": { "line": 696, "column": 123 }, "end": { "line": 696, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22815, "end": 22816, "loc": { "start": { "line": 696, "column": 124 }, "end": { "line": 696, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22828, "end": 22872, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 22882, "end": 22885, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22886, "end": 22895, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22896, "end": 22897, "loc": { "start": { "line": 701, "column": 22 }, "end": { "line": 701, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 22898, "end": 22906, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22906, "end": 22907, "loc": { "start": { "line": 701, "column": 32 }, "end": { "line": 701, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 22907, "end": 22920, "loc": { "start": { "line": 701, "column": 33 }, "end": { "line": 701, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22920, "end": 22921, "loc": { "start": { "line": 701, "column": 46 }, "end": { "line": 701, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "div", "start": 22921, "end": 22926, "loc": { "start": { "line": 701, "column": 47 }, "end": { "line": 701, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22926, "end": 22927, "loc": { "start": { "line": 701, "column": 52 }, "end": { "line": 701, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22927, "end": 22928, "loc": { "start": { "line": 701, "column": 53 }, "end": { "line": 701, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22938, "end": 22947, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22947, "end": 22948, "loc": { "start": { "line": 702, "column": 17 }, "end": { "line": 702, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 22948, "end": 22957, "loc": { "start": { "line": 702, "column": 18 }, "end": { "line": 702, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 22958, "end": 22960, "loc": { "start": { "line": 702, "column": 28 }, "end": { "line": 702, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22961, "end": 22962, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 32 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-button ", "start": 22962, "end": 22972, "loc": { "start": { "line": 702, "column": 32 }, "end": { "line": 702, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22972, "end": 22974, "loc": { "start": { "line": 702, "column": 42 }, "end": { "line": 702, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 22974, "end": 22985, "loc": { "start": { "line": 702, "column": 44 }, "end": { "line": 702, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22985, "end": 22986, "loc": { "start": { "line": 702, "column": 55 }, "end": { "line": 702, "column": 56 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 22986, "end": 22986, "loc": { "start": { "line": 702, "column": 56 }, "end": { "line": 702, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22986, "end": 22988, "loc": { "start": { "line": 702, "column": 56 }, "end": { "line": 702, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 22988, "end": 23004, "loc": { "start": { "line": 702, "column": 58 }, "end": { "line": 702, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23005, "end": 23006, "loc": { "start": { "line": 702, "column": 75 }, "end": { "line": 702, "column": 76 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 23007, "end": 23010, "loc": { "start": { "line": 702, "column": 77 }, "end": { "line": 702, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 23010, "end": 23011, "loc": { "start": { "line": 702, "column": 80 }, "end": { "line": 702, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 23011, "end": 23027, "loc": { "start": { "line": 702, "column": 81 }, "end": { "line": 702, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23028, "end": 23029, "loc": { "start": { "line": 702, "column": 98 }, "end": { "line": 702, "column": 99 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 23030, "end": 23032, "loc": { "start": { "line": 702, "column": 100 }, "end": { "line": 702, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23032, "end": 23033, "loc": { "start": { "line": 702, "column": 102 }, "end": { "line": 702, "column": 103 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 23033, "end": 23033, "loc": { "start": { "line": 702, "column": 103 }, "end": { "line": 702, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23033, "end": 23034, "loc": { "start": { "line": 702, "column": 103 }, "end": { "line": 702, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23034, "end": 23035, "loc": { "start": { "line": 702, "column": 104 }, "end": { "line": 702, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23045, "end": 23054, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23054, "end": 23055, "loc": { "start": { "line": 703, "column": 17 }, "end": { "line": 703, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onclick", "start": 23055, "end": 23062, "loc": { "start": { "line": 703, "column": 18 }, "end": { "line": 703, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23063, "end": 23064, "loc": { "start": { "line": 703, "column": 26 }, "end": { "line": 703, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23065, "end": 23066, "loc": { "start": { "line": 703, "column": 28 }, "end": { "line": 703, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23066, "end": 23067, "loc": { "start": { "line": 703, "column": 29 }, "end": { "line": 703, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23068, "end": 23070, "loc": { "start": { "line": 703, "column": 31 }, "end": { "line": 703, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23071, "end": 23072, "loc": { "start": { "line": 703, "column": 34 }, "end": { "line": 703, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 23084, "end": 23088, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23088, "end": 23089, "loc": { "start": { "line": 704, "column": 14 }, "end": { "line": 704, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 23089, "end": 23100, "loc": { "start": { "line": 704, "column": 15 }, "end": { "line": 704, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23101, "end": 23102, "loc": { "start": { "line": 704, "column": 27 }, "end": { "line": 704, "column": 28 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 23103, "end": 23108, "loc": { "start": { "line": 704, "column": 29 }, "end": { "line": 704, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23108, "end": 23109, "loc": { "start": { "line": 704, "column": 34 }, "end": { "line": 704, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 23121, "end": 23125, "loc": { "start": { "line": 705, "column": 10 }, "end": { "line": 705, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23125, "end": 23126, "loc": { "start": { "line": 705, "column": 14 }, "end": { "line": 705, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 23126, "end": 23145, "loc": { "start": { "line": 705, "column": 15 }, "end": { "line": 705, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23145, "end": 23146, "loc": { "start": { "line": 705, "column": 34 }, "end": { "line": 705, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23146, "end": 23152, "loc": { "start": { "line": 705, "column": 35 }, "end": { "line": 705, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23152, "end": 23153, "loc": { "start": { "line": 705, "column": 41 }, "end": { "line": 705, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23153, "end": 23154, "loc": { "start": { "line": 705, "column": 42 }, "end": { "line": 705, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23164, "end": 23165, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23175, "end": 23184, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23184, "end": 23185, "loc": { "start": { "line": 707, "column": 17 }, "end": { "line": 707, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmousedown", "start": 23185, "end": 23196, "loc": { "start": { "line": 707, "column": 18 }, "end": { "line": 707, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23197, "end": 23198, "loc": { "start": { "line": 707, "column": 30 }, "end": { "line": 707, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23199, "end": 23200, "loc": { "start": { "line": 707, "column": 32 }, "end": { "line": 707, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23200, "end": 23201, "loc": { "start": { "line": 707, "column": 33 }, "end": { "line": 707, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23201, "end": 23202, "loc": { "start": { "line": 707, "column": 34 }, "end": { "line": 707, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23203, "end": 23205, "loc": { "start": { "line": 707, "column": 36 }, "end": { "line": 707, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 23206, "end": 23210, "loc": { "start": { "line": 707, "column": 39 }, "end": { "line": 707, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23210, "end": 23211, "loc": { "start": { "line": 707, "column": 43 }, "end": { "line": 707, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 23211, "end": 23232, "loc": { "start": { "line": 707, "column": 44 }, "end": { "line": 707, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23232, "end": 23233, "loc": { "start": { "line": 707, "column": 65 }, "end": { "line": 707, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23233, "end": 23239, "loc": { "start": { "line": 707, "column": 66 }, "end": { "line": 707, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23239, "end": 23240, "loc": { "start": { "line": 707, "column": 72 }, "end": { "line": 707, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23241, "end": 23242, "loc": { "start": { "line": 707, "column": 74 }, "end": { "line": 707, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23242, "end": 23243, "loc": { "start": { "line": 707, "column": 75 }, "end": { "line": 707, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23243, "end": 23244, "loc": { "start": { "line": 707, "column": 76 }, "end": { "line": 707, "column": 77 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 23256, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23312, "end": 23321, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23321, "end": 23322, "loc": { "start": { "line": 712, "column": 17 }, "end": { "line": 712, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 23322, "end": 23334, "loc": { "start": { "line": 712, "column": 18 }, "end": { "line": 712, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23334, "end": 23335, "loc": { "start": { "line": 712, "column": 30 }, "end": { "line": 712, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-skBtn", "start": 23335, "end": 23347, "loc": { "start": { "line": 712, "column": 31 }, "end": { "line": 712, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23347, "end": 23348, "loc": { "start": { "line": 712, "column": 43 }, "end": { "line": 712, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23349, "end": 23355, "loc": { "start": { "line": 712, "column": 45 }, "end": { "line": 712, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23355, "end": 23356, "loc": { "start": { "line": 712, "column": 51 }, "end": { "line": 712, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23356, "end": 23357, "loc": { "start": { "line": 712, "column": 52 }, "end": { "line": 712, "column": 53 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 23369, "end": 23524, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 717, "column": 11 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 23534, "end": 23537, "loc": { "start": { "line": 718, "column": 8 }, "end": { "line": 718, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 23538, "end": 23547, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23548, "end": 23549, "loc": { "start": { "line": 718, "column": 22 }, "end": { "line": 718, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23550, "end": 23551, "loc": { "start": { "line": 718, "column": 24 }, "end": { "line": 718, "column": 25 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 23551, "end": 23551, "loc": { "start": { "line": 718, "column": 25 }, "end": { "line": 718, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23551, "end": 23553, "loc": { "start": { "line": 718, "column": 25 }, "end": { "line": 718, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 23553, "end": 23557, "loc": { "start": { "line": 718, "column": 27 }, "end": { "line": 718, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23557, "end": 23558, "loc": { "start": { "line": 718, "column": 31 }, "end": { "line": 718, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23558, "end": 23565, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23565, "end": 23566, "loc": { "start": { "line": 718, "column": 39 }, "end": { "line": 718, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 23566, "end": 23576, "loc": { "start": { "line": 718, "column": 40 }, "end": { "line": 718, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23576, "end": 23577, "loc": { "start": { "line": 718, "column": 50 }, "end": { "line": 718, "column": 51 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-r", "start": 23577, "end": 23579, "loc": { "start": { "line": 718, "column": 51 }, "end": { "line": 718, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23579, "end": 23581, "loc": { "start": { "line": 718, "column": 53 }, "end": { "line": 718, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 23581, "end": 23587, "loc": { "start": { "line": 718, "column": 55 }, "end": { "line": 718, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23587, "end": 23588, "loc": { "start": { "line": 718, "column": 61 }, "end": { "line": 718, "column": 62 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "b", "start": 23588, "end": 23589, "loc": { "start": { "line": 718, "column": 62 }, "end": { "line": 718, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23589, "end": 23591, "loc": { "start": { "line": 718, "column": 63 }, "end": { "line": 718, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 23591, "end": 23597, "loc": { "start": { "line": 718, "column": 65 }, "end": { "line": 718, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23597, "end": 23598, "loc": { "start": { "line": 718, "column": 71 }, "end": { "line": 718, "column": 72 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 23598, "end": 23598, "loc": { "start": { "line": 718, "column": 72 }, "end": { "line": 718, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23598, "end": 23599, "loc": { "start": { "line": 718, "column": 72 }, "end": { "line": 718, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23599, "end": 23600, "loc": { "start": { "line": 718, "column": 73 }, "end": { "line": 718, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23610, "end": 23619, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23619, "end": 23620, "loc": { "start": { "line": 719, "column": 17 }, "end": { "line": 719, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 23620, "end": 23632, "loc": { "start": { "line": 719, "column": 18 }, "end": { "line": 719, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23632, "end": 23633, "loc": { "start": { "line": 719, "column": 30 }, "end": { "line": 719, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-skBtnUID", "start": 23633, "end": 23648, "loc": { "start": { "line": 719, "column": 31 }, "end": { "line": 719, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23648, "end": 23649, "loc": { "start": { "line": 719, "column": 46 }, "end": { "line": 719, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 23650, "end": 23659, "loc": { "start": { "line": 719, "column": 48 }, "end": { "line": 719, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23659, "end": 23660, "loc": { "start": { "line": 719, "column": 57 }, "end": { "line": 719, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23660, "end": 23661, "loc": { "start": { "line": 719, "column": 58 }, "end": { "line": 719, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23673, "end": 23722, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 723, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23732, "end": 23741, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23741, "end": 23742, "loc": { "start": { "line": 724, "column": 17 }, "end": { "line": 724, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 23742, "end": 23754, "loc": { "start": { "line": 724, "column": 18 }, "end": { "line": 724, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23754, "end": 23755, "loc": { "start": { "line": 724, "column": 30 }, "end": { "line": 724, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-displayLabel", "start": 23755, "end": 23774, "loc": { "start": { "line": 724, "column": 31 }, "end": { "line": 724, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23774, "end": 23775, "loc": { "start": { "line": 724, "column": 50 }, "end": { "line": 724, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 23776, "end": 23793, "loc": { "start": { "line": 724, "column": 52 }, "end": { "line": 724, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23793, "end": 23794, "loc": { "start": { "line": 724, "column": 69 }, "end": { "line": 724, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23794, "end": 23795, "loc": { "start": { "line": 724, "column": 70 }, "end": { "line": 724, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23807, "end": 23865, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 728, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 23875, "end": 23878, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 729, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 23879, "end": 23892, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23893, "end": 23894, "loc": { "start": { "line": 729, "column": 26 }, "end": { "line": 729, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 23895, "end": 23903, "loc": { "start": { "line": 729, "column": 28 }, "end": { "line": 729, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23903, "end": 23904, "loc": { "start": { "line": 729, "column": 36 }, "end": { "line": 729, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 23904, "end": 23917, "loc": { "start": { "line": 729, "column": 37 }, "end": { "line": 729, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23917, "end": 23918, "loc": { "start": { "line": 729, "column": 50 }, "end": { "line": 729, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "span", "start": 23918, "end": 23924, "loc": { "start": { "line": 729, "column": 51 }, "end": { "line": 729, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23924, "end": 23925, "loc": { "start": { "line": 729, "column": 57 }, "end": { "line": 729, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23925, "end": 23926, "loc": { "start": { "line": 729, "column": 58 }, "end": { "line": 729, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 23936, "end": 23949, "loc": { "start": { "line": 730, "column": 8 }, "end": { "line": 730, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23949, "end": 23950, "loc": { "start": { "line": 730, "column": 21 }, "end": { "line": 730, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 23950, "end": 23959, "loc": { "start": { "line": 730, "column": 22 }, "end": { "line": 730, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23960, "end": 23961, "loc": { "start": { "line": 730, "column": 32 }, "end": { "line": 730, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 23962, "end": 23979, "loc": { "start": { "line": 730, "column": 34 }, "end": { "line": 730, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23979, "end": 23980, "loc": { "start": { "line": 730, "column": 51 }, "end": { "line": 730, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23990, "end": 23999, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23999, "end": 24000, "loc": { "start": { "line": 731, "column": 17 }, "end": { "line": 731, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 24000, "end": 24011, "loc": { "start": { "line": 731, "column": 18 }, "end": { "line": 731, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24011, "end": 24012, "loc": { "start": { "line": 731, "column": 29 }, "end": { "line": 731, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 24012, "end": 24025, "loc": { "start": { "line": 731, "column": 30 }, "end": { "line": 731, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24025, "end": 24026, "loc": { "start": { "line": 731, "column": 43 }, "end": { "line": 731, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24026, "end": 24027, "loc": { "start": { "line": 731, "column": 44 }, "end": { "line": 731, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24039, "end": 24092, "loc": { "start": { "line": 733, "column": 8 }, "end": { "line": 735, "column": 11 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 24102, "end": 24104, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24104, "end": 24105, "loc": { "start": { "line": 736, "column": 10 }, "end": { "line": 736, "column": 11 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 24105, "end": 24106, "loc": { "start": { "line": 736, "column": 11 }, "end": { "line": 736, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24106, "end": 24110, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24110, "end": 24111, "loc": { "start": { "line": 736, "column": 16 }, "end": { "line": 736, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 24111, "end": 24125, "loc": { "start": { "line": 736, "column": 17 }, "end": { "line": 736, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24125, "end": 24126, "loc": { "start": { "line": 736, "column": 31 }, "end": { "line": 736, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24126, "end": 24132, "loc": { "start": { "line": 736, "column": 32 }, "end": { "line": 736, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24132, "end": 24133, "loc": { "start": { "line": 736, "column": 38 }, "end": { "line": 736, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24133, "end": 24134, "loc": { "start": { "line": 736, "column": 39 }, "end": { "line": 736, "column": 40 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24146, "end": 24150, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24150, "end": 24151, "loc": { "start": { "line": 737, "column": 14 }, "end": { "line": 737, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 24151, "end": 24165, "loc": { "start": { "line": 737, "column": 15 }, "end": { "line": 737, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24165, "end": 24166, "loc": { "start": { "line": 737, "column": 29 }, "end": { "line": 737, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24166, "end": 24172, "loc": { "start": { "line": 737, "column": 30 }, "end": { "line": 737, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24172, "end": 24173, "loc": { "start": { "line": 737, "column": 36 }, "end": { "line": 737, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24174, "end": 24175, "loc": { "start": { "line": 737, "column": 38 }, "end": { "line": 737, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24176, "end": 24177, "loc": { "start": { "line": 737, "column": 40 }, "end": { "line": 737, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24177, "end": 24178, "loc": { "start": { "line": 737, "column": 41 }, "end": { "line": 737, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24178, "end": 24179, "loc": { "start": { "line": 737, "column": 42 }, "end": { "line": 737, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24191, "end": 24195, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24195, "end": 24196, "loc": { "start": { "line": 739, "column": 12 }, "end": { "line": 739, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 24196, "end": 24210, "loc": { "start": { "line": 739, "column": 13 }, "end": { "line": 739, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24210, "end": 24211, "loc": { "start": { "line": 739, "column": 27 }, "end": { "line": 739, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24211, "end": 24217, "loc": { "start": { "line": 739, "column": 28 }, "end": { "line": 739, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24217, "end": 24218, "loc": { "start": { "line": 739, "column": 34 }, "end": { "line": 739, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24218, "end": 24219, "loc": { "start": { "line": 739, "column": 35 }, "end": { "line": 739, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 24219, "end": 24223, "loc": { "start": { "line": 739, "column": 36 }, "end": { "line": 739, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24223, "end": 24224, "loc": { "start": { "line": 739, "column": 40 }, "end": { "line": 739, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24224, "end": 24233, "loc": { "start": { "line": 739, "column": 41 }, "end": { "line": 739, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24233, "end": 24234, "loc": { "start": { "line": 739, "column": 50 }, "end": { "line": 739, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24234, "end": 24235, "loc": { "start": { "line": 739, "column": 51 }, "end": { "line": 739, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 24247, "end": 24299, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 24309, "end": 24315, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24315, "end": 24316, "loc": { "start": { "line": 744, "column": 14 }, "end": { "line": 744, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 24316, "end": 24327, "loc": { "start": { "line": 744, "column": 15 }, "end": { "line": 744, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24327, "end": 24328, "loc": { "start": { "line": 744, "column": 26 }, "end": { "line": 744, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24328, "end": 24337, "loc": { "start": { "line": 744, "column": 27 }, "end": { "line": 744, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24337, "end": 24338, "loc": { "start": { "line": 744, "column": 36 }, "end": { "line": 744, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24338, "end": 24339, "loc": { "start": { "line": 744, "column": 37 }, "end": { "line": 744, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24349, "end": 24350, "loc": { "start": { "line": 746, "column": 6 }, "end": { "line": 746, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24350, "end": 24351, "loc": { "start": { "line": 746, "column": 7 }, "end": { "line": 746, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24351, "end": 24352, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 746, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 24362, "end": 24412, "loc": { "start": { "line": 748, "column": 6 }, "end": { "line": 750, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24420, "end": 24424, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 751, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24424, "end": 24425, "loc": { "start": { "line": 751, "column": 10 }, "end": { "line": 751, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 24425, "end": 24436, "loc": { "start": { "line": 751, "column": 11 }, "end": { "line": 751, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24436, "end": 24437, "loc": { "start": { "line": 751, "column": 22 }, "end": { "line": 751, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 24437, "end": 24448, "loc": { "start": { "line": 751, "column": 23 }, "end": { "line": 751, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24448, "end": 24449, "loc": { "start": { "line": 751, "column": 34 }, "end": { "line": 751, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 24449, "end": 24455, "loc": { "start": { "line": 751, "column": 35 }, "end": { "line": 751, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24455, "end": 24456, "loc": { "start": { "line": 751, "column": 41 }, "end": { "line": 751, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24456, "end": 24457, "loc": { "start": { "line": 751, "column": 42 }, "end": { "line": 751, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24463, "end": 24464, "loc": { "start": { "line": 752, "column": 4 }, "end": { "line": 752, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24464, "end": 24465, "loc": { "start": { "line": 752, "column": 5 }, "end": { "line": 752, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24465, "end": 24466, "loc": { "start": { "line": 752, "column": 6 }, "end": { "line": 752, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 24474, "end": 24511, "loc": { "start": { "line": 754, "column": 4 }, "end": { "line": 756, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24517, "end": 24521, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 757, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24521, "end": 24522, "loc": { "start": { "line": 757, "column": 8 }, "end": { "line": 757, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 24522, "end": 24530, "loc": { "start": { "line": 757, "column": 9 }, "end": { "line": 757, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24530, "end": 24531, "loc": { "start": { "line": 757, "column": 17 }, "end": { "line": 757, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24531, "end": 24532, "loc": { "start": { "line": 757, "column": 18 }, "end": { "line": 757, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24532, "end": 24533, "loc": { "start": { "line": 757, "column": 19 }, "end": { "line": 757, "column": 20 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24541, "end": 24578, "loc": { "start": { "line": 759, "column": 4 }, "end": { "line": 761, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 24584, "end": 24592, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24592, "end": 24593, "loc": { "start": { "line": 762, "column": 12 }, "end": { "line": 762, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmouseup", "start": 24593, "end": 24602, "loc": { "start": { "line": 762, "column": 13 }, "end": { "line": 762, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24603, "end": 24604, "loc": { "start": { "line": 762, "column": 23 }, "end": { "line": 762, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24605, "end": 24606, "loc": { "start": { "line": 762, "column": 25 }, "end": { "line": 762, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24606, "end": 24607, "loc": { "start": { "line": 762, "column": 26 }, "end": { "line": 762, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24608, "end": 24610, "loc": { "start": { "line": 762, "column": 28 }, "end": { "line": 762, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24611, "end": 24615, "loc": { "start": { "line": 762, "column": 31 }, "end": { "line": 762, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24615, "end": 24616, "loc": { "start": { "line": 762, "column": 35 }, "end": { "line": 762, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 24616, "end": 24635, "loc": { "start": { "line": 762, "column": 36 }, "end": { "line": 762, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24635, "end": 24636, "loc": { "start": { "line": 762, "column": 55 }, "end": { "line": 762, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24636, "end": 24637, "loc": { "start": { "line": 762, "column": 56 }, "end": { "line": 762, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24637, "end": 24638, "loc": { "start": { "line": 762, "column": 57 }, "end": { "line": 762, "column": 58 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 24646, "end": 24648, "loc": { "start": { "line": 764, "column": 4 }, "end": { "line": 764, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24648, "end": 24649, "loc": { "start": { "line": 764, "column": 6 }, "end": { "line": 764, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 24649, "end": 24650, "loc": { "start": { "line": 764, "column": 7 }, "end": { "line": 764, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24650, "end": 24654, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24654, "end": 24655, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 24655, "end": 24666, "loc": { "start": { "line": 764, "column": 13 }, "end": { "line": 764, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24666, "end": 24667, "loc": { "start": { "line": 764, "column": 24 }, "end": { "line": 764, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24667, "end": 24668, "loc": { "start": { "line": 764, "column": 25 }, "end": { "line": 764, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24676, "end": 24758, "loc": { "start": { "line": 765, "column": 6 }, "end": { "line": 767, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24766, "end": 24770, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 768, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24770, "end": 24771, "loc": { "start": { "line": 768, "column": 10 }, "end": { "line": 768, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 24771, "end": 24782, "loc": { "start": { "line": 768, "column": 11 }, "end": { "line": 768, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24783, "end": 24784, "loc": { "start": { "line": 768, "column": 23 }, "end": { "line": 768, "column": 24 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 24785, "end": 24789, "loc": { "start": { "line": 768, "column": 25 }, "end": { "line": 768, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24789, "end": 24790, "loc": { "start": { "line": 768, "column": 29 }, "end": { "line": 768, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24800, "end": 24839, "loc": { "start": { "line": 770, "column": 6 }, "end": { "line": 772, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24847, "end": 24851, "loc": { "start": { "line": 773, "column": 6 }, "end": { "line": 773, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24851, "end": 24852, "loc": { "start": { "line": 773, "column": 10 }, "end": { "line": 773, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 24852, "end": 24858, "loc": { "start": { "line": 773, "column": 11 }, "end": { "line": 773, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24858, "end": 24859, "loc": { "start": { "line": 773, "column": 17 }, "end": { "line": 773, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24859, "end": 24860, "loc": { "start": { "line": 773, "column": 18 }, "end": { "line": 773, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24860, "end": 24861, "loc": { "start": { "line": 773, "column": 19 }, "end": { "line": 773, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24867, "end": 24868, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 774, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24872, "end": 24873, "loc": { "start": { "line": 775, "column": 2 }, "end": { "line": 775, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24875, "end": 24876, "loc": { "start": { "line": 776, "column": 0 }, "end": { "line": 776, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 24880, "end": 24886, "loc": { "start": { "line": 778, "column": 0 }, "end": { "line": 778, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 24887, "end": 24894, "loc": { "start": { "line": 778, "column": 7 }, "end": { "line": 778, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 24895, "end": 24909, "loc": { "start": { "line": 778, "column": 15 }, "end": { "line": 778, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24909, "end": 24910, "loc": { "start": { "line": 778, "column": 29 }, "end": { "line": 778, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24912, "end": 24912, "loc": { "start": { "line": 779, "column": 0 }, "end": { "line": 779, "column": 0 } } } ] }