{ "type": "File", "start": 0, "end": 23724, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 741, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 23724, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 741, "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": 23688, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 738, "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": 23688, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 738, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7194, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 146, "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": 7194, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 146, "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 * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4219, "end": 4282, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4219, "end": 4281, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4219, "end": 4243, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4219, "end": 4223, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4224, "end": 4243, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4246, "end": 4281, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4246, "end": 4275, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4246, "end": 4270, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4246, "end": 4250, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 35 } } }, "property": { "type": "Identifier", "start": 4251, "end": 4270, "loc": { "start": { "line": 69, "column": 36 }, "end": { "line": 69, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4271, "end": 4275, "loc": { "start": { "line": 69, "column": 56 }, "end": { "line": 69, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4276, "end": 4280, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4288, "end": 4349, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4288, "end": 4348, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4288, "end": 4311, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4288, "end": 4292, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, "property": { "type": "Identifier", "start": 4293, "end": 4311, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4314, "end": 4348, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4314, "end": 4342, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4314, "end": 4337, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4314, "end": 4318, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 34 } } }, "property": { "type": "Identifier", "start": 4319, "end": 4337, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4338, "end": 4342, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4343, "end": 4347, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4355, "end": 4400, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4355, "end": 4399, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4355, "end": 4370, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4355, "end": 4359, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, "property": { "type": "Identifier", "start": 4360, "end": 4370, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4373, "end": 4399, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4373, "end": 4393, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4373, "end": 4388, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4373, "end": 4377, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 26 } } }, "property": { "type": "Identifier", "start": 4378, "end": 4388, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4389, "end": 4393, "loc": { "start": { "line": 71, "column": 38 }, "end": { "line": 71, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4394, "end": 4398, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4406, "end": 4447, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4406, "end": 4446, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4406, "end": 4419, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4406, "end": 4410, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 8 } } }, "property": { "type": "Identifier", "start": 4411, "end": 4419, "loc": { "start": { "line": 72, "column": 9 }, "end": { "line": 72, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4422, "end": 4446, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4422, "end": 4440, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4422, "end": 4435, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4422, "end": 4426, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } }, "property": { "type": "Identifier", "start": 4427, "end": 4435, "loc": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4436, "end": 4440, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4441, "end": 4445, "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4453, "end": 4494, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4453, "end": 4493, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4453, "end": 4466, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4453, "end": 4457, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 8 } } }, "property": { "type": "Identifier", "start": 4458, "end": 4466, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4469, "end": 4493, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4469, "end": 4487, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4469, "end": 4482, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4469, "end": 4473, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } }, "property": { "type": "Identifier", "start": 4474, "end": 4482, "loc": { "start": { "line": 73, "column": 25 }, "end": { "line": 73, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4483, "end": 4487, "loc": { "start": { "line": 73, "column": 34 }, "end": { "line": 73, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4488, "end": 4492, "loc": { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4500, "end": 4549, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4500, "end": 4548, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4500, "end": 4517, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4500, "end": 4504, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } } }, "property": { "type": "Identifier", "start": 4505, "end": 4517, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4520, "end": 4548, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4520, "end": 4542, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4520, "end": 4537, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4520, "end": 4524, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 28 } } }, "property": { "type": "Identifier", "start": 4525, "end": 4537, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4538, "end": 4542, "loc": { "start": { "line": 74, "column": 42 }, "end": { "line": 74, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4543, "end": 4547, "loc": { "start": { "line": 74, "column": 47 }, "end": { "line": 74, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4555, "end": 4590, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4555, "end": 4589, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4555, "end": 4565, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4555, "end": 4559, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4560, "end": 4565, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4568, "end": 4589, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4568, "end": 4583, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4568, "end": 4578, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4568, "end": 4572, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 21 } } }, "property": { "type": "Identifier", "start": 4573, "end": 4578, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4579, "end": 4583, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4584, "end": 4588, "loc": { "start": { "line": 75, "column": 33 }, "end": { "line": 75, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4596, "end": 4637, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4596, "end": 4636, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4596, "end": 4609, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4596, "end": 4600, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4601, "end": 4609, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4612, "end": 4636, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4612, "end": 4630, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4612, "end": 4625, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4612, "end": 4616, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 24 } } }, "property": { "type": "Identifier", "start": 4617, "end": 4625, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 76, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4626, "end": 4630, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4631, "end": 4635, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4643, "end": 4696, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4643, "end": 4695, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4643, "end": 4662, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4643, "end": 4647, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4648, "end": 4662, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4665, "end": 4695, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4665, "end": 4689, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4665, "end": 4684, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4665, "end": 4669, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 30 } } }, "property": { "type": "Identifier", "start": 4670, "end": 4684, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4685, "end": 4689, "loc": { "start": { "line": 77, "column": 46 }, "end": { "line": 77, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 51 }, "end": { "line": 77, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4702, "end": 4761, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4702, "end": 4760, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4702, "end": 4724, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4702, "end": 4706, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4707, "end": 4724, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4727, "end": 4760, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4727, "end": 4754, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4727, "end": 4749, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4727, "end": 4731, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 33 } } }, "property": { "type": "Identifier", "start": 4732, "end": 4749, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4750, "end": 4754, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4755, "end": 4759, "loc": { "start": { "line": 78, "column": 57 }, "end": { "line": 78, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4767, "end": 4824, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 4767, "end": 4823, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4767, "end": 4788, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4767, "end": 4771, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4772, "end": 4788, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 4791, "end": 4823, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 4791, "end": 4817, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4791, "end": 4812, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 49 } }, "object": { "type": "ThisExpression", "start": 4791, "end": 4795, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 32 } } }, "property": { "type": "Identifier", "start": 4796, "end": 4812, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 4813, "end": 4817, "loc": { "start": { "line": 79, "column": 50 }, "end": { "line": 79, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4818, "end": 4822, "loc": { "start": { "line": 79, "column": 55 }, "end": { "line": 79, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 4830, "end": 4877, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 4830, "end": 4876, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4830, "end": 4846, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4830, "end": 4834, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4835, "end": 4846, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 4849, "end": 4876, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 4849, "end": 4870, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4849, "end": 4865, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 39 } }, "object": { "type": "ThisExpression", "start": 4849, "end": 4853, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 27 } } }, "property": { "type": "Identifier", "start": 4854, "end": 4865, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 4866, "end": 4870, "loc": { "start": { "line": 80, "column": 40 }, "end": { "line": 80, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 80, "column": 45 }, "end": { "line": 80, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 4883, "end": 4942, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4883, "end": 4941, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4883, "end": 4905, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4883, "end": 4887, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4888, "end": 4905, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 4908, "end": 4941, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4908, "end": 4935, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4908, "end": 4930, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4908, "end": 4912, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 33 } } }, "property": { "type": "Identifier", "start": 4913, "end": 4930, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 4931, "end": 4935, "loc": { "start": { "line": 81, "column": 52 }, "end": { "line": 81, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4936, "end": 4940, "loc": { "start": { "line": 81, "column": 57 }, "end": { "line": 81, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4948, "end": 4985, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 4948, "end": 4984, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4948, "end": 4959, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 15 } }, "object": { "type": "ThisExpression", "start": 4948, "end": 4952, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4953, "end": 4959, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 4962, "end": 4984, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 4962, "end": 4978, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 34 } }, "object": { "type": "MemberExpression", "start": 4962, "end": 4973, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 29 } }, "object": { "type": "ThisExpression", "start": 4962, "end": 4966, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 22 } } }, "property": { "type": "Identifier", "start": 4967, "end": 4973, "loc": { "start": { "line": 82, "column": 23 }, "end": { "line": 82, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 4974, "end": 4978, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4979, "end": 4983, "loc": { "start": { "line": 82, "column": 35 }, "end": { "line": 82, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 4991, "end": 5032, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4991, "end": 5031, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4991, "end": 5004, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4991, "end": 4995, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4996, "end": 5004, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5007, "end": 5031, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5007, "end": 5025, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5007, "end": 5020, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5007, "end": 5011, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 24 } } }, "property": { "type": "Identifier", "start": 5012, "end": 5020, "loc": { "start": { "line": 83, "column": 25 }, "end": { "line": 83, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5021, "end": 5025, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5026, "end": 5030, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5038, "end": 5075, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5038, "end": 5074, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5038, "end": 5049, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5038, "end": 5042, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 5043, "end": 5049, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5052, "end": 5074, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5052, "end": 5068, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5052, "end": 5063, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 22 } } }, "property": { "type": "Identifier", "start": 5057, "end": 5063, "loc": { "start": { "line": 84, "column": 23 }, "end": { "line": 84, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5064, "end": 5068, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5069, "end": 5073, "loc": { "start": { "line": 84, "column": 35 }, "end": { "line": 84, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5081, "end": 5128, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5081, "end": 5127, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5081, "end": 5097, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5081, "end": 5085, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 5086, "end": 5097, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5100, "end": 5127, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5100, "end": 5121, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5100, "end": 5116, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5100, "end": 5104, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 5105, "end": 5116, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5117, "end": 5121, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5122, "end": 5126, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5134, "end": 5197, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5134, "end": 5196, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5134, "end": 5158, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5134, "end": 5138, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5139, "end": 5158, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5161, "end": 5196, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5161, "end": 5190, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5161, "end": 5185, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5161, "end": 5165, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 35 } } }, "property": { "type": "Identifier", "start": 5166, "end": 5185, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5186, "end": 5190, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5191, "end": 5195, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5203, "end": 5270, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5203, "end": 5269, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5203, "end": 5229, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5203, "end": 5207, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5208, "end": 5229, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5232, "end": 5269, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5232, "end": 5263, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5232, "end": 5258, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5232, "end": 5236, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 37 } } }, "property": { "type": "Identifier", "start": 5237, "end": 5258, "loc": { "start": { "line": 87, "column": 38 }, "end": { "line": 87, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5259, "end": 5263, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5264, "end": 5268, "loc": { "start": { "line": 87, "column": 65 }, "end": { "line": 87, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5276, "end": 5333, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5276, "end": 5332, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5276, "end": 5297, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5276, "end": 5280, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5281, "end": 5297, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5300, "end": 5332, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5300, "end": 5326, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5300, "end": 5321, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5300, "end": 5304, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 32 } } }, "property": { "type": "Identifier", "start": 5305, "end": 5321, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5322, "end": 5326, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5327, "end": 5331, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 59 } } } ] } }, "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6006, "end": 6022, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6006, "end": 6021, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6006, "end": 6016, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6006, "end": 6010, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6011, "end": 6016, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6019, "end": 6021, "loc": { "start": { "line": 104, "column": 17 }, "end": { "line": 104, "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6028, "end": 6068, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6028, "end": 6067, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6028, "end": 6062, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6028, "end": 6038, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6028, "end": 6032, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 8 } } }, "property": { "type": "Identifier", "start": 6033, "end": 6038, "loc": { "start": { "line": 105, "column": 9 }, "end": { "line": 105, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6039, "end": 6061, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6039, "end": 6051, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6039, "end": 6043, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 19 } } }, "property": { "type": "Identifier", "start": 6044, "end": 6051, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6052, "end": 6061, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6065, "end": 6067, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "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": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6191, "end": 6252, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6191, "end": 6251, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6191, "end": 6212, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6191, "end": 6195, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6196, "end": 6212, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6215, "end": 6251, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6247, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 60 } }, "object": { "type": "CallExpression", "start": 6215, "end": 6242, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6237, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 50 } }, "object": { "type": "Identifier", "start": 6215, "end": 6231, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6232, "end": 6237, "loc": { "start": { "line": 110, "column": 45 }, "end": { "line": 110, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6238, "end": 6241, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6243, "end": 6247, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 110, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6248, "end": 6250, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "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": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6411, "end": 6436, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6411, "end": 6435, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6411, "end": 6430, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6411, "end": 6415, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6416, "end": 6430, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6433, "end": 6435, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6489, "end": 6668, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 125, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6492, "end": 6508, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6492, "end": 6496, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6497, "end": 6508, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6517, "end": 6531, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6517, "end": 6530, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6528, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 10 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6528, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6542, "end": 6668, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 125, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6551, "end": 6615, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6551, "end": 6614, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6551, "end": 6563, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 18 } }, "object": { "type": "Identifier", "start": 6551, "end": 6558, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6559, "end": 6563, "loc": { "start": { "line": 123, "column": 14 }, "end": { "line": 123, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6564, "end": 6613, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6568, "end": 6584, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6565, "end": 6566, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6585, "end": 6612, "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6623, "end": 6661, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6629, "end": 6660, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 43 } }, "callee": { "type": "Identifier", "start": 6633, "end": 6638, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6639, "end": 6659, "loc": { "start": { "line": 124, "column": 22 }, "end": { "line": 124, "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": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6795, "end": 6880, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 132, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6798, "end": 6832, "loc": { "start": { "line": 131, "column": 7 }, "end": { "line": 131, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6799, "end": 6832, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 41 } }, "object": { "type": "Identifier", "start": 6799, "end": 6805, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6806, "end": 6831, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6841, "end": 6880, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 6841, "end": 6879, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6841, "end": 6874, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 39 } }, "object": { "type": "Identifier", "start": 6841, "end": 6847, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6848, "end": 6873, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 6877, "end": 6879, "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "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": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6894, "end": 6984, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 6894, "end": 6983, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6894, "end": 6976, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 86 } }, "object": { "type": "MemberExpression", "start": 6894, "end": 6927, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 37 } }, "object": { "type": "Identifier", "start": 6894, "end": 6900, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6901, "end": 6926, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 6928, "end": 6975, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 6928, "end": 6952, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 62 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6942, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 52 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 42 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6942, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6943, "end": 6952, "loc": { "start": { "line": 134, "column": 53 }, "end": { "line": 134, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6953, "end": 6974, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 84 } }, "object": { "type": "ThisExpression", "start": 6953, "end": 6957, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 67 } } }, "property": { "type": "Identifier", "start": 6958, "end": 6974, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 6979, "end": 6983, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7044, "end": 7104, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7044, "end": 7103, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7044, "end": 7074, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7044, "end": 7048, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7049, "end": 7074, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7077, "end": 7103, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 63 } }, "callee": { "type": "Identifier", "start": 7081, "end": 7097, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7098, "end": 7102, "loc": { "start": { "line": 139, "column": 58 }, "end": { "line": 139, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7112, "end": 7140, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7146, "end": 7164, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7146, "end": 7163, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7146, "end": 7158, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7146, "end": 7150, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7151, "end": 7158, "loc": { "start": { "line": 144, "column": 9 }, "end": { "line": 144, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7161, "end": 7163, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7112, "end": 7140, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7170, "end": 7189, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7170, "end": 7188, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7170, "end": 7186, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7170, "end": 7174, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 8 } } }, "property": { "type": "Identifier", "start": 7175, "end": 7186, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "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": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7316, "end": 8703, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 202, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7316, "end": 7335, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7336, "end": 7342, "loc": { "start": { "line": 152, "column": 22 }, "end": { "line": 152, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7343, "end": 8703, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 202, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7350, "end": 7381, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7354, "end": 7380, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 34 } }, "id": { "type": "Identifier", "start": 7354, "end": 7359, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7362, "end": 7380, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7362, "end": 7374, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7362, "end": 7366, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 20 } } }, "property": { "type": "Identifier", "start": 7367, "end": 7374, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7375, "end": 7380, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7389, "end": 7438, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 157, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7444, "end": 7486, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 159, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7447, "end": 7464, "loc": { "start": { "line": 158, "column": 7 }, "end": { "line": 158, "column": 24 } }, "left": { "type": "Identifier", "start": 7447, "end": 7453, "loc": { "start": { "line": 158, "column": 7 }, "end": { "line": 158, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7458, "end": 7464, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7473, "end": 7486, "loc": { "start": { "line": 159, "column": 6 }, "end": { "line": 159, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7480, "end": 7485, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7389, "end": 7438, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 157, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7494, "end": 7533, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7539, "end": 7628, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 165, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7542, "end": 7587, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7542, "end": 7572, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7549, "end": 7572, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7549, "end": 7561, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7549, "end": 7553, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7554, "end": 7561, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7562, "end": 7572, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7577, "end": 7587, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7596, "end": 7628, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7596, "end": 7627, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7596, "end": 7619, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7596, "end": 7608, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7596, "end": 7600, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 10 } } }, "property": { "type": "Identifier", "start": 7601, "end": 7608, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7609, "end": 7619, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7620, "end": 7626, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7494, "end": 7533, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7640, "end": 7727, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 168, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7643, "end": 7678, "loc": { "start": { "line": 167, "column": 7 }, "end": { "line": 167, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7644, "end": 7678, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7644, "end": 7654, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7644, "end": 7648, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 12 } } }, "property": { "type": "Identifier", "start": 7649, "end": 7654, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7655, "end": 7677, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7655, "end": 7667, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7655, "end": 7659, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 23 } } }, "property": { "type": "Identifier", "start": 7660, "end": 7667, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7668, "end": 7677, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7687, "end": 7727, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7687, "end": 7726, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7687, "end": 7721, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7687, "end": 7697, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7687, "end": 7691, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, "property": { "type": "Identifier", "start": 7692, "end": 7697, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7698, "end": 7720, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7698, "end": 7710, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7698, "end": 7702, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 21 } } }, "property": { "type": "Identifier", "start": 7703, "end": 7710, "loc": { "start": { "line": 168, "column": 22 }, "end": { "line": 168, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7711, "end": 7720, "loc": { "start": { "line": 168, "column": 30 }, "end": { "line": 168, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7724, "end": 7726, "loc": { "start": { "line": 168, "column": 43 }, "end": { "line": 168, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7735, "end": 7863, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7739, "end": 7862, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 131 } }, "id": { "type": "Identifier", "start": 7739, "end": 7751, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7754, "end": 7862, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 7754, "end": 7784, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7754, "end": 7768, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7754, "end": 7758, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 27 } } }, "property": { "type": "Identifier", "start": 7759, "end": 7768, "loc": { "start": { "line": 170, "column": 28 }, "end": { "line": 170, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7769, "end": 7784, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7785, "end": 7791, "loc": { "start": { "line": 170, "column": 54 }, "end": { "line": 170, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7793, "end": 7827, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 96 } }, "object": { "type": "MemberExpression", "start": 7793, "end": 7803, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 72 } }, "object": { "type": "ThisExpression", "start": 7793, "end": 7797, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 66 } } }, "property": { "type": "Identifier", "start": 7798, "end": 7803, "loc": { "start": { "line": 170, "column": 67 }, "end": { "line": 170, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7804, "end": 7826, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 95 } }, "object": { "type": "MemberExpression", "start": 7804, "end": 7816, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 85 } }, "object": { "type": "ThisExpression", "start": 7804, "end": 7808, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 77 } } }, "property": { "type": "Identifier", "start": 7809, "end": 7816, "loc": { "start": { "line": 170, "column": 78 }, "end": { "line": 170, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7817, "end": 7826, "loc": { "start": { "line": 170, "column": 86 }, "end": { "line": 170, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 7829, "end": 7841, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 110 } }, "object": { "type": "ThisExpression", "start": 7829, "end": 7833, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 102 } } }, "property": { "type": "Identifier", "start": 7834, "end": 7841, "loc": { "start": { "line": 170, "column": 103 }, "end": { "line": 170, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 7843, "end": 7861, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 130 } }, "object": { "type": "ThisExpression", "start": 7843, "end": 7847, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 116 } } }, "property": { "type": "Identifier", "start": 7848, "end": 7861, "loc": { "start": { "line": 170, "column": 117 }, "end": { "line": 170, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 7871, "end": 8625, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 197, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7874, "end": 7925, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 58 } }, "left": { "type": "MemberExpression", "start": 7874, "end": 7908, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7874, "end": 7884, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7874, "end": 7878, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 11 } } }, "property": { "type": "Identifier", "start": 7879, "end": 7884, "loc": { "start": { "line": 172, "column": 12 }, "end": { "line": 172, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7885, "end": 7907, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7885, "end": 7897, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 30 } }, "object": { "type": "ThisExpression", "start": 7885, "end": 7889, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 22 } } }, "property": { "type": "Identifier", "start": 7890, "end": 7897, "loc": { "start": { "line": 172, "column": 23 }, "end": { "line": 172, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7898, "end": 7907, "loc": { "start": { "line": 172, "column": 31 }, "end": { "line": 172, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 7913, "end": 7925, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 7926, "end": 8625, "loc": { "start": { "line": 172, "column": 59 }, "end": { "line": 197, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8022, "end": 8155, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 179, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8025, "end": 8121, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8025, "end": 8047, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8025, "end": 8037, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8025, "end": 8029, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8030, "end": 8037, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8038, "end": 8047, "loc": { "start": { "line": 177, "column": 22 }, "end": { "line": 177, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8051, "end": 8121, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8051, "end": 8081, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8051, "end": 8065, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8051, "end": 8055, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 39 } } }, "property": { "type": "Identifier", "start": 8056, "end": 8065, "loc": { "start": { "line": 177, "column": 40 }, "end": { "line": 177, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8066, "end": 8081, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8082, "end": 8092, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8082, "end": 8086, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 70 } } }, "property": { "type": "Identifier", "start": 8087, "end": 8092, "loc": { "start": { "line": 177, "column": 71 }, "end": { "line": 177, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8094, "end": 8106, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8094, "end": 8098, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 82 } } }, "property": { "type": "Identifier", "start": 8099, "end": 8106, "loc": { "start": { "line": 177, "column": 83 }, "end": { "line": 177, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8108, "end": 8120, "loc": { "start": { "line": 177, "column": 92 }, "end": { "line": 177, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8122, "end": 8155, "loc": { "start": { "line": 177, "column": 106 }, "end": { "line": 179, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8133, "end": 8146, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8140, "end": 8145, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 7937, "end": 8014, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 176, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8165, "end": 8215, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 8165, "end": 8214, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8165, "end": 8199, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8165, "end": 8175, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8165, "end": 8169, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 10 } } }, "property": { "type": "Identifier", "start": 8170, "end": 8175, "loc": { "start": { "line": 181, "column": 11 }, "end": { "line": 181, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8176, "end": 8198, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8176, "end": 8188, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8176, "end": 8180, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 21 } } }, "property": { "type": "Identifier", "start": 8181, "end": 8188, "loc": { "start": { "line": 181, "column": 22 }, "end": { "line": 181, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8189, "end": 8198, "loc": { "start": { "line": 181, "column": 30 }, "end": { "line": 181, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 8202, "end": 8214, "loc": { "start": { "line": 181, "column": 43 }, "end": { "line": 181, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 8225, "end": 8286, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 184, "column": 50 } }, "test": { "type": "Identifier", "start": 8228, "end": 8233, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8244, "end": 8286, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8244, "end": 8285, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8244, "end": 8255, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 19 } }, "object": { "type": "Identifier", "start": 8244, "end": 8251, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8252, "end": 8255, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8256, "end": 8272, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8274, "end": 8284, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8274, "end": 8278, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 42 } } }, "property": { "type": "Identifier", "start": 8279, "end": 8284, "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "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": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8363, "end": 8444, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 190, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8366, "end": 8397, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8366, "end": 8378, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8366, "end": 8370, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8371, "end": 8378, "loc": { "start": { "line": 189, "column": 14 }, "end": { "line": 189, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8379, "end": 8397, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8408, "end": 8444, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8408, "end": 8443, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8408, "end": 8431, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8408, "end": 8412, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 12 } } }, "property": { "type": "Identifier", "start": 8413, "end": 8431, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8432, "end": 8442, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8432, "end": 8436, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 36 } } }, "property": { "type": "Identifier", "start": 8437, "end": 8442, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "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": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8503, "end": 8618, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8506, "end": 8549, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8506, "end": 8534, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8513, "end": 8534, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8513, "end": 8525, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8513, "end": 8517, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8518, "end": 8525, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8526, "end": 8534, "loc": { "start": { "line": 195, "column": 29 }, "end": { "line": 195, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8539, "end": 8549, "loc": { "start": { "line": 195, "column": 42 }, "end": { "line": 195, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8560, "end": 8618, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8560, "end": 8617, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8560, "end": 8581, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8560, "end": 8572, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8560, "end": 8564, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, "property": { "type": "Identifier", "start": 8565, "end": 8572, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8573, "end": 8581, "loc": { "start": { "line": 196, "column": 21 }, "end": { "line": 196, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8582, "end": 8616, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8582, "end": 8592, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8582, "end": 8586, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 34 } } }, "property": { "type": "Identifier", "start": 8587, "end": 8592, "loc": { "start": { "line": 196, "column": 35 }, "end": { "line": 196, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8593, "end": 8615, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8593, "end": 8605, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8593, "end": 8597, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 45 } } }, "property": { "type": "Identifier", "start": 8598, "end": 8605, "loc": { "start": { "line": 196, "column": 46 }, "end": { "line": 196, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8606, "end": 8615, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 196, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8637, "end": 8698, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 201, "column": 5 } }, "test": { "type": "Identifier", "start": 8640, "end": 8645, "loc": { "start": { "line": 199, "column": 7 }, "end": { "line": 199, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8646, "end": 8698, "loc": { "start": { "line": 199, "column": 13 }, "end": { "line": 201, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8655, "end": 8691, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8655, "end": 8690, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8655, "end": 8666, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 17 } }, "object": { "type": "Identifier", "start": 8655, "end": 8662, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8663, "end": 8666, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8667, "end": 8681, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8683, "end": 8689, "loc": { "start": { "line": 200, "column": 34 }, "end": { "line": 200, "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": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8709, "end": 8750, "loc": { "start": { "line": 204, "column": 2 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8754, "end": 8780, "loc": { "start": { "line": 207, "column": 2 }, "end": { "line": 207, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 8784, "end": 9487, "loc": { "start": { "line": 208, "column": 2 }, "end": { "line": 234, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8784, "end": 8805, "loc": { "start": { "line": 208, "column": 2 }, "end": { "line": 208, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8806, "end": 8812, "loc": { "start": { "line": 208, "column": 24 }, "end": { "line": 208, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 8814, "end": 8815, "loc": { "start": { "line": 208, "column": 32 }, "end": { "line": 208, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 8816, "end": 9487, "loc": { "start": { "line": 208, "column": 34 }, "end": { "line": 234, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8908, "end": 8932, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 8908, "end": 8931, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8908, "end": 8924, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8908, "end": 8912, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8913, "end": 8924, "loc": { "start": { "line": 212, "column": 9 }, "end": { "line": 212, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 8927, "end": 8931, "loc": { "start": { "line": 212, "column": 23 }, "end": { "line": 212, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 8823, "end": 8902, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 211, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 8940, "end": 9017, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 216, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9023, "end": 9482, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 233, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9023, "end": 9481, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 233, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9023, "end": 9039, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9023, "end": 9027, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9028, "end": 9039, "loc": { "start": { "line": 217, "column": 9 }, "end": { "line": 217, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9042, "end": 9481, "loc": { "start": { "line": 217, "column": 23 }, "end": { "line": 233, "column": 11 } }, "callee": { "type": "Identifier", "start": 9042, "end": 9052, "loc": { "start": { "line": 217, "column": 23 }, "end": { "line": 217, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9053, "end": 9475, "loc": { "start": { "line": 217, "column": 34 }, "end": { "line": 233, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9059, "end": 9475, "loc": { "start": { "line": 217, "column": 40 }, "end": { "line": 233, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9068, "end": 9429, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 231, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9081, "end": 9285, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 225, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9081, "end": 9097, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9081, "end": 9085, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 12 } } }, "property": { "type": "Identifier", "start": 9086, "end": 9097, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9124, "end": 9274, "loc": { "start": { "line": 221, "column": 10 }, "end": { "line": 224, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9124, "end": 9241, "loc": { "start": { "line": 221, "column": 10 }, "end": { "line": 223, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9124, "end": 9206, "loc": { "start": { "line": 221, "column": 10 }, "end": { "line": 222, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9125, "end": 9171, "loc": { "start": { "line": 221, "column": 11 }, "end": { "line": 221, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9125, "end": 9146, "loc": { "start": { "line": 221, "column": 11 }, "end": { "line": 221, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9126, "end": 9146, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9126, "end": 9141, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 27 } }, "object": { "type": "Identifier", "start": 9126, "end": 9132, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9133, "end": 9141, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9142, "end": 9145, "loc": { "start": { "line": 221, "column": 28 }, "end": { "line": 221, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9150, "end": 9171, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9151, "end": 9171, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9151, "end": 9166, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 52 } }, "object": { "type": "Identifier", "start": 9151, "end": 9157, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9158, "end": 9166, "loc": { "start": { "line": 221, "column": 44 }, "end": { "line": 221, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9167, "end": 9170, "loc": { "start": { "line": 221, "column": 53 }, "end": { "line": 221, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9124 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9187, "end": 9206, "loc": { "start": { "line": 222, "column": 10 }, "end": { "line": 222, "column": 29 } }, "left": { "type": "Identifier", "start": 9187, "end": 9193, "loc": { "start": { "line": 222, "column": 10 }, "end": { "line": 222, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9198, "end": 9206, "loc": { "start": { "line": 222, "column": 21 }, "end": { "line": 222, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9221, "end": 9241, "loc": { "start": { "line": 223, "column": 10 }, "end": { "line": 223, "column": 30 } }, "left": { "type": "Identifier", "start": 9221, "end": 9227, "loc": { "start": { "line": 223, "column": 10 }, "end": { "line": 223, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9232, "end": 9241, "loc": { "start": { "line": 223, "column": 21 }, "end": { "line": 223, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9256, "end": 9274, "loc": { "start": { "line": 224, "column": 10 }, "end": { "line": 224, "column": 28 } }, "left": { "type": "Identifier", "start": 9256, "end": 9262, "loc": { "start": { "line": 224, "column": 10 }, "end": { "line": 224, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9267, "end": 9274, "loc": { "start": { "line": 224, "column": 21 }, "end": { "line": 224, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9111 } } }, "consequent": { "type": "BlockStatement", "start": 9294, "end": 9429, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 231, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 9305, "end": 9375, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 228, "column": 46 } }, "test": { "type": "MemberExpression", "start": 9308, "end": 9326, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9308, "end": 9320, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9308, "end": 9312, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 15 } } }, "property": { "type": "Identifier", "start": 9313, "end": 9320, "loc": { "start": { "line": 227, "column": 16 }, "end": { "line": 227, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9321, "end": 9326, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9339, "end": 9375, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9339, "end": 9374, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 9339, "end": 9350, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 21 } }, "object": { "type": "Identifier", "start": 9339, "end": 9346, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9347, "end": 9350, "loc": { "start": { "line": 228, "column": 18 }, "end": { "line": 228, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9351, "end": 9365, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 9367, "end": 9373, "loc": { "start": { "line": 228, "column": 38 }, "end": { "line": 228, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 9387, "end": 9420, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 41 } }, "expression": { "type": "CallExpression", "start": 9387, "end": 9419, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 9387, "end": 9408, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9387, "end": 9391, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 12 } } }, "property": { "type": "Identifier", "start": 9392, "end": 9408, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9409, "end": 9415, "loc": { "start": { "line": 230, "column": 30 }, "end": { "line": 230, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9417, "end": 9418, "loc": { "start": { "line": 230, "column": 38 }, "end": { "line": 230, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9437, "end": 9468, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9437, "end": 9467, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 36 } }, "callee": { "type": "Identifier", "start": 9437, "end": 9449, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9450, "end": 9466, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9450, "end": 9454, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 23 } } }, "property": { "type": "Identifier", "start": 9455, "end": 9466, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 9477, "end": 9480, "loc": { "start": { "line": 233, "column": 7 }, "end": { "line": 233, "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": 8940, "end": 9017, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 216, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8709, "end": 8750, "loc": { "start": { "line": 204, "column": 2 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8754, "end": 8780, "loc": { "start": { "line": 207, "column": 2 }, "end": { "line": 207, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9493, "end": 9532, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 9536, "end": 9681, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 243, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9536, "end": 9555, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 239, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9557, "end": 9681, "loc": { "start": { "line": 239, "column": 23 }, "end": { "line": 243, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9564, "end": 9589, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9564, "end": 9588, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9564, "end": 9580, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9564, "end": 9568, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 8 } } }, "property": { "type": "Identifier", "start": 9569, "end": 9580, "loc": { "start": { "line": 240, "column": 9 }, "end": { "line": 240, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9583, "end": 9588, "loc": { "start": { "line": 240, "column": 23 }, "end": { "line": 240, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 9595, "end": 9676, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 242, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9598, "end": 9625, "loc": { "start": { "line": 241, "column": 7 }, "end": { "line": 241, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9598, "end": 9602, "loc": { "start": { "line": 241, "column": 7 }, "end": { "line": 241, "column": 11 } } }, "property": { "type": "Identifier", "start": 9603, "end": 9625, "loc": { "start": { "line": 241, "column": 12 }, "end": { "line": 241, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9634, "end": 9676, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9634, "end": 9675, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 47 } }, "callee": { "type": "Identifier", "start": 9634, "end": 9646, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9647, "end": 9674, "loc": { "start": { "line": 242, "column": 19 }, "end": { "line": 242, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9647, "end": 9651, "loc": { "start": { "line": 242, "column": 19 }, "end": { "line": 242, "column": 23 } } }, "property": { "type": "Identifier", "start": 9652, "end": 9674, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 242, "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": 9493, "end": 9532, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 9687, "end": 9723, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 247, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9727, "end": 9753, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 248, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 9757, "end": 10026, "loc": { "start": { "line": 249, "column": 2 }, "end": { "line": 257, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9757, "end": 9773, "loc": { "start": { "line": 249, "column": 2 }, "end": { "line": 249, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9774, "end": 9780, "loc": { "start": { "line": 249, "column": 19 }, "end": { "line": 249, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 9781, "end": 10026, "loc": { "start": { "line": 249, "column": 26 }, "end": { "line": 257, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9880, "end": 10021, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 256, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9880, "end": 10020, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 256, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9880, "end": 9907, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 31 } }, "object": { "type": "ThisExpression", "start": 9880, "end": 9884, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9885, "end": 9907, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9910, "end": 10020, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 256, "column": 11 } }, "callee": { "type": "Identifier", "start": 9910, "end": 9920, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 253, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9921, "end": 10014, "loc": { "start": { "line": 253, "column": 45 }, "end": { "line": 256, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9927, "end": 10014, "loc": { "start": { "line": 253, "column": 51 }, "end": { "line": 256, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9936, "end": 9969, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 39 } }, "expression": { "type": "CallExpression", "start": 9936, "end": 9968, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 9936, "end": 9960, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 30 } }, "object": { "type": "ThisExpression", "start": 9936, "end": 9940, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 10 } } }, "property": { "type": "Identifier", "start": 9941, "end": 9960, "loc": { "start": { "line": 254, "column": 11 }, "end": { "line": 254, "column": 30 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9961, "end": 9967, "loc": { "start": { "line": 254, "column": 31 }, "end": { "line": 254, "column": 37 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 9977, "end": 10007, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 36 } }, "expression": { "type": "CallExpression", "start": 9977, "end": 10006, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 9977, "end": 9998, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 27 } }, "object": { "type": "ThisExpression", "start": 9977, "end": 9981, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 10 } } }, "property": { "type": "Identifier", "start": 9982, "end": 9998, "loc": { "start": { "line": 255, "column": 11 }, "end": { "line": 255, "column": 27 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9999, "end": 10005, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 34 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10016, "end": 10019, "loc": { "start": { "line": 256, "column": 7 }, "end": { "line": 256, "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": 9788, "end": 9874, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 9687, "end": 9723, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 247, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9727, "end": 9753, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 248, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10133, "end": 10245, "loc": { "start": { "line": 262, "column": 2 }, "end": { "line": 266, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10133, "end": 10151, "loc": { "start": { "line": 262, "column": 2 }, "end": { "line": 262, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10153, "end": 10245, "loc": { "start": { "line": 262, "column": 22 }, "end": { "line": 266, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10160, "end": 10240, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10160, "end": 10239, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10160, "end": 10173, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10160, "end": 10164, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 8 } } }, "property": { "type": "Identifier", "start": 10165, "end": 10173, "loc": { "start": { "line": 263, "column": 9 }, "end": { "line": 263, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10174, "end": 10238, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 265, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10175, "end": 10183, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10188, "end": 10238, "loc": { "start": { "line": 263, "column": 32 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10197, "end": 10231, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10197, "end": 10230, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10197, "end": 10218, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 27 } }, "object": { "type": "Identifier", "start": 10197, "end": 10205, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10206, "end": 10218, "loc": { "start": { "line": 264, "column": 15 }, "end": { "line": 264, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10219, "end": 10229, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10219, "end": 10223, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 32 } } }, "property": { "type": "Identifier", "start": 10224, "end": 10229, "loc": { "start": { "line": 264, "column": 33 }, "end": { "line": 264, "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": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "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": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10375, "end": 10650, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 281, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10375, "end": 10385, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10386, "end": 10395, "loc": { "start": { "line": 272, "column": 13 }, "end": { "line": 272, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10396, "end": 10650, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 281, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10403, "end": 10451, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10403, "end": 10450, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10403, "end": 10412, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10415, "end": 10450, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 51 } }, "left": { "type": "Identifier", "start": 10415, "end": 10424, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10428, "end": 10450, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10428, "end": 10440, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10428, "end": 10432, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 33 } } }, "property": { "type": "Identifier", "start": 10433, "end": 10440, "loc": { "start": { "line": 273, "column": 34 }, "end": { "line": 273, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10441, "end": 10450, "loc": { "start": { "line": 273, "column": 42 }, "end": { "line": 273, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 10457, "end": 10497, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 10457, "end": 10496, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10457, "end": 10491, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10457, "end": 10467, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10457, "end": 10461, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } } }, "property": { "type": "Identifier", "start": 10462, "end": 10467, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 10468, "end": 10490, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10468, "end": 10480, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10468, "end": 10472, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 19 } } }, "property": { "type": "Identifier", "start": 10473, "end": 10480, "loc": { "start": { "line": 274, "column": 20 }, "end": { "line": 274, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10481, "end": 10490, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 10494, "end": 10496, "loc": { "start": { "line": 274, "column": 41 }, "end": { "line": 274, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10566, "end": 10645, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 280, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10569, "end": 10600, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10569, "end": 10581, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10569, "end": 10573, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10574, "end": 10581, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10582, "end": 10600, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 10609, "end": 10645, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10609, "end": 10644, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10609, "end": 10632, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10609, "end": 10613, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 10 } } }, "property": { "type": "Identifier", "start": 10614, "end": 10632, "loc": { "start": { "line": 280, "column": 11 }, "end": { "line": 280, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10633, "end": 10643, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 40 } }, "object": { "type": "ThisExpression", "start": 10633, "end": 10637, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, "property": { "type": "Identifier", "start": 10638, "end": 10643, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "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": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "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": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10822, "end": 11099, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 297, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10822, "end": 10830, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10831, "end": 10840, "loc": { "start": { "line": 287, "column": 11 }, "end": { "line": 287, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10841, "end": 11099, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 297, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10848, "end": 10896, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10848, "end": 10895, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10848, "end": 10857, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10860, "end": 10895, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 51 } }, "left": { "type": "Identifier", "start": 10860, "end": 10869, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10873, "end": 10895, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10873, "end": 10885, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10873, "end": 10877, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 33 } } }, "property": { "type": "Identifier", "start": 10878, "end": 10885, "loc": { "start": { "line": 288, "column": 34 }, "end": { "line": 288, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10886, "end": 10895, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10965, "end": 11044, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 294, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10968, "end": 10999, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10968, "end": 10980, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10968, "end": 10972, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10973, "end": 10980, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10981, "end": 10999, "loc": { "start": { "line": 293, "column": 20 }, "end": { "line": 293, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11008, "end": 11044, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11008, "end": 11043, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11008, "end": 11031, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11008, "end": 11012, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, "property": { "type": "Identifier", "start": 11013, "end": 11031, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11032, "end": 11042, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11032, "end": 11036, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 34 } } }, "property": { "type": "Identifier", "start": 11037, "end": 11042, "loc": { "start": { "line": 294, "column": 35 }, "end": { "line": 294, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11052, "end": 11094, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11059, "end": 11093, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11059, "end": 11069, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11059, "end": 11063, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 15 } } }, "property": { "type": "Identifier", "start": 11064, "end": 11069, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11070, "end": 11092, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11070, "end": 11082, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11070, "end": 11074, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 26 } } }, "property": { "type": "Identifier", "start": 11075, "end": 11082, "loc": { "start": { "line": 296, "column": 27 }, "end": { "line": 296, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11083, "end": 11092, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "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": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11269, "end": 11539, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 313, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11269, "end": 11277, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 304, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11278, "end": 11283, "loc": { "start": { "line": 304, "column": 11 }, "end": { "line": 304, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11285, "end": 11294, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11295, "end": 11539, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 313, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11302, "end": 11350, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11302, "end": 11349, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11302, "end": 11311, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11314, "end": 11349, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 51 } }, "left": { "type": "Identifier", "start": 11314, "end": 11323, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11327, "end": 11349, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11327, "end": 11339, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11327, "end": 11331, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 33 } } }, "property": { "type": "Identifier", "start": 11332, "end": 11339, "loc": { "start": { "line": 305, "column": 34 }, "end": { "line": 305, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11340, "end": 11349, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11356, "end": 11386, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11356, "end": 11385, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11356, "end": 11377, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11356, "end": 11366, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11356, "end": 11360, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 8 } } }, "property": { "type": "Identifier", "start": 11361, "end": 11366, "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11367, "end": 11376, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 11380, "end": 11385, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11455, "end": 11534, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 312, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11458, "end": 11489, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11458, "end": 11470, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11458, "end": 11462, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11463, "end": 11470, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11471, "end": 11489, "loc": { "start": { "line": 311, "column": 20 }, "end": { "line": 311, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11498, "end": 11534, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11498, "end": 11533, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11498, "end": 11521, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11498, "end": 11502, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 10 } } }, "property": { "type": "Identifier", "start": 11503, "end": 11521, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11522, "end": 11532, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11522, "end": 11526, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 34 } } }, "property": { "type": "Identifier", "start": 11527, "end": 11532, "loc": { "start": { "line": 312, "column": 35 }, "end": { "line": 312, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "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": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11660, "end": 11716, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 321, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11660, "end": 11672, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 319, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11673, "end": 11681, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 11682, "end": 11716, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 321, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11689, "end": 11711, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11689, "end": 11710, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11689, "end": 11699, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11689, "end": 11693, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, "property": { "type": "Identifier", "start": 11694, "end": 11699, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 11702, "end": 11710, "loc": { "start": { "line": 320, "column": 17 }, "end": { "line": 320, "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": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 11852, "end": 12053, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 336, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11852, "end": 11862, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 11865, "end": 12053, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 336, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11865, "end": 11871, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 327, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 11875, "end": 12053, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11882, "end": 11904, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11882, "end": 11903, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 11882, "end": 11888, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 11891, "end": 11903, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 25 } }, "left": { "type": "Identifier", "start": 11891, "end": 11897, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 11901, "end": 11903, "loc": { "start": { "line": 328, "column": 23 }, "end": { "line": 328, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 11910, "end": 11961, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 11910, "end": 11960, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11910, "end": 11922, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 16 } }, "object": { "type": "ThisExpression", "start": 11910, "end": 11914, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, "property": { "type": "Identifier", "start": 11915, "end": 11922, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 11925, "end": 11960, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 11925, "end": 11938, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 32 } }, "object": { "type": "Identifier", "start": 11925, "end": 11931, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 11932, "end": 11938, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11939, "end": 11951, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 45 } }, "object": { "type": "ThisExpression", "start": 11939, "end": 11943, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 37 } } }, "property": { "type": "Identifier", "start": 11944, "end": 11951, "loc": { "start": { "line": 329, "column": 38 }, "end": { "line": 329, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 11953, "end": 11959, "loc": { "start": { "line": 329, "column": 47 }, "end": { "line": 329, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 11967, "end": 11981, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11967, "end": 11980, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11967, "end": 11978, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11967, "end": 11971, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 8 } } }, "property": { "type": "Identifier", "start": 11972, "end": 11978, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Apply modules\r\n ", "start": 11989, "end": 12023, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 334, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 12029, "end": 12048, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 23 } }, "expression": { "type": "CallExpression", "start": 12029, "end": 12047, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 12029, "end": 12045, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12029, "end": 12033, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12034, "end": 12045, "loc": { "start": { "line": 335, "column": 9 }, "end": { "line": 335, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Apply modules\r\n ", "start": 11989, "end": 12023, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 334, "column": 7 } } } ] } ], "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "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": 12059, "end": 12168, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12172, "end": 12311, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 346, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12172, "end": 12177, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 342, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12179, "end": 12311, "loc": { "start": { "line": 342, "column": 9 }, "end": { "line": 346, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12186, "end": 12218, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12186, "end": 12217, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12186, "end": 12212, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12186, "end": 12202, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12186, "end": 12190, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 8 } } }, "property": { "type": "Identifier", "start": 12191, "end": 12202, "loc": { "start": { "line": 343, "column": 9 }, "end": { "line": 343, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12203, "end": 12212, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12215, "end": 12217, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12224, "end": 12275, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12224, "end": 12274, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12224, "end": 12250, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12224, "end": 12240, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12224, "end": 12228, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 8 } } }, "property": { "type": "Identifier", "start": 12229, "end": 12240, "loc": { "start": { "line": 344, "column": 9 }, "end": { "line": 344, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12241, "end": 12250, "loc": { "start": { "line": 344, "column": 21 }, "end": { "line": 344, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12253, "end": 12274, "loc": { "start": { "line": 344, "column": 33 }, "end": { "line": 344, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12253, "end": 12257, "loc": { "start": { "line": 344, "column": 33 }, "end": { "line": 344, "column": 37 } } }, "property": { "type": "Identifier", "start": 12258, "end": 12274, "loc": { "start": { "line": 344, "column": 38 }, "end": { "line": 344, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12281, "end": 12306, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12281, "end": 12305, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12281, "end": 12300, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12281, "end": 12285, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 8 } } }, "property": { "type": "Identifier", "start": 12286, "end": 12300, "loc": { "start": { "line": 345, "column": 9 }, "end": { "line": 345, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12303, "end": 12305, "loc": { "start": { "line": 345, "column": 26 }, "end": { "line": 345, "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": 12059, "end": 12168, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "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": 12317, "end": 12522, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12526, "end": 12894, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 361, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12526, "end": 12534, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12535, "end": 12543, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 12544, "end": 12894, "loc": { "start": { "line": 352, "column": 20 }, "end": { "line": 361, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12551, "end": 12735, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 356, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 12554, "end": 12588, "loc": { "start": { "line": 353, "column": 7 }, "end": { "line": 353, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12555, "end": 12588, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 41 } }, "object": { "type": "Identifier", "start": 12555, "end": 12561, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12562, "end": 12587, "loc": { "start": { "line": 353, "column": 15 }, "end": { "line": 353, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 12589, "end": 12735, "loc": { "start": { "line": 353, "column": 42 }, "end": { "line": 356, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12598, "end": 12681, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 89 } }, "expression": { "type": "CallExpression", "start": 12598, "end": 12680, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 12598, "end": 12610, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 18 } }, "object": { "type": "Identifier", "start": 12598, "end": 12605, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 12606, "end": 12610, "loc": { "start": { "line": 354, "column": 14 }, "end": { "line": 354, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 12611, "end": 12679, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 12612, "end": 12678, "loc": { "start": { "line": 354, "column": 20 }, "end": { "line": 354, "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": 12689, "end": 12728, "loc": { "start": { "line": 355, "column": 6 }, "end": { "line": 355, "column": 45 } }, "argument": { "type": "NewExpression", "start": 12695, "end": 12727, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 44 } }, "callee": { "type": "Identifier", "start": 12699, "end": 12704, "loc": { "start": { "line": 355, "column": 16 }, "end": { "line": 355, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 12705, "end": 12726, "loc": { "start": { "line": 355, "column": 22 }, "end": { "line": 355, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 12747, "end": 12889, "loc": { "start": { "line": 358, "column": 4 }, "end": { "line": 360, "column": 6 } }, "argument": { "type": "CallExpression", "start": 12754, "end": 12889, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 360, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12754, "end": 12808, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 65 } }, "object": { "type": "CallExpression", "start": 12754, "end": 12800, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12754, "end": 12765, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 22 } }, "object": { "type": "Identifier", "start": 12754, "end": 12760, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12761, "end": 12765, "loc": { "start": { "line": 358, "column": 18 }, "end": { "line": 358, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12766, "end": 12799, "loc": { "start": { "line": 358, "column": 23 }, "end": { "line": 358, "column": 56 } }, "object": { "type": "Identifier", "start": 12766, "end": 12772, "loc": { "start": { "line": 358, "column": 23 }, "end": { "line": 358, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12773, "end": 12798, "loc": { "start": { "line": 358, "column": 30 }, "end": { "line": 358, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 12801, "end": 12808, "loc": { "start": { "line": 358, "column": 58 }, "end": { "line": 358, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12809, "end": 12888, "loc": { "start": { "line": 358, "column": 66 }, "end": { "line": 360, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12810, "end": 12813, "loc": { "start": { "line": 358, "column": 67 }, "end": { "line": 358, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12818, "end": 12888, "loc": { "start": { "line": 358, "column": 75 }, "end": { "line": 360, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12827, "end": 12881, "loc": { "start": { "line": 359, "column": 6 }, "end": { "line": 359, "column": 60 } }, "expression": { "type": "CallExpression", "start": 12827, "end": 12880, "loc": { "start": { "line": 359, "column": 6 }, "end": { "line": 359, "column": 59 } }, "callee": { "type": "Identifier", "start": 12827, "end": 12835, "loc": { "start": { "line": 359, "column": 6 }, "end": { "line": 359, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 12836, "end": 12874, "loc": { "start": { "line": 359, "column": 15 }, "end": { "line": 359, "column": 53 } }, "object": { "type": "MemberExpression", "start": 12836, "end": 12869, "loc": { "start": { "line": 359, "column": 15 }, "end": { "line": 359, "column": 48 } }, "object": { "type": "Identifier", "start": 12836, "end": 12842, "loc": { "start": { "line": 359, "column": 15 }, "end": { "line": 359, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12843, "end": 12868, "loc": { "start": { "line": 359, "column": 22 }, "end": { "line": 359, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 12870, "end": 12873, "loc": { "start": { "line": 359, "column": 49 }, "end": { "line": 359, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 12876, "end": 12879, "loc": { "start": { "line": 359, "column": 55 }, "end": { "line": 359, "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": 12317, "end": 12522, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "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": 12900, "end": 13181, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 367, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13185, "end": 14417, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 411, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13185, "end": 13199, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 368, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13200, "end": 13207, "loc": { "start": { "line": 368, "column": 17 }, "end": { "line": 368, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13209, "end": 13218, "loc": { "start": { "line": 368, "column": 26 }, "end": { "line": 368, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13219, "end": 14417, "loc": { "start": { "line": 368, "column": 36 }, "end": { "line": 411, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13226, "end": 13273, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 370, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13229, "end": 13251, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13229, "end": 13239, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13230, "end": 13239, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13243, "end": 13251, "loc": { "start": { "line": 369, "column": 21 }, "end": { "line": 369, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13244, "end": 13251, "loc": { "start": { "line": 369, "column": 22 }, "end": { "line": 369, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13260, "end": 13273, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13267, "end": 13272, "loc": { "start": { "line": 370, "column": 13 }, "end": { "line": 370, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13281, "end": 14390, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 408, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13281, "end": 14389, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 408, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13281, "end": 13307, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 30 } }, "object": { "type": "CallExpression", "start": 13281, "end": 13299, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13281, "end": 13294, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 17 } }, "object": { "type": "Identifier", "start": 13281, "end": 13288, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13289, "end": 13294, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13295, "end": 13298, "loc": { "start": { "line": 372, "column": 18 }, "end": { "line": 372, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13300, "end": 13307, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13308, "end": 14388, "loc": { "start": { "line": 372, "column": 31 }, "end": { "line": 408, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13308, "end": 13314, "loc": { "start": { "line": 372, "column": 31 }, "end": { "line": 372, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13318, "end": 14388, "loc": { "start": { "line": 372, "column": 41 }, "end": { "line": 408, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13327, "end": 14381, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 407, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13327, "end": 14380, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 407, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13327, "end": 13355, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 34 } }, "object": { "type": "CallExpression", "start": 13327, "end": 13347, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13327, "end": 13342, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 21 } }, "object": { "type": "Identifier", "start": 13327, "end": 13336, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13337, "end": 13342, "loc": { "start": { "line": 373, "column": 16 }, "end": { "line": 373, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13343, "end": 13346, "loc": { "start": { "line": 373, "column": 22 }, "end": { "line": 373, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13348, "end": 13355, "loc": { "start": { "line": 373, "column": 27 }, "end": { "line": 373, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13356, "end": 14379, "loc": { "start": { "line": 373, "column": 35 }, "end": { "line": 407, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13356, "end": 13369, "loc": { "start": { "line": 373, "column": 35 }, "end": { "line": 373, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13373, "end": 14379, "loc": { "start": { "line": 373, "column": 52 }, "end": { "line": 407, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13384, "end": 13455, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 375, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13387, "end": 13412, "loc": { "start": { "line": 374, "column": 11 }, "end": { "line": 374, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13388, "end": 13412, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13388, "end": 13400, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13388, "end": 13392, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 16 } } }, "property": { "type": "Identifier", "start": 13393, "end": 13400, "loc": { "start": { "line": 374, "column": 17 }, "end": { "line": 374, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13401, "end": 13412, "loc": { "start": { "line": 374, "column": 25 }, "end": { "line": 374, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 13425, "end": 13455, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 13425, "end": 13454, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13425, "end": 13449, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 34 } }, "object": { "type": "MemberExpression", "start": 13425, "end": 13437, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 22 } }, "object": { "type": "ThisExpression", "start": 13425, "end": 13429, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 14 } } }, "property": { "type": "Identifier", "start": 13430, "end": 13437, "loc": { "start": { "line": 375, "column": 15 }, "end": { "line": 375, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13438, "end": 13449, "loc": { "start": { "line": 375, "column": 23 }, "end": { "line": 375, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 13452, "end": 13454, "loc": { "start": { "line": 375, "column": 37 }, "end": { "line": 375, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 13467, "end": 13494, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13471, "end": 13493, "loc": { "start": { "line": 377, "column": 12 }, "end": { "line": 377, "column": 34 } }, "id": { "type": "Identifier", "start": 13471, "end": 13485, "loc": { "start": { "line": 377, "column": 12 }, "end": { "line": 377, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 13488, "end": 13493, "loc": { "start": { "line": 377, "column": 29 }, "end": { "line": 377, "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": 13508, "end": 13599, "loc": { "start": { "line": 379, "column": 8 }, "end": { "line": 381, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 13609, "end": 14117, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 395, "column": 11 } }, "expression": { "type": "CallExpression", "start": 13609, "end": 14116, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 395, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 13609, "end": 13637, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13609, "end": 13633, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13609, "end": 13621, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13609, "end": 13613, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13614, "end": 13621, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 382, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13622, "end": 13633, "loc": { "start": { "line": 382, "column": 21 }, "end": { "line": 382, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13634, "end": 13637, "loc": { "start": { "line": 382, "column": 33 }, "end": { "line": 382, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13638, "end": 14115, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 395, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13638, "end": 13649, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 13653, "end": 14115, "loc": { "start": { "line": 382, "column": 52 }, "end": { "line": 395, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13668, "end": 14073, "loc": { "start": { "line": 384, "column": 10 }, "end": { "line": 393, "column": 11 } }, "test": { "type": "CallExpression", "start": 13671, "end": 13723, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13671, "end": 13708, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 50 } }, "object": { "type": "CallExpression", "start": 13671, "end": 13699, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 13671, "end": 13694, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13671, "end": 13688, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 30 } }, "object": { "type": "Identifier", "start": 13671, "end": 13682, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13683, "end": 13688, "loc": { "start": { "line": 384, "column": 25 }, "end": { "line": 384, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 13689, "end": 13694, "loc": { "start": { "line": 384, "column": 31 }, "end": { "line": 384, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13695, "end": 13698, "loc": { "start": { "line": 384, "column": 37 }, "end": { "line": 384, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13700, "end": 13708, "loc": { "start": { "line": 384, "column": 42 }, "end": { "line": 384, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13709, "end": 13722, "loc": { "start": { "line": 384, "column": 51 }, "end": { "line": 384, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 13724, "end": 14073, "loc": { "start": { "line": 384, "column": 66 }, "end": { "line": 393, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 13739, "end": 13761, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 13739, "end": 13760, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 13739, "end": 13753, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13756, "end": 13760, "loc": { "start": { "line": 385, "column": 29 }, "end": { "line": 385, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 13789, "end": 13843, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13793, "end": 13842, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 65 } }, "id": { "type": "Identifier", "start": 13793, "end": 13809, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 13812, "end": 13842, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13812, "end": 13837, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 60 } }, "object": { "type": "MemberExpression", "start": 13812, "end": 13831, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 54 } }, "object": { "type": "Identifier", "start": 13812, "end": 13823, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13824, "end": 13831, "loc": { "start": { "line": 387, "column": 47 }, "end": { "line": 387, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13832, "end": 13837, "loc": { "start": { "line": 387, "column": 55 }, "end": { "line": 387, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13838, "end": 13841, "loc": { "start": { "line": 387, "column": 61 }, "end": { "line": 387, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 13857, "end": 14060, "loc": { "start": { "line": 388, "column": 12 }, "end": { "line": 392, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 13860, "end": 13894, "loc": { "start": { "line": 388, "column": 15 }, "end": { "line": 388, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13861, "end": 13894, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 13861, "end": 13886, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 41 } }, "object": { "type": "Identifier", "start": 13861, "end": 13877, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13878, "end": 13886, "loc": { "start": { "line": 388, "column": 33 }, "end": { "line": 388, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13887, "end": 13893, "loc": { "start": { "line": 388, "column": 42 }, "end": { "line": 388, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13895, "end": 14060, "loc": { "start": { "line": 388, "column": 50 }, "end": { "line": 392, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13912, "end": 13934, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 13912, "end": 13933, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 13912, "end": 13926, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13929, "end": 13933, "loc": { "start": { "line": 389, "column": 31 }, "end": { "line": 389, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 13950, "end": 13980, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 44 } }, "expression": { "type": "CallExpression", "start": 13950, "end": 13979, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 13950, "end": 13971, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 35 } }, "object": { "type": "Identifier", "start": 13950, "end": 13966, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13967, "end": 13971, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 390, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13972, "end": 13978, "loc": { "start": { "line": 390, "column": 36 }, "end": { "line": 390, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 13996, "end": 14045, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 13996, "end": 14044, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13996, "end": 14015, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 33 } }, "object": { "type": "Identifier", "start": 13996, "end": 14007, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14008, "end": 14015, "loc": { "start": { "line": 391, "column": 26 }, "end": { "line": 391, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14018, "end": 14044, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14018, "end": 14039, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "column": 57 } }, "object": { "type": "Identifier", "start": 14018, "end": 14034, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14035, "end": 14039, "loc": { "start": { "line": 391, "column": 53 }, "end": { "line": 391, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14040, "end": 14043, "loc": { "start": { "line": 391, "column": 58 }, "end": { "line": 391, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14085, "end": 14104, "loc": { "start": { "line": 394, "column": 10 }, "end": { "line": 394, "column": 29 } }, "argument": { "type": "Identifier", "start": 14092, "end": 14103, "loc": { "start": { "line": 394, "column": 17 }, "end": { "line": 394, "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": 13508, "end": 13599, "loc": { "start": { "line": 379, "column": 8 }, "end": { "line": 381, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14129, "end": 14204, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14214, "end": 14368, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 405, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14217, "end": 14232, "loc": { "start": { "line": 400, "column": 11 }, "end": { "line": 400, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14218, "end": 14232, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14233, "end": 14368, "loc": { "start": { "line": 400, "column": 27 }, "end": { "line": 405, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14246, "end": 14357, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 404, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14246, "end": 14356, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 404, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14246, "end": 14275, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14246, "end": 14270, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14246, "end": 14258, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14246, "end": 14250, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 14 } } }, "property": { "type": "Identifier", "start": 14251, "end": 14258, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14259, "end": 14270, "loc": { "start": { "line": 401, "column": 23 }, "end": { "line": 401, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14271, "end": 14275, "loc": { "start": { "line": 401, "column": 35 }, "end": { "line": 401, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14276, "end": 14355, "loc": { "start": { "line": 401, "column": 40 }, "end": { "line": 404, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14291, "end": 14311, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14291, "end": 14296, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14298, "end": 14311, "loc": { "start": { "line": 402, "column": 19 }, "end": { "line": 402, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14326, "end": 14342, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14326, "end": 14333, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14335, "end": 14342, "loc": { "start": { "line": 403, "column": 21 }, "end": { "line": 403, "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": 14129, "end": 14204, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14398, "end": 14412, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14398, "end": 14411, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14398, "end": 14409, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14398, "end": 14402, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 8 } } }, "property": { "type": "Identifier", "start": 14403, "end": 14409, "loc": { "start": { "line": 410, "column": 9 }, "end": { "line": 410, "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": 12900, "end": 13181, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 367, "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": 14423, "end": 14763, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 417, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 14767, "end": 16184, "loc": { "start": { "line": 418, "column": 2 }, "end": { "line": 464, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14767, "end": 14784, "loc": { "start": { "line": 418, "column": 2 }, "end": { "line": 418, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14785, "end": 14792, "loc": { "start": { "line": 418, "column": 20 }, "end": { "line": 418, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 14794, "end": 14803, "loc": { "start": { "line": 418, "column": 29 }, "end": { "line": 418, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 14804, "end": 16184, "loc": { "start": { "line": 418, "column": 39 }, "end": { "line": 464, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14897, "end": 15012, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14900, "end": 14922, "loc": { "start": { "line": 422, "column": 7 }, "end": { "line": 422, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 14900, "end": 14908, "loc": { "start": { "line": 422, "column": 7 }, "end": { "line": 422, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14901, "end": 14908, "loc": { "start": { "line": 422, "column": 8 }, "end": { "line": 422, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 14912, "end": 14922, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 422, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14913, "end": 14922, "loc": { "start": { "line": 422, "column": 20 }, "end": { "line": 422, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14923, "end": 15012, "loc": { "start": { "line": 422, "column": 30 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14932, "end": 14962, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14932, "end": 14961, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14932, "end": 14956, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 30 } }, "object": { "type": "MemberExpression", "start": 14932, "end": 14944, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 18 } }, "object": { "type": "ThisExpression", "start": 14932, "end": 14936, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 10 } } }, "property": { "type": "Identifier", "start": 14937, "end": 14944, "loc": { "start": { "line": 423, "column": 11 }, "end": { "line": 423, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14945, "end": 14956, "loc": { "start": { "line": 423, "column": 19 }, "end": { "line": 423, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14959, "end": 14961, "loc": { "start": { "line": 423, "column": 33 }, "end": { "line": 423, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 14970, "end": 14984, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 20 } }, "expression": { "type": "CallExpression", "start": 14970, "end": 14983, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 14970, "end": 14981, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 17 } }, "object": { "type": "ThisExpression", "start": 14970, "end": 14974, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 10 } } }, "property": { "type": "Identifier", "start": 14975, "end": 14981, "loc": { "start": { "line": 424, "column": 11 }, "end": { "line": 424, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 14992, "end": 15005, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 425, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 14999, "end": 15004, "loc": { "start": { "line": 425, "column": 13 }, "end": { "line": 425, "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": 14811, "end": 14891, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 421, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15020, "end": 15088, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 430, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15094, "end": 16179, "loc": { "start": { "line": 431, "column": 4 }, "end": { "line": 463, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15097, "end": 15182, "loc": { "start": { "line": 431, "column": 7 }, "end": { "line": 431, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15097, "end": 15147, "loc": { "start": { "line": 431, "column": 7 }, "end": { "line": 431, "column": 57 } }, "left": { "type": "Identifier", "start": 15097, "end": 15104, "loc": { "start": { "line": 431, "column": 7 }, "end": { "line": 431, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15108, "end": 15147, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15108, "end": 15121, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 31 } }, "object": { "type": "Identifier", "start": 15108, "end": 15113, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15114, "end": 15121, "loc": { "start": { "line": 431, "column": 24 }, "end": { "line": 431, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15122, "end": 15146, "loc": { "start": { "line": 431, "column": 32 }, "end": { "line": 431, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15122, "end": 15134, "loc": { "start": { "line": 431, "column": 32 }, "end": { "line": 431, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15122, "end": 15126, "loc": { "start": { "line": 431, "column": 32 }, "end": { "line": 431, "column": 36 } } }, "property": { "type": "Identifier", "start": 15127, "end": 15134, "loc": { "start": { "line": 431, "column": 37 }, "end": { "line": 431, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15135, "end": 15146, "loc": { "start": { "line": 431, "column": 45 }, "end": { "line": 431, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15151, "end": 15182, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15151, "end": 15175, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15151, "end": 15163, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15151, "end": 15155, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 65 } } }, "property": { "type": "Identifier", "start": 15156, "end": 15163, "loc": { "start": { "line": 431, "column": 66 }, "end": { "line": 431, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15164, "end": 15175, "loc": { "start": { "line": 431, "column": 74 }, "end": { "line": 431, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15176, "end": 15182, "loc": { "start": { "line": 431, "column": 86 }, "end": { "line": 431, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15183, "end": 16179, "loc": { "start": { "line": 431, "column": 93 }, "end": { "line": 463, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15192, "end": 15229, "loc": { "start": { "line": 432, "column": 6 }, "end": { "line": 432, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15196, "end": 15228, "loc": { "start": { "line": 432, "column": 10 }, "end": { "line": 432, "column": 42 } }, "id": { "type": "Identifier", "start": 15196, "end": 15207, "loc": { "start": { "line": 432, "column": 10 }, "end": { "line": 432, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15210, "end": 15228, "loc": { "start": { "line": 432, "column": 24 }, "end": { "line": 432, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15210, "end": 15223, "loc": { "start": { "line": 432, "column": 24 }, "end": { "line": 432, "column": 37 } }, "object": { "type": "Identifier", "start": 15210, "end": 15217, "loc": { "start": { "line": 432, "column": 24 }, "end": { "line": 432, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15218, "end": 15223, "loc": { "start": { "line": 432, "column": 32 }, "end": { "line": 432, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15224, "end": 15227, "loc": { "start": { "line": 432, "column": 38 }, "end": { "line": 432, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15237, "end": 16148, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 460, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15237, "end": 16147, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 460, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15237, "end": 15256, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 433, "column": 25 } }, "object": { "type": "Identifier", "start": 15237, "end": 15248, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 433, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15249, "end": 15256, "loc": { "start": { "line": 433, "column": 18 }, "end": { "line": 433, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15257, "end": 16146, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 460, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15258, "end": 15264, "loc": { "start": { "line": 433, "column": 27 }, "end": { "line": 433, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15266, "end": 15269, "loc": { "start": { "line": 433, "column": 35 }, "end": { "line": 433, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15274, "end": 16146, "loc": { "start": { "line": 433, "column": 43 }, "end": { "line": 460, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15285, "end": 16137, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 459, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15285, "end": 16136, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 459, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15285, "end": 15313, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15285, "end": 15309, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15285, "end": 15297, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15285, "end": 15289, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 12 } } }, "property": { "type": "Identifier", "start": 15290, "end": 15297, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15298, "end": 15309, "loc": { "start": { "line": 434, "column": 21 }, "end": { "line": 434, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15310, "end": 15313, "loc": { "start": { "line": 434, "column": 33 }, "end": { "line": 434, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15314, "end": 16135, "loc": { "start": { "line": 434, "column": 37 }, "end": { "line": 459, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15315, "end": 15326, "loc": { "start": { "line": 434, "column": 38 }, "end": { "line": 434, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15328, "end": 15333, "loc": { "start": { "line": 434, "column": 51 }, "end": { "line": 434, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15338, "end": 16135, "loc": { "start": { "line": 434, "column": 61 }, "end": { "line": 459, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15506, "end": 16091, "loc": { "start": { "line": 440, "column": 10 }, "end": { "line": 456, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 15523, "end": 15602, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 442, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 15524, "end": 15574, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 63 } }, "left": { "type": "Identifier", "start": 15524, "end": 15533, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15537, "end": 15574, "loc": { "start": { "line": 441, "column": 26 }, "end": { "line": 441, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 15537, "end": 15555, "loc": { "start": { "line": 441, "column": 26 }, "end": { "line": 441, "column": 44 } }, "object": { "type": "Identifier", "start": 15537, "end": 15546, "loc": { "start": { "line": 441, "column": 26 }, "end": { "line": 441, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 15547, "end": 15555, "loc": { "start": { "line": 441, "column": 36 }, "end": { "line": 441, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15556, "end": 15573, "loc": { "start": { "line": 441, "column": 45 }, "end": { "line": 441, "column": 62 } }, "object": { "type": "Identifier", "start": 15556, "end": 15567, "loc": { "start": { "line": 441, "column": 45 }, "end": { "line": 441, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15568, "end": 15573, "loc": { "start": { "line": 441, "column": 57 }, "end": { "line": 441, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 15523 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 15592, "end": 15602, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15593, "end": 15602, "loc": { "start": { "line": 442, "column": 13 }, "end": { "line": 442, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15615, "end": 16091, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 456, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 15630, "end": 15719, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15634, "end": 15718, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 100 } }, "id": { "type": "Identifier", "start": 15634, "end": 15653, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 15656, "end": 15718, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 15656, "end": 15693, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 75 } }, "object": { "type": "CallExpression", "start": 15656, "end": 15686, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 15656, "end": 15681, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 63 } }, "object": { "type": "MemberExpression", "start": 15656, "end": 15675, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 57 } }, "object": { "type": "Identifier", "start": 15656, "end": 15667, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15668, "end": 15675, "loc": { "start": { "line": 444, "column": 50 }, "end": { "line": 444, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 15676, "end": 15681, "loc": { "start": { "line": 444, "column": 58 }, "end": { "line": 444, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15682, "end": 15685, "loc": { "start": { "line": 444, "column": 64 }, "end": { "line": 444, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 15687, "end": 15693, "loc": { "start": { "line": 444, "column": 69 }, "end": { "line": 444, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15694, "end": 15717, "loc": { "start": { "line": 444, "column": 76 }, "end": { "line": 444, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 15694, "end": 15698, "loc": { "start": { "line": 444, "column": 76 }, "end": { "line": 444, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 15702, "end": 15717, "loc": { "start": { "line": 444, "column": 84 }, "end": { "line": 444, "column": 99 } }, "left": { "type": "Identifier", "start": 15702, "end": 15706, "loc": { "start": { "line": 444, "column": 84 }, "end": { "line": 444, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 15711, "end": 15717, "loc": { "start": { "line": 444, "column": 93 }, "end": { "line": 444, "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": 15735, "end": 15832, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 448, "column": 15 } } } ] }, { "type": "IfStatement", "start": 15846, "end": 16075, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 454, "column": 13 } }, "test": { "type": "MemberExpression", "start": 15849, "end": 15875, "loc": { "start": { "line": 449, "column": 15 }, "end": { "line": 449, "column": 41 } }, "object": { "type": "Identifier", "start": 15849, "end": 15868, "loc": { "start": { "line": 449, "column": 15 }, "end": { "line": 449, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 15869, "end": 15875, "loc": { "start": { "line": 449, "column": 35 }, "end": { "line": 449, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15876, "end": 15960, "loc": { "start": { "line": 449, "column": 42 }, "end": { "line": 451, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15893, "end": 15945, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 15893, "end": 15944, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15893, "end": 15912, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 33 } }, "object": { "type": "Identifier", "start": 15893, "end": 15904, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15905, "end": 15912, "loc": { "start": { "line": 450, "column": 26 }, "end": { "line": 450, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 15915, "end": 15944, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 15915, "end": 15939, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 60 } }, "object": { "type": "Identifier", "start": 15915, "end": 15934, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 15935, "end": 15939, "loc": { "start": { "line": 450, "column": 56 }, "end": { "line": 450, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15940, "end": 15943, "loc": { "start": { "line": 450, "column": 61 }, "end": { "line": 450, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 15966, "end": 16075, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 454, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15983, "end": 16025, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 56 } }, "expression": { "type": "CallExpression", "start": 15983, "end": 16024, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 15983, "end": 16014, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 45 } }, "object": { "type": "MemberExpression", "start": 15983, "end": 16007, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 38 } }, "object": { "type": "MemberExpression", "start": 15983, "end": 15995, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15983, "end": 15987, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 18 } } }, "property": { "type": "Identifier", "start": 15988, "end": 15995, "loc": { "start": { "line": 452, "column": 19 }, "end": { "line": 452, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15996, "end": 16007, "loc": { "start": { "line": 452, "column": 27 }, "end": { "line": 452, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16008, "end": 16014, "loc": { "start": { "line": 452, "column": 39 }, "end": { "line": 452, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16015, "end": 16020, "loc": { "start": { "line": 452, "column": 46 }, "end": { "line": 452, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16022, "end": 16023, "loc": { "start": { "line": 452, "column": 53 }, "end": { "line": 452, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16041, "end": 16060, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16041, "end": 16059, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16041, "end": 16052, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16055, "end": 16059, "loc": { "start": { "line": 453, "column": 28 }, "end": { "line": 453, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15735, "end": 15832, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 448, "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": 15353, "end": 15494, "loc": { "start": { "line": 436, "column": 10 }, "end": { "line": 439, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16105, "end": 16124, "loc": { "start": { "line": 458, "column": 10 }, "end": { "line": 458, "column": 29 } }, "argument": { "type": "Identifier", "start": 16112, "end": 16123, "loc": { "start": { "line": 458, "column": 17 }, "end": { "line": 458, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16158, "end": 16172, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16158, "end": 16171, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16158, "end": 16169, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16158, "end": 16162, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 10 } } }, "property": { "type": "Identifier", "start": 16163, "end": 16169, "loc": { "start": { "line": 462, "column": 11 }, "end": { "line": 462, "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": 15020, "end": 15088, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 430, "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": 14423, "end": 14763, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 417, "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": 16190, "end": 16393, "loc": { "start": { "line": 466, "column": 2 }, "end": { "line": 469, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16397, "end": 16664, "loc": { "start": { "line": 470, "column": 2 }, "end": { "line": 483, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16397, "end": 16413, "loc": { "start": { "line": 470, "column": 2 }, "end": { "line": 470, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16414, "end": 16420, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 16421, "end": 16664, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 483, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 16428, "end": 16439, "loc": { "start": { "line": 471, "column": 4 }, "end": { "line": 471, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16432, "end": 16438, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 } }, "id": { "type": "Identifier", "start": 16432, "end": 16438, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16447, "end": 16491, "loc": { "start": { "line": 473, "column": 4 }, "end": { "line": 473, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16451, "end": 16490, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 47 } }, "id": { "type": "Identifier", "start": 16451, "end": 16460, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 16463, "end": 16490, "loc": { "start": { "line": 473, "column": 20 }, "end": { "line": 473, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16463, "end": 16482, "loc": { "start": { "line": 473, "column": 20 }, "end": { "line": 473, "column": 39 } }, "object": { "type": "ThisExpression", "start": 16463, "end": 16467, "loc": { "start": { "line": 473, "column": 20 }, "end": { "line": 473, "column": 24 } } }, "property": { "type": "Identifier", "start": 16468, "end": 16482, "loc": { "start": { "line": 473, "column": 25 }, "end": { "line": 473, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 16483, "end": 16489, "loc": { "start": { "line": 473, "column": 40 }, "end": { "line": 473, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 16497, "end": 16637, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 480, "column": 5 } }, "test": { "type": "Identifier", "start": 16500, "end": 16509, "loc": { "start": { "line": 474, "column": 7 }, "end": { "line": 474, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 16510, "end": 16637, "loc": { "start": { "line": 474, "column": 17 }, "end": { "line": 480, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 16519, "end": 16630, "loc": { "start": { "line": 475, "column": 6 }, "end": { "line": 479, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 16522, "end": 16542, "loc": { "start": { "line": 475, "column": 9 }, "end": { "line": 475, "column": 29 } }, "left": { "type": "MemberExpression", "start": 16522, "end": 16538, "loc": { "start": { "line": 475, "column": 9 }, "end": { "line": 475, "column": 25 } }, "object": { "type": "Identifier", "start": 16522, "end": 16531, "loc": { "start": { "line": 475, "column": 9 }, "end": { "line": 475, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 16532, "end": 16538, "loc": { "start": { "line": 475, "column": 19 }, "end": { "line": 475, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 16541, "end": 16542, "loc": { "start": { "line": 475, "column": 28 }, "end": { "line": 475, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 16543, "end": 16582, "loc": { "start": { "line": 475, "column": 30 }, "end": { "line": 477, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16554, "end": 16573, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 16554, "end": 16572, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 16554, "end": 16560, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 16563, "end": 16572, "loc": { "start": { "line": 476, "column": 17 }, "end": { "line": 476, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16588, "end": 16630, "loc": { "start": { "line": 477, "column": 13 }, "end": { "line": 479, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16599, "end": 16621, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 16599, "end": 16620, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 16599, "end": 16605, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 16608, "end": 16620, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 29 } }, "object": { "type": "Identifier", "start": 16608, "end": 16617, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 16618, "end": 16619, "loc": { "start": { "line": 478, "column": 27 }, "end": { "line": 478, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 16645, "end": 16659, "loc": { "start": { "line": 482, "column": 4 }, "end": { "line": 482, "column": 18 } }, "argument": { "type": "Identifier", "start": 16652, "end": 16658, "loc": { "start": { "line": 482, "column": 11 }, "end": { "line": 482, "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": 16190, "end": 16393, "loc": { "start": { "line": 466, "column": 2 }, "end": { "line": 469, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16670, "end": 16760, "loc": { "start": { "line": 485, "column": 2 }, "end": { "line": 487, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16764, "end": 17067, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 496, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16764, "end": 16775, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 488, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16777, "end": 17067, "loc": { "start": { "line": 488, "column": 15 }, "end": { "line": 496, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 16784, "end": 16860, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 491, "column": 5 } }, "test": { "type": "MemberExpression", "start": 16787, "end": 16805, "loc": { "start": { "line": 489, "column": 7 }, "end": { "line": 489, "column": 25 } }, "object": { "type": "MemberExpression", "start": 16787, "end": 16799, "loc": { "start": { "line": 489, "column": 7 }, "end": { "line": 489, "column": 19 } }, "object": { "type": "ThisExpression", "start": 16787, "end": 16791, "loc": { "start": { "line": 489, "column": 7 }, "end": { "line": 489, "column": 11 } } }, "property": { "type": "Identifier", "start": 16792, "end": 16799, "loc": { "start": { "line": 489, "column": 12 }, "end": { "line": 489, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16800, "end": 16805, "loc": { "start": { "line": 489, "column": 20 }, "end": { "line": 489, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 16806, "end": 16860, "loc": { "start": { "line": 489, "column": 26 }, "end": { "line": 491, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16815, "end": 16853, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 44 } }, "expression": { "type": "CallExpression", "start": 16815, "end": 16852, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 16815, "end": 16826, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 17 } }, "object": { "type": "Identifier", "start": 16815, "end": 16822, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 16823, "end": 16826, "loc": { "start": { "line": 490, "column": 14 }, "end": { "line": 490, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16827, "end": 16851, "loc": { "start": { "line": 490, "column": 18 }, "end": { "line": 490, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 16868, "end": 16927, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 63 } }, "expression": { "type": "CallExpression", "start": 16868, "end": 16926, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 16868, "end": 16893, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 29 } }, "object": { "type": "Identifier", "start": 16868, "end": 16876, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16877, "end": 16893, "loc": { "start": { "line": 493, "column": 13 }, "end": { "line": 493, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16894, "end": 16901, "loc": { "start": { "line": 493, "column": 30 }, "end": { "line": 493, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 16903, "end": 16925, "loc": { "start": { "line": 493, "column": 39 }, "end": { "line": 493, "column": 61 } }, "object": { "type": "ThisExpression", "start": 16903, "end": 16907, "loc": { "start": { "line": 493, "column": 39 }, "end": { "line": 493, "column": 43 } } }, "property": { "type": "Identifier", "start": 16908, "end": 16925, "loc": { "start": { "line": 493, "column": 44 }, "end": { "line": 493, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 16933, "end": 16994, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 65 } }, "expression": { "type": "CallExpression", "start": 16933, "end": 16993, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 16933, "end": 16958, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 29 } }, "object": { "type": "Identifier", "start": 16933, "end": 16941, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16942, "end": 16958, "loc": { "start": { "line": 494, "column": 13 }, "end": { "line": 494, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16959, "end": 16968, "loc": { "start": { "line": 494, "column": 30 }, "end": { "line": 494, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 16970, "end": 16992, "loc": { "start": { "line": 494, "column": 41 }, "end": { "line": 494, "column": 63 } }, "object": { "type": "ThisExpression", "start": 16970, "end": 16974, "loc": { "start": { "line": 494, "column": 41 }, "end": { "line": 494, "column": 45 } } }, "property": { "type": "Identifier", "start": 16975, "end": 16992, "loc": { "start": { "line": 494, "column": 46 }, "end": { "line": 494, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17000, "end": 17062, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17000, "end": 17061, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17000, "end": 17025, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 29 } }, "object": { "type": "Identifier", "start": 17000, "end": 17008, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17009, "end": 17025, "loc": { "start": { "line": 495, "column": 13 }, "end": { "line": 495, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17026, "end": 17036, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 495, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17038, "end": 17060, "loc": { "start": { "line": 495, "column": 42 }, "end": { "line": 495, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17038, "end": 17042, "loc": { "start": { "line": 495, "column": 42 }, "end": { "line": 495, "column": 46 } } }, "property": { "type": "Identifier", "start": 17043, "end": 17060, "loc": { "start": { "line": 495, "column": 47 }, "end": { "line": 495, "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": 16670, "end": 16760, "loc": { "start": { "line": 485, "column": 2 }, "end": { "line": 487, "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": 17073, "end": 17185, "loc": { "start": { "line": 498, "column": 2 }, "end": { "line": 500, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17189, "end": 17739, "loc": { "start": { "line": 501, "column": 2 }, "end": { "line": 518, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17189, "end": 17206, "loc": { "start": { "line": 501, "column": 2 }, "end": { "line": 501, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17207, "end": 17212, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17213, "end": 17739, "loc": { "start": { "line": 501, "column": 26 }, "end": { "line": 518, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17220, "end": 17275, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17224, "end": 17274, "loc": { "start": { "line": 502, "column": 8 }, "end": { "line": 502, "column": 58 } }, "id": { "type": "Identifier", "start": 17224, "end": 17237, "loc": { "start": { "line": 502, "column": 8 }, "end": { "line": 502, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 17240, "end": 17274, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 17240, "end": 17272, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17240, "end": 17260, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 44 } }, "object": { "type": "MemberExpression", "start": 17240, "end": 17252, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 36 } }, "object": { "type": "Identifier", "start": 17240, "end": 17245, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17246, "end": 17252, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17253, "end": 17260, "loc": { "start": { "line": 502, "column": 37 }, "end": { "line": 502, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17261, "end": 17272, "loc": { "start": { "line": 502, "column": 45 }, "end": { "line": 502, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 17283, "end": 17734, "loc": { "start": { "line": 504, "column": 4 }, "end": { "line": 517, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17294, "end": 17358, "loc": { "start": { "line": 505, "column": 6 }, "end": { "line": 506, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17294, "end": 17322, "loc": { "start": { "line": 505, "column": 6 }, "end": { "line": 505, "column": 34 } }, "left": { "type": "Identifier", "start": 17294, "end": 17307, "loc": { "start": { "line": 505, "column": 6 }, "end": { "line": 505, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17312, "end": 17322, "loc": { "start": { "line": 505, "column": 24 }, "end": { "line": 505, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17333, "end": 17358, "loc": { "start": { "line": 506, "column": 6 }, "end": { "line": 506, "column": 31 } }, "left": { "type": "Identifier", "start": 17333, "end": 17346, "loc": { "start": { "line": 506, "column": 6 }, "end": { "line": 506, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17351, "end": 17358, "loc": { "start": { "line": 506, "column": 24 }, "end": { "line": 506, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 17365, "end": 17734, "loc": { "start": { "line": 507, "column": 5 }, "end": { "line": 517, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17530, "end": 17579, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 17530, "end": 17578, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17530, "end": 17548, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17530, "end": 17534, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17535, "end": 17548, "loc": { "start": { "line": 512, "column": 11 }, "end": { "line": 512, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 17551, "end": 17578, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17551, "end": 17563, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 39 } }, "object": { "type": "Identifier", "start": 17551, "end": 17556, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17557, "end": 17563, "loc": { "start": { "line": 512, "column": 33 }, "end": { "line": 512, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17564, "end": 17578, "loc": { "start": { "line": 512, "column": 40 }, "end": { "line": 512, "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": 17374, "end": 17522, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 511, "column": 9 } } } ] }, { "type": "IfStatement", "start": 17589, "end": 17722, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 516, "column": 7 } }, "test": { "type": "MemberExpression", "start": 17592, "end": 17610, "loc": { "start": { "line": 514, "column": 9 }, "end": { "line": 514, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17592, "end": 17604, "loc": { "start": { "line": 514, "column": 9 }, "end": { "line": 514, "column": 21 } }, "object": { "type": "ThisExpression", "start": 17592, "end": 17596, "loc": { "start": { "line": 514, "column": 9 }, "end": { "line": 514, "column": 13 } } }, "property": { "type": "Identifier", "start": 17597, "end": 17604, "loc": { "start": { "line": 514, "column": 14 }, "end": { "line": 514, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17605, "end": 17610, "loc": { "start": { "line": 514, "column": 22 }, "end": { "line": 514, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17611, "end": 17722, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 516, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17622, "end": 17713, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 99 } }, "expression": { "type": "CallExpression", "start": 17622, "end": 17712, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 17622, "end": 17633, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 19 } }, "object": { "type": "Identifier", "start": 17622, "end": 17629, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17630, "end": 17633, "loc": { "start": { "line": 515, "column": 16 }, "end": { "line": 515, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17634, "end": 17646, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 17648, "end": 17675, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 61 } }, "object": { "type": "MemberExpression", "start": 17648, "end": 17660, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 46 } }, "object": { "type": "Identifier", "start": 17648, "end": 17653, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17654, "end": 17660, "loc": { "start": { "line": 515, "column": 40 }, "end": { "line": 515, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17661, "end": 17675, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 17677, "end": 17711, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 17677, "end": 17709, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 95 } }, "object": { "type": "MemberExpression", "start": 17677, "end": 17697, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 83 } }, "object": { "type": "MemberExpression", "start": 17677, "end": 17689, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 75 } }, "object": { "type": "Identifier", "start": 17677, "end": 17682, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17683, "end": 17689, "loc": { "start": { "line": 515, "column": 69 }, "end": { "line": 515, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17690, "end": 17697, "loc": { "start": { "line": 515, "column": 76 }, "end": { "line": 515, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17698, "end": 17709, "loc": { "start": { "line": 515, "column": 84 }, "end": { "line": 515, "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": 17073, "end": 17185, "loc": { "start": { "line": 498, "column": 2 }, "end": { "line": 500, "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": 17745, "end": 17865, "loc": { "start": { "line": 520, "column": 2 }, "end": { "line": 522, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17869, "end": 18105, "loc": { "start": { "line": 523, "column": 2 }, "end": { "line": 535, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17869, "end": 17875, "loc": { "start": { "line": 523, "column": 2 }, "end": { "line": 523, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17877, "end": 18105, "loc": { "start": { "line": 523, "column": 10 }, "end": { "line": 535, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17884, "end": 17949, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 526, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17887, "end": 17905, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17887, "end": 17899, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17887, "end": 17891, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 11 } } }, "property": { "type": "Identifier", "start": 17892, "end": 17899, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17900, "end": 17905, "loc": { "start": { "line": 524, "column": 20 }, "end": { "line": 524, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17906, "end": 17949, "loc": { "start": { "line": 524, "column": 26 }, "end": { "line": 526, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17915, "end": 17942, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 33 } }, "expression": { "type": "CallExpression", "start": 17915, "end": 17941, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 17915, "end": 17926, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 17 } }, "object": { "type": "Identifier", "start": 17915, "end": 17922, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17923, "end": 17926, "loc": { "start": { "line": 525, "column": 14 }, "end": { "line": 525, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17927, "end": 17940, "loc": { "start": { "line": 525, "column": 18 }, "end": { "line": 525, "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": 17957, "end": 17992, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17998, "end": 18017, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 23 } }, "expression": { "type": "CallExpression", "start": 17998, "end": 18016, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 17998, "end": 18014, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17998, "end": 18002, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18003, "end": 18014, "loc": { "start": { "line": 531, "column": 9 }, "end": { "line": 531, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17957, "end": 17992, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "column": 7 } } } ] }, { "type": "IfStatement", "start": 18025, "end": 18100, "loc": { "start": { "line": 533, "column": 4 }, "end": { "line": 534, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 18028, "end": 18069, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 18028, "end": 18054, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18035, "end": 18054, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 33 } }, "object": { "type": "MemberExpression", "start": 18035, "end": 18047, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18035, "end": 18039, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 18 } } }, "property": { "type": "Identifier", "start": 18040, "end": 18047, "loc": { "start": { "line": 533, "column": 19 }, "end": { "line": 533, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18048, "end": 18054, "loc": { "start": { "line": 533, "column": 27 }, "end": { "line": 533, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18059, "end": 18069, "loc": { "start": { "line": 533, "column": 38 }, "end": { "line": 533, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18078, "end": 18100, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18078, "end": 18099, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18078, "end": 18097, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18078, "end": 18090, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18078, "end": 18082, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 10 } } }, "property": { "type": "Identifier", "start": 18083, "end": 18090, "loc": { "start": { "line": 534, "column": 11 }, "end": { "line": 534, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18091, "end": 18097, "loc": { "start": { "line": 534, "column": 19 }, "end": { "line": 534, "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": 17745, "end": 17865, "loc": { "start": { "line": 520, "column": 2 }, "end": { "line": 522, "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": 18111, "end": 18229, "loc": { "start": { "line": 537, "column": 2 }, "end": { "line": 539, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18233, "end": 18334, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 543, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18233, "end": 18241, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 540, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18243, "end": 18334, "loc": { "start": { "line": 540, "column": 12 }, "end": { "line": 543, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18250, "end": 18329, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 542, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18253, "end": 18296, "loc": { "start": { "line": 541, "column": 7 }, "end": { "line": 541, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18253, "end": 18281, "loc": { "start": { "line": 541, "column": 7 }, "end": { "line": 541, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18260, "end": 18281, "loc": { "start": { "line": 541, "column": 14 }, "end": { "line": 541, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18260, "end": 18272, "loc": { "start": { "line": 541, "column": 14 }, "end": { "line": 541, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18260, "end": 18264, "loc": { "start": { "line": 541, "column": 14 }, "end": { "line": 541, "column": 18 } } }, "property": { "type": "Identifier", "start": 18265, "end": 18272, "loc": { "start": { "line": 541, "column": 19 }, "end": { "line": 541, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18273, "end": 18281, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18286, "end": 18296, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18305, "end": 18329, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 30 } }, "expression": { "type": "CallExpression", "start": 18305, "end": 18328, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 18305, "end": 18326, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18305, "end": 18317, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18305, "end": 18309, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 10 } } }, "property": { "type": "Identifier", "start": 18310, "end": 18317, "loc": { "start": { "line": 542, "column": 11 }, "end": { "line": 542, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18318, "end": 18326, "loc": { "start": { "line": 542, "column": 19 }, "end": { "line": 542, "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": 18111, "end": 18229, "loc": { "start": { "line": 537, "column": 2 }, "end": { "line": 539, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18340, "end": 18372, "loc": { "start": { "line": 545, "column": 2 }, "end": { "line": 547, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18376, "end": 18525, "loc": { "start": { "line": 548, "column": 2 }, "end": { "line": 553, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18376, "end": 18390, "loc": { "start": { "line": 548, "column": 2 }, "end": { "line": 548, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 18393, "end": 18525, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 553, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18394, "end": 18398, "loc": { "start": { "line": 548, "column": 20 }, "end": { "line": 548, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 18400, "end": 18412, "loc": { "start": { "line": 548, "column": 26 }, "end": { "line": 548, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 18417, "end": 18525, "loc": { "start": { "line": 548, "column": 43 }, "end": { "line": 553, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18424, "end": 18479, "loc": { "start": { "line": 549, "column": 4 }, "end": { "line": 550, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 18427, "end": 18446, "loc": { "start": { "line": 549, "column": 7 }, "end": { "line": 549, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18428, "end": 18446, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18428, "end": 18440, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18428, "end": 18432, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 12 } } }, "property": { "type": "Identifier", "start": 18433, "end": 18440, "loc": { "start": { "line": 549, "column": 13 }, "end": { "line": 549, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18441, "end": 18445, "loc": { "start": { "line": 549, "column": 21 }, "end": { "line": 549, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 18455, "end": 18479, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 18455, "end": 18478, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18455, "end": 18473, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 24 } }, "object": { "type": "MemberExpression", "start": 18455, "end": 18467, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18455, "end": 18459, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 10 } } }, "property": { "type": "Identifier", "start": 18460, "end": 18467, "loc": { "start": { "line": 550, "column": 11 }, "end": { "line": 550, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18468, "end": 18472, "loc": { "start": { "line": 550, "column": 19 }, "end": { "line": 550, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 18476, "end": 18478, "loc": { "start": { "line": 550, "column": 27 }, "end": { "line": 550, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 18487, "end": 18520, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18487, "end": 18519, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 36 } }, "callee": { "type": "Identifier", "start": 18487, "end": 18499, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 18500, "end": 18518, "loc": { "start": { "line": 552, "column": 17 }, "end": { "line": 552, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18500, "end": 18512, "loc": { "start": { "line": 552, "column": 17 }, "end": { "line": 552, "column": 29 } }, "object": { "type": "ThisExpression", "start": 18500, "end": 18504, "loc": { "start": { "line": 552, "column": 17 }, "end": { "line": 552, "column": 21 } } }, "property": { "type": "Identifier", "start": 18505, "end": 18512, "loc": { "start": { "line": 552, "column": 22 }, "end": { "line": 552, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18513, "end": 18517, "loc": { "start": { "line": 552, "column": 30 }, "end": { "line": 552, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18340, "end": 18372, "loc": { "start": { "line": 545, "column": 2 }, "end": { "line": 547, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18531, "end": 18560, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 557, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18564, "end": 19022, "loc": { "start": { "line": 558, "column": 2 }, "end": { "line": 573, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18564, "end": 18575, "loc": { "start": { "line": 558, "column": 2 }, "end": { "line": 558, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18577, "end": 19022, "loc": { "start": { "line": 558, "column": 15 }, "end": { "line": 573, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18584, "end": 19017, "loc": { "start": { "line": 559, "column": 4 }, "end": { "line": 572, "column": 5 } }, "test": { "type": "CallExpression", "start": 18587, "end": 18622, "loc": { "start": { "line": 559, "column": 7 }, "end": { "line": 559, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 18587, "end": 18600, "loc": { "start": { "line": 559, "column": 7 }, "end": { "line": 559, "column": 20 } }, "object": { "type": "Identifier", "start": 18587, "end": 18592, "loc": { "start": { "line": 559, "column": 7 }, "end": { "line": 559, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 18593, "end": 18600, "loc": { "start": { "line": 559, "column": 13 }, "end": { "line": 559, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18601, "end": 18621, "loc": { "start": { "line": 559, "column": 21 }, "end": { "line": 559, "column": 41 } }, "object": { "type": "MemberExpression", "start": 18601, "end": 18613, "loc": { "start": { "line": 559, "column": 21 }, "end": { "line": 559, "column": 33 } }, "object": { "type": "ThisExpression", "start": 18601, "end": 18605, "loc": { "start": { "line": 559, "column": 21 }, "end": { "line": 559, "column": 25 } } }, "property": { "type": "Identifier", "start": 18606, "end": 18613, "loc": { "start": { "line": 559, "column": 26 }, "end": { "line": 559, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18614, "end": 18621, "loc": { "start": { "line": 559, "column": 34 }, "end": { "line": 559, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 18623, "end": 19017, "loc": { "start": { "line": 559, "column": 43 }, "end": { "line": 572, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18632, "end": 19010, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 571, "column": 9 } }, "expression": { "type": "CallExpression", "start": 18632, "end": 19009, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 571, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 18632, "end": 18660, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18632, "end": 18652, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18632, "end": 18644, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18632, "end": 18636, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 10 } } }, "property": { "type": "Identifier", "start": 18637, "end": 18644, "loc": { "start": { "line": 560, "column": 11 }, "end": { "line": 560, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18645, "end": 18652, "loc": { "start": { "line": 560, "column": 19 }, "end": { "line": 560, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18653, "end": 18660, "loc": { "start": { "line": 560, "column": 27 }, "end": { "line": 560, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 18661, "end": 19008, "loc": { "start": { "line": 560, "column": 35 }, "end": { "line": 571, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18661, "end": 18667, "loc": { "start": { "line": 560, "column": 35 }, "end": { "line": 560, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 18671, "end": 19008, "loc": { "start": { "line": 560, "column": 45 }, "end": { "line": 571, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 18682, "end": 18708, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18686, "end": 18707, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 33 } }, "id": { "type": "Identifier", "start": 18686, "end": 18692, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 18695, "end": 18707, "loc": { "start": { "line": 561, "column": 21 }, "end": { "line": 561, "column": 33 } }, "callee": { "type": "Identifier", "start": 18699, "end": 18705, "loc": { "start": { "line": 561, "column": 25 }, "end": { "line": 561, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18720, "end": 18746, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 34 } } } ] }, { "type": "IfStatement", "start": 18756, "end": 18969, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 568, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 18759, "end": 18824, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18759, "end": 18782, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18759, "end": 18777, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 29 } }, "object": { "type": "Identifier", "start": 18759, "end": 18765, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 18766, "end": 18777, "loc": { "start": { "line": 564, "column": 18 }, "end": { "line": 564, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 18778, "end": 18782, "loc": { "start": { "line": 564, "column": 30 }, "end": { "line": 564, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 18786, "end": 18824, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18786, "end": 18809, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18786, "end": 18804, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 56 } }, "object": { "type": "Identifier", "start": 18786, "end": 18792, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18793, "end": 18804, "loc": { "start": { "line": 564, "column": 45 }, "end": { "line": 564, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18805, "end": 18809, "loc": { "start": { "line": 564, "column": 57 }, "end": { "line": 564, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 18814, "end": 18824, "loc": { "start": { "line": 564, "column": 66 }, "end": { "line": 564, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 18825, "end": 18969, "loc": { "start": { "line": 564, "column": 77 }, "end": { "line": 568, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18838, "end": 18958, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 567, "column": 12 } }, "expression": { "type": "CallExpression", "start": 18838, "end": 18957, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 567, "column": 11 } }, "callee": { "type": "MemberExpression", "start": 18838, "end": 18868, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 40 } }, "object": { "type": "MemberExpression", "start": 18838, "end": 18864, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 36 } }, "object": { "type": "MemberExpression", "start": 18838, "end": 18854, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18838, "end": 18842, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 14 } } }, "property": { "type": "Identifier", "start": 18843, "end": 18854, "loc": { "start": { "line": 565, "column": 15 }, "end": { "line": 565, "column": 26 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 18855, "end": 18864, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 36 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 18865, "end": 18868, "loc": { "start": { "line": 565, "column": 37 }, "end": { "line": 565, "column": 40 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 18883, "end": 18944, "loc": { "start": { "line": 566, "column": 12 }, "end": { "line": 566, "column": 73 } }, "expressions": [ { "type": "CallExpression", "start": 18893, "end": 18942, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 18893, "end": 18917, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 46 } }, "object": { "type": "MemberExpression", "start": 18893, "end": 18907, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 36 } }, "object": { "type": "ThisExpression", "start": 18893, "end": 18897, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 26 } } }, "property": { "type": "Identifier", "start": 18898, "end": 18907, "loc": { "start": { "line": 566, "column": 27 }, "end": { "line": 566, "column": 36 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18908, "end": 18917, "loc": { "start": { "line": 566, "column": 37 }, "end": { "line": 566, "column": 46 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18918, "end": 18941, "loc": { "start": { "line": 566, "column": 47 }, "end": { "line": 566, "column": 70 } }, "object": { "type": "MemberExpression", "start": 18918, "end": 18936, "loc": { "start": { "line": 566, "column": 47 }, "end": { "line": 566, "column": 65 } }, "object": { "type": "Identifier", "start": 18918, "end": 18924, "loc": { "start": { "line": 566, "column": 47 }, "end": { "line": 566, "column": 53 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18925, "end": 18936, "loc": { "start": { "line": 566, "column": 54 }, "end": { "line": 566, "column": 65 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18937, "end": 18941, "loc": { "start": { "line": 566, "column": 66 }, "end": { "line": 566, "column": 70 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 18884, "end": 18891, "loc": { "start": { "line": 566, "column": 13 }, "end": { "line": 566, "column": 20 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 18943, "end": 18943, "loc": { "start": { "line": 566, "column": 72 }, "end": { "line": 566, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18720, "end": 18746, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 18981, "end": 18999, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 26 } }, "expression": { "type": "CallExpression", "start": 18981, "end": 18998, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 18981, "end": 18992, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 19 } }, "object": { "type": "Identifier", "start": 18981, "end": 18987, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18988, "end": 18992, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 18993, "end": 18997, "loc": { "start": { "line": 570, "column": 20 }, "end": { "line": 570, "column": 24 } } } ] } } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18531, "end": 18560, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 557, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19028, "end": 19060, "loc": { "start": { "line": 575, "column": 2 }, "end": { "line": 577, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19064, "end": 19196, "loc": { "start": { "line": 578, "column": 2 }, "end": { "line": 583, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19064, "end": 19077, "loc": { "start": { "line": 578, "column": 2 }, "end": { "line": 578, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19080, "end": 19196, "loc": { "start": { "line": 578, "column": 18 }, "end": { "line": 583, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19081, "end": 19085, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19087, "end": 19091, "loc": { "start": { "line": 578, "column": 25 }, "end": { "line": 578, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 19096, "end": 19196, "loc": { "start": { "line": 578, "column": 34 }, "end": { "line": 583, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19103, "end": 19147, "loc": { "start": { "line": 579, "column": 4 }, "end": { "line": 580, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 19106, "end": 19125, "loc": { "start": { "line": 579, "column": 7 }, "end": { "line": 579, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19107, "end": 19125, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19107, "end": 19119, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19107, "end": 19111, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 12 } } }, "property": { "type": "Identifier", "start": 19112, "end": 19119, "loc": { "start": { "line": 579, "column": 13 }, "end": { "line": 579, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19120, "end": 19124, "loc": { "start": { "line": 579, "column": 21 }, "end": { "line": 579, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 19134, "end": 19147, "loc": { "start": { "line": 580, "column": 6 }, "end": { "line": 580, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 19141, "end": 19146, "loc": { "start": { "line": 580, "column": 13 }, "end": { "line": 580, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 19159, "end": 19191, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 582, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 19166, "end": 19190, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19166, "end": 19184, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19166, "end": 19178, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 23 } }, "object": { "type": "ThisExpression", "start": 19166, "end": 19170, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 15 } } }, "property": { "type": "Identifier", "start": 19171, "end": 19178, "loc": { "start": { "line": 582, "column": 16 }, "end": { "line": 582, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19179, "end": 19183, "loc": { "start": { "line": 582, "column": 24 }, "end": { "line": 582, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 19185, "end": 19189, "loc": { "start": { "line": 582, "column": 30 }, "end": { "line": 582, "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": 19028, "end": 19060, "loc": { "start": { "line": 575, "column": 2 }, "end": { "line": 577, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19202, "end": 19233, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 587, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19237, "end": 19305, "loc": { "start": { "line": 588, "column": 2 }, "end": { "line": 590, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19237, "end": 19251, "loc": { "start": { "line": 588, "column": 2 }, "end": { "line": 588, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19254, "end": 19305, "loc": { "start": { "line": 588, "column": 19 }, "end": { "line": 590, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19260, "end": 19305, "loc": { "start": { "line": 588, "column": 25 }, "end": { "line": 590, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 19267, "end": 19300, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 37 } }, "argument": { "type": "CallExpression", "start": 19274, "end": 19299, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19274, "end": 19285, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 22 } }, "object": { "type": "Identifier", "start": 19274, "end": 19280, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 19281, "end": 19285, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19286, "end": 19298, "loc": { "start": { "line": 589, "column": 23 }, "end": { "line": 589, "column": 35 } }, "object": { "type": "ThisExpression", "start": 19286, "end": 19290, "loc": { "start": { "line": 589, "column": 23 }, "end": { "line": 589, "column": 27 } } }, "property": { "type": "Identifier", "start": 19291, "end": 19298, "loc": { "start": { "line": 589, "column": 28 }, "end": { "line": 589, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19202, "end": 19233, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 587, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19311, "end": 19367, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19371, "end": 23685, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 737, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19371, "end": 19377, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 595, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19379, "end": 23685, "loc": { "start": { "line": 595, "column": 10 }, "end": { "line": 737, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 19427, "end": 19440, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 17 } }, "expression": { "type": "CallExpression", "start": 19427, "end": 19439, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 19427, "end": 19437, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 14 } }, "object": { "type": "ThisExpression", "start": 19427, "end": 19431, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19432, "end": 19437, "loc": { "start": { "line": 599, "column": 9 }, "end": { "line": 599, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19386, "end": 19421, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 598, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19448, "end": 19548, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 601, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19452, "end": 19547, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 103 } }, "id": { "type": "Identifier", "start": 19452, "end": 19463, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 19466, "end": 19547, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 103 } }, "test": { "type": "MemberExpression", "start": 19466, "end": 19485, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19466, "end": 19478, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 34 } }, "object": { "type": "ThisExpression", "start": 19466, "end": 19470, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 26 } } }, "property": { "type": "Identifier", "start": 19471, "end": 19478, "loc": { "start": { "line": 601, "column": 27 }, "end": { "line": 601, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19479, "end": 19485, "loc": { "start": { "line": 601, "column": 35 }, "end": { "line": 601, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 19488, "end": 19506, "loc": { "start": { "line": 601, "column": 44 }, "end": { "line": 601, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 19509, "end": 19547, "loc": { "start": { "line": 601, "column": 65 }, "end": { "line": 601, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 19522, "end": 19545, "loc": { "start": { "line": 601, "column": 78 }, "end": { "line": 601, "column": 101 } }, "object": { "type": "MemberExpression", "start": 19522, "end": 19534, "loc": { "start": { "line": 601, "column": 78 }, "end": { "line": 601, "column": 90 } }, "object": { "type": "ThisExpression", "start": 19522, "end": 19526, "loc": { "start": { "line": 601, "column": 78 }, "end": { "line": 601, "column": 82 } } }, "property": { "type": "Identifier", "start": 19527, "end": 19534, "loc": { "start": { "line": 601, "column": 83 }, "end": { "line": 601, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19535, "end": 19545, "loc": { "start": { "line": 601, "column": 91 }, "end": { "line": 601, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19510, "end": 19520, "loc": { "start": { "line": 601, "column": 66 }, "end": { "line": 601, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 19546, "end": 19546, "loc": { "start": { "line": 601, "column": 102 }, "end": { "line": 601, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 19554, "end": 19624, "loc": { "start": { "line": 602, "column": 4 }, "end": { "line": 602, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19558, "end": 19623, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 73 } }, "id": { "type": "Identifier", "start": 19558, "end": 19564, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 19567, "end": 19623, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 73 } }, "left": { "type": "MemberExpression", "start": 19567, "end": 19586, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 36 } }, "object": { "type": "MemberExpression", "start": 19567, "end": 19579, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19567, "end": 19571, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 21 } } }, "property": { "type": "Identifier", "start": 19572, "end": 19579, "loc": { "start": { "line": 602, "column": 22 }, "end": { "line": 602, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19580, "end": 19586, "loc": { "start": { "line": 602, "column": 30 }, "end": { "line": 602, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 19590, "end": 19623, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 19590, "end": 19621, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 71 } }, "object": { "type": "Identifier", "start": 19590, "end": 19604, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 19605, "end": 19621, "loc": { "start": { "line": 602, "column": 55 }, "end": { "line": 602, "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": 19632, "end": 19684, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 606, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19690, "end": 19718, "loc": { "start": { "line": 607, "column": 4 }, "end": { "line": 607, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19694, "end": 19717, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 31 } }, "id": { "type": "Identifier", "start": 19694, "end": 19712, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 19715, "end": 19717, "loc": { "start": { "line": 607, "column": 29 }, "end": { "line": 607, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19632, "end": 19684, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 606, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19724, "end": 20863, "loc": { "start": { "line": 608, "column": 4 }, "end": { "line": 636, "column": 5 } }, "test": { "type": "CallExpression", "start": 19727, "end": 19766, "loc": { "start": { "line": 608, "column": 7 }, "end": { "line": 608, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 19727, "end": 19740, "loc": { "start": { "line": 608, "column": 7 }, "end": { "line": 608, "column": 20 } }, "object": { "type": "Identifier", "start": 19727, "end": 19732, "loc": { "start": { "line": 608, "column": 7 }, "end": { "line": 608, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19733, "end": 19740, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19741, "end": 19765, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 45 } }, "object": { "type": "MemberExpression", "start": 19741, "end": 19753, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19741, "end": 19745, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 25 } } }, "property": { "type": "Identifier", "start": 19746, "end": 19753, "loc": { "start": { "line": 608, "column": 26 }, "end": { "line": 608, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19754, "end": 19765, "loc": { "start": { "line": 608, "column": 34 }, "end": { "line": 608, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19767, "end": 20863, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 636, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19776, "end": 20856, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 635, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19776, "end": 20855, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 635, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19776, "end": 19808, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19776, "end": 19800, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 30 } }, "object": { "type": "MemberExpression", "start": 19776, "end": 19788, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19776, "end": 19780, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 10 } } }, "property": { "type": "Identifier", "start": 19781, "end": 19788, "loc": { "start": { "line": 609, "column": 11 }, "end": { "line": 609, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19789, "end": 19800, "loc": { "start": { "line": 609, "column": 19 }, "end": { "line": 609, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 19801, "end": 19808, "loc": { "start": { "line": 609, "column": 31 }, "end": { "line": 609, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19809, "end": 20854, "loc": { "start": { "line": 609, "column": 39 }, "end": { "line": 635, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19809, "end": 19817, "loc": { "start": { "line": 609, "column": 39 }, "end": { "line": 609, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 19821, "end": 20854, "loc": { "start": { "line": 609, "column": 51 }, "end": { "line": 635, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 19832, "end": 20845, "loc": { "start": { "line": 610, "column": 8 }, "end": { "line": 634, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19835, "end": 19869, "loc": { "start": { "line": 610, "column": 11 }, "end": { "line": 610, "column": 45 } }, "left": { "type": "MemberExpression", "start": 19835, "end": 19851, "loc": { "start": { "line": 610, "column": 11 }, "end": { "line": 610, "column": 27 } }, "object": { "type": "Identifier", "start": 19835, "end": 19843, "loc": { "start": { "line": 610, "column": 11 }, "end": { "line": 610, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19844, "end": 19851, "loc": { "start": { "line": 610, "column": 20 }, "end": { "line": 610, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 19855, "end": 19869, "loc": { "start": { "line": 610, "column": 31 }, "end": { "line": 610, "column": 45 } }, "object": { "type": "Identifier", "start": 19855, "end": 19863, "loc": { "start": { "line": 610, "column": 31 }, "end": { "line": 610, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19864, "end": 19869, "loc": { "start": { "line": 610, "column": 40 }, "end": { "line": 610, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 19870, "end": 20711, "loc": { "start": { "line": 610, "column": 46 }, "end": { "line": 632, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19883, "end": 19900, "loc": { "start": { "line": 611, "column": 10 }, "end": { "line": 611, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19887, "end": 19899, "loc": { "start": { "line": 611, "column": 14 }, "end": { "line": 611, "column": 26 } }, "id": { "type": "Identifier", "start": 19887, "end": 19899, "loc": { "start": { "line": 611, "column": 14 }, "end": { "line": 611, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 19914, "end": 20025, "loc": { "start": { "line": 613, "column": 10 }, "end": { "line": 615, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 19917, "end": 19953, "loc": { "start": { "line": 613, "column": 13 }, "end": { "line": 613, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 19917, "end": 19940, "loc": { "start": { "line": 613, "column": 13 }, "end": { "line": 613, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19924, "end": 19940, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 613, "column": 36 } }, "object": { "type": "Identifier", "start": 19924, "end": 19932, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 613, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19933, "end": 19940, "loc": { "start": { "line": 613, "column": 29 }, "end": { "line": 613, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19945, "end": 19953, "loc": { "start": { "line": 613, "column": 41 }, "end": { "line": 613, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 19954, "end": 20025, "loc": { "start": { "line": 613, "column": 50 }, "end": { "line": 615, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 19969, "end": 20012, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 19969, "end": 20011, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 19969, "end": 19981, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 19984, "end": 20011, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 19984, "end": 20006, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 49 } }, "object": { "type": "MemberExpression", "start": 19984, "end": 20000, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 43 } }, "object": { "type": "Identifier", "start": 19984, "end": 19992, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19993, "end": 20000, "loc": { "start": { "line": 614, "column": 36 }, "end": { "line": 614, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 20001, "end": 20006, "loc": { "start": { "line": 614, "column": 44 }, "end": { "line": 614, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20007, "end": 20010, "loc": { "start": { "line": 614, "column": 50 }, "end": { "line": 614, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 20039, "end": 20700, "loc": { "start": { "line": 617, "column": 10 }, "end": { "line": 631, "column": 11 } }, "test": { "type": "Identifier", "start": 20042, "end": 20054, "loc": { "start": { "line": 617, "column": 13 }, "end": { "line": 617, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 20055, "end": 20700, "loc": { "start": { "line": 617, "column": 26 }, "end": { "line": 631, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20070, "end": 20687, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 630, "column": 15 } }, "expression": { "type": "CallExpression", "start": 20070, "end": 20686, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 630, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 20070, "end": 20090, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 618, "column": 32 } }, "object": { "type": "Identifier", "start": 20070, "end": 20082, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 618, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 20083, "end": 20090, "loc": { "start": { "line": 618, "column": 25 }, "end": { "line": 618, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20091, "end": 20685, "loc": { "start": { "line": 618, "column": 33 }, "end": { "line": 630, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20091, "end": 20102, "loc": { "start": { "line": 618, "column": 33 }, "end": { "line": 618, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 20106, "end": 20685, "loc": { "start": { "line": 618, "column": 48 }, "end": { "line": 630, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 20123, "end": 20173, "loc": { "start": { "line": 619, "column": 14 }, "end": { "line": 619, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20127, "end": 20172, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "column": 63 } }, "id": { "type": "Identifier", "start": 20127, "end": 20138, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 20141, "end": 20172, "loc": { "start": { "line": 619, "column": 32 }, "end": { "line": 619, "column": 63 } }, "object": { "type": "Identifier", "start": 20141, "end": 20159, "loc": { "start": { "line": 619, "column": 32 }, "end": { "line": 619, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20160, "end": 20171, "loc": { "start": { "line": 619, "column": 51 }, "end": { "line": 619, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20191, "end": 20230, "loc": { "start": { "line": 621, "column": 14 }, "end": { "line": 621, "column": 53 } } } ] }, { "type": "IfStatement", "start": 20246, "end": 20670, "loc": { "start": { "line": 622, "column": 14 }, "end": { "line": 629, "column": 15 } }, "test": { "type": "Identifier", "start": 20249, "end": 20260, "loc": { "start": { "line": 622, "column": 17 }, "end": { "line": 622, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20261, "end": 20579, "loc": { "start": { "line": 622, "column": 29 }, "end": { "line": 627, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 20381, "end": 20562, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 626, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 20384, "end": 20452, "loc": { "start": { "line": 624, "column": 19 }, "end": { "line": 624, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 20385, "end": 20452, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 20385, "end": 20412, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 47 } }, "object": { "type": "MemberExpression", "start": 20385, "end": 20399, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20385, "end": 20389, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20390, "end": 20399, "loc": { "start": { "line": 624, "column": 25 }, "end": { "line": 624, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20400, "end": 20412, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 20413, "end": 20435, "loc": { "start": { "line": 624, "column": 48 }, "end": { "line": 624, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 20413, "end": 20430, "loc": { "start": { "line": 624, "column": 48 }, "end": { "line": 624, "column": 65 } }, "object": { "type": "Identifier", "start": 20413, "end": 20424, "loc": { "start": { "line": 624, "column": 48 }, "end": { "line": 624, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 20425, "end": 20430, "loc": { "start": { "line": 624, "column": 60 }, "end": { "line": 624, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20431, "end": 20434, "loc": { "start": { "line": 624, "column": 66 }, "end": { "line": 624, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 20437, "end": 20451, "loc": { "start": { "line": 624, "column": 72 }, "end": { "line": 624, "column": 86 } }, "object": { "type": "Identifier", "start": 20437, "end": 20445, "loc": { "start": { "line": 624, "column": 72 }, "end": { "line": 624, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20446, "end": 20451, "loc": { "start": { "line": 624, "column": 81 }, "end": { "line": 624, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20453, "end": 20562, "loc": { "start": { "line": 624, "column": 88 }, "end": { "line": 626, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 20474, "end": 20543, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 20474, "end": 20542, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20474, "end": 20505, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 49 } }, "object": { "type": "Identifier", "start": 20474, "end": 20492, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20493, "end": 20504, "loc": { "start": { "line": 625, "column": 37 }, "end": { "line": 625, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 20508, "end": 20542, "loc": { "start": { "line": 625, "column": 52 }, "end": { "line": 625, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 20511, "end": 20522, "loc": { "start": { "line": 625, "column": 55 }, "end": { "line": 625, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 20526, "end": 20540, "loc": { "start": { "line": 625, "column": 70 }, "end": { "line": 625, "column": 84 } }, "object": { "type": "Identifier", "start": 20526, "end": 20534, "loc": { "start": { "line": 625, "column": 70 }, "end": { "line": 625, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20535, "end": 20540, "loc": { "start": { "line": 625, "column": 79 }, "end": { "line": 625, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20509, "end": 20509, "loc": { "start": { "line": 625, "column": 53 }, "end": { "line": 625, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 20523, "end": 20524, "loc": { "start": { "line": 625, "column": 67 }, "end": { "line": 625, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20541, "end": 20541, "loc": { "start": { "line": 625, "column": 85 }, "end": { "line": 625, "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": 20280, "end": 20363, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20585, "end": 20670, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 629, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 20604, "end": 20653, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 20604, "end": 20652, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20604, "end": 20635, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 47 } }, "object": { "type": "Identifier", "start": 20604, "end": 20622, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20623, "end": 20634, "loc": { "start": { "line": 628, "column": 35 }, "end": { "line": 628, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 20638, "end": 20652, "loc": { "start": { "line": 628, "column": 50 }, "end": { "line": 628, "column": 64 } }, "object": { "type": "Identifier", "start": 20638, "end": 20646, "loc": { "start": { "line": 628, "column": 50 }, "end": { "line": 628, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20647, "end": 20652, "loc": { "start": { "line": 628, "column": 59 }, "end": { "line": 628, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20191, "end": 20230, "loc": { "start": { "line": 621, "column": 14 }, "end": { "line": 621, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20717, "end": 20845, "loc": { "start": { "line": 632, "column": 15 }, "end": { "line": 634, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 20730, "end": 20834, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 114 } }, "expression": { "type": "CallExpression", "start": 20730, "end": 20834, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 20730, "end": 20742, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 22 } }, "object": { "type": "Identifier", "start": 20730, "end": 20737, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 20738, "end": 20742, "loc": { "start": { "line": 633, "column": 18 }, "end": { "line": 633, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 20743, "end": 20833, "loc": { "start": { "line": 633, "column": 23 }, "end": { "line": 633, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 20744, "end": 20832, "loc": { "start": { "line": 633, "column": 24 }, "end": { "line": 633, "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": 20871, "end": 20937, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 20943, "end": 21013, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 20943, "end": 21012, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 20943, "end": 20969, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20943, "end": 20959, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20943, "end": 20947, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20948, "end": 20959, "loc": { "start": { "line": 641, "column": 9 }, "end": { "line": 641, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20960, "end": 20969, "loc": { "start": { "line": 641, "column": 21 }, "end": { "line": 641, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 20973, "end": 21012, "loc": { "start": { "line": 641, "column": 34 }, "end": { "line": 641, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 20977, "end": 20995, "loc": { "start": { "line": 641, "column": 38 }, "end": { "line": 641, "column": 56 } }, "object": { "type": "MemberExpression", "start": 20977, "end": 20989, "loc": { "start": { "line": 641, "column": 38 }, "end": { "line": 641, "column": 50 } }, "object": { "type": "ThisExpression", "start": 20977, "end": 20981, "loc": { "start": { "line": 641, "column": 38 }, "end": { "line": 641, "column": 42 } } }, "property": { "type": "Identifier", "start": 20982, "end": 20989, "loc": { "start": { "line": 641, "column": 43 }, "end": { "line": 641, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20990, "end": 20995, "loc": { "start": { "line": 641, "column": 51 }, "end": { "line": 641, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 20999, "end": 21010, "loc": { "start": { "line": 641, "column": 60 }, "end": { "line": 641, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 20974, "end": 20975, "loc": { "start": { "line": 641, "column": 35 }, "end": { "line": 641, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20996, "end": 20997, "loc": { "start": { "line": 641, "column": 57 }, "end": { "line": 641, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21011, "end": 21011, "loc": { "start": { "line": 641, "column": 72 }, "end": { "line": 641, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20871, "end": 20937, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21021, "end": 21068, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 645, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21074, "end": 23270, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 714, "column": 7 } }, "expression": { "type": "CallExpression", "start": 21074, "end": 23269, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 714, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 21074, "end": 21113, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21074, "end": 21105, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 35 } }, "object": { "type": "Identifier", "start": 21074, "end": 21080, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 21081, "end": 21104, "loc": { "start": { "line": 646, "column": 11 }, "end": { "line": 646, "column": 34 } }, "object": { "type": "MemberExpression", "start": 21081, "end": 21093, "loc": { "start": { "line": 646, "column": 11 }, "end": { "line": 646, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21081, "end": 21085, "loc": { "start": { "line": 646, "column": 11 }, "end": { "line": 646, "column": 15 } } }, "property": { "type": "Identifier", "start": 21086, "end": 21093, "loc": { "start": { "line": 646, "column": 16 }, "end": { "line": 646, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21094, "end": 21104, "loc": { "start": { "line": 646, "column": 24 }, "end": { "line": 646, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 21106, "end": 21113, "loc": { "start": { "line": 646, "column": 36 }, "end": { "line": 646, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21114, "end": 23268, "loc": { "start": { "line": 646, "column": 44 }, "end": { "line": 714, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21115, "end": 21118, "loc": { "start": { "line": 646, "column": 45 }, "end": { "line": 646, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 21120, "end": 21126, "loc": { "start": { "line": 646, "column": 50 }, "end": { "line": 646, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 21131, "end": 23268, "loc": { "start": { "line": 646, "column": 61 }, "end": { "line": 714, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21140, "end": 21170, "loc": { "start": { "line": 647, "column": 6 }, "end": { "line": 647, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21144, "end": 21169, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 35 } }, "id": { "type": "Identifier", "start": 21144, "end": 21152, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 21155, "end": 21169, "loc": { "start": { "line": 647, "column": 21 }, "end": { "line": 647, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 21155, "end": 21164, "loc": { "start": { "line": 647, "column": 21 }, "end": { "line": 647, "column": 30 } }, "object": { "type": "Identifier", "start": 21155, "end": 21158, "loc": { "start": { "line": 647, "column": 21 }, "end": { "line": 647, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 21159, "end": 21164, "loc": { "start": { "line": 647, "column": 25 }, "end": { "line": 647, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21165, "end": 21168, "loc": { "start": { "line": 647, "column": 31 }, "end": { "line": 647, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21180, "end": 21223, "loc": { "start": { "line": 649, "column": 6 }, "end": { "line": 651, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 21231, "end": 21274, "loc": { "start": { "line": 652, "column": 6 }, "end": { "line": 652, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21235, "end": 21273, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 48 } }, "id": { "type": "Identifier", "start": 21235, "end": 21241, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21244, "end": 21273, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 21244, "end": 21266, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 41 } }, "object": { "type": "Identifier", "start": 21244, "end": 21252, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21253, "end": 21266, "loc": { "start": { "line": 652, "column": 28 }, "end": { "line": 652, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21267, "end": 21272, "loc": { "start": { "line": 652, "column": 42 }, "end": { "line": 652, "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": 21180, "end": 21223, "loc": { "start": { "line": 649, "column": 6 }, "end": { "line": 651, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21282, "end": 21311, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 21282, "end": 21310, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21282, "end": 21298, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 22 } }, "object": { "type": "Identifier", "start": 21282, "end": 21288, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 21289, "end": 21298, "loc": { "start": { "line": 653, "column": 13 }, "end": { "line": 653, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21302, "end": 21310, "loc": { "start": { "line": 653, "column": 26 }, "end": { "line": 653, "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": 21321, "end": 21382, "loc": { "start": { "line": 655, "column": 6 }, "end": { "line": 657, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21390, "end": 23156, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 708, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21390, "end": 23155, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 708, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21390, "end": 21406, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 658, "column": 22 } }, "object": { "type": "Identifier", "start": 21390, "end": 21398, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 658, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 21399, "end": 21406, "loc": { "start": { "line": 658, "column": 15 }, "end": { "line": 658, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21407, "end": 23154, "loc": { "start": { "line": 658, "column": 23 }, "end": { "line": 708, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21408, "end": 21414, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 21416, "end": 21422, "loc": { "start": { "line": 658, "column": 32 }, "end": { "line": 658, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 21427, "end": 23154, "loc": { "start": { "line": 658, "column": 43 }, "end": { "line": 708, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 21438, "end": 21494, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21442, "end": 21493, "loc": { "start": { "line": 659, "column": 12 }, "end": { "line": 659, "column": 63 } }, "id": { "type": "Identifier", "start": 21442, "end": 21453, "loc": { "start": { "line": 659, "column": 12 }, "end": { "line": 659, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 21456, "end": 21493, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 21456, "end": 21485, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 55 } }, "object": { "type": "MemberExpression", "start": 21456, "end": 21470, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 40 } }, "object": { "type": "ThisExpression", "start": 21456, "end": 21460, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 30 } } }, "property": { "type": "Identifier", "start": 21461, "end": 21470, "loc": { "start": { "line": 659, "column": 31 }, "end": { "line": 659, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21471, "end": 21485, "loc": { "start": { "line": 659, "column": 41 }, "end": { "line": 659, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21486, "end": 21492, "loc": { "start": { "line": 659, "column": 56 }, "end": { "line": 659, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21504, "end": 21554, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21508, "end": 21553, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 57 } }, "id": { "type": "Identifier", "start": 21508, "end": 21524, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 21527, "end": 21553, "loc": { "start": { "line": 660, "column": 31 }, "end": { "line": 660, "column": 57 } }, "object": { "type": "Identifier", "start": 21527, "end": 21545, "loc": { "start": { "line": 660, "column": 31 }, "end": { "line": 660, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21546, "end": 21552, "loc": { "start": { "line": 660, "column": 50 }, "end": { "line": 660, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21564, "end": 21681, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21568, "end": 21680, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 124 } }, "id": { "type": "Identifier", "start": 21568, "end": 21585, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 21588, "end": 21680, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 21588, "end": 21623, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 67 } }, "object": { "type": "MemberExpression", "start": 21588, "end": 21602, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 46 } }, "object": { "type": "ThisExpression", "start": 21588, "end": 21592, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 36 } } }, "property": { "type": "Identifier", "start": 21593, "end": 21602, "loc": { "start": { "line": 661, "column": 37 }, "end": { "line": 661, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21603, "end": 21623, "loc": { "start": { "line": 661, "column": 47 }, "end": { "line": 661, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21624, "end": 21630, "loc": { "start": { "line": 661, "column": 68 }, "end": { "line": 661, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 21632, "end": 21652, "loc": { "start": { "line": 661, "column": 76 }, "end": { "line": 661, "column": 96 } }, "object": { "type": "MemberExpression", "start": 21632, "end": 21644, "loc": { "start": { "line": 661, "column": 76 }, "end": { "line": 661, "column": 88 } }, "object": { "type": "ThisExpression", "start": 21632, "end": 21636, "loc": { "start": { "line": 661, "column": 76 }, "end": { "line": 661, "column": 80 } } }, "property": { "type": "Identifier", "start": 21637, "end": 21644, "loc": { "start": { "line": 661, "column": 81 }, "end": { "line": 661, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21645, "end": 21652, "loc": { "start": { "line": 661, "column": 89 }, "end": { "line": 661, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 21654, "end": 21679, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 123 } }, "object": { "type": "MemberExpression", "start": 21654, "end": 21666, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 110 } }, "object": { "type": "ThisExpression", "start": 21654, "end": 21658, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 102 } } }, "property": { "type": "Identifier", "start": 21659, "end": 21666, "loc": { "start": { "line": 661, "column": 103 }, "end": { "line": 661, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21667, "end": 21679, "loc": { "start": { "line": 661, "column": 111 }, "end": { "line": 661, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21693, "end": 21737, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 665, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 21747, "end": 21793, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 666, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21751, "end": 21792, "loc": { "start": { "line": 666, "column": 12 }, "end": { "line": 666, "column": 53 } }, "id": { "type": "Identifier", "start": 21751, "end": 21760, "loc": { "start": { "line": 666, "column": 12 }, "end": { "line": 666, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21763, "end": 21792, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 21763, "end": 21785, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 46 } }, "object": { "type": "Identifier", "start": 21763, "end": 21771, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21772, "end": 21785, "loc": { "start": { "line": 666, "column": 33 }, "end": { "line": 666, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21786, "end": 21791, "loc": { "start": { "line": 666, "column": 47 }, "end": { "line": 666, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21693, "end": 21737, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 665, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 21803, "end": 21900, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 21803, "end": 21899, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21803, "end": 21822, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 27 } }, "object": { "type": "Identifier", "start": 21803, "end": 21812, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21813, "end": 21822, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 21826, "end": 21899, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 21839, "end": 21850, "loc": { "start": { "line": 667, "column": 44 }, "end": { "line": 667, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 21853, "end": 21897, "loc": { "start": { "line": 667, "column": 58 }, "end": { "line": 667, "column": 102 } }, "test": { "type": "Identifier", "start": 21853, "end": 21869, "loc": { "start": { "line": 667, "column": 58 }, "end": { "line": 667, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 21872, "end": 21892, "loc": { "start": { "line": 667, "column": 77 }, "end": { "line": 667, "column": 97 } }, "left": { "type": "StringLiteral", "start": 21872, "end": 21875, "loc": { "start": { "line": 667, "column": 77 }, "end": { "line": 667, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 21876, "end": 21892, "loc": { "start": { "line": 667, "column": 81 }, "end": { "line": 667, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 21895, "end": 21897, "loc": { "start": { "line": 667, "column": 100 }, "end": { "line": 667, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 21827, "end": 21837, "loc": { "start": { "line": 667, "column": 32 }, "end": { "line": 667, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 21851, "end": 21851, "loc": { "start": { "line": 667, "column": 56 }, "end": { "line": 667, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21898, "end": 21898, "loc": { "start": { "line": 667, "column": 103 }, "end": { "line": 667, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 21910, "end": 21969, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 21910, "end": 21968, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21910, "end": 21927, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 25 } }, "object": { "type": "Identifier", "start": 21910, "end": 21919, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21920, "end": 21927, "loc": { "start": { "line": 668, "column": 18 }, "end": { "line": 668, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 21930, "end": 21968, "loc": { "start": { "line": 668, "column": 28 }, "end": { "line": 668, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 21936, "end": 21968, "loc": { "start": { "line": 668, "column": 34 }, "end": { "line": 668, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 21936, "end": 21960, "loc": { "start": { "line": 668, "column": 34 }, "end": { "line": 668, "column": 58 } }, "object": { "type": "ThisExpression", "start": 21936, "end": 21940, "loc": { "start": { "line": 668, "column": 34 }, "end": { "line": 668, "column": 38 } } }, "property": { "type": "Identifier", "start": 21941, "end": 21960, "loc": { "start": { "line": 668, "column": 39 }, "end": { "line": 668, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21961, "end": 21967, "loc": { "start": { "line": 668, "column": 59 }, "end": { "line": 668, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } } }, { "type": "ExpressionStatement", "start": 21979, "end": 22048, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 21979, "end": 22047, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21979, "end": 22000, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 29 } }, "object": { "type": "Identifier", "start": 21979, "end": 21988, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21989, "end": 22000, "loc": { "start": { "line": 669, "column": 18 }, "end": { "line": 669, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 22003, "end": 22047, "loc": { "start": { "line": 669, "column": 32 }, "end": { "line": 669, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 22004, "end": 22005, "loc": { "start": { "line": 669, "column": 33 }, "end": { "line": 669, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 22010, "end": 22047, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 22010, "end": 22036, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 65 } }, "object": { "type": "ThisExpression", "start": 22010, "end": 22014, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 43 } } }, "property": { "type": "Identifier", "start": 22015, "end": 22036, "loc": { "start": { "line": 669, "column": 44 }, "end": { "line": 669, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22037, "end": 22043, "loc": { "start": { "line": 669, "column": 66 }, "end": { "line": 669, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22045, "end": 22046, "loc": { "start": { "line": 669, "column": 74 }, "end": { "line": 669, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22060, "end": 22106, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 673, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22116, "end": 22161, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 53 } }, "expression": { "type": "CallExpression", "start": 22116, "end": 22160, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 22116, "end": 22138, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 30 } }, "object": { "type": "Identifier", "start": 22116, "end": 22125, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22126, "end": 22138, "loc": { "start": { "line": 674, "column": 18 }, "end": { "line": 674, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22139, "end": 22151, "loc": { "start": { "line": 674, "column": 31 }, "end": { "line": 674, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 22153, "end": 22159, "loc": { "start": { "line": 674, "column": 45 }, "end": { "line": 674, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22060, "end": 22106, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 673, "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": 22173, "end": 22328, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 679, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22338, "end": 22404, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22342, "end": 22403, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 73 } }, "id": { "type": "Identifier", "start": 22342, "end": 22351, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 22354, "end": 22403, "loc": { "start": { "line": 680, "column": 24 }, "end": { "line": 680, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 22357, "end": 22380, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 50 } }, "object": { "type": "MemberExpression", "start": 22357, "end": 22369, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 39 } }, "object": { "type": "ThisExpression", "start": 22357, "end": 22361, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 31 } } }, "property": { "type": "Identifier", "start": 22362, "end": 22369, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22370, "end": 22380, "loc": { "start": { "line": 680, "column": 40 }, "end": { "line": 680, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 22385, "end": 22391, "loc": { "start": { "line": 680, "column": 55 }, "end": { "line": 680, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 22395, "end": 22401, "loc": { "start": { "line": 680, "column": 65 }, "end": { "line": 680, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 22355, "end": 22355, "loc": { "start": { "line": 680, "column": 25 }, "end": { "line": 680, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22381, "end": 22383, "loc": { "start": { "line": 680, "column": 51 }, "end": { "line": 680, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 22392, "end": 22393, "loc": { "start": { "line": 680, "column": 62 }, "end": { "line": 680, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 22402, "end": 22402, "loc": { "start": { "line": 680, "column": 72 }, "end": { "line": 680, "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": 22173, "end": 22328, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 679, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22414, "end": 22465, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 59 } }, "expression": { "type": "CallExpression", "start": 22414, "end": 22464, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22414, "end": 22436, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 30 } }, "object": { "type": "Identifier", "start": 22414, "end": 22423, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22424, "end": 22436, "loc": { "start": { "line": 681, "column": 18 }, "end": { "line": 681, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22437, "end": 22452, "loc": { "start": { "line": 681, "column": 31 }, "end": { "line": 681, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 22454, "end": 22463, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22477, "end": 22526, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22536, "end": 22599, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 71 } }, "expression": { "type": "CallExpression", "start": 22536, "end": 22598, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 22536, "end": 22558, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 30 } }, "object": { "type": "Identifier", "start": 22536, "end": 22545, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22546, "end": 22558, "loc": { "start": { "line": 686, "column": 18 }, "end": { "line": 686, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22559, "end": 22578, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 22580, "end": 22597, "loc": { "start": { "line": 686, "column": 52 }, "end": { "line": 686, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22477, "end": 22526, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22611, "end": 22669, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 690, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22679, "end": 22730, "loc": { "start": { "line": 691, "column": 8 }, "end": { "line": 691, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22683, "end": 22729, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 58 } }, "id": { "type": "Identifier", "start": 22683, "end": 22696, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22699, "end": 22729, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22699, "end": 22721, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 50 } }, "object": { "type": "Identifier", "start": 22699, "end": 22707, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22708, "end": 22721, "loc": { "start": { "line": 691, "column": 37 }, "end": { "line": 691, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22722, "end": 22728, "loc": { "start": { "line": 691, "column": 51 }, "end": { "line": 691, "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": 22611, "end": 22669, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 690, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22740, "end": 22784, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 22740, "end": 22783, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22740, "end": 22763, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 31 } }, "object": { "type": "Identifier", "start": 22740, "end": 22753, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 22754, "end": 22763, "loc": { "start": { "line": 692, "column": 22 }, "end": { "line": 692, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 22766, "end": 22783, "loc": { "start": { "line": 692, "column": 34 }, "end": { "line": 692, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 22794, "end": 22831, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 45 } }, "expression": { "type": "CallExpression", "start": 22794, "end": 22830, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 22794, "end": 22815, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 29 } }, "object": { "type": "Identifier", "start": 22794, "end": 22803, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22804, "end": 22815, "loc": { "start": { "line": 693, "column": 18 }, "end": { "line": 693, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22816, "end": 22829, "loc": { "start": { "line": 693, "column": 30 }, "end": { "line": 693, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22843, "end": 22896, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 697, "column": 11 } } } ] }, { "type": "IfStatement", "start": 22906, "end": 22983, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 699, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 22909, "end": 22937, "loc": { "start": { "line": 698, "column": 11 }, "end": { "line": 698, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 22910, "end": 22937, "loc": { "start": { "line": 698, "column": 12 }, "end": { "line": 698, "column": 39 } }, "object": { "type": "MemberExpression", "start": 22910, "end": 22929, "loc": { "start": { "line": 698, "column": 12 }, "end": { "line": 698, "column": 31 } }, "object": { "type": "ThisExpression", "start": 22910, "end": 22914, "loc": { "start": { "line": 698, "column": 12 }, "end": { "line": 698, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22915, "end": 22929, "loc": { "start": { "line": 698, "column": 17 }, "end": { "line": 698, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22930, "end": 22936, "loc": { "start": { "line": 698, "column": 32 }, "end": { "line": 698, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 22950, "end": 22983, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 22950, "end": 22982, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22950, "end": 22977, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 37 } }, "object": { "type": "MemberExpression", "start": 22950, "end": 22969, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 29 } }, "object": { "type": "ThisExpression", "start": 22950, "end": 22954, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 14 } } }, "property": { "type": "Identifier", "start": 22955, "end": 22969, "loc": { "start": { "line": 699, "column": 15 }, "end": { "line": 699, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 22970, "end": 22976, "loc": { "start": { "line": 699, "column": 30 }, "end": { "line": 699, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 22980, "end": 22982, "loc": { "start": { "line": 699, "column": 40 }, "end": { "line": 699, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22843, "end": 22896, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 697, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22995, "end": 23039, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 52 } }, "expression": { "type": "CallExpression", "start": 22995, "end": 23038, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 22995, "end": 23027, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 40 } }, "object": { "type": "MemberExpression", "start": 22995, "end": 23022, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 35 } }, "object": { "type": "MemberExpression", "start": 22995, "end": 23014, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 27 } }, "object": { "type": "ThisExpression", "start": 22995, "end": 22999, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 12 } } }, "property": { "type": "Identifier", "start": 23000, "end": 23014, "loc": { "start": { "line": 701, "column": 13 }, "end": { "line": 701, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 23015, "end": 23021, "loc": { "start": { "line": 701, "column": 28 }, "end": { "line": 701, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 23023, "end": 23027, "loc": { "start": { "line": 701, "column": 36 }, "end": { "line": 701, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23028, "end": 23037, "loc": { "start": { "line": 701, "column": 41 }, "end": { "line": 701, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23051, "end": 23103, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 705, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23113, "end": 23143, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 38 } }, "expression": { "type": "CallExpression", "start": 23113, "end": 23142, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 23113, "end": 23131, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 26 } }, "object": { "type": "Identifier", "start": 23113, "end": 23119, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23120, "end": 23131, "loc": { "start": { "line": 706, "column": 15 }, "end": { "line": 706, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23132, "end": 23141, "loc": { "start": { "line": 706, "column": 27 }, "end": { "line": 706, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23051, "end": 23103, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 705, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21321, "end": 21382, "loc": { "start": { "line": 655, "column": 6 }, "end": { "line": 657, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23166, "end": 23216, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 712, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23224, "end": 23261, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23224, "end": 23260, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23224, "end": 23252, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23224, "end": 23240, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23224, "end": 23228, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23229, "end": 23240, "loc": { "start": { "line": 713, "column": 11 }, "end": { "line": 713, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23241, "end": 23252, "loc": { "start": { "line": 713, "column": 23 }, "end": { "line": 713, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23253, "end": 23259, "loc": { "start": { "line": 713, "column": 35 }, "end": { "line": 713, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23166, "end": 23216, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 712, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21021, "end": 21068, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 645, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23278, "end": 23315, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 718, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 23321, "end": 23337, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23321, "end": 23336, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23321, "end": 23334, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23321, "end": 23325, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23326, "end": 23334, "loc": { "start": { "line": 719, "column": 9 }, "end": { "line": 719, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23278, "end": 23315, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 718, "column": 7 } } } ] }, { "type": "IfStatement", "start": 23345, "end": 23680, "loc": { "start": { "line": 721, "column": 4 }, "end": { "line": 736, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 23348, "end": 23365, "loc": { "start": { "line": 721, "column": 7 }, "end": { "line": 721, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 23349, "end": 23365, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 24 } }, "object": { "type": "ThisExpression", "start": 23349, "end": 23353, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 12 } } }, "property": { "type": "Identifier", "start": 23354, "end": 23365, "loc": { "start": { "line": 721, "column": 13 }, "end": { "line": 721, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 23366, "end": 23680, "loc": { "start": { "line": 721, "column": 25 }, "end": { "line": 736, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 23465, "end": 23489, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 23465, "end": 23488, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23465, "end": 23481, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23465, "end": 23469, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23470, "end": 23481, "loc": { "start": { "line": 725, "column": 11 }, "end": { "line": 725, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 23484, "end": 23488, "loc": { "start": { "line": 725, "column": 25 }, "end": { "line": 725, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23375, "end": 23457, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23499, "end": 23540, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23548, "end": 23602, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 23548, "end": 23601, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23548, "end": 23566, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 24 } }, "object": { "type": "Identifier", "start": 23548, "end": 23556, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 14 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 23557, "end": 23566, "loc": { "start": { "line": 730, "column": 15 }, "end": { "line": 730, "column": 24 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 23569, "end": 23601, "loc": { "start": { "line": 730, "column": 27 }, "end": { "line": 730, "column": 59 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 23575, "end": 23601, "loc": { "start": { "line": 730, "column": 33 }, "end": { "line": 730, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 23575, "end": 23599, "loc": { "start": { "line": 730, "column": 33 }, "end": { "line": 730, "column": 57 } }, "object": { "type": "ThisExpression", "start": 23575, "end": 23579, "loc": { "start": { "line": 730, "column": 33 }, "end": { "line": 730, "column": 37 } } }, "property": { "type": "Identifier", "start": 23580, "end": 23599, "loc": { "start": { "line": 730, "column": 38 }, "end": { "line": 730, "column": 57 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23499, "end": 23540, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23612, "end": 23651, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 734, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23659, "end": 23673, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23659, "end": 23672, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23659, "end": 23670, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23659, "end": 23663, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23664, "end": 23670, "loc": { "start": { "line": 735, "column": 11 }, "end": { "line": 735, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23612, "end": 23651, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 734, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19311, "end": 19367, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 23692, "end": 23722, "loc": { "start": { "line": 740, "column": 0 }, "end": { "line": 740, "column": 30 } }, "declaration": { "type": "Identifier", "start": 23707, "end": 23721, "loc": { "start": { "line": 740, "column": 15 }, "end": { "line": 740, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 23692, "end": 23722, "loc": { "start": { "line": 740, "column": 0 }, "end": { "line": 740, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 23688, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 738, "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": 23688, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 738, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7194, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 146, "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": 7194, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 146, "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 * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4219, "end": 4282, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4219, "end": 4281, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4219, "end": 4243, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4219, "end": 4223, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4224, "end": 4243, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4246, "end": 4281, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4246, "end": 4275, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4246, "end": 4270, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4246, "end": 4250, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 35 } } }, "property": { "type": "Identifier", "start": 4251, "end": 4270, "loc": { "start": { "line": 69, "column": 36 }, "end": { "line": 69, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4271, "end": 4275, "loc": { "start": { "line": 69, "column": 56 }, "end": { "line": 69, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4276, "end": 4280, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4288, "end": 4349, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4288, "end": 4348, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4288, "end": 4311, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4288, "end": 4292, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, "property": { "type": "Identifier", "start": 4293, "end": 4311, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4314, "end": 4348, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4314, "end": 4342, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4314, "end": 4337, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4314, "end": 4318, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 34 } } }, "property": { "type": "Identifier", "start": 4319, "end": 4337, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4338, "end": 4342, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4343, "end": 4347, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4355, "end": 4400, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4355, "end": 4399, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4355, "end": 4370, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4355, "end": 4359, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, "property": { "type": "Identifier", "start": 4360, "end": 4370, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4373, "end": 4399, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4373, "end": 4393, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4373, "end": 4388, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4373, "end": 4377, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 26 } } }, "property": { "type": "Identifier", "start": 4378, "end": 4388, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4389, "end": 4393, "loc": { "start": { "line": 71, "column": 38 }, "end": { "line": 71, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4394, "end": 4398, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4406, "end": 4447, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4406, "end": 4446, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4406, "end": 4419, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4406, "end": 4410, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 8 } } }, "property": { "type": "Identifier", "start": 4411, "end": 4419, "loc": { "start": { "line": 72, "column": 9 }, "end": { "line": 72, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4422, "end": 4446, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4422, "end": 4440, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4422, "end": 4435, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4422, "end": 4426, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } }, "property": { "type": "Identifier", "start": 4427, "end": 4435, "loc": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4436, "end": 4440, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4441, "end": 4445, "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4453, "end": 4494, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4453, "end": 4493, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4453, "end": 4466, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4453, "end": 4457, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 8 } } }, "property": { "type": "Identifier", "start": 4458, "end": 4466, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4469, "end": 4493, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4469, "end": 4487, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4469, "end": 4482, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4469, "end": 4473, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } }, "property": { "type": "Identifier", "start": 4474, "end": 4482, "loc": { "start": { "line": 73, "column": 25 }, "end": { "line": 73, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4483, "end": 4487, "loc": { "start": { "line": 73, "column": 34 }, "end": { "line": 73, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4488, "end": 4492, "loc": { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4500, "end": 4549, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4500, "end": 4548, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4500, "end": 4517, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4500, "end": 4504, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } } }, "property": { "type": "Identifier", "start": 4505, "end": 4517, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4520, "end": 4548, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4520, "end": 4542, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4520, "end": 4537, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4520, "end": 4524, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 28 } } }, "property": { "type": "Identifier", "start": 4525, "end": 4537, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4538, "end": 4542, "loc": { "start": { "line": 74, "column": 42 }, "end": { "line": 74, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4543, "end": 4547, "loc": { "start": { "line": 74, "column": 47 }, "end": { "line": 74, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4555, "end": 4590, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4555, "end": 4589, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4555, "end": 4565, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4555, "end": 4559, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4560, "end": 4565, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4568, "end": 4589, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4568, "end": 4583, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4568, "end": 4578, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4568, "end": 4572, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 21 } } }, "property": { "type": "Identifier", "start": 4573, "end": 4578, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4579, "end": 4583, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4584, "end": 4588, "loc": { "start": { "line": 75, "column": 33 }, "end": { "line": 75, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4596, "end": 4637, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4596, "end": 4636, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4596, "end": 4609, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4596, "end": 4600, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4601, "end": 4609, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4612, "end": 4636, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4612, "end": 4630, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4612, "end": 4625, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4612, "end": 4616, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 24 } } }, "property": { "type": "Identifier", "start": 4617, "end": 4625, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 76, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4626, "end": 4630, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4631, "end": 4635, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4643, "end": 4696, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4643, "end": 4695, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4643, "end": 4662, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4643, "end": 4647, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4648, "end": 4662, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4665, "end": 4695, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4665, "end": 4689, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4665, "end": 4684, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4665, "end": 4669, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 30 } } }, "property": { "type": "Identifier", "start": 4670, "end": 4684, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4685, "end": 4689, "loc": { "start": { "line": 77, "column": 46 }, "end": { "line": 77, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 51 }, "end": { "line": 77, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4702, "end": 4761, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4702, "end": 4760, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4702, "end": 4724, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4702, "end": 4706, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4707, "end": 4724, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4727, "end": 4760, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4727, "end": 4754, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4727, "end": 4749, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4727, "end": 4731, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 33 } } }, "property": { "type": "Identifier", "start": 4732, "end": 4749, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4750, "end": 4754, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4755, "end": 4759, "loc": { "start": { "line": 78, "column": 57 }, "end": { "line": 78, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4767, "end": 4824, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 4767, "end": 4823, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4767, "end": 4788, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4767, "end": 4771, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4772, "end": 4788, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 4791, "end": 4823, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 4791, "end": 4817, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4791, "end": 4812, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 49 } }, "object": { "type": "ThisExpression", "start": 4791, "end": 4795, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 32 } } }, "property": { "type": "Identifier", "start": 4796, "end": 4812, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 4813, "end": 4817, "loc": { "start": { "line": 79, "column": 50 }, "end": { "line": 79, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4818, "end": 4822, "loc": { "start": { "line": 79, "column": 55 }, "end": { "line": 79, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 4830, "end": 4877, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 4830, "end": 4876, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4830, "end": 4846, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4830, "end": 4834, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4835, "end": 4846, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 4849, "end": 4876, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 4849, "end": 4870, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4849, "end": 4865, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 39 } }, "object": { "type": "ThisExpression", "start": 4849, "end": 4853, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 27 } } }, "property": { "type": "Identifier", "start": 4854, "end": 4865, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 4866, "end": 4870, "loc": { "start": { "line": 80, "column": 40 }, "end": { "line": 80, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 80, "column": 45 }, "end": { "line": 80, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 4883, "end": 4942, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4883, "end": 4941, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4883, "end": 4905, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4883, "end": 4887, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4888, "end": 4905, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 4908, "end": 4941, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4908, "end": 4935, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4908, "end": 4930, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4908, "end": 4912, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 33 } } }, "property": { "type": "Identifier", "start": 4913, "end": 4930, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 4931, "end": 4935, "loc": { "start": { "line": 81, "column": 52 }, "end": { "line": 81, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4936, "end": 4940, "loc": { "start": { "line": 81, "column": 57 }, "end": { "line": 81, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4948, "end": 4985, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 4948, "end": 4984, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4948, "end": 4959, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 15 } }, "object": { "type": "ThisExpression", "start": 4948, "end": 4952, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4953, "end": 4959, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 4962, "end": 4984, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 4962, "end": 4978, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 34 } }, "object": { "type": "MemberExpression", "start": 4962, "end": 4973, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 29 } }, "object": { "type": "ThisExpression", "start": 4962, "end": 4966, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 22 } } }, "property": { "type": "Identifier", "start": 4967, "end": 4973, "loc": { "start": { "line": 82, "column": 23 }, "end": { "line": 82, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 4974, "end": 4978, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4979, "end": 4983, "loc": { "start": { "line": 82, "column": 35 }, "end": { "line": 82, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 4991, "end": 5032, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4991, "end": 5031, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4991, "end": 5004, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4991, "end": 4995, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4996, "end": 5004, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5007, "end": 5031, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5007, "end": 5025, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5007, "end": 5020, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5007, "end": 5011, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 24 } } }, "property": { "type": "Identifier", "start": 5012, "end": 5020, "loc": { "start": { "line": 83, "column": 25 }, "end": { "line": 83, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5021, "end": 5025, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5026, "end": 5030, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5038, "end": 5075, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5038, "end": 5074, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5038, "end": 5049, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5038, "end": 5042, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 5043, "end": 5049, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5052, "end": 5074, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5052, "end": 5068, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5052, "end": 5063, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 22 } } }, "property": { "type": "Identifier", "start": 5057, "end": 5063, "loc": { "start": { "line": 84, "column": 23 }, "end": { "line": 84, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5064, "end": 5068, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5069, "end": 5073, "loc": { "start": { "line": 84, "column": 35 }, "end": { "line": 84, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5081, "end": 5128, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5081, "end": 5127, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5081, "end": 5097, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5081, "end": 5085, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 5086, "end": 5097, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5100, "end": 5127, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5100, "end": 5121, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5100, "end": 5116, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5100, "end": 5104, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 5105, "end": 5116, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5117, "end": 5121, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5122, "end": 5126, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5134, "end": 5197, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5134, "end": 5196, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5134, "end": 5158, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5134, "end": 5138, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5139, "end": 5158, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5161, "end": 5196, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5161, "end": 5190, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5161, "end": 5185, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5161, "end": 5165, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 35 } } }, "property": { "type": "Identifier", "start": 5166, "end": 5185, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5186, "end": 5190, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5191, "end": 5195, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5203, "end": 5270, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5203, "end": 5269, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5203, "end": 5229, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5203, "end": 5207, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5208, "end": 5229, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5232, "end": 5269, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5232, "end": 5263, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5232, "end": 5258, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5232, "end": 5236, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 37 } } }, "property": { "type": "Identifier", "start": 5237, "end": 5258, "loc": { "start": { "line": 87, "column": 38 }, "end": { "line": 87, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5259, "end": 5263, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5264, "end": 5268, "loc": { "start": { "line": 87, "column": 65 }, "end": { "line": 87, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5276, "end": 5333, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5276, "end": 5332, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5276, "end": 5297, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5276, "end": 5280, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5281, "end": 5297, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5300, "end": 5332, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5300, "end": 5326, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5300, "end": 5321, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5300, "end": 5304, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 32 } } }, "property": { "type": "Identifier", "start": 5305, "end": 5321, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5322, "end": 5326, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5327, "end": 5331, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 59 } } } ] } }, "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6006, "end": 6022, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6006, "end": 6021, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6006, "end": 6016, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6006, "end": 6010, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6011, "end": 6016, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6019, "end": 6021, "loc": { "start": { "line": 104, "column": 17 }, "end": { "line": 104, "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6028, "end": 6068, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6028, "end": 6067, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6028, "end": 6062, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6028, "end": 6038, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6028, "end": 6032, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 8 } } }, "property": { "type": "Identifier", "start": 6033, "end": 6038, "loc": { "start": { "line": 105, "column": 9 }, "end": { "line": 105, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6039, "end": 6061, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6039, "end": 6051, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6039, "end": 6043, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 19 } } }, "property": { "type": "Identifier", "start": 6044, "end": 6051, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6052, "end": 6061, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6065, "end": 6067, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "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": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6191, "end": 6252, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6191, "end": 6251, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6191, "end": 6212, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6191, "end": 6195, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6196, "end": 6212, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6215, "end": 6251, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6247, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 60 } }, "object": { "type": "CallExpression", "start": 6215, "end": 6242, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6237, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 50 } }, "object": { "type": "Identifier", "start": 6215, "end": 6231, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6232, "end": 6237, "loc": { "start": { "line": 110, "column": 45 }, "end": { "line": 110, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6238, "end": 6241, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6243, "end": 6247, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 110, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6248, "end": 6250, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "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": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6411, "end": 6436, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6411, "end": 6435, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6411, "end": 6430, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6411, "end": 6415, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6416, "end": 6430, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6433, "end": 6435, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6489, "end": 6668, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 125, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6492, "end": 6508, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6492, "end": 6496, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6497, "end": 6508, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6517, "end": 6531, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6517, "end": 6530, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6528, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 10 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6528, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6542, "end": 6668, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 125, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6551, "end": 6615, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6551, "end": 6614, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6551, "end": 6563, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 18 } }, "object": { "type": "Identifier", "start": 6551, "end": 6558, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6559, "end": 6563, "loc": { "start": { "line": 123, "column": 14 }, "end": { "line": 123, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6564, "end": 6613, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6568, "end": 6584, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6565, "end": 6566, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6585, "end": 6612, "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6623, "end": 6661, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6629, "end": 6660, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 43 } }, "callee": { "type": "Identifier", "start": 6633, "end": 6638, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6639, "end": 6659, "loc": { "start": { "line": 124, "column": 22 }, "end": { "line": 124, "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": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6795, "end": 6880, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 132, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6798, "end": 6832, "loc": { "start": { "line": 131, "column": 7 }, "end": { "line": 131, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6799, "end": 6832, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 41 } }, "object": { "type": "Identifier", "start": 6799, "end": 6805, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6806, "end": 6831, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6841, "end": 6880, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 6841, "end": 6879, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6841, "end": 6874, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 39 } }, "object": { "type": "Identifier", "start": 6841, "end": 6847, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6848, "end": 6873, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 6877, "end": 6879, "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "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": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6894, "end": 6984, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 6894, "end": 6983, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6894, "end": 6976, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 86 } }, "object": { "type": "MemberExpression", "start": 6894, "end": 6927, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 37 } }, "object": { "type": "Identifier", "start": 6894, "end": 6900, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6901, "end": 6926, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 6928, "end": 6975, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 6928, "end": 6952, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 62 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6942, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 52 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 42 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6942, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6943, "end": 6952, "loc": { "start": { "line": 134, "column": 53 }, "end": { "line": 134, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6953, "end": 6974, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 84 } }, "object": { "type": "ThisExpression", "start": 6953, "end": 6957, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 67 } } }, "property": { "type": "Identifier", "start": 6958, "end": 6974, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 6979, "end": 6983, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7044, "end": 7104, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7044, "end": 7103, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7044, "end": 7074, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7044, "end": 7048, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7049, "end": 7074, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7077, "end": 7103, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 63 } }, "callee": { "type": "Identifier", "start": 7081, "end": 7097, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7098, "end": 7102, "loc": { "start": { "line": 139, "column": 58 }, "end": { "line": 139, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7112, "end": 7140, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7146, "end": 7164, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7146, "end": 7163, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7146, "end": 7158, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7146, "end": 7150, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7151, "end": 7158, "loc": { "start": { "line": 144, "column": 9 }, "end": { "line": 144, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7161, "end": 7163, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7112, "end": 7140, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7170, "end": 7189, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7170, "end": 7188, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7170, "end": 7186, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7170, "end": 7174, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 8 } } }, "property": { "type": "Identifier", "start": 7175, "end": 7186, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "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": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7316, "end": 8703, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 202, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7316, "end": 7335, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7336, "end": 7342, "loc": { "start": { "line": 152, "column": 22 }, "end": { "line": 152, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7343, "end": 8703, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 202, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7350, "end": 7381, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7354, "end": 7380, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 34 } }, "id": { "type": "Identifier", "start": 7354, "end": 7359, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7362, "end": 7380, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7362, "end": 7374, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7362, "end": 7366, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 20 } } }, "property": { "type": "Identifier", "start": 7367, "end": 7374, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7375, "end": 7380, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7389, "end": 7438, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 157, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7444, "end": 7486, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 159, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7447, "end": 7464, "loc": { "start": { "line": 158, "column": 7 }, "end": { "line": 158, "column": 24 } }, "left": { "type": "Identifier", "start": 7447, "end": 7453, "loc": { "start": { "line": 158, "column": 7 }, "end": { "line": 158, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7458, "end": 7464, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7473, "end": 7486, "loc": { "start": { "line": 159, "column": 6 }, "end": { "line": 159, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7480, "end": 7485, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7389, "end": 7438, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 157, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7494, "end": 7533, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7539, "end": 7628, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 165, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7542, "end": 7587, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7542, "end": 7572, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7549, "end": 7572, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7549, "end": 7561, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7549, "end": 7553, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7554, "end": 7561, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7562, "end": 7572, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7577, "end": 7587, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7596, "end": 7628, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7596, "end": 7627, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7596, "end": 7619, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7596, "end": 7608, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7596, "end": 7600, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 10 } } }, "property": { "type": "Identifier", "start": 7601, "end": 7608, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7609, "end": 7619, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7620, "end": 7626, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7494, "end": 7533, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7640, "end": 7727, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 168, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7643, "end": 7678, "loc": { "start": { "line": 167, "column": 7 }, "end": { "line": 167, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7644, "end": 7678, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7644, "end": 7654, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7644, "end": 7648, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 12 } } }, "property": { "type": "Identifier", "start": 7649, "end": 7654, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7655, "end": 7677, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7655, "end": 7667, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7655, "end": 7659, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 23 } } }, "property": { "type": "Identifier", "start": 7660, "end": 7667, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7668, "end": 7677, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7687, "end": 7727, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7687, "end": 7726, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7687, "end": 7721, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7687, "end": 7697, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7687, "end": 7691, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, "property": { "type": "Identifier", "start": 7692, "end": 7697, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7698, "end": 7720, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7698, "end": 7710, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7698, "end": 7702, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 21 } } }, "property": { "type": "Identifier", "start": 7703, "end": 7710, "loc": { "start": { "line": 168, "column": 22 }, "end": { "line": 168, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7711, "end": 7720, "loc": { "start": { "line": 168, "column": 30 }, "end": { "line": 168, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7724, "end": 7726, "loc": { "start": { "line": 168, "column": 43 }, "end": { "line": 168, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7735, "end": 7863, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7739, "end": 7862, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 131 } }, "id": { "type": "Identifier", "start": 7739, "end": 7751, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7754, "end": 7862, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 7754, "end": 7784, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7754, "end": 7768, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7754, "end": 7758, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 27 } } }, "property": { "type": "Identifier", "start": 7759, "end": 7768, "loc": { "start": { "line": 170, "column": 28 }, "end": { "line": 170, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7769, "end": 7784, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7785, "end": 7791, "loc": { "start": { "line": 170, "column": 54 }, "end": { "line": 170, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7793, "end": 7827, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 96 } }, "object": { "type": "MemberExpression", "start": 7793, "end": 7803, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 72 } }, "object": { "type": "ThisExpression", "start": 7793, "end": 7797, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 66 } } }, "property": { "type": "Identifier", "start": 7798, "end": 7803, "loc": { "start": { "line": 170, "column": 67 }, "end": { "line": 170, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7804, "end": 7826, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 95 } }, "object": { "type": "MemberExpression", "start": 7804, "end": 7816, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 85 } }, "object": { "type": "ThisExpression", "start": 7804, "end": 7808, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 77 } } }, "property": { "type": "Identifier", "start": 7809, "end": 7816, "loc": { "start": { "line": 170, "column": 78 }, "end": { "line": 170, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7817, "end": 7826, "loc": { "start": { "line": 170, "column": 86 }, "end": { "line": 170, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 7829, "end": 7841, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 110 } }, "object": { "type": "ThisExpression", "start": 7829, "end": 7833, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 102 } } }, "property": { "type": "Identifier", "start": 7834, "end": 7841, "loc": { "start": { "line": 170, "column": 103 }, "end": { "line": 170, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 7843, "end": 7861, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 130 } }, "object": { "type": "ThisExpression", "start": 7843, "end": 7847, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 116 } } }, "property": { "type": "Identifier", "start": 7848, "end": 7861, "loc": { "start": { "line": 170, "column": 117 }, "end": { "line": 170, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 7871, "end": 8625, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 197, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7874, "end": 7925, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 58 } }, "left": { "type": "MemberExpression", "start": 7874, "end": 7908, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7874, "end": 7884, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7874, "end": 7878, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 11 } } }, "property": { "type": "Identifier", "start": 7879, "end": 7884, "loc": { "start": { "line": 172, "column": 12 }, "end": { "line": 172, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7885, "end": 7907, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7885, "end": 7897, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 30 } }, "object": { "type": "ThisExpression", "start": 7885, "end": 7889, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 22 } } }, "property": { "type": "Identifier", "start": 7890, "end": 7897, "loc": { "start": { "line": 172, "column": 23 }, "end": { "line": 172, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7898, "end": 7907, "loc": { "start": { "line": 172, "column": 31 }, "end": { "line": 172, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 7913, "end": 7925, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 7926, "end": 8625, "loc": { "start": { "line": 172, "column": 59 }, "end": { "line": 197, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8022, "end": 8155, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 179, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8025, "end": 8121, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8025, "end": 8047, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8025, "end": 8037, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8025, "end": 8029, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8030, "end": 8037, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8038, "end": 8047, "loc": { "start": { "line": 177, "column": 22 }, "end": { "line": 177, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8051, "end": 8121, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8051, "end": 8081, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8051, "end": 8065, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8051, "end": 8055, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 39 } } }, "property": { "type": "Identifier", "start": 8056, "end": 8065, "loc": { "start": { "line": 177, "column": 40 }, "end": { "line": 177, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8066, "end": 8081, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8082, "end": 8092, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8082, "end": 8086, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 70 } } }, "property": { "type": "Identifier", "start": 8087, "end": 8092, "loc": { "start": { "line": 177, "column": 71 }, "end": { "line": 177, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8094, "end": 8106, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8094, "end": 8098, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 82 } } }, "property": { "type": "Identifier", "start": 8099, "end": 8106, "loc": { "start": { "line": 177, "column": 83 }, "end": { "line": 177, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8108, "end": 8120, "loc": { "start": { "line": 177, "column": 92 }, "end": { "line": 177, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8122, "end": 8155, "loc": { "start": { "line": 177, "column": 106 }, "end": { "line": 179, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8133, "end": 8146, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8140, "end": 8145, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 7937, "end": 8014, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 176, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8165, "end": 8215, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 8165, "end": 8214, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8165, "end": 8199, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8165, "end": 8175, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8165, "end": 8169, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 10 } } }, "property": { "type": "Identifier", "start": 8170, "end": 8175, "loc": { "start": { "line": 181, "column": 11 }, "end": { "line": 181, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8176, "end": 8198, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8176, "end": 8188, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8176, "end": 8180, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 21 } } }, "property": { "type": "Identifier", "start": 8181, "end": 8188, "loc": { "start": { "line": 181, "column": 22 }, "end": { "line": 181, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8189, "end": 8198, "loc": { "start": { "line": 181, "column": 30 }, "end": { "line": 181, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 8202, "end": 8214, "loc": { "start": { "line": 181, "column": 43 }, "end": { "line": 181, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 8225, "end": 8286, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 184, "column": 50 } }, "test": { "type": "Identifier", "start": 8228, "end": 8233, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8244, "end": 8286, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8244, "end": 8285, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8244, "end": 8255, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 19 } }, "object": { "type": "Identifier", "start": 8244, "end": 8251, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8252, "end": 8255, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8256, "end": 8272, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8274, "end": 8284, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8274, "end": 8278, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 42 } } }, "property": { "type": "Identifier", "start": 8279, "end": 8284, "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "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": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8363, "end": 8444, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 190, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8366, "end": 8397, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8366, "end": 8378, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8366, "end": 8370, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8371, "end": 8378, "loc": { "start": { "line": 189, "column": 14 }, "end": { "line": 189, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8379, "end": 8397, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8408, "end": 8444, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8408, "end": 8443, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8408, "end": 8431, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8408, "end": 8412, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 12 } } }, "property": { "type": "Identifier", "start": 8413, "end": 8431, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8432, "end": 8442, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8432, "end": 8436, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 36 } } }, "property": { "type": "Identifier", "start": 8437, "end": 8442, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "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": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8503, "end": 8618, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8506, "end": 8549, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8506, "end": 8534, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8513, "end": 8534, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8513, "end": 8525, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8513, "end": 8517, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8518, "end": 8525, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8526, "end": 8534, "loc": { "start": { "line": 195, "column": 29 }, "end": { "line": 195, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8539, "end": 8549, "loc": { "start": { "line": 195, "column": 42 }, "end": { "line": 195, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8560, "end": 8618, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8560, "end": 8617, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8560, "end": 8581, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8560, "end": 8572, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8560, "end": 8564, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, "property": { "type": "Identifier", "start": 8565, "end": 8572, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8573, "end": 8581, "loc": { "start": { "line": 196, "column": 21 }, "end": { "line": 196, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8582, "end": 8616, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8582, "end": 8592, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8582, "end": 8586, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 34 } } }, "property": { "type": "Identifier", "start": 8587, "end": 8592, "loc": { "start": { "line": 196, "column": 35 }, "end": { "line": 196, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8593, "end": 8615, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8593, "end": 8605, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8593, "end": 8597, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 45 } } }, "property": { "type": "Identifier", "start": 8598, "end": 8605, "loc": { "start": { "line": 196, "column": 46 }, "end": { "line": 196, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8606, "end": 8615, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 196, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8637, "end": 8698, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 201, "column": 5 } }, "test": { "type": "Identifier", "start": 8640, "end": 8645, "loc": { "start": { "line": 199, "column": 7 }, "end": { "line": 199, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8646, "end": 8698, "loc": { "start": { "line": 199, "column": 13 }, "end": { "line": 201, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8655, "end": 8691, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8655, "end": 8690, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8655, "end": 8666, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 17 } }, "object": { "type": "Identifier", "start": 8655, "end": 8662, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8663, "end": 8666, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8667, "end": 8681, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8683, "end": 8689, "loc": { "start": { "line": 200, "column": 34 }, "end": { "line": 200, "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": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8709, "end": 8750, "loc": { "start": { "line": 204, "column": 2 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8754, "end": 8780, "loc": { "start": { "line": 207, "column": 2 }, "end": { "line": 207, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 8784, "end": 9487, "loc": { "start": { "line": 208, "column": 2 }, "end": { "line": 234, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8784, "end": 8805, "loc": { "start": { "line": 208, "column": 2 }, "end": { "line": 208, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8806, "end": 8812, "loc": { "start": { "line": 208, "column": 24 }, "end": { "line": 208, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 8814, "end": 8815, "loc": { "start": { "line": 208, "column": 32 }, "end": { "line": 208, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 8816, "end": 9487, "loc": { "start": { "line": 208, "column": 34 }, "end": { "line": 234, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8908, "end": 8932, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 8908, "end": 8931, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8908, "end": 8924, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8908, "end": 8912, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8913, "end": 8924, "loc": { "start": { "line": 212, "column": 9 }, "end": { "line": 212, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 8927, "end": 8931, "loc": { "start": { "line": 212, "column": 23 }, "end": { "line": 212, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 8823, "end": 8902, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 211, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 8940, "end": 9017, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 216, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9023, "end": 9482, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 233, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9023, "end": 9481, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 233, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9023, "end": 9039, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9023, "end": 9027, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9028, "end": 9039, "loc": { "start": { "line": 217, "column": 9 }, "end": { "line": 217, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9042, "end": 9481, "loc": { "start": { "line": 217, "column": 23 }, "end": { "line": 233, "column": 11 } }, "callee": { "type": "Identifier", "start": 9042, "end": 9052, "loc": { "start": { "line": 217, "column": 23 }, "end": { "line": 217, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9053, "end": 9475, "loc": { "start": { "line": 217, "column": 34 }, "end": { "line": 233, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9059, "end": 9475, "loc": { "start": { "line": 217, "column": 40 }, "end": { "line": 233, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9068, "end": 9429, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 231, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9081, "end": 9285, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 225, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9081, "end": 9097, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9081, "end": 9085, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 12 } } }, "property": { "type": "Identifier", "start": 9086, "end": 9097, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9124, "end": 9274, "loc": { "start": { "line": 221, "column": 10 }, "end": { "line": 224, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9124, "end": 9241, "loc": { "start": { "line": 221, "column": 10 }, "end": { "line": 223, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9124, "end": 9206, "loc": { "start": { "line": 221, "column": 10 }, "end": { "line": 222, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9125, "end": 9171, "loc": { "start": { "line": 221, "column": 11 }, "end": { "line": 221, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9125, "end": 9146, "loc": { "start": { "line": 221, "column": 11 }, "end": { "line": 221, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9126, "end": 9146, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9126, "end": 9141, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 27 } }, "object": { "type": "Identifier", "start": 9126, "end": 9132, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9133, "end": 9141, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9142, "end": 9145, "loc": { "start": { "line": 221, "column": 28 }, "end": { "line": 221, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9150, "end": 9171, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9151, "end": 9171, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9151, "end": 9166, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 52 } }, "object": { "type": "Identifier", "start": 9151, "end": 9157, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9158, "end": 9166, "loc": { "start": { "line": 221, "column": 44 }, "end": { "line": 221, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9167, "end": 9170, "loc": { "start": { "line": 221, "column": 53 }, "end": { "line": 221, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9124 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9187, "end": 9206, "loc": { "start": { "line": 222, "column": 10 }, "end": { "line": 222, "column": 29 } }, "left": { "type": "Identifier", "start": 9187, "end": 9193, "loc": { "start": { "line": 222, "column": 10 }, "end": { "line": 222, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9198, "end": 9206, "loc": { "start": { "line": 222, "column": 21 }, "end": { "line": 222, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9221, "end": 9241, "loc": { "start": { "line": 223, "column": 10 }, "end": { "line": 223, "column": 30 } }, "left": { "type": "Identifier", "start": 9221, "end": 9227, "loc": { "start": { "line": 223, "column": 10 }, "end": { "line": 223, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9232, "end": 9241, "loc": { "start": { "line": 223, "column": 21 }, "end": { "line": 223, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9256, "end": 9274, "loc": { "start": { "line": 224, "column": 10 }, "end": { "line": 224, "column": 28 } }, "left": { "type": "Identifier", "start": 9256, "end": 9262, "loc": { "start": { "line": 224, "column": 10 }, "end": { "line": 224, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9267, "end": 9274, "loc": { "start": { "line": 224, "column": 21 }, "end": { "line": 224, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9111 } } }, "consequent": { "type": "BlockStatement", "start": 9294, "end": 9429, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 231, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 9305, "end": 9375, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 228, "column": 46 } }, "test": { "type": "MemberExpression", "start": 9308, "end": 9326, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9308, "end": 9320, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9308, "end": 9312, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 15 } } }, "property": { "type": "Identifier", "start": 9313, "end": 9320, "loc": { "start": { "line": 227, "column": 16 }, "end": { "line": 227, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9321, "end": 9326, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9339, "end": 9375, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9339, "end": 9374, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 9339, "end": 9350, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 21 } }, "object": { "type": "Identifier", "start": 9339, "end": 9346, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9347, "end": 9350, "loc": { "start": { "line": 228, "column": 18 }, "end": { "line": 228, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9351, "end": 9365, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 9367, "end": 9373, "loc": { "start": { "line": 228, "column": 38 }, "end": { "line": 228, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 9387, "end": 9420, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 41 } }, "expression": { "type": "CallExpression", "start": 9387, "end": 9419, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 9387, "end": 9408, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9387, "end": 9391, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 12 } } }, "property": { "type": "Identifier", "start": 9392, "end": 9408, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9409, "end": 9415, "loc": { "start": { "line": 230, "column": 30 }, "end": { "line": 230, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9417, "end": 9418, "loc": { "start": { "line": 230, "column": 38 }, "end": { "line": 230, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9437, "end": 9468, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9437, "end": 9467, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 36 } }, "callee": { "type": "Identifier", "start": 9437, "end": 9449, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9450, "end": 9466, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9450, "end": 9454, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 23 } } }, "property": { "type": "Identifier", "start": 9455, "end": 9466, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 9477, "end": 9480, "loc": { "start": { "line": 233, "column": 7 }, "end": { "line": 233, "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": 8940, "end": 9017, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 216, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8709, "end": 8750, "loc": { "start": { "line": 204, "column": 2 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8754, "end": 8780, "loc": { "start": { "line": 207, "column": 2 }, "end": { "line": 207, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9493, "end": 9532, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 9536, "end": 9681, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 243, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9536, "end": 9555, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 239, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9557, "end": 9681, "loc": { "start": { "line": 239, "column": 23 }, "end": { "line": 243, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9564, "end": 9589, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9564, "end": 9588, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9564, "end": 9580, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9564, "end": 9568, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 8 } } }, "property": { "type": "Identifier", "start": 9569, "end": 9580, "loc": { "start": { "line": 240, "column": 9 }, "end": { "line": 240, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9583, "end": 9588, "loc": { "start": { "line": 240, "column": 23 }, "end": { "line": 240, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 9595, "end": 9676, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 242, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9598, "end": 9625, "loc": { "start": { "line": 241, "column": 7 }, "end": { "line": 241, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9598, "end": 9602, "loc": { "start": { "line": 241, "column": 7 }, "end": { "line": 241, "column": 11 } } }, "property": { "type": "Identifier", "start": 9603, "end": 9625, "loc": { "start": { "line": 241, "column": 12 }, "end": { "line": 241, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9634, "end": 9676, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9634, "end": 9675, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 47 } }, "callee": { "type": "Identifier", "start": 9634, "end": 9646, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9647, "end": 9674, "loc": { "start": { "line": 242, "column": 19 }, "end": { "line": 242, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9647, "end": 9651, "loc": { "start": { "line": 242, "column": 19 }, "end": { "line": 242, "column": 23 } } }, "property": { "type": "Identifier", "start": 9652, "end": 9674, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 242, "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": 9493, "end": 9532, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 9687, "end": 9723, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 247, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9727, "end": 9753, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 248, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 9757, "end": 10026, "loc": { "start": { "line": 249, "column": 2 }, "end": { "line": 257, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9757, "end": 9773, "loc": { "start": { "line": 249, "column": 2 }, "end": { "line": 249, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9774, "end": 9780, "loc": { "start": { "line": 249, "column": 19 }, "end": { "line": 249, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 9781, "end": 10026, "loc": { "start": { "line": 249, "column": 26 }, "end": { "line": 257, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9880, "end": 10021, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 256, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9880, "end": 10020, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 256, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9880, "end": 9907, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 31 } }, "object": { "type": "ThisExpression", "start": 9880, "end": 9884, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9885, "end": 9907, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9910, "end": 10020, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 256, "column": 11 } }, "callee": { "type": "Identifier", "start": 9910, "end": 9920, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 253, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9921, "end": 10014, "loc": { "start": { "line": 253, "column": 45 }, "end": { "line": 256, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9927, "end": 10014, "loc": { "start": { "line": 253, "column": 51 }, "end": { "line": 256, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9936, "end": 9969, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 39 } }, "expression": { "type": "CallExpression", "start": 9936, "end": 9968, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 9936, "end": 9960, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 30 } }, "object": { "type": "ThisExpression", "start": 9936, "end": 9940, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 10 } } }, "property": { "type": "Identifier", "start": 9941, "end": 9960, "loc": { "start": { "line": 254, "column": 11 }, "end": { "line": 254, "column": 30 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9961, "end": 9967, "loc": { "start": { "line": 254, "column": 31 }, "end": { "line": 254, "column": 37 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 9977, "end": 10007, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 36 } }, "expression": { "type": "CallExpression", "start": 9977, "end": 10006, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 9977, "end": 9998, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 27 } }, "object": { "type": "ThisExpression", "start": 9977, "end": 9981, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 10 } } }, "property": { "type": "Identifier", "start": 9982, "end": 9998, "loc": { "start": { "line": 255, "column": 11 }, "end": { "line": 255, "column": 27 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9999, "end": 10005, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 34 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10016, "end": 10019, "loc": { "start": { "line": 256, "column": 7 }, "end": { "line": 256, "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": 9788, "end": 9874, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 9687, "end": 9723, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 247, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9727, "end": 9753, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 248, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10133, "end": 10245, "loc": { "start": { "line": 262, "column": 2 }, "end": { "line": 266, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10133, "end": 10151, "loc": { "start": { "line": 262, "column": 2 }, "end": { "line": 262, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10153, "end": 10245, "loc": { "start": { "line": 262, "column": 22 }, "end": { "line": 266, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10160, "end": 10240, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10160, "end": 10239, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10160, "end": 10173, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10160, "end": 10164, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 8 } } }, "property": { "type": "Identifier", "start": 10165, "end": 10173, "loc": { "start": { "line": 263, "column": 9 }, "end": { "line": 263, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10174, "end": 10238, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 265, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10175, "end": 10183, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10188, "end": 10238, "loc": { "start": { "line": 263, "column": 32 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10197, "end": 10231, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10197, "end": 10230, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10197, "end": 10218, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 27 } }, "object": { "type": "Identifier", "start": 10197, "end": 10205, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10206, "end": 10218, "loc": { "start": { "line": 264, "column": 15 }, "end": { "line": 264, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10219, "end": 10229, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10219, "end": 10223, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 32 } } }, "property": { "type": "Identifier", "start": 10224, "end": 10229, "loc": { "start": { "line": 264, "column": 33 }, "end": { "line": 264, "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": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "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": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10375, "end": 10650, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 281, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10375, "end": 10385, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10386, "end": 10395, "loc": { "start": { "line": 272, "column": 13 }, "end": { "line": 272, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10396, "end": 10650, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 281, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10403, "end": 10451, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10403, "end": 10450, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10403, "end": 10412, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10415, "end": 10450, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 51 } }, "left": { "type": "Identifier", "start": 10415, "end": 10424, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10428, "end": 10450, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10428, "end": 10440, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10428, "end": 10432, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 33 } } }, "property": { "type": "Identifier", "start": 10433, "end": 10440, "loc": { "start": { "line": 273, "column": 34 }, "end": { "line": 273, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10441, "end": 10450, "loc": { "start": { "line": 273, "column": 42 }, "end": { "line": 273, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 10457, "end": 10497, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 10457, "end": 10496, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10457, "end": 10491, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10457, "end": 10467, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10457, "end": 10461, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } } }, "property": { "type": "Identifier", "start": 10462, "end": 10467, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 10468, "end": 10490, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10468, "end": 10480, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10468, "end": 10472, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 19 } } }, "property": { "type": "Identifier", "start": 10473, "end": 10480, "loc": { "start": { "line": 274, "column": 20 }, "end": { "line": 274, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10481, "end": 10490, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 10494, "end": 10496, "loc": { "start": { "line": 274, "column": 41 }, "end": { "line": 274, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10566, "end": 10645, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 280, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10569, "end": 10600, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10569, "end": 10581, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10569, "end": 10573, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10574, "end": 10581, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10582, "end": 10600, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 10609, "end": 10645, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10609, "end": 10644, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10609, "end": 10632, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10609, "end": 10613, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 10 } } }, "property": { "type": "Identifier", "start": 10614, "end": 10632, "loc": { "start": { "line": 280, "column": 11 }, "end": { "line": 280, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10633, "end": 10643, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 40 } }, "object": { "type": "ThisExpression", "start": 10633, "end": 10637, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, "property": { "type": "Identifier", "start": 10638, "end": 10643, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "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": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "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": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10822, "end": 11099, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 297, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10822, "end": 10830, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10831, "end": 10840, "loc": { "start": { "line": 287, "column": 11 }, "end": { "line": 287, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10841, "end": 11099, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 297, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10848, "end": 10896, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10848, "end": 10895, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10848, "end": 10857, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10860, "end": 10895, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 51 } }, "left": { "type": "Identifier", "start": 10860, "end": 10869, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10873, "end": 10895, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10873, "end": 10885, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10873, "end": 10877, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 33 } } }, "property": { "type": "Identifier", "start": 10878, "end": 10885, "loc": { "start": { "line": 288, "column": 34 }, "end": { "line": 288, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10886, "end": 10895, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10965, "end": 11044, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 294, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10968, "end": 10999, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10968, "end": 10980, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10968, "end": 10972, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10973, "end": 10980, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10981, "end": 10999, "loc": { "start": { "line": 293, "column": 20 }, "end": { "line": 293, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11008, "end": 11044, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11008, "end": 11043, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11008, "end": 11031, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11008, "end": 11012, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, "property": { "type": "Identifier", "start": 11013, "end": 11031, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11032, "end": 11042, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11032, "end": 11036, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 34 } } }, "property": { "type": "Identifier", "start": 11037, "end": 11042, "loc": { "start": { "line": 294, "column": 35 }, "end": { "line": 294, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11052, "end": 11094, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11059, "end": 11093, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11059, "end": 11069, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11059, "end": 11063, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 15 } } }, "property": { "type": "Identifier", "start": 11064, "end": 11069, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11070, "end": 11092, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11070, "end": 11082, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11070, "end": 11074, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 26 } } }, "property": { "type": "Identifier", "start": 11075, "end": 11082, "loc": { "start": { "line": 296, "column": 27 }, "end": { "line": 296, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11083, "end": 11092, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "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": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11269, "end": 11539, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 313, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11269, "end": 11277, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 304, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11278, "end": 11283, "loc": { "start": { "line": 304, "column": 11 }, "end": { "line": 304, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11285, "end": 11294, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11295, "end": 11539, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 313, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11302, "end": 11350, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11302, "end": 11349, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11302, "end": 11311, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11314, "end": 11349, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 51 } }, "left": { "type": "Identifier", "start": 11314, "end": 11323, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11327, "end": 11349, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11327, "end": 11339, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11327, "end": 11331, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 33 } } }, "property": { "type": "Identifier", "start": 11332, "end": 11339, "loc": { "start": { "line": 305, "column": 34 }, "end": { "line": 305, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11340, "end": 11349, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11356, "end": 11386, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11356, "end": 11385, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11356, "end": 11377, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11356, "end": 11366, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11356, "end": 11360, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 8 } } }, "property": { "type": "Identifier", "start": 11361, "end": 11366, "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11367, "end": 11376, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 11380, "end": 11385, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11455, "end": 11534, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 312, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11458, "end": 11489, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11458, "end": 11470, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11458, "end": 11462, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11463, "end": 11470, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11471, "end": 11489, "loc": { "start": { "line": 311, "column": 20 }, "end": { "line": 311, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11498, "end": 11534, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11498, "end": 11533, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11498, "end": 11521, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11498, "end": 11502, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 10 } } }, "property": { "type": "Identifier", "start": 11503, "end": 11521, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11522, "end": 11532, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11522, "end": 11526, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 34 } } }, "property": { "type": "Identifier", "start": 11527, "end": 11532, "loc": { "start": { "line": 312, "column": 35 }, "end": { "line": 312, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "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": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11660, "end": 11716, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 321, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11660, "end": 11672, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 319, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11673, "end": 11681, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 11682, "end": 11716, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 321, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11689, "end": 11711, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11689, "end": 11710, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11689, "end": 11699, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11689, "end": 11693, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, "property": { "type": "Identifier", "start": 11694, "end": 11699, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 11702, "end": 11710, "loc": { "start": { "line": 320, "column": 17 }, "end": { "line": 320, "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": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 11852, "end": 12053, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 336, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11852, "end": 11862, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 11865, "end": 12053, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 336, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11865, "end": 11871, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 327, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 11875, "end": 12053, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11882, "end": 11904, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11882, "end": 11903, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 11882, "end": 11888, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 11891, "end": 11903, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 25 } }, "left": { "type": "Identifier", "start": 11891, "end": 11897, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 11901, "end": 11903, "loc": { "start": { "line": 328, "column": 23 }, "end": { "line": 328, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 11910, "end": 11961, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 11910, "end": 11960, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11910, "end": 11922, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 16 } }, "object": { "type": "ThisExpression", "start": 11910, "end": 11914, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, "property": { "type": "Identifier", "start": 11915, "end": 11922, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 11925, "end": 11960, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 11925, "end": 11938, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 32 } }, "object": { "type": "Identifier", "start": 11925, "end": 11931, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 11932, "end": 11938, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11939, "end": 11951, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 45 } }, "object": { "type": "ThisExpression", "start": 11939, "end": 11943, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 37 } } }, "property": { "type": "Identifier", "start": 11944, "end": 11951, "loc": { "start": { "line": 329, "column": 38 }, "end": { "line": 329, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 11953, "end": 11959, "loc": { "start": { "line": 329, "column": 47 }, "end": { "line": 329, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 11967, "end": 11981, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11967, "end": 11980, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11967, "end": 11978, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11967, "end": 11971, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 8 } } }, "property": { "type": "Identifier", "start": 11972, "end": 11978, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Apply modules\r\n ", "start": 11989, "end": 12023, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 334, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 12029, "end": 12048, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 23 } }, "expression": { "type": "CallExpression", "start": 12029, "end": 12047, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 12029, "end": 12045, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12029, "end": 12033, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12034, "end": 12045, "loc": { "start": { "line": 335, "column": 9 }, "end": { "line": 335, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Apply modules\r\n ", "start": 11989, "end": 12023, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 334, "column": 7 } } } ] } ], "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "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": 12059, "end": 12168, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12172, "end": 12311, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 346, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12172, "end": 12177, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 342, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12179, "end": 12311, "loc": { "start": { "line": 342, "column": 9 }, "end": { "line": 346, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12186, "end": 12218, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12186, "end": 12217, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12186, "end": 12212, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12186, "end": 12202, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12186, "end": 12190, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 8 } } }, "property": { "type": "Identifier", "start": 12191, "end": 12202, "loc": { "start": { "line": 343, "column": 9 }, "end": { "line": 343, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12203, "end": 12212, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12215, "end": 12217, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12224, "end": 12275, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12224, "end": 12274, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12224, "end": 12250, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12224, "end": 12240, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12224, "end": 12228, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 8 } } }, "property": { "type": "Identifier", "start": 12229, "end": 12240, "loc": { "start": { "line": 344, "column": 9 }, "end": { "line": 344, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12241, "end": 12250, "loc": { "start": { "line": 344, "column": 21 }, "end": { "line": 344, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12253, "end": 12274, "loc": { "start": { "line": 344, "column": 33 }, "end": { "line": 344, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12253, "end": 12257, "loc": { "start": { "line": 344, "column": 33 }, "end": { "line": 344, "column": 37 } } }, "property": { "type": "Identifier", "start": 12258, "end": 12274, "loc": { "start": { "line": 344, "column": 38 }, "end": { "line": 344, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12281, "end": 12306, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12281, "end": 12305, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12281, "end": 12300, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12281, "end": 12285, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 8 } } }, "property": { "type": "Identifier", "start": 12286, "end": 12300, "loc": { "start": { "line": 345, "column": 9 }, "end": { "line": 345, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12303, "end": 12305, "loc": { "start": { "line": 345, "column": 26 }, "end": { "line": 345, "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": 12059, "end": 12168, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "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": 12317, "end": 12522, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12526, "end": 12894, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 361, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12526, "end": 12534, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12535, "end": 12543, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 12544, "end": 12894, "loc": { "start": { "line": 352, "column": 20 }, "end": { "line": 361, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12551, "end": 12735, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 356, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 12554, "end": 12588, "loc": { "start": { "line": 353, "column": 7 }, "end": { "line": 353, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12555, "end": 12588, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 41 } }, "object": { "type": "Identifier", "start": 12555, "end": 12561, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12562, "end": 12587, "loc": { "start": { "line": 353, "column": 15 }, "end": { "line": 353, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 12589, "end": 12735, "loc": { "start": { "line": 353, "column": 42 }, "end": { "line": 356, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12598, "end": 12681, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 89 } }, "expression": { "type": "CallExpression", "start": 12598, "end": 12680, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 12598, "end": 12610, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 18 } }, "object": { "type": "Identifier", "start": 12598, "end": 12605, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 12606, "end": 12610, "loc": { "start": { "line": 354, "column": 14 }, "end": { "line": 354, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 12611, "end": 12679, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 12612, "end": 12678, "loc": { "start": { "line": 354, "column": 20 }, "end": { "line": 354, "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": 12689, "end": 12728, "loc": { "start": { "line": 355, "column": 6 }, "end": { "line": 355, "column": 45 } }, "argument": { "type": "NewExpression", "start": 12695, "end": 12727, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 44 } }, "callee": { "type": "Identifier", "start": 12699, "end": 12704, "loc": { "start": { "line": 355, "column": 16 }, "end": { "line": 355, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 12705, "end": 12726, "loc": { "start": { "line": 355, "column": 22 }, "end": { "line": 355, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 12747, "end": 12889, "loc": { "start": { "line": 358, "column": 4 }, "end": { "line": 360, "column": 6 } }, "argument": { "type": "CallExpression", "start": 12754, "end": 12889, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 360, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12754, "end": 12808, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 65 } }, "object": { "type": "CallExpression", "start": 12754, "end": 12800, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12754, "end": 12765, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 22 } }, "object": { "type": "Identifier", "start": 12754, "end": 12760, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12761, "end": 12765, "loc": { "start": { "line": 358, "column": 18 }, "end": { "line": 358, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12766, "end": 12799, "loc": { "start": { "line": 358, "column": 23 }, "end": { "line": 358, "column": 56 } }, "object": { "type": "Identifier", "start": 12766, "end": 12772, "loc": { "start": { "line": 358, "column": 23 }, "end": { "line": 358, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12773, "end": 12798, "loc": { "start": { "line": 358, "column": 30 }, "end": { "line": 358, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 12801, "end": 12808, "loc": { "start": { "line": 358, "column": 58 }, "end": { "line": 358, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12809, "end": 12888, "loc": { "start": { "line": 358, "column": 66 }, "end": { "line": 360, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12810, "end": 12813, "loc": { "start": { "line": 358, "column": 67 }, "end": { "line": 358, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12818, "end": 12888, "loc": { "start": { "line": 358, "column": 75 }, "end": { "line": 360, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12827, "end": 12881, "loc": { "start": { "line": 359, "column": 6 }, "end": { "line": 359, "column": 60 } }, "expression": { "type": "CallExpression", "start": 12827, "end": 12880, "loc": { "start": { "line": 359, "column": 6 }, "end": { "line": 359, "column": 59 } }, "callee": { "type": "Identifier", "start": 12827, "end": 12835, "loc": { "start": { "line": 359, "column": 6 }, "end": { "line": 359, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 12836, "end": 12874, "loc": { "start": { "line": 359, "column": 15 }, "end": { "line": 359, "column": 53 } }, "object": { "type": "MemberExpression", "start": 12836, "end": 12869, "loc": { "start": { "line": 359, "column": 15 }, "end": { "line": 359, "column": 48 } }, "object": { "type": "Identifier", "start": 12836, "end": 12842, "loc": { "start": { "line": 359, "column": 15 }, "end": { "line": 359, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12843, "end": 12868, "loc": { "start": { "line": 359, "column": 22 }, "end": { "line": 359, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 12870, "end": 12873, "loc": { "start": { "line": 359, "column": 49 }, "end": { "line": 359, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 12876, "end": 12879, "loc": { "start": { "line": 359, "column": 55 }, "end": { "line": 359, "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": 12317, "end": 12522, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "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": 12900, "end": 13181, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 367, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13185, "end": 14417, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 411, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13185, "end": 13199, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 368, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13200, "end": 13207, "loc": { "start": { "line": 368, "column": 17 }, "end": { "line": 368, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13209, "end": 13218, "loc": { "start": { "line": 368, "column": 26 }, "end": { "line": 368, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13219, "end": 14417, "loc": { "start": { "line": 368, "column": 36 }, "end": { "line": 411, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13226, "end": 13273, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 370, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13229, "end": 13251, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13229, "end": 13239, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13230, "end": 13239, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13243, "end": 13251, "loc": { "start": { "line": 369, "column": 21 }, "end": { "line": 369, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13244, "end": 13251, "loc": { "start": { "line": 369, "column": 22 }, "end": { "line": 369, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13260, "end": 13273, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13267, "end": 13272, "loc": { "start": { "line": 370, "column": 13 }, "end": { "line": 370, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13281, "end": 14390, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 408, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13281, "end": 14389, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 408, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13281, "end": 13307, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 30 } }, "object": { "type": "CallExpression", "start": 13281, "end": 13299, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13281, "end": 13294, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 17 } }, "object": { "type": "Identifier", "start": 13281, "end": 13288, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13289, "end": 13294, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13295, "end": 13298, "loc": { "start": { "line": 372, "column": 18 }, "end": { "line": 372, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13300, "end": 13307, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13308, "end": 14388, "loc": { "start": { "line": 372, "column": 31 }, "end": { "line": 408, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13308, "end": 13314, "loc": { "start": { "line": 372, "column": 31 }, "end": { "line": 372, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13318, "end": 14388, "loc": { "start": { "line": 372, "column": 41 }, "end": { "line": 408, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13327, "end": 14381, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 407, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13327, "end": 14380, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 407, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13327, "end": 13355, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 34 } }, "object": { "type": "CallExpression", "start": 13327, "end": 13347, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13327, "end": 13342, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 21 } }, "object": { "type": "Identifier", "start": 13327, "end": 13336, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13337, "end": 13342, "loc": { "start": { "line": 373, "column": 16 }, "end": { "line": 373, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13343, "end": 13346, "loc": { "start": { "line": 373, "column": 22 }, "end": { "line": 373, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13348, "end": 13355, "loc": { "start": { "line": 373, "column": 27 }, "end": { "line": 373, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13356, "end": 14379, "loc": { "start": { "line": 373, "column": 35 }, "end": { "line": 407, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13356, "end": 13369, "loc": { "start": { "line": 373, "column": 35 }, "end": { "line": 373, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13373, "end": 14379, "loc": { "start": { "line": 373, "column": 52 }, "end": { "line": 407, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13384, "end": 13455, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 375, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13387, "end": 13412, "loc": { "start": { "line": 374, "column": 11 }, "end": { "line": 374, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13388, "end": 13412, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13388, "end": 13400, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13388, "end": 13392, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 16 } } }, "property": { "type": "Identifier", "start": 13393, "end": 13400, "loc": { "start": { "line": 374, "column": 17 }, "end": { "line": 374, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13401, "end": 13412, "loc": { "start": { "line": 374, "column": 25 }, "end": { "line": 374, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 13425, "end": 13455, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 13425, "end": 13454, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13425, "end": 13449, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 34 } }, "object": { "type": "MemberExpression", "start": 13425, "end": 13437, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 22 } }, "object": { "type": "ThisExpression", "start": 13425, "end": 13429, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 14 } } }, "property": { "type": "Identifier", "start": 13430, "end": 13437, "loc": { "start": { "line": 375, "column": 15 }, "end": { "line": 375, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13438, "end": 13449, "loc": { "start": { "line": 375, "column": 23 }, "end": { "line": 375, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 13452, "end": 13454, "loc": { "start": { "line": 375, "column": 37 }, "end": { "line": 375, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 13467, "end": 13494, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13471, "end": 13493, "loc": { "start": { "line": 377, "column": 12 }, "end": { "line": 377, "column": 34 } }, "id": { "type": "Identifier", "start": 13471, "end": 13485, "loc": { "start": { "line": 377, "column": 12 }, "end": { "line": 377, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 13488, "end": 13493, "loc": { "start": { "line": 377, "column": 29 }, "end": { "line": 377, "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": 13508, "end": 13599, "loc": { "start": { "line": 379, "column": 8 }, "end": { "line": 381, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 13609, "end": 14117, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 395, "column": 11 } }, "expression": { "type": "CallExpression", "start": 13609, "end": 14116, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 395, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 13609, "end": 13637, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13609, "end": 13633, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13609, "end": 13621, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13609, "end": 13613, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13614, "end": 13621, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 382, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13622, "end": 13633, "loc": { "start": { "line": 382, "column": 21 }, "end": { "line": 382, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13634, "end": 13637, "loc": { "start": { "line": 382, "column": 33 }, "end": { "line": 382, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13638, "end": 14115, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 395, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13638, "end": 13649, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 13653, "end": 14115, "loc": { "start": { "line": 382, "column": 52 }, "end": { "line": 395, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13668, "end": 14073, "loc": { "start": { "line": 384, "column": 10 }, "end": { "line": 393, "column": 11 } }, "test": { "type": "CallExpression", "start": 13671, "end": 13723, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13671, "end": 13708, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 50 } }, "object": { "type": "CallExpression", "start": 13671, "end": 13699, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 13671, "end": 13694, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13671, "end": 13688, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 30 } }, "object": { "type": "Identifier", "start": 13671, "end": 13682, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13683, "end": 13688, "loc": { "start": { "line": 384, "column": 25 }, "end": { "line": 384, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 13689, "end": 13694, "loc": { "start": { "line": 384, "column": 31 }, "end": { "line": 384, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13695, "end": 13698, "loc": { "start": { "line": 384, "column": 37 }, "end": { "line": 384, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13700, "end": 13708, "loc": { "start": { "line": 384, "column": 42 }, "end": { "line": 384, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13709, "end": 13722, "loc": { "start": { "line": 384, "column": 51 }, "end": { "line": 384, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 13724, "end": 14073, "loc": { "start": { "line": 384, "column": 66 }, "end": { "line": 393, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 13739, "end": 13761, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 13739, "end": 13760, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 13739, "end": 13753, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13756, "end": 13760, "loc": { "start": { "line": 385, "column": 29 }, "end": { "line": 385, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 13789, "end": 13843, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13793, "end": 13842, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 65 } }, "id": { "type": "Identifier", "start": 13793, "end": 13809, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 13812, "end": 13842, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13812, "end": 13837, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 60 } }, "object": { "type": "MemberExpression", "start": 13812, "end": 13831, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 54 } }, "object": { "type": "Identifier", "start": 13812, "end": 13823, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13824, "end": 13831, "loc": { "start": { "line": 387, "column": 47 }, "end": { "line": 387, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13832, "end": 13837, "loc": { "start": { "line": 387, "column": 55 }, "end": { "line": 387, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13838, "end": 13841, "loc": { "start": { "line": 387, "column": 61 }, "end": { "line": 387, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 13857, "end": 14060, "loc": { "start": { "line": 388, "column": 12 }, "end": { "line": 392, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 13860, "end": 13894, "loc": { "start": { "line": 388, "column": 15 }, "end": { "line": 388, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13861, "end": 13894, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 13861, "end": 13886, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 41 } }, "object": { "type": "Identifier", "start": 13861, "end": 13877, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13878, "end": 13886, "loc": { "start": { "line": 388, "column": 33 }, "end": { "line": 388, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13887, "end": 13893, "loc": { "start": { "line": 388, "column": 42 }, "end": { "line": 388, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13895, "end": 14060, "loc": { "start": { "line": 388, "column": 50 }, "end": { "line": 392, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13912, "end": 13934, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 13912, "end": 13933, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 13912, "end": 13926, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13929, "end": 13933, "loc": { "start": { "line": 389, "column": 31 }, "end": { "line": 389, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 13950, "end": 13980, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 44 } }, "expression": { "type": "CallExpression", "start": 13950, "end": 13979, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 13950, "end": 13971, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 35 } }, "object": { "type": "Identifier", "start": 13950, "end": 13966, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13967, "end": 13971, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 390, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13972, "end": 13978, "loc": { "start": { "line": 390, "column": 36 }, "end": { "line": 390, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 13996, "end": 14045, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 13996, "end": 14044, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13996, "end": 14015, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 33 } }, "object": { "type": "Identifier", "start": 13996, "end": 14007, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14008, "end": 14015, "loc": { "start": { "line": 391, "column": 26 }, "end": { "line": 391, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14018, "end": 14044, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14018, "end": 14039, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "column": 57 } }, "object": { "type": "Identifier", "start": 14018, "end": 14034, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14035, "end": 14039, "loc": { "start": { "line": 391, "column": 53 }, "end": { "line": 391, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14040, "end": 14043, "loc": { "start": { "line": 391, "column": 58 }, "end": { "line": 391, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14085, "end": 14104, "loc": { "start": { "line": 394, "column": 10 }, "end": { "line": 394, "column": 29 } }, "argument": { "type": "Identifier", "start": 14092, "end": 14103, "loc": { "start": { "line": 394, "column": 17 }, "end": { "line": 394, "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": 13508, "end": 13599, "loc": { "start": { "line": 379, "column": 8 }, "end": { "line": 381, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14129, "end": 14204, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14214, "end": 14368, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 405, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14217, "end": 14232, "loc": { "start": { "line": 400, "column": 11 }, "end": { "line": 400, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14218, "end": 14232, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14233, "end": 14368, "loc": { "start": { "line": 400, "column": 27 }, "end": { "line": 405, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14246, "end": 14357, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 404, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14246, "end": 14356, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 404, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14246, "end": 14275, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14246, "end": 14270, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14246, "end": 14258, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14246, "end": 14250, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 14 } } }, "property": { "type": "Identifier", "start": 14251, "end": 14258, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14259, "end": 14270, "loc": { "start": { "line": 401, "column": 23 }, "end": { "line": 401, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14271, "end": 14275, "loc": { "start": { "line": 401, "column": 35 }, "end": { "line": 401, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14276, "end": 14355, "loc": { "start": { "line": 401, "column": 40 }, "end": { "line": 404, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14291, "end": 14311, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14291, "end": 14296, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14298, "end": 14311, "loc": { "start": { "line": 402, "column": 19 }, "end": { "line": 402, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14326, "end": 14342, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14326, "end": 14333, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14335, "end": 14342, "loc": { "start": { "line": 403, "column": 21 }, "end": { "line": 403, "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": 14129, "end": 14204, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14398, "end": 14412, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14398, "end": 14411, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14398, "end": 14409, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14398, "end": 14402, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 8 } } }, "property": { "type": "Identifier", "start": 14403, "end": 14409, "loc": { "start": { "line": 410, "column": 9 }, "end": { "line": 410, "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": 12900, "end": 13181, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 367, "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": 14423, "end": 14763, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 417, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 14767, "end": 16184, "loc": { "start": { "line": 418, "column": 2 }, "end": { "line": 464, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14767, "end": 14784, "loc": { "start": { "line": 418, "column": 2 }, "end": { "line": 418, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14785, "end": 14792, "loc": { "start": { "line": 418, "column": 20 }, "end": { "line": 418, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 14794, "end": 14803, "loc": { "start": { "line": 418, "column": 29 }, "end": { "line": 418, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 14804, "end": 16184, "loc": { "start": { "line": 418, "column": 39 }, "end": { "line": 464, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14897, "end": 15012, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14900, "end": 14922, "loc": { "start": { "line": 422, "column": 7 }, "end": { "line": 422, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 14900, "end": 14908, "loc": { "start": { "line": 422, "column": 7 }, "end": { "line": 422, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14901, "end": 14908, "loc": { "start": { "line": 422, "column": 8 }, "end": { "line": 422, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 14912, "end": 14922, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 422, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14913, "end": 14922, "loc": { "start": { "line": 422, "column": 20 }, "end": { "line": 422, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14923, "end": 15012, "loc": { "start": { "line": 422, "column": 30 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14932, "end": 14962, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14932, "end": 14961, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14932, "end": 14956, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 30 } }, "object": { "type": "MemberExpression", "start": 14932, "end": 14944, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 18 } }, "object": { "type": "ThisExpression", "start": 14932, "end": 14936, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 10 } } }, "property": { "type": "Identifier", "start": 14937, "end": 14944, "loc": { "start": { "line": 423, "column": 11 }, "end": { "line": 423, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14945, "end": 14956, "loc": { "start": { "line": 423, "column": 19 }, "end": { "line": 423, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14959, "end": 14961, "loc": { "start": { "line": 423, "column": 33 }, "end": { "line": 423, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 14970, "end": 14984, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 20 } }, "expression": { "type": "CallExpression", "start": 14970, "end": 14983, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 14970, "end": 14981, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 17 } }, "object": { "type": "ThisExpression", "start": 14970, "end": 14974, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 10 } } }, "property": { "type": "Identifier", "start": 14975, "end": 14981, "loc": { "start": { "line": 424, "column": 11 }, "end": { "line": 424, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 14992, "end": 15005, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 425, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 14999, "end": 15004, "loc": { "start": { "line": 425, "column": 13 }, "end": { "line": 425, "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": 14811, "end": 14891, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 421, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15020, "end": 15088, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 430, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15094, "end": 16179, "loc": { "start": { "line": 431, "column": 4 }, "end": { "line": 463, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15097, "end": 15182, "loc": { "start": { "line": 431, "column": 7 }, "end": { "line": 431, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15097, "end": 15147, "loc": { "start": { "line": 431, "column": 7 }, "end": { "line": 431, "column": 57 } }, "left": { "type": "Identifier", "start": 15097, "end": 15104, "loc": { "start": { "line": 431, "column": 7 }, "end": { "line": 431, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15108, "end": 15147, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15108, "end": 15121, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 31 } }, "object": { "type": "Identifier", "start": 15108, "end": 15113, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15114, "end": 15121, "loc": { "start": { "line": 431, "column": 24 }, "end": { "line": 431, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15122, "end": 15146, "loc": { "start": { "line": 431, "column": 32 }, "end": { "line": 431, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15122, "end": 15134, "loc": { "start": { "line": 431, "column": 32 }, "end": { "line": 431, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15122, "end": 15126, "loc": { "start": { "line": 431, "column": 32 }, "end": { "line": 431, "column": 36 } } }, "property": { "type": "Identifier", "start": 15127, "end": 15134, "loc": { "start": { "line": 431, "column": 37 }, "end": { "line": 431, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15135, "end": 15146, "loc": { "start": { "line": 431, "column": 45 }, "end": { "line": 431, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15151, "end": 15182, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15151, "end": 15175, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15151, "end": 15163, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15151, "end": 15155, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 65 } } }, "property": { "type": "Identifier", "start": 15156, "end": 15163, "loc": { "start": { "line": 431, "column": 66 }, "end": { "line": 431, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15164, "end": 15175, "loc": { "start": { "line": 431, "column": 74 }, "end": { "line": 431, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15176, "end": 15182, "loc": { "start": { "line": 431, "column": 86 }, "end": { "line": 431, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15183, "end": 16179, "loc": { "start": { "line": 431, "column": 93 }, "end": { "line": 463, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15192, "end": 15229, "loc": { "start": { "line": 432, "column": 6 }, "end": { "line": 432, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15196, "end": 15228, "loc": { "start": { "line": 432, "column": 10 }, "end": { "line": 432, "column": 42 } }, "id": { "type": "Identifier", "start": 15196, "end": 15207, "loc": { "start": { "line": 432, "column": 10 }, "end": { "line": 432, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15210, "end": 15228, "loc": { "start": { "line": 432, "column": 24 }, "end": { "line": 432, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15210, "end": 15223, "loc": { "start": { "line": 432, "column": 24 }, "end": { "line": 432, "column": 37 } }, "object": { "type": "Identifier", "start": 15210, "end": 15217, "loc": { "start": { "line": 432, "column": 24 }, "end": { "line": 432, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15218, "end": 15223, "loc": { "start": { "line": 432, "column": 32 }, "end": { "line": 432, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15224, "end": 15227, "loc": { "start": { "line": 432, "column": 38 }, "end": { "line": 432, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15237, "end": 16148, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 460, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15237, "end": 16147, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 460, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15237, "end": 15256, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 433, "column": 25 } }, "object": { "type": "Identifier", "start": 15237, "end": 15248, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 433, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15249, "end": 15256, "loc": { "start": { "line": 433, "column": 18 }, "end": { "line": 433, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15257, "end": 16146, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 460, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15258, "end": 15264, "loc": { "start": { "line": 433, "column": 27 }, "end": { "line": 433, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15266, "end": 15269, "loc": { "start": { "line": 433, "column": 35 }, "end": { "line": 433, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15274, "end": 16146, "loc": { "start": { "line": 433, "column": 43 }, "end": { "line": 460, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15285, "end": 16137, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 459, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15285, "end": 16136, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 459, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15285, "end": 15313, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15285, "end": 15309, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15285, "end": 15297, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15285, "end": 15289, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 12 } } }, "property": { "type": "Identifier", "start": 15290, "end": 15297, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15298, "end": 15309, "loc": { "start": { "line": 434, "column": 21 }, "end": { "line": 434, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15310, "end": 15313, "loc": { "start": { "line": 434, "column": 33 }, "end": { "line": 434, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15314, "end": 16135, "loc": { "start": { "line": 434, "column": 37 }, "end": { "line": 459, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15315, "end": 15326, "loc": { "start": { "line": 434, "column": 38 }, "end": { "line": 434, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15328, "end": 15333, "loc": { "start": { "line": 434, "column": 51 }, "end": { "line": 434, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15338, "end": 16135, "loc": { "start": { "line": 434, "column": 61 }, "end": { "line": 459, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15506, "end": 16091, "loc": { "start": { "line": 440, "column": 10 }, "end": { "line": 456, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 15523, "end": 15602, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 442, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 15524, "end": 15574, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 63 } }, "left": { "type": "Identifier", "start": 15524, "end": 15533, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15537, "end": 15574, "loc": { "start": { "line": 441, "column": 26 }, "end": { "line": 441, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 15537, "end": 15555, "loc": { "start": { "line": 441, "column": 26 }, "end": { "line": 441, "column": 44 } }, "object": { "type": "Identifier", "start": 15537, "end": 15546, "loc": { "start": { "line": 441, "column": 26 }, "end": { "line": 441, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 15547, "end": 15555, "loc": { "start": { "line": 441, "column": 36 }, "end": { "line": 441, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15556, "end": 15573, "loc": { "start": { "line": 441, "column": 45 }, "end": { "line": 441, "column": 62 } }, "object": { "type": "Identifier", "start": 15556, "end": 15567, "loc": { "start": { "line": 441, "column": 45 }, "end": { "line": 441, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15568, "end": 15573, "loc": { "start": { "line": 441, "column": 57 }, "end": { "line": 441, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 15523 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 15592, "end": 15602, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15593, "end": 15602, "loc": { "start": { "line": 442, "column": 13 }, "end": { "line": 442, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15615, "end": 16091, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 456, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 15630, "end": 15719, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15634, "end": 15718, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 100 } }, "id": { "type": "Identifier", "start": 15634, "end": 15653, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 15656, "end": 15718, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 15656, "end": 15693, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 75 } }, "object": { "type": "CallExpression", "start": 15656, "end": 15686, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 15656, "end": 15681, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 63 } }, "object": { "type": "MemberExpression", "start": 15656, "end": 15675, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 57 } }, "object": { "type": "Identifier", "start": 15656, "end": 15667, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15668, "end": 15675, "loc": { "start": { "line": 444, "column": 50 }, "end": { "line": 444, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 15676, "end": 15681, "loc": { "start": { "line": 444, "column": 58 }, "end": { "line": 444, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15682, "end": 15685, "loc": { "start": { "line": 444, "column": 64 }, "end": { "line": 444, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 15687, "end": 15693, "loc": { "start": { "line": 444, "column": 69 }, "end": { "line": 444, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15694, "end": 15717, "loc": { "start": { "line": 444, "column": 76 }, "end": { "line": 444, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 15694, "end": 15698, "loc": { "start": { "line": 444, "column": 76 }, "end": { "line": 444, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 15702, "end": 15717, "loc": { "start": { "line": 444, "column": 84 }, "end": { "line": 444, "column": 99 } }, "left": { "type": "Identifier", "start": 15702, "end": 15706, "loc": { "start": { "line": 444, "column": 84 }, "end": { "line": 444, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 15711, "end": 15717, "loc": { "start": { "line": 444, "column": 93 }, "end": { "line": 444, "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": 15735, "end": 15832, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 448, "column": 15 } } } ] }, { "type": "IfStatement", "start": 15846, "end": 16075, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 454, "column": 13 } }, "test": { "type": "MemberExpression", "start": 15849, "end": 15875, "loc": { "start": { "line": 449, "column": 15 }, "end": { "line": 449, "column": 41 } }, "object": { "type": "Identifier", "start": 15849, "end": 15868, "loc": { "start": { "line": 449, "column": 15 }, "end": { "line": 449, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 15869, "end": 15875, "loc": { "start": { "line": 449, "column": 35 }, "end": { "line": 449, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15876, "end": 15960, "loc": { "start": { "line": 449, "column": 42 }, "end": { "line": 451, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15893, "end": 15945, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 15893, "end": 15944, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15893, "end": 15912, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 33 } }, "object": { "type": "Identifier", "start": 15893, "end": 15904, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15905, "end": 15912, "loc": { "start": { "line": 450, "column": 26 }, "end": { "line": 450, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 15915, "end": 15944, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 15915, "end": 15939, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 60 } }, "object": { "type": "Identifier", "start": 15915, "end": 15934, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 15935, "end": 15939, "loc": { "start": { "line": 450, "column": 56 }, "end": { "line": 450, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15940, "end": 15943, "loc": { "start": { "line": 450, "column": 61 }, "end": { "line": 450, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 15966, "end": 16075, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 454, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15983, "end": 16025, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 56 } }, "expression": { "type": "CallExpression", "start": 15983, "end": 16024, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 15983, "end": 16014, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 45 } }, "object": { "type": "MemberExpression", "start": 15983, "end": 16007, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 38 } }, "object": { "type": "MemberExpression", "start": 15983, "end": 15995, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15983, "end": 15987, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 18 } } }, "property": { "type": "Identifier", "start": 15988, "end": 15995, "loc": { "start": { "line": 452, "column": 19 }, "end": { "line": 452, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15996, "end": 16007, "loc": { "start": { "line": 452, "column": 27 }, "end": { "line": 452, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16008, "end": 16014, "loc": { "start": { "line": 452, "column": 39 }, "end": { "line": 452, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16015, "end": 16020, "loc": { "start": { "line": 452, "column": 46 }, "end": { "line": 452, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16022, "end": 16023, "loc": { "start": { "line": 452, "column": 53 }, "end": { "line": 452, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16041, "end": 16060, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16041, "end": 16059, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16041, "end": 16052, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16055, "end": 16059, "loc": { "start": { "line": 453, "column": 28 }, "end": { "line": 453, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15735, "end": 15832, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 448, "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": 15353, "end": 15494, "loc": { "start": { "line": 436, "column": 10 }, "end": { "line": 439, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16105, "end": 16124, "loc": { "start": { "line": 458, "column": 10 }, "end": { "line": 458, "column": 29 } }, "argument": { "type": "Identifier", "start": 16112, "end": 16123, "loc": { "start": { "line": 458, "column": 17 }, "end": { "line": 458, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16158, "end": 16172, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16158, "end": 16171, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16158, "end": 16169, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16158, "end": 16162, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 10 } } }, "property": { "type": "Identifier", "start": 16163, "end": 16169, "loc": { "start": { "line": 462, "column": 11 }, "end": { "line": 462, "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": 15020, "end": 15088, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 430, "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": 14423, "end": 14763, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 417, "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": 16190, "end": 16393, "loc": { "start": { "line": 466, "column": 2 }, "end": { "line": 469, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16397, "end": 16664, "loc": { "start": { "line": 470, "column": 2 }, "end": { "line": 483, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16397, "end": 16413, "loc": { "start": { "line": 470, "column": 2 }, "end": { "line": 470, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16414, "end": 16420, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 16421, "end": 16664, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 483, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 16428, "end": 16439, "loc": { "start": { "line": 471, "column": 4 }, "end": { "line": 471, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16432, "end": 16438, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 } }, "id": { "type": "Identifier", "start": 16432, "end": 16438, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16447, "end": 16491, "loc": { "start": { "line": 473, "column": 4 }, "end": { "line": 473, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16451, "end": 16490, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 47 } }, "id": { "type": "Identifier", "start": 16451, "end": 16460, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 16463, "end": 16490, "loc": { "start": { "line": 473, "column": 20 }, "end": { "line": 473, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16463, "end": 16482, "loc": { "start": { "line": 473, "column": 20 }, "end": { "line": 473, "column": 39 } }, "object": { "type": "ThisExpression", "start": 16463, "end": 16467, "loc": { "start": { "line": 473, "column": 20 }, "end": { "line": 473, "column": 24 } } }, "property": { "type": "Identifier", "start": 16468, "end": 16482, "loc": { "start": { "line": 473, "column": 25 }, "end": { "line": 473, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 16483, "end": 16489, "loc": { "start": { "line": 473, "column": 40 }, "end": { "line": 473, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 16497, "end": 16637, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 480, "column": 5 } }, "test": { "type": "Identifier", "start": 16500, "end": 16509, "loc": { "start": { "line": 474, "column": 7 }, "end": { "line": 474, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 16510, "end": 16637, "loc": { "start": { "line": 474, "column": 17 }, "end": { "line": 480, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 16519, "end": 16630, "loc": { "start": { "line": 475, "column": 6 }, "end": { "line": 479, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 16522, "end": 16542, "loc": { "start": { "line": 475, "column": 9 }, "end": { "line": 475, "column": 29 } }, "left": { "type": "MemberExpression", "start": 16522, "end": 16538, "loc": { "start": { "line": 475, "column": 9 }, "end": { "line": 475, "column": 25 } }, "object": { "type": "Identifier", "start": 16522, "end": 16531, "loc": { "start": { "line": 475, "column": 9 }, "end": { "line": 475, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 16532, "end": 16538, "loc": { "start": { "line": 475, "column": 19 }, "end": { "line": 475, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 16541, "end": 16542, "loc": { "start": { "line": 475, "column": 28 }, "end": { "line": 475, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 16543, "end": 16582, "loc": { "start": { "line": 475, "column": 30 }, "end": { "line": 477, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16554, "end": 16573, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 16554, "end": 16572, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 16554, "end": 16560, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 16563, "end": 16572, "loc": { "start": { "line": 476, "column": 17 }, "end": { "line": 476, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16588, "end": 16630, "loc": { "start": { "line": 477, "column": 13 }, "end": { "line": 479, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16599, "end": 16621, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 16599, "end": 16620, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 16599, "end": 16605, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 16608, "end": 16620, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 29 } }, "object": { "type": "Identifier", "start": 16608, "end": 16617, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 16618, "end": 16619, "loc": { "start": { "line": 478, "column": 27 }, "end": { "line": 478, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 16645, "end": 16659, "loc": { "start": { "line": 482, "column": 4 }, "end": { "line": 482, "column": 18 } }, "argument": { "type": "Identifier", "start": 16652, "end": 16658, "loc": { "start": { "line": 482, "column": 11 }, "end": { "line": 482, "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": 16190, "end": 16393, "loc": { "start": { "line": 466, "column": 2 }, "end": { "line": 469, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16670, "end": 16760, "loc": { "start": { "line": 485, "column": 2 }, "end": { "line": 487, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16764, "end": 17067, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 496, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16764, "end": 16775, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 488, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16777, "end": 17067, "loc": { "start": { "line": 488, "column": 15 }, "end": { "line": 496, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 16784, "end": 16860, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 491, "column": 5 } }, "test": { "type": "MemberExpression", "start": 16787, "end": 16805, "loc": { "start": { "line": 489, "column": 7 }, "end": { "line": 489, "column": 25 } }, "object": { "type": "MemberExpression", "start": 16787, "end": 16799, "loc": { "start": { "line": 489, "column": 7 }, "end": { "line": 489, "column": 19 } }, "object": { "type": "ThisExpression", "start": 16787, "end": 16791, "loc": { "start": { "line": 489, "column": 7 }, "end": { "line": 489, "column": 11 } } }, "property": { "type": "Identifier", "start": 16792, "end": 16799, "loc": { "start": { "line": 489, "column": 12 }, "end": { "line": 489, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16800, "end": 16805, "loc": { "start": { "line": 489, "column": 20 }, "end": { "line": 489, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 16806, "end": 16860, "loc": { "start": { "line": 489, "column": 26 }, "end": { "line": 491, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16815, "end": 16853, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 44 } }, "expression": { "type": "CallExpression", "start": 16815, "end": 16852, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 16815, "end": 16826, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 17 } }, "object": { "type": "Identifier", "start": 16815, "end": 16822, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 16823, "end": 16826, "loc": { "start": { "line": 490, "column": 14 }, "end": { "line": 490, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16827, "end": 16851, "loc": { "start": { "line": 490, "column": 18 }, "end": { "line": 490, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 16868, "end": 16927, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 63 } }, "expression": { "type": "CallExpression", "start": 16868, "end": 16926, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 16868, "end": 16893, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 29 } }, "object": { "type": "Identifier", "start": 16868, "end": 16876, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16877, "end": 16893, "loc": { "start": { "line": 493, "column": 13 }, "end": { "line": 493, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16894, "end": 16901, "loc": { "start": { "line": 493, "column": 30 }, "end": { "line": 493, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 16903, "end": 16925, "loc": { "start": { "line": 493, "column": 39 }, "end": { "line": 493, "column": 61 } }, "object": { "type": "ThisExpression", "start": 16903, "end": 16907, "loc": { "start": { "line": 493, "column": 39 }, "end": { "line": 493, "column": 43 } } }, "property": { "type": "Identifier", "start": 16908, "end": 16925, "loc": { "start": { "line": 493, "column": 44 }, "end": { "line": 493, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 16933, "end": 16994, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 65 } }, "expression": { "type": "CallExpression", "start": 16933, "end": 16993, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 16933, "end": 16958, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 29 } }, "object": { "type": "Identifier", "start": 16933, "end": 16941, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16942, "end": 16958, "loc": { "start": { "line": 494, "column": 13 }, "end": { "line": 494, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16959, "end": 16968, "loc": { "start": { "line": 494, "column": 30 }, "end": { "line": 494, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 16970, "end": 16992, "loc": { "start": { "line": 494, "column": 41 }, "end": { "line": 494, "column": 63 } }, "object": { "type": "ThisExpression", "start": 16970, "end": 16974, "loc": { "start": { "line": 494, "column": 41 }, "end": { "line": 494, "column": 45 } } }, "property": { "type": "Identifier", "start": 16975, "end": 16992, "loc": { "start": { "line": 494, "column": 46 }, "end": { "line": 494, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17000, "end": 17062, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17000, "end": 17061, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17000, "end": 17025, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 29 } }, "object": { "type": "Identifier", "start": 17000, "end": 17008, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17009, "end": 17025, "loc": { "start": { "line": 495, "column": 13 }, "end": { "line": 495, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17026, "end": 17036, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 495, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17038, "end": 17060, "loc": { "start": { "line": 495, "column": 42 }, "end": { "line": 495, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17038, "end": 17042, "loc": { "start": { "line": 495, "column": 42 }, "end": { "line": 495, "column": 46 } } }, "property": { "type": "Identifier", "start": 17043, "end": 17060, "loc": { "start": { "line": 495, "column": 47 }, "end": { "line": 495, "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": 16670, "end": 16760, "loc": { "start": { "line": 485, "column": 2 }, "end": { "line": 487, "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": 17073, "end": 17185, "loc": { "start": { "line": 498, "column": 2 }, "end": { "line": 500, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17189, "end": 17739, "loc": { "start": { "line": 501, "column": 2 }, "end": { "line": 518, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17189, "end": 17206, "loc": { "start": { "line": 501, "column": 2 }, "end": { "line": 501, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17207, "end": 17212, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17213, "end": 17739, "loc": { "start": { "line": 501, "column": 26 }, "end": { "line": 518, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17220, "end": 17275, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17224, "end": 17274, "loc": { "start": { "line": 502, "column": 8 }, "end": { "line": 502, "column": 58 } }, "id": { "type": "Identifier", "start": 17224, "end": 17237, "loc": { "start": { "line": 502, "column": 8 }, "end": { "line": 502, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 17240, "end": 17274, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 17240, "end": 17272, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17240, "end": 17260, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 44 } }, "object": { "type": "MemberExpression", "start": 17240, "end": 17252, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 36 } }, "object": { "type": "Identifier", "start": 17240, "end": 17245, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17246, "end": 17252, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17253, "end": 17260, "loc": { "start": { "line": 502, "column": 37 }, "end": { "line": 502, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17261, "end": 17272, "loc": { "start": { "line": 502, "column": 45 }, "end": { "line": 502, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 17283, "end": 17734, "loc": { "start": { "line": 504, "column": 4 }, "end": { "line": 517, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17294, "end": 17358, "loc": { "start": { "line": 505, "column": 6 }, "end": { "line": 506, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17294, "end": 17322, "loc": { "start": { "line": 505, "column": 6 }, "end": { "line": 505, "column": 34 } }, "left": { "type": "Identifier", "start": 17294, "end": 17307, "loc": { "start": { "line": 505, "column": 6 }, "end": { "line": 505, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17312, "end": 17322, "loc": { "start": { "line": 505, "column": 24 }, "end": { "line": 505, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17333, "end": 17358, "loc": { "start": { "line": 506, "column": 6 }, "end": { "line": 506, "column": 31 } }, "left": { "type": "Identifier", "start": 17333, "end": 17346, "loc": { "start": { "line": 506, "column": 6 }, "end": { "line": 506, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17351, "end": 17358, "loc": { "start": { "line": 506, "column": 24 }, "end": { "line": 506, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 17365, "end": 17734, "loc": { "start": { "line": 507, "column": 5 }, "end": { "line": 517, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17530, "end": 17579, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 17530, "end": 17578, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17530, "end": 17548, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17530, "end": 17534, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17535, "end": 17548, "loc": { "start": { "line": 512, "column": 11 }, "end": { "line": 512, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 17551, "end": 17578, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17551, "end": 17563, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 39 } }, "object": { "type": "Identifier", "start": 17551, "end": 17556, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17557, "end": 17563, "loc": { "start": { "line": 512, "column": 33 }, "end": { "line": 512, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17564, "end": 17578, "loc": { "start": { "line": 512, "column": 40 }, "end": { "line": 512, "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": 17374, "end": 17522, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 511, "column": 9 } } } ] }, { "type": "IfStatement", "start": 17589, "end": 17722, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 516, "column": 7 } }, "test": { "type": "MemberExpression", "start": 17592, "end": 17610, "loc": { "start": { "line": 514, "column": 9 }, "end": { "line": 514, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17592, "end": 17604, "loc": { "start": { "line": 514, "column": 9 }, "end": { "line": 514, "column": 21 } }, "object": { "type": "ThisExpression", "start": 17592, "end": 17596, "loc": { "start": { "line": 514, "column": 9 }, "end": { "line": 514, "column": 13 } } }, "property": { "type": "Identifier", "start": 17597, "end": 17604, "loc": { "start": { "line": 514, "column": 14 }, "end": { "line": 514, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17605, "end": 17610, "loc": { "start": { "line": 514, "column": 22 }, "end": { "line": 514, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17611, "end": 17722, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 516, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17622, "end": 17713, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 99 } }, "expression": { "type": "CallExpression", "start": 17622, "end": 17712, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 17622, "end": 17633, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 19 } }, "object": { "type": "Identifier", "start": 17622, "end": 17629, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17630, "end": 17633, "loc": { "start": { "line": 515, "column": 16 }, "end": { "line": 515, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17634, "end": 17646, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 17648, "end": 17675, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 61 } }, "object": { "type": "MemberExpression", "start": 17648, "end": 17660, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 46 } }, "object": { "type": "Identifier", "start": 17648, "end": 17653, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17654, "end": 17660, "loc": { "start": { "line": 515, "column": 40 }, "end": { "line": 515, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17661, "end": 17675, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 17677, "end": 17711, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 17677, "end": 17709, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 95 } }, "object": { "type": "MemberExpression", "start": 17677, "end": 17697, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 83 } }, "object": { "type": "MemberExpression", "start": 17677, "end": 17689, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 75 } }, "object": { "type": "Identifier", "start": 17677, "end": 17682, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17683, "end": 17689, "loc": { "start": { "line": 515, "column": 69 }, "end": { "line": 515, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17690, "end": 17697, "loc": { "start": { "line": 515, "column": 76 }, "end": { "line": 515, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17698, "end": 17709, "loc": { "start": { "line": 515, "column": 84 }, "end": { "line": 515, "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": 17073, "end": 17185, "loc": { "start": { "line": 498, "column": 2 }, "end": { "line": 500, "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": 17745, "end": 17865, "loc": { "start": { "line": 520, "column": 2 }, "end": { "line": 522, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17869, "end": 18105, "loc": { "start": { "line": 523, "column": 2 }, "end": { "line": 535, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17869, "end": 17875, "loc": { "start": { "line": 523, "column": 2 }, "end": { "line": 523, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17877, "end": 18105, "loc": { "start": { "line": 523, "column": 10 }, "end": { "line": 535, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17884, "end": 17949, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 526, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17887, "end": 17905, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17887, "end": 17899, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17887, "end": 17891, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 11 } } }, "property": { "type": "Identifier", "start": 17892, "end": 17899, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17900, "end": 17905, "loc": { "start": { "line": 524, "column": 20 }, "end": { "line": 524, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17906, "end": 17949, "loc": { "start": { "line": 524, "column": 26 }, "end": { "line": 526, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17915, "end": 17942, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 33 } }, "expression": { "type": "CallExpression", "start": 17915, "end": 17941, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 17915, "end": 17926, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 17 } }, "object": { "type": "Identifier", "start": 17915, "end": 17922, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17923, "end": 17926, "loc": { "start": { "line": 525, "column": 14 }, "end": { "line": 525, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17927, "end": 17940, "loc": { "start": { "line": 525, "column": 18 }, "end": { "line": 525, "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": 17957, "end": 17992, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17998, "end": 18017, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 23 } }, "expression": { "type": "CallExpression", "start": 17998, "end": 18016, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 17998, "end": 18014, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17998, "end": 18002, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18003, "end": 18014, "loc": { "start": { "line": 531, "column": 9 }, "end": { "line": 531, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17957, "end": 17992, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "column": 7 } } } ] }, { "type": "IfStatement", "start": 18025, "end": 18100, "loc": { "start": { "line": 533, "column": 4 }, "end": { "line": 534, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 18028, "end": 18069, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 18028, "end": 18054, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18035, "end": 18054, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 33 } }, "object": { "type": "MemberExpression", "start": 18035, "end": 18047, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18035, "end": 18039, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 18 } } }, "property": { "type": "Identifier", "start": 18040, "end": 18047, "loc": { "start": { "line": 533, "column": 19 }, "end": { "line": 533, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18048, "end": 18054, "loc": { "start": { "line": 533, "column": 27 }, "end": { "line": 533, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18059, "end": 18069, "loc": { "start": { "line": 533, "column": 38 }, "end": { "line": 533, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18078, "end": 18100, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18078, "end": 18099, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18078, "end": 18097, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18078, "end": 18090, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18078, "end": 18082, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 10 } } }, "property": { "type": "Identifier", "start": 18083, "end": 18090, "loc": { "start": { "line": 534, "column": 11 }, "end": { "line": 534, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18091, "end": 18097, "loc": { "start": { "line": 534, "column": 19 }, "end": { "line": 534, "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": 17745, "end": 17865, "loc": { "start": { "line": 520, "column": 2 }, "end": { "line": 522, "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": 18111, "end": 18229, "loc": { "start": { "line": 537, "column": 2 }, "end": { "line": 539, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18233, "end": 18334, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 543, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18233, "end": 18241, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 540, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18243, "end": 18334, "loc": { "start": { "line": 540, "column": 12 }, "end": { "line": 543, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18250, "end": 18329, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 542, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18253, "end": 18296, "loc": { "start": { "line": 541, "column": 7 }, "end": { "line": 541, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18253, "end": 18281, "loc": { "start": { "line": 541, "column": 7 }, "end": { "line": 541, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18260, "end": 18281, "loc": { "start": { "line": 541, "column": 14 }, "end": { "line": 541, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18260, "end": 18272, "loc": { "start": { "line": 541, "column": 14 }, "end": { "line": 541, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18260, "end": 18264, "loc": { "start": { "line": 541, "column": 14 }, "end": { "line": 541, "column": 18 } } }, "property": { "type": "Identifier", "start": 18265, "end": 18272, "loc": { "start": { "line": 541, "column": 19 }, "end": { "line": 541, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18273, "end": 18281, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18286, "end": 18296, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18305, "end": 18329, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 30 } }, "expression": { "type": "CallExpression", "start": 18305, "end": 18328, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 18305, "end": 18326, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18305, "end": 18317, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18305, "end": 18309, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 10 } } }, "property": { "type": "Identifier", "start": 18310, "end": 18317, "loc": { "start": { "line": 542, "column": 11 }, "end": { "line": 542, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18318, "end": 18326, "loc": { "start": { "line": 542, "column": 19 }, "end": { "line": 542, "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": 18111, "end": 18229, "loc": { "start": { "line": 537, "column": 2 }, "end": { "line": 539, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18340, "end": 18372, "loc": { "start": { "line": 545, "column": 2 }, "end": { "line": 547, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18376, "end": 18525, "loc": { "start": { "line": 548, "column": 2 }, "end": { "line": 553, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18376, "end": 18390, "loc": { "start": { "line": 548, "column": 2 }, "end": { "line": 548, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 18393, "end": 18525, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 553, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18394, "end": 18398, "loc": { "start": { "line": 548, "column": 20 }, "end": { "line": 548, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 18400, "end": 18412, "loc": { "start": { "line": 548, "column": 26 }, "end": { "line": 548, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 18417, "end": 18525, "loc": { "start": { "line": 548, "column": 43 }, "end": { "line": 553, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18424, "end": 18479, "loc": { "start": { "line": 549, "column": 4 }, "end": { "line": 550, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 18427, "end": 18446, "loc": { "start": { "line": 549, "column": 7 }, "end": { "line": 549, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18428, "end": 18446, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18428, "end": 18440, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18428, "end": 18432, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 12 } } }, "property": { "type": "Identifier", "start": 18433, "end": 18440, "loc": { "start": { "line": 549, "column": 13 }, "end": { "line": 549, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18441, "end": 18445, "loc": { "start": { "line": 549, "column": 21 }, "end": { "line": 549, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 18455, "end": 18479, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 18455, "end": 18478, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18455, "end": 18473, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 24 } }, "object": { "type": "MemberExpression", "start": 18455, "end": 18467, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18455, "end": 18459, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 10 } } }, "property": { "type": "Identifier", "start": 18460, "end": 18467, "loc": { "start": { "line": 550, "column": 11 }, "end": { "line": 550, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18468, "end": 18472, "loc": { "start": { "line": 550, "column": 19 }, "end": { "line": 550, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 18476, "end": 18478, "loc": { "start": { "line": 550, "column": 27 }, "end": { "line": 550, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 18487, "end": 18520, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18487, "end": 18519, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 36 } }, "callee": { "type": "Identifier", "start": 18487, "end": 18499, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 18500, "end": 18518, "loc": { "start": { "line": 552, "column": 17 }, "end": { "line": 552, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18500, "end": 18512, "loc": { "start": { "line": 552, "column": 17 }, "end": { "line": 552, "column": 29 } }, "object": { "type": "ThisExpression", "start": 18500, "end": 18504, "loc": { "start": { "line": 552, "column": 17 }, "end": { "line": 552, "column": 21 } } }, "property": { "type": "Identifier", "start": 18505, "end": 18512, "loc": { "start": { "line": 552, "column": 22 }, "end": { "line": 552, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18513, "end": 18517, "loc": { "start": { "line": 552, "column": 30 }, "end": { "line": 552, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18340, "end": 18372, "loc": { "start": { "line": 545, "column": 2 }, "end": { "line": 547, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18531, "end": 18560, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 557, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18564, "end": 19022, "loc": { "start": { "line": 558, "column": 2 }, "end": { "line": 573, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18564, "end": 18575, "loc": { "start": { "line": 558, "column": 2 }, "end": { "line": 558, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18577, "end": 19022, "loc": { "start": { "line": 558, "column": 15 }, "end": { "line": 573, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18584, "end": 19017, "loc": { "start": { "line": 559, "column": 4 }, "end": { "line": 572, "column": 5 } }, "test": { "type": "CallExpression", "start": 18587, "end": 18622, "loc": { "start": { "line": 559, "column": 7 }, "end": { "line": 559, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 18587, "end": 18600, "loc": { "start": { "line": 559, "column": 7 }, "end": { "line": 559, "column": 20 } }, "object": { "type": "Identifier", "start": 18587, "end": 18592, "loc": { "start": { "line": 559, "column": 7 }, "end": { "line": 559, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 18593, "end": 18600, "loc": { "start": { "line": 559, "column": 13 }, "end": { "line": 559, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18601, "end": 18621, "loc": { "start": { "line": 559, "column": 21 }, "end": { "line": 559, "column": 41 } }, "object": { "type": "MemberExpression", "start": 18601, "end": 18613, "loc": { "start": { "line": 559, "column": 21 }, "end": { "line": 559, "column": 33 } }, "object": { "type": "ThisExpression", "start": 18601, "end": 18605, "loc": { "start": { "line": 559, "column": 21 }, "end": { "line": 559, "column": 25 } } }, "property": { "type": "Identifier", "start": 18606, "end": 18613, "loc": { "start": { "line": 559, "column": 26 }, "end": { "line": 559, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18614, "end": 18621, "loc": { "start": { "line": 559, "column": 34 }, "end": { "line": 559, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 18623, "end": 19017, "loc": { "start": { "line": 559, "column": 43 }, "end": { "line": 572, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18632, "end": 19010, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 571, "column": 9 } }, "expression": { "type": "CallExpression", "start": 18632, "end": 19009, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 571, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 18632, "end": 18660, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18632, "end": 18652, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18632, "end": 18644, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18632, "end": 18636, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 10 } } }, "property": { "type": "Identifier", "start": 18637, "end": 18644, "loc": { "start": { "line": 560, "column": 11 }, "end": { "line": 560, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18645, "end": 18652, "loc": { "start": { "line": 560, "column": 19 }, "end": { "line": 560, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18653, "end": 18660, "loc": { "start": { "line": 560, "column": 27 }, "end": { "line": 560, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 18661, "end": 19008, "loc": { "start": { "line": 560, "column": 35 }, "end": { "line": 571, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18661, "end": 18667, "loc": { "start": { "line": 560, "column": 35 }, "end": { "line": 560, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 18671, "end": 19008, "loc": { "start": { "line": 560, "column": 45 }, "end": { "line": 571, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 18682, "end": 18708, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18686, "end": 18707, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 33 } }, "id": { "type": "Identifier", "start": 18686, "end": 18692, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 18695, "end": 18707, "loc": { "start": { "line": 561, "column": 21 }, "end": { "line": 561, "column": 33 } }, "callee": { "type": "Identifier", "start": 18699, "end": 18705, "loc": { "start": { "line": 561, "column": 25 }, "end": { "line": 561, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18720, "end": 18746, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 34 } } } ] }, { "type": "IfStatement", "start": 18756, "end": 18969, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 568, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 18759, "end": 18824, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18759, "end": 18782, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18759, "end": 18777, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 29 } }, "object": { "type": "Identifier", "start": 18759, "end": 18765, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 18766, "end": 18777, "loc": { "start": { "line": 564, "column": 18 }, "end": { "line": 564, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 18778, "end": 18782, "loc": { "start": { "line": 564, "column": 30 }, "end": { "line": 564, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 18786, "end": 18824, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18786, "end": 18809, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18786, "end": 18804, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 56 } }, "object": { "type": "Identifier", "start": 18786, "end": 18792, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18793, "end": 18804, "loc": { "start": { "line": 564, "column": 45 }, "end": { "line": 564, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18805, "end": 18809, "loc": { "start": { "line": 564, "column": 57 }, "end": { "line": 564, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 18814, "end": 18824, "loc": { "start": { "line": 564, "column": 66 }, "end": { "line": 564, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 18825, "end": 18969, "loc": { "start": { "line": 564, "column": 77 }, "end": { "line": 568, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18838, "end": 18958, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 567, "column": 12 } }, "expression": { "type": "CallExpression", "start": 18838, "end": 18957, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 567, "column": 11 } }, "callee": { "type": "MemberExpression", "start": 18838, "end": 18868, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 40 } }, "object": { "type": "MemberExpression", "start": 18838, "end": 18864, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 36 } }, "object": { "type": "MemberExpression", "start": 18838, "end": 18854, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18838, "end": 18842, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 14 } } }, "property": { "type": "Identifier", "start": 18843, "end": 18854, "loc": { "start": { "line": 565, "column": 15 }, "end": { "line": 565, "column": 26 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 18855, "end": 18864, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 36 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 18865, "end": 18868, "loc": { "start": { "line": 565, "column": 37 }, "end": { "line": 565, "column": 40 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 18883, "end": 18944, "loc": { "start": { "line": 566, "column": 12 }, "end": { "line": 566, "column": 73 } }, "expressions": [ { "type": "CallExpression", "start": 18893, "end": 18942, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 18893, "end": 18917, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 46 } }, "object": { "type": "MemberExpression", "start": 18893, "end": 18907, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 36 } }, "object": { "type": "ThisExpression", "start": 18893, "end": 18897, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 26 } } }, "property": { "type": "Identifier", "start": 18898, "end": 18907, "loc": { "start": { "line": 566, "column": 27 }, "end": { "line": 566, "column": 36 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18908, "end": 18917, "loc": { "start": { "line": 566, "column": 37 }, "end": { "line": 566, "column": 46 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18918, "end": 18941, "loc": { "start": { "line": 566, "column": 47 }, "end": { "line": 566, "column": 70 } }, "object": { "type": "MemberExpression", "start": 18918, "end": 18936, "loc": { "start": { "line": 566, "column": 47 }, "end": { "line": 566, "column": 65 } }, "object": { "type": "Identifier", "start": 18918, "end": 18924, "loc": { "start": { "line": 566, "column": 47 }, "end": { "line": 566, "column": 53 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18925, "end": 18936, "loc": { "start": { "line": 566, "column": 54 }, "end": { "line": 566, "column": 65 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18937, "end": 18941, "loc": { "start": { "line": 566, "column": 66 }, "end": { "line": 566, "column": 70 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 18884, "end": 18891, "loc": { "start": { "line": 566, "column": 13 }, "end": { "line": 566, "column": 20 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 18943, "end": 18943, "loc": { "start": { "line": 566, "column": 72 }, "end": { "line": 566, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18720, "end": 18746, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 18981, "end": 18999, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 26 } }, "expression": { "type": "CallExpression", "start": 18981, "end": 18998, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 18981, "end": 18992, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 19 } }, "object": { "type": "Identifier", "start": 18981, "end": 18987, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18988, "end": 18992, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 18993, "end": 18997, "loc": { "start": { "line": 570, "column": 20 }, "end": { "line": 570, "column": 24 } } } ] } } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18531, "end": 18560, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 557, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19028, "end": 19060, "loc": { "start": { "line": 575, "column": 2 }, "end": { "line": 577, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19064, "end": 19196, "loc": { "start": { "line": 578, "column": 2 }, "end": { "line": 583, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19064, "end": 19077, "loc": { "start": { "line": 578, "column": 2 }, "end": { "line": 578, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19080, "end": 19196, "loc": { "start": { "line": 578, "column": 18 }, "end": { "line": 583, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19081, "end": 19085, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19087, "end": 19091, "loc": { "start": { "line": 578, "column": 25 }, "end": { "line": 578, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 19096, "end": 19196, "loc": { "start": { "line": 578, "column": 34 }, "end": { "line": 583, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19103, "end": 19147, "loc": { "start": { "line": 579, "column": 4 }, "end": { "line": 580, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 19106, "end": 19125, "loc": { "start": { "line": 579, "column": 7 }, "end": { "line": 579, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19107, "end": 19125, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19107, "end": 19119, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19107, "end": 19111, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 12 } } }, "property": { "type": "Identifier", "start": 19112, "end": 19119, "loc": { "start": { "line": 579, "column": 13 }, "end": { "line": 579, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19120, "end": 19124, "loc": { "start": { "line": 579, "column": 21 }, "end": { "line": 579, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 19134, "end": 19147, "loc": { "start": { "line": 580, "column": 6 }, "end": { "line": 580, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 19141, "end": 19146, "loc": { "start": { "line": 580, "column": 13 }, "end": { "line": 580, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 19159, "end": 19191, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 582, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 19166, "end": 19190, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19166, "end": 19184, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19166, "end": 19178, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 23 } }, "object": { "type": "ThisExpression", "start": 19166, "end": 19170, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 15 } } }, "property": { "type": "Identifier", "start": 19171, "end": 19178, "loc": { "start": { "line": 582, "column": 16 }, "end": { "line": 582, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19179, "end": 19183, "loc": { "start": { "line": 582, "column": 24 }, "end": { "line": 582, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 19185, "end": 19189, "loc": { "start": { "line": 582, "column": 30 }, "end": { "line": 582, "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": 19028, "end": 19060, "loc": { "start": { "line": 575, "column": 2 }, "end": { "line": 577, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19202, "end": 19233, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 587, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19237, "end": 19305, "loc": { "start": { "line": 588, "column": 2 }, "end": { "line": 590, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19237, "end": 19251, "loc": { "start": { "line": 588, "column": 2 }, "end": { "line": 588, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19254, "end": 19305, "loc": { "start": { "line": 588, "column": 19 }, "end": { "line": 590, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19260, "end": 19305, "loc": { "start": { "line": 588, "column": 25 }, "end": { "line": 590, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 19267, "end": 19300, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 37 } }, "argument": { "type": "CallExpression", "start": 19274, "end": 19299, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19274, "end": 19285, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 22 } }, "object": { "type": "Identifier", "start": 19274, "end": 19280, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 19281, "end": 19285, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19286, "end": 19298, "loc": { "start": { "line": 589, "column": 23 }, "end": { "line": 589, "column": 35 } }, "object": { "type": "ThisExpression", "start": 19286, "end": 19290, "loc": { "start": { "line": 589, "column": 23 }, "end": { "line": 589, "column": 27 } } }, "property": { "type": "Identifier", "start": 19291, "end": 19298, "loc": { "start": { "line": 589, "column": 28 }, "end": { "line": 589, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19202, "end": 19233, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 587, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19311, "end": 19367, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19371, "end": 23685, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 737, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19371, "end": 19377, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 595, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19379, "end": 23685, "loc": { "start": { "line": 595, "column": 10 }, "end": { "line": 737, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 19427, "end": 19440, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 17 } }, "expression": { "type": "CallExpression", "start": 19427, "end": 19439, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 19427, "end": 19437, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 14 } }, "object": { "type": "ThisExpression", "start": 19427, "end": 19431, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19432, "end": 19437, "loc": { "start": { "line": 599, "column": 9 }, "end": { "line": 599, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19386, "end": 19421, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 598, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19448, "end": 19548, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 601, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19452, "end": 19547, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 103 } }, "id": { "type": "Identifier", "start": 19452, "end": 19463, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 19466, "end": 19547, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 103 } }, "test": { "type": "MemberExpression", "start": 19466, "end": 19485, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19466, "end": 19478, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 34 } }, "object": { "type": "ThisExpression", "start": 19466, "end": 19470, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 26 } } }, "property": { "type": "Identifier", "start": 19471, "end": 19478, "loc": { "start": { "line": 601, "column": 27 }, "end": { "line": 601, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19479, "end": 19485, "loc": { "start": { "line": 601, "column": 35 }, "end": { "line": 601, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 19488, "end": 19506, "loc": { "start": { "line": 601, "column": 44 }, "end": { "line": 601, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 19509, "end": 19547, "loc": { "start": { "line": 601, "column": 65 }, "end": { "line": 601, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 19522, "end": 19545, "loc": { "start": { "line": 601, "column": 78 }, "end": { "line": 601, "column": 101 } }, "object": { "type": "MemberExpression", "start": 19522, "end": 19534, "loc": { "start": { "line": 601, "column": 78 }, "end": { "line": 601, "column": 90 } }, "object": { "type": "ThisExpression", "start": 19522, "end": 19526, "loc": { "start": { "line": 601, "column": 78 }, "end": { "line": 601, "column": 82 } } }, "property": { "type": "Identifier", "start": 19527, "end": 19534, "loc": { "start": { "line": 601, "column": 83 }, "end": { "line": 601, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19535, "end": 19545, "loc": { "start": { "line": 601, "column": 91 }, "end": { "line": 601, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19510, "end": 19520, "loc": { "start": { "line": 601, "column": 66 }, "end": { "line": 601, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 19546, "end": 19546, "loc": { "start": { "line": 601, "column": 102 }, "end": { "line": 601, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 19554, "end": 19624, "loc": { "start": { "line": 602, "column": 4 }, "end": { "line": 602, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19558, "end": 19623, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 73 } }, "id": { "type": "Identifier", "start": 19558, "end": 19564, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 19567, "end": 19623, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 73 } }, "left": { "type": "MemberExpression", "start": 19567, "end": 19586, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 36 } }, "object": { "type": "MemberExpression", "start": 19567, "end": 19579, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19567, "end": 19571, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 21 } } }, "property": { "type": "Identifier", "start": 19572, "end": 19579, "loc": { "start": { "line": 602, "column": 22 }, "end": { "line": 602, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19580, "end": 19586, "loc": { "start": { "line": 602, "column": 30 }, "end": { "line": 602, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 19590, "end": 19623, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 19590, "end": 19621, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 71 } }, "object": { "type": "Identifier", "start": 19590, "end": 19604, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 19605, "end": 19621, "loc": { "start": { "line": 602, "column": 55 }, "end": { "line": 602, "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": 19632, "end": 19684, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 606, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19690, "end": 19718, "loc": { "start": { "line": 607, "column": 4 }, "end": { "line": 607, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19694, "end": 19717, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 31 } }, "id": { "type": "Identifier", "start": 19694, "end": 19712, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 19715, "end": 19717, "loc": { "start": { "line": 607, "column": 29 }, "end": { "line": 607, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19632, "end": 19684, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 606, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19724, "end": 20863, "loc": { "start": { "line": 608, "column": 4 }, "end": { "line": 636, "column": 5 } }, "test": { "type": "CallExpression", "start": 19727, "end": 19766, "loc": { "start": { "line": 608, "column": 7 }, "end": { "line": 608, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 19727, "end": 19740, "loc": { "start": { "line": 608, "column": 7 }, "end": { "line": 608, "column": 20 } }, "object": { "type": "Identifier", "start": 19727, "end": 19732, "loc": { "start": { "line": 608, "column": 7 }, "end": { "line": 608, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19733, "end": 19740, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19741, "end": 19765, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 45 } }, "object": { "type": "MemberExpression", "start": 19741, "end": 19753, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19741, "end": 19745, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 25 } } }, "property": { "type": "Identifier", "start": 19746, "end": 19753, "loc": { "start": { "line": 608, "column": 26 }, "end": { "line": 608, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19754, "end": 19765, "loc": { "start": { "line": 608, "column": 34 }, "end": { "line": 608, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19767, "end": 20863, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 636, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19776, "end": 20856, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 635, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19776, "end": 20855, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 635, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19776, "end": 19808, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19776, "end": 19800, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 30 } }, "object": { "type": "MemberExpression", "start": 19776, "end": 19788, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19776, "end": 19780, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 10 } } }, "property": { "type": "Identifier", "start": 19781, "end": 19788, "loc": { "start": { "line": 609, "column": 11 }, "end": { "line": 609, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19789, "end": 19800, "loc": { "start": { "line": 609, "column": 19 }, "end": { "line": 609, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 19801, "end": 19808, "loc": { "start": { "line": 609, "column": 31 }, "end": { "line": 609, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19809, "end": 20854, "loc": { "start": { "line": 609, "column": 39 }, "end": { "line": 635, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19809, "end": 19817, "loc": { "start": { "line": 609, "column": 39 }, "end": { "line": 609, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 19821, "end": 20854, "loc": { "start": { "line": 609, "column": 51 }, "end": { "line": 635, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 19832, "end": 20845, "loc": { "start": { "line": 610, "column": 8 }, "end": { "line": 634, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19835, "end": 19869, "loc": { "start": { "line": 610, "column": 11 }, "end": { "line": 610, "column": 45 } }, "left": { "type": "MemberExpression", "start": 19835, "end": 19851, "loc": { "start": { "line": 610, "column": 11 }, "end": { "line": 610, "column": 27 } }, "object": { "type": "Identifier", "start": 19835, "end": 19843, "loc": { "start": { "line": 610, "column": 11 }, "end": { "line": 610, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19844, "end": 19851, "loc": { "start": { "line": 610, "column": 20 }, "end": { "line": 610, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 19855, "end": 19869, "loc": { "start": { "line": 610, "column": 31 }, "end": { "line": 610, "column": 45 } }, "object": { "type": "Identifier", "start": 19855, "end": 19863, "loc": { "start": { "line": 610, "column": 31 }, "end": { "line": 610, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19864, "end": 19869, "loc": { "start": { "line": 610, "column": 40 }, "end": { "line": 610, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 19870, "end": 20711, "loc": { "start": { "line": 610, "column": 46 }, "end": { "line": 632, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19883, "end": 19900, "loc": { "start": { "line": 611, "column": 10 }, "end": { "line": 611, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19887, "end": 19899, "loc": { "start": { "line": 611, "column": 14 }, "end": { "line": 611, "column": 26 } }, "id": { "type": "Identifier", "start": 19887, "end": 19899, "loc": { "start": { "line": 611, "column": 14 }, "end": { "line": 611, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 19914, "end": 20025, "loc": { "start": { "line": 613, "column": 10 }, "end": { "line": 615, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 19917, "end": 19953, "loc": { "start": { "line": 613, "column": 13 }, "end": { "line": 613, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 19917, "end": 19940, "loc": { "start": { "line": 613, "column": 13 }, "end": { "line": 613, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19924, "end": 19940, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 613, "column": 36 } }, "object": { "type": "Identifier", "start": 19924, "end": 19932, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 613, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19933, "end": 19940, "loc": { "start": { "line": 613, "column": 29 }, "end": { "line": 613, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19945, "end": 19953, "loc": { "start": { "line": 613, "column": 41 }, "end": { "line": 613, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 19954, "end": 20025, "loc": { "start": { "line": 613, "column": 50 }, "end": { "line": 615, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 19969, "end": 20012, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 19969, "end": 20011, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 19969, "end": 19981, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 19984, "end": 20011, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 19984, "end": 20006, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 49 } }, "object": { "type": "MemberExpression", "start": 19984, "end": 20000, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 43 } }, "object": { "type": "Identifier", "start": 19984, "end": 19992, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19993, "end": 20000, "loc": { "start": { "line": 614, "column": 36 }, "end": { "line": 614, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 20001, "end": 20006, "loc": { "start": { "line": 614, "column": 44 }, "end": { "line": 614, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20007, "end": 20010, "loc": { "start": { "line": 614, "column": 50 }, "end": { "line": 614, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 20039, "end": 20700, "loc": { "start": { "line": 617, "column": 10 }, "end": { "line": 631, "column": 11 } }, "test": { "type": "Identifier", "start": 20042, "end": 20054, "loc": { "start": { "line": 617, "column": 13 }, "end": { "line": 617, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 20055, "end": 20700, "loc": { "start": { "line": 617, "column": 26 }, "end": { "line": 631, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20070, "end": 20687, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 630, "column": 15 } }, "expression": { "type": "CallExpression", "start": 20070, "end": 20686, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 630, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 20070, "end": 20090, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 618, "column": 32 } }, "object": { "type": "Identifier", "start": 20070, "end": 20082, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 618, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 20083, "end": 20090, "loc": { "start": { "line": 618, "column": 25 }, "end": { "line": 618, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20091, "end": 20685, "loc": { "start": { "line": 618, "column": 33 }, "end": { "line": 630, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20091, "end": 20102, "loc": { "start": { "line": 618, "column": 33 }, "end": { "line": 618, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 20106, "end": 20685, "loc": { "start": { "line": 618, "column": 48 }, "end": { "line": 630, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 20123, "end": 20173, "loc": { "start": { "line": 619, "column": 14 }, "end": { "line": 619, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20127, "end": 20172, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "column": 63 } }, "id": { "type": "Identifier", "start": 20127, "end": 20138, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 20141, "end": 20172, "loc": { "start": { "line": 619, "column": 32 }, "end": { "line": 619, "column": 63 } }, "object": { "type": "Identifier", "start": 20141, "end": 20159, "loc": { "start": { "line": 619, "column": 32 }, "end": { "line": 619, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20160, "end": 20171, "loc": { "start": { "line": 619, "column": 51 }, "end": { "line": 619, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20191, "end": 20230, "loc": { "start": { "line": 621, "column": 14 }, "end": { "line": 621, "column": 53 } } } ] }, { "type": "IfStatement", "start": 20246, "end": 20670, "loc": { "start": { "line": 622, "column": 14 }, "end": { "line": 629, "column": 15 } }, "test": { "type": "Identifier", "start": 20249, "end": 20260, "loc": { "start": { "line": 622, "column": 17 }, "end": { "line": 622, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20261, "end": 20579, "loc": { "start": { "line": 622, "column": 29 }, "end": { "line": 627, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 20381, "end": 20562, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 626, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 20384, "end": 20452, "loc": { "start": { "line": 624, "column": 19 }, "end": { "line": 624, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 20385, "end": 20452, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 20385, "end": 20412, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 47 } }, "object": { "type": "MemberExpression", "start": 20385, "end": 20399, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20385, "end": 20389, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20390, "end": 20399, "loc": { "start": { "line": 624, "column": 25 }, "end": { "line": 624, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20400, "end": 20412, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 20413, "end": 20435, "loc": { "start": { "line": 624, "column": 48 }, "end": { "line": 624, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 20413, "end": 20430, "loc": { "start": { "line": 624, "column": 48 }, "end": { "line": 624, "column": 65 } }, "object": { "type": "Identifier", "start": 20413, "end": 20424, "loc": { "start": { "line": 624, "column": 48 }, "end": { "line": 624, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 20425, "end": 20430, "loc": { "start": { "line": 624, "column": 60 }, "end": { "line": 624, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20431, "end": 20434, "loc": { "start": { "line": 624, "column": 66 }, "end": { "line": 624, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 20437, "end": 20451, "loc": { "start": { "line": 624, "column": 72 }, "end": { "line": 624, "column": 86 } }, "object": { "type": "Identifier", "start": 20437, "end": 20445, "loc": { "start": { "line": 624, "column": 72 }, "end": { "line": 624, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20446, "end": 20451, "loc": { "start": { "line": 624, "column": 81 }, "end": { "line": 624, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20453, "end": 20562, "loc": { "start": { "line": 624, "column": 88 }, "end": { "line": 626, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 20474, "end": 20543, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 20474, "end": 20542, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20474, "end": 20505, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 49 } }, "object": { "type": "Identifier", "start": 20474, "end": 20492, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20493, "end": 20504, "loc": { "start": { "line": 625, "column": 37 }, "end": { "line": 625, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 20508, "end": 20542, "loc": { "start": { "line": 625, "column": 52 }, "end": { "line": 625, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 20511, "end": 20522, "loc": { "start": { "line": 625, "column": 55 }, "end": { "line": 625, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 20526, "end": 20540, "loc": { "start": { "line": 625, "column": 70 }, "end": { "line": 625, "column": 84 } }, "object": { "type": "Identifier", "start": 20526, "end": 20534, "loc": { "start": { "line": 625, "column": 70 }, "end": { "line": 625, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20535, "end": 20540, "loc": { "start": { "line": 625, "column": 79 }, "end": { "line": 625, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20509, "end": 20509, "loc": { "start": { "line": 625, "column": 53 }, "end": { "line": 625, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 20523, "end": 20524, "loc": { "start": { "line": 625, "column": 67 }, "end": { "line": 625, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20541, "end": 20541, "loc": { "start": { "line": 625, "column": 85 }, "end": { "line": 625, "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": 20280, "end": 20363, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20585, "end": 20670, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 629, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 20604, "end": 20653, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 20604, "end": 20652, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20604, "end": 20635, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 47 } }, "object": { "type": "Identifier", "start": 20604, "end": 20622, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20623, "end": 20634, "loc": { "start": { "line": 628, "column": 35 }, "end": { "line": 628, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 20638, "end": 20652, "loc": { "start": { "line": 628, "column": 50 }, "end": { "line": 628, "column": 64 } }, "object": { "type": "Identifier", "start": 20638, "end": 20646, "loc": { "start": { "line": 628, "column": 50 }, "end": { "line": 628, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20647, "end": 20652, "loc": { "start": { "line": 628, "column": 59 }, "end": { "line": 628, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20191, "end": 20230, "loc": { "start": { "line": 621, "column": 14 }, "end": { "line": 621, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20717, "end": 20845, "loc": { "start": { "line": 632, "column": 15 }, "end": { "line": 634, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 20730, "end": 20834, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 114 } }, "expression": { "type": "CallExpression", "start": 20730, "end": 20834, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 20730, "end": 20742, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 22 } }, "object": { "type": "Identifier", "start": 20730, "end": 20737, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 20738, "end": 20742, "loc": { "start": { "line": 633, "column": 18 }, "end": { "line": 633, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 20743, "end": 20833, "loc": { "start": { "line": 633, "column": 23 }, "end": { "line": 633, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 20744, "end": 20832, "loc": { "start": { "line": 633, "column": 24 }, "end": { "line": 633, "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": 20871, "end": 20937, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 20943, "end": 21013, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 20943, "end": 21012, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 20943, "end": 20969, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20943, "end": 20959, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20943, "end": 20947, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20948, "end": 20959, "loc": { "start": { "line": 641, "column": 9 }, "end": { "line": 641, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20960, "end": 20969, "loc": { "start": { "line": 641, "column": 21 }, "end": { "line": 641, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 20973, "end": 21012, "loc": { "start": { "line": 641, "column": 34 }, "end": { "line": 641, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 20977, "end": 20995, "loc": { "start": { "line": 641, "column": 38 }, "end": { "line": 641, "column": 56 } }, "object": { "type": "MemberExpression", "start": 20977, "end": 20989, "loc": { "start": { "line": 641, "column": 38 }, "end": { "line": 641, "column": 50 } }, "object": { "type": "ThisExpression", "start": 20977, "end": 20981, "loc": { "start": { "line": 641, "column": 38 }, "end": { "line": 641, "column": 42 } } }, "property": { "type": "Identifier", "start": 20982, "end": 20989, "loc": { "start": { "line": 641, "column": 43 }, "end": { "line": 641, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20990, "end": 20995, "loc": { "start": { "line": 641, "column": 51 }, "end": { "line": 641, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 20999, "end": 21010, "loc": { "start": { "line": 641, "column": 60 }, "end": { "line": 641, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 20974, "end": 20975, "loc": { "start": { "line": 641, "column": 35 }, "end": { "line": 641, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20996, "end": 20997, "loc": { "start": { "line": 641, "column": 57 }, "end": { "line": 641, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21011, "end": 21011, "loc": { "start": { "line": 641, "column": 72 }, "end": { "line": 641, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20871, "end": 20937, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21021, "end": 21068, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 645, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21074, "end": 23270, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 714, "column": 7 } }, "expression": { "type": "CallExpression", "start": 21074, "end": 23269, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 714, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 21074, "end": 21113, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21074, "end": 21105, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 35 } }, "object": { "type": "Identifier", "start": 21074, "end": 21080, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 21081, "end": 21104, "loc": { "start": { "line": 646, "column": 11 }, "end": { "line": 646, "column": 34 } }, "object": { "type": "MemberExpression", "start": 21081, "end": 21093, "loc": { "start": { "line": 646, "column": 11 }, "end": { "line": 646, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21081, "end": 21085, "loc": { "start": { "line": 646, "column": 11 }, "end": { "line": 646, "column": 15 } } }, "property": { "type": "Identifier", "start": 21086, "end": 21093, "loc": { "start": { "line": 646, "column": 16 }, "end": { "line": 646, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21094, "end": 21104, "loc": { "start": { "line": 646, "column": 24 }, "end": { "line": 646, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 21106, "end": 21113, "loc": { "start": { "line": 646, "column": 36 }, "end": { "line": 646, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21114, "end": 23268, "loc": { "start": { "line": 646, "column": 44 }, "end": { "line": 714, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21115, "end": 21118, "loc": { "start": { "line": 646, "column": 45 }, "end": { "line": 646, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 21120, "end": 21126, "loc": { "start": { "line": 646, "column": 50 }, "end": { "line": 646, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 21131, "end": 23268, "loc": { "start": { "line": 646, "column": 61 }, "end": { "line": 714, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21140, "end": 21170, "loc": { "start": { "line": 647, "column": 6 }, "end": { "line": 647, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21144, "end": 21169, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 35 } }, "id": { "type": "Identifier", "start": 21144, "end": 21152, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 21155, "end": 21169, "loc": { "start": { "line": 647, "column": 21 }, "end": { "line": 647, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 21155, "end": 21164, "loc": { "start": { "line": 647, "column": 21 }, "end": { "line": 647, "column": 30 } }, "object": { "type": "Identifier", "start": 21155, "end": 21158, "loc": { "start": { "line": 647, "column": 21 }, "end": { "line": 647, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 21159, "end": 21164, "loc": { "start": { "line": 647, "column": 25 }, "end": { "line": 647, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21165, "end": 21168, "loc": { "start": { "line": 647, "column": 31 }, "end": { "line": 647, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21180, "end": 21223, "loc": { "start": { "line": 649, "column": 6 }, "end": { "line": 651, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 21231, "end": 21274, "loc": { "start": { "line": 652, "column": 6 }, "end": { "line": 652, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21235, "end": 21273, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 48 } }, "id": { "type": "Identifier", "start": 21235, "end": 21241, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21244, "end": 21273, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 21244, "end": 21266, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 41 } }, "object": { "type": "Identifier", "start": 21244, "end": 21252, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21253, "end": 21266, "loc": { "start": { "line": 652, "column": 28 }, "end": { "line": 652, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21267, "end": 21272, "loc": { "start": { "line": 652, "column": 42 }, "end": { "line": 652, "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": 21180, "end": 21223, "loc": { "start": { "line": 649, "column": 6 }, "end": { "line": 651, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21282, "end": 21311, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 21282, "end": 21310, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21282, "end": 21298, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 22 } }, "object": { "type": "Identifier", "start": 21282, "end": 21288, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 21289, "end": 21298, "loc": { "start": { "line": 653, "column": 13 }, "end": { "line": 653, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21302, "end": 21310, "loc": { "start": { "line": 653, "column": 26 }, "end": { "line": 653, "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": 21321, "end": 21382, "loc": { "start": { "line": 655, "column": 6 }, "end": { "line": 657, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21390, "end": 23156, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 708, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21390, "end": 23155, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 708, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21390, "end": 21406, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 658, "column": 22 } }, "object": { "type": "Identifier", "start": 21390, "end": 21398, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 658, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 21399, "end": 21406, "loc": { "start": { "line": 658, "column": 15 }, "end": { "line": 658, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21407, "end": 23154, "loc": { "start": { "line": 658, "column": 23 }, "end": { "line": 708, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21408, "end": 21414, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 21416, "end": 21422, "loc": { "start": { "line": 658, "column": 32 }, "end": { "line": 658, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 21427, "end": 23154, "loc": { "start": { "line": 658, "column": 43 }, "end": { "line": 708, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 21438, "end": 21494, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21442, "end": 21493, "loc": { "start": { "line": 659, "column": 12 }, "end": { "line": 659, "column": 63 } }, "id": { "type": "Identifier", "start": 21442, "end": 21453, "loc": { "start": { "line": 659, "column": 12 }, "end": { "line": 659, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 21456, "end": 21493, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 21456, "end": 21485, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 55 } }, "object": { "type": "MemberExpression", "start": 21456, "end": 21470, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 40 } }, "object": { "type": "ThisExpression", "start": 21456, "end": 21460, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 30 } } }, "property": { "type": "Identifier", "start": 21461, "end": 21470, "loc": { "start": { "line": 659, "column": 31 }, "end": { "line": 659, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21471, "end": 21485, "loc": { "start": { "line": 659, "column": 41 }, "end": { "line": 659, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21486, "end": 21492, "loc": { "start": { "line": 659, "column": 56 }, "end": { "line": 659, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21504, "end": 21554, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21508, "end": 21553, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 57 } }, "id": { "type": "Identifier", "start": 21508, "end": 21524, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 21527, "end": 21553, "loc": { "start": { "line": 660, "column": 31 }, "end": { "line": 660, "column": 57 } }, "object": { "type": "Identifier", "start": 21527, "end": 21545, "loc": { "start": { "line": 660, "column": 31 }, "end": { "line": 660, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21546, "end": 21552, "loc": { "start": { "line": 660, "column": 50 }, "end": { "line": 660, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21564, "end": 21681, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21568, "end": 21680, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 124 } }, "id": { "type": "Identifier", "start": 21568, "end": 21585, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 21588, "end": 21680, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 21588, "end": 21623, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 67 } }, "object": { "type": "MemberExpression", "start": 21588, "end": 21602, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 46 } }, "object": { "type": "ThisExpression", "start": 21588, "end": 21592, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 36 } } }, "property": { "type": "Identifier", "start": 21593, "end": 21602, "loc": { "start": { "line": 661, "column": 37 }, "end": { "line": 661, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21603, "end": 21623, "loc": { "start": { "line": 661, "column": 47 }, "end": { "line": 661, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21624, "end": 21630, "loc": { "start": { "line": 661, "column": 68 }, "end": { "line": 661, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 21632, "end": 21652, "loc": { "start": { "line": 661, "column": 76 }, "end": { "line": 661, "column": 96 } }, "object": { "type": "MemberExpression", "start": 21632, "end": 21644, "loc": { "start": { "line": 661, "column": 76 }, "end": { "line": 661, "column": 88 } }, "object": { "type": "ThisExpression", "start": 21632, "end": 21636, "loc": { "start": { "line": 661, "column": 76 }, "end": { "line": 661, "column": 80 } } }, "property": { "type": "Identifier", "start": 21637, "end": 21644, "loc": { "start": { "line": 661, "column": 81 }, "end": { "line": 661, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21645, "end": 21652, "loc": { "start": { "line": 661, "column": 89 }, "end": { "line": 661, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 21654, "end": 21679, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 123 } }, "object": { "type": "MemberExpression", "start": 21654, "end": 21666, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 110 } }, "object": { "type": "ThisExpression", "start": 21654, "end": 21658, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 102 } } }, "property": { "type": "Identifier", "start": 21659, "end": 21666, "loc": { "start": { "line": 661, "column": 103 }, "end": { "line": 661, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21667, "end": 21679, "loc": { "start": { "line": 661, "column": 111 }, "end": { "line": 661, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21693, "end": 21737, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 665, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 21747, "end": 21793, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 666, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21751, "end": 21792, "loc": { "start": { "line": 666, "column": 12 }, "end": { "line": 666, "column": 53 } }, "id": { "type": "Identifier", "start": 21751, "end": 21760, "loc": { "start": { "line": 666, "column": 12 }, "end": { "line": 666, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21763, "end": 21792, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 21763, "end": 21785, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 46 } }, "object": { "type": "Identifier", "start": 21763, "end": 21771, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21772, "end": 21785, "loc": { "start": { "line": 666, "column": 33 }, "end": { "line": 666, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21786, "end": 21791, "loc": { "start": { "line": 666, "column": 47 }, "end": { "line": 666, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21693, "end": 21737, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 665, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 21803, "end": 21900, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 21803, "end": 21899, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21803, "end": 21822, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 27 } }, "object": { "type": "Identifier", "start": 21803, "end": 21812, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21813, "end": 21822, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 21826, "end": 21899, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 21839, "end": 21850, "loc": { "start": { "line": 667, "column": 44 }, "end": { "line": 667, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 21853, "end": 21897, "loc": { "start": { "line": 667, "column": 58 }, "end": { "line": 667, "column": 102 } }, "test": { "type": "Identifier", "start": 21853, "end": 21869, "loc": { "start": { "line": 667, "column": 58 }, "end": { "line": 667, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 21872, "end": 21892, "loc": { "start": { "line": 667, "column": 77 }, "end": { "line": 667, "column": 97 } }, "left": { "type": "StringLiteral", "start": 21872, "end": 21875, "loc": { "start": { "line": 667, "column": 77 }, "end": { "line": 667, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 21876, "end": 21892, "loc": { "start": { "line": 667, "column": 81 }, "end": { "line": 667, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 21895, "end": 21897, "loc": { "start": { "line": 667, "column": 100 }, "end": { "line": 667, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 21827, "end": 21837, "loc": { "start": { "line": 667, "column": 32 }, "end": { "line": 667, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 21851, "end": 21851, "loc": { "start": { "line": 667, "column": 56 }, "end": { "line": 667, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21898, "end": 21898, "loc": { "start": { "line": 667, "column": 103 }, "end": { "line": 667, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 21910, "end": 21969, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 21910, "end": 21968, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21910, "end": 21927, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 25 } }, "object": { "type": "Identifier", "start": 21910, "end": 21919, "loc": { "start": { "line": 668, "column": 8 }, "end": { "line": 668, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21920, "end": 21927, "loc": { "start": { "line": 668, "column": 18 }, "end": { "line": 668, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 21930, "end": 21968, "loc": { "start": { "line": 668, "column": 28 }, "end": { "line": 668, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 21936, "end": 21968, "loc": { "start": { "line": 668, "column": 34 }, "end": { "line": 668, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 21936, "end": 21960, "loc": { "start": { "line": 668, "column": 34 }, "end": { "line": 668, "column": 58 } }, "object": { "type": "ThisExpression", "start": 21936, "end": 21940, "loc": { "start": { "line": 668, "column": 34 }, "end": { "line": 668, "column": 38 } } }, "property": { "type": "Identifier", "start": 21941, "end": 21960, "loc": { "start": { "line": 668, "column": 39 }, "end": { "line": 668, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21961, "end": 21967, "loc": { "start": { "line": 668, "column": 59 }, "end": { "line": 668, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } } }, { "type": "ExpressionStatement", "start": 21979, "end": 22048, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 21979, "end": 22047, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21979, "end": 22000, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 29 } }, "object": { "type": "Identifier", "start": 21979, "end": 21988, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21989, "end": 22000, "loc": { "start": { "line": 669, "column": 18 }, "end": { "line": 669, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 22003, "end": 22047, "loc": { "start": { "line": 669, "column": 32 }, "end": { "line": 669, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 22004, "end": 22005, "loc": { "start": { "line": 669, "column": 33 }, "end": { "line": 669, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 22010, "end": 22047, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 22010, "end": 22036, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 65 } }, "object": { "type": "ThisExpression", "start": 22010, "end": 22014, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 43 } } }, "property": { "type": "Identifier", "start": 22015, "end": 22036, "loc": { "start": { "line": 669, "column": 44 }, "end": { "line": 669, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22037, "end": 22043, "loc": { "start": { "line": 669, "column": 66 }, "end": { "line": 669, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22045, "end": 22046, "loc": { "start": { "line": 669, "column": 74 }, "end": { "line": 669, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22060, "end": 22106, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 673, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22116, "end": 22161, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 53 } }, "expression": { "type": "CallExpression", "start": 22116, "end": 22160, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 22116, "end": 22138, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 30 } }, "object": { "type": "Identifier", "start": 22116, "end": 22125, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22126, "end": 22138, "loc": { "start": { "line": 674, "column": 18 }, "end": { "line": 674, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22139, "end": 22151, "loc": { "start": { "line": 674, "column": 31 }, "end": { "line": 674, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 22153, "end": 22159, "loc": { "start": { "line": 674, "column": 45 }, "end": { "line": 674, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22060, "end": 22106, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 673, "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": 22173, "end": 22328, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 679, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22338, "end": 22404, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22342, "end": 22403, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 73 } }, "id": { "type": "Identifier", "start": 22342, "end": 22351, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 22354, "end": 22403, "loc": { "start": { "line": 680, "column": 24 }, "end": { "line": 680, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 22357, "end": 22380, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 50 } }, "object": { "type": "MemberExpression", "start": 22357, "end": 22369, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 39 } }, "object": { "type": "ThisExpression", "start": 22357, "end": 22361, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 31 } } }, "property": { "type": "Identifier", "start": 22362, "end": 22369, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22370, "end": 22380, "loc": { "start": { "line": 680, "column": 40 }, "end": { "line": 680, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 22385, "end": 22391, "loc": { "start": { "line": 680, "column": 55 }, "end": { "line": 680, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 22395, "end": 22401, "loc": { "start": { "line": 680, "column": 65 }, "end": { "line": 680, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 22355, "end": 22355, "loc": { "start": { "line": 680, "column": 25 }, "end": { "line": 680, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22381, "end": 22383, "loc": { "start": { "line": 680, "column": 51 }, "end": { "line": 680, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 22392, "end": 22393, "loc": { "start": { "line": 680, "column": 62 }, "end": { "line": 680, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 22402, "end": 22402, "loc": { "start": { "line": 680, "column": 72 }, "end": { "line": 680, "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": 22173, "end": 22328, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 679, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22414, "end": 22465, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 59 } }, "expression": { "type": "CallExpression", "start": 22414, "end": 22464, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22414, "end": 22436, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 30 } }, "object": { "type": "Identifier", "start": 22414, "end": 22423, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22424, "end": 22436, "loc": { "start": { "line": 681, "column": 18 }, "end": { "line": 681, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22437, "end": 22452, "loc": { "start": { "line": 681, "column": 31 }, "end": { "line": 681, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 22454, "end": 22463, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22477, "end": 22526, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22536, "end": 22599, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 71 } }, "expression": { "type": "CallExpression", "start": 22536, "end": 22598, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 22536, "end": 22558, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 30 } }, "object": { "type": "Identifier", "start": 22536, "end": 22545, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22546, "end": 22558, "loc": { "start": { "line": 686, "column": 18 }, "end": { "line": 686, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22559, "end": 22578, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 22580, "end": 22597, "loc": { "start": { "line": 686, "column": 52 }, "end": { "line": 686, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22477, "end": 22526, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22611, "end": 22669, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 690, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22679, "end": 22730, "loc": { "start": { "line": 691, "column": 8 }, "end": { "line": 691, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22683, "end": 22729, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 58 } }, "id": { "type": "Identifier", "start": 22683, "end": 22696, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22699, "end": 22729, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22699, "end": 22721, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 50 } }, "object": { "type": "Identifier", "start": 22699, "end": 22707, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22708, "end": 22721, "loc": { "start": { "line": 691, "column": 37 }, "end": { "line": 691, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22722, "end": 22728, "loc": { "start": { "line": 691, "column": 51 }, "end": { "line": 691, "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": 22611, "end": 22669, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 690, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22740, "end": 22784, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 22740, "end": 22783, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22740, "end": 22763, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 31 } }, "object": { "type": "Identifier", "start": 22740, "end": 22753, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 22754, "end": 22763, "loc": { "start": { "line": 692, "column": 22 }, "end": { "line": 692, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 22766, "end": 22783, "loc": { "start": { "line": 692, "column": 34 }, "end": { "line": 692, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 22794, "end": 22831, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 45 } }, "expression": { "type": "CallExpression", "start": 22794, "end": 22830, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 22794, "end": 22815, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 29 } }, "object": { "type": "Identifier", "start": 22794, "end": 22803, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22804, "end": 22815, "loc": { "start": { "line": 693, "column": 18 }, "end": { "line": 693, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22816, "end": 22829, "loc": { "start": { "line": 693, "column": 30 }, "end": { "line": 693, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22843, "end": 22896, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 697, "column": 11 } } } ] }, { "type": "IfStatement", "start": 22906, "end": 22983, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 699, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 22909, "end": 22937, "loc": { "start": { "line": 698, "column": 11 }, "end": { "line": 698, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 22910, "end": 22937, "loc": { "start": { "line": 698, "column": 12 }, "end": { "line": 698, "column": 39 } }, "object": { "type": "MemberExpression", "start": 22910, "end": 22929, "loc": { "start": { "line": 698, "column": 12 }, "end": { "line": 698, "column": 31 } }, "object": { "type": "ThisExpression", "start": 22910, "end": 22914, "loc": { "start": { "line": 698, "column": 12 }, "end": { "line": 698, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22915, "end": 22929, "loc": { "start": { "line": 698, "column": 17 }, "end": { "line": 698, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22930, "end": 22936, "loc": { "start": { "line": 698, "column": 32 }, "end": { "line": 698, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 22950, "end": 22983, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 22950, "end": 22982, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22950, "end": 22977, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 37 } }, "object": { "type": "MemberExpression", "start": 22950, "end": 22969, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 29 } }, "object": { "type": "ThisExpression", "start": 22950, "end": 22954, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 14 } } }, "property": { "type": "Identifier", "start": 22955, "end": 22969, "loc": { "start": { "line": 699, "column": 15 }, "end": { "line": 699, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 22970, "end": 22976, "loc": { "start": { "line": 699, "column": 30 }, "end": { "line": 699, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 22980, "end": 22982, "loc": { "start": { "line": 699, "column": 40 }, "end": { "line": 699, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22843, "end": 22896, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 697, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22995, "end": 23039, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 52 } }, "expression": { "type": "CallExpression", "start": 22995, "end": 23038, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 22995, "end": 23027, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 40 } }, "object": { "type": "MemberExpression", "start": 22995, "end": 23022, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 35 } }, "object": { "type": "MemberExpression", "start": 22995, "end": 23014, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 27 } }, "object": { "type": "ThisExpression", "start": 22995, "end": 22999, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 12 } } }, "property": { "type": "Identifier", "start": 23000, "end": 23014, "loc": { "start": { "line": 701, "column": 13 }, "end": { "line": 701, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 23015, "end": 23021, "loc": { "start": { "line": 701, "column": 28 }, "end": { "line": 701, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 23023, "end": 23027, "loc": { "start": { "line": 701, "column": 36 }, "end": { "line": 701, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23028, "end": 23037, "loc": { "start": { "line": 701, "column": 41 }, "end": { "line": 701, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23051, "end": 23103, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 705, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23113, "end": 23143, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 38 } }, "expression": { "type": "CallExpression", "start": 23113, "end": 23142, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 23113, "end": 23131, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 26 } }, "object": { "type": "Identifier", "start": 23113, "end": 23119, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23120, "end": 23131, "loc": { "start": { "line": 706, "column": 15 }, "end": { "line": 706, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23132, "end": 23141, "loc": { "start": { "line": 706, "column": 27 }, "end": { "line": 706, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23051, "end": 23103, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 705, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21321, "end": 21382, "loc": { "start": { "line": 655, "column": 6 }, "end": { "line": 657, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23166, "end": 23216, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 712, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23224, "end": 23261, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23224, "end": 23260, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23224, "end": 23252, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23224, "end": 23240, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23224, "end": 23228, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23229, "end": 23240, "loc": { "start": { "line": 713, "column": 11 }, "end": { "line": 713, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23241, "end": 23252, "loc": { "start": { "line": 713, "column": 23 }, "end": { "line": 713, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23253, "end": 23259, "loc": { "start": { "line": 713, "column": 35 }, "end": { "line": 713, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23166, "end": 23216, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 712, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21021, "end": 21068, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 645, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23278, "end": 23315, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 718, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 23321, "end": 23337, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23321, "end": 23336, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23321, "end": 23334, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23321, "end": 23325, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23326, "end": 23334, "loc": { "start": { "line": 719, "column": 9 }, "end": { "line": 719, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23278, "end": 23315, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 718, "column": 7 } } } ] }, { "type": "IfStatement", "start": 23345, "end": 23680, "loc": { "start": { "line": 721, "column": 4 }, "end": { "line": 736, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 23348, "end": 23365, "loc": { "start": { "line": 721, "column": 7 }, "end": { "line": 721, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 23349, "end": 23365, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 24 } }, "object": { "type": "ThisExpression", "start": 23349, "end": 23353, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 12 } } }, "property": { "type": "Identifier", "start": 23354, "end": 23365, "loc": { "start": { "line": 721, "column": 13 }, "end": { "line": 721, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 23366, "end": 23680, "loc": { "start": { "line": 721, "column": 25 }, "end": { "line": 736, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 23465, "end": 23489, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 23465, "end": 23488, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23465, "end": 23481, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23465, "end": 23469, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23470, "end": 23481, "loc": { "start": { "line": 725, "column": 11 }, "end": { "line": 725, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 23484, "end": 23488, "loc": { "start": { "line": 725, "column": 25 }, "end": { "line": 725, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23375, "end": 23457, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23499, "end": 23540, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23548, "end": 23602, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 23548, "end": 23601, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23548, "end": 23566, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 24 } }, "object": { "type": "Identifier", "start": 23548, "end": 23556, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 14 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 23557, "end": 23566, "loc": { "start": { "line": 730, "column": 15 }, "end": { "line": 730, "column": 24 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 23569, "end": 23601, "loc": { "start": { "line": 730, "column": 27 }, "end": { "line": 730, "column": 59 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 23575, "end": 23601, "loc": { "start": { "line": 730, "column": 33 }, "end": { "line": 730, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 23575, "end": 23599, "loc": { "start": { "line": 730, "column": 33 }, "end": { "line": 730, "column": 57 } }, "object": { "type": "ThisExpression", "start": 23575, "end": 23579, "loc": { "start": { "line": 730, "column": 33 }, "end": { "line": 730, "column": 37 } } }, "property": { "type": "Identifier", "start": 23580, "end": 23599, "loc": { "start": { "line": 730, "column": 38 }, "end": { "line": 730, "column": 57 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23499, "end": 23540, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23612, "end": 23651, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 734, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23659, "end": 23673, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23659, "end": 23672, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23659, "end": 23670, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23659, "end": 23663, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23664, "end": 23670, "loc": { "start": { "line": 735, "column": 11 }, "end": { "line": 735, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23612, "end": 23651, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 734, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19311, "end": 19367, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "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 * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7112, "end": 7140, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "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": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7389, "end": 7438, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 157, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7494, "end": 7533, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 7937, "end": 8014, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 176, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8709, "end": 8750, "loc": { "start": { "line": 204, "column": 2 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8754, "end": 8780, "loc": { "start": { "line": 207, "column": 2 }, "end": { "line": 207, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 8823, "end": 8902, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 211, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 8940, "end": 9017, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 216, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9493, "end": 9532, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 9687, "end": 9723, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 247, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9727, "end": 9753, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 248, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 9788, "end": 9874, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "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": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "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": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Apply modules\r\n ", "start": 11989, "end": 12023, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 334, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12059, "end": 12168, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 341, "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": 12317, "end": 12522, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "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": 12900, "end": 13181, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 367, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13508, "end": 13599, "loc": { "start": { "line": 379, "column": 8 }, "end": { "line": 381, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14129, "end": 14204, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "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": 14423, "end": 14763, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 417, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 14811, "end": 14891, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 421, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15020, "end": 15088, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 430, "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": 15353, "end": 15494, "loc": { "start": { "line": 436, "column": 10 }, "end": { "line": 439, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15735, "end": 15832, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 448, "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": 16190, "end": 16393, "loc": { "start": { "line": 466, "column": 2 }, "end": { "line": 469, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16670, "end": 16760, "loc": { "start": { "line": 485, "column": 2 }, "end": { "line": 487, "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": 17073, "end": 17185, "loc": { "start": { "line": 498, "column": 2 }, "end": { "line": 500, "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": 17374, "end": 17522, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 511, "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": 17745, "end": 17865, "loc": { "start": { "line": 520, "column": 2 }, "end": { "line": 522, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17957, "end": 17992, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "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": 18111, "end": 18229, "loc": { "start": { "line": 537, "column": 2 }, "end": { "line": 539, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18340, "end": 18372, "loc": { "start": { "line": 545, "column": 2 }, "end": { "line": 547, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18531, "end": 18560, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 557, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18720, "end": 18746, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19028, "end": 19060, "loc": { "start": { "line": 575, "column": 2 }, "end": { "line": 577, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19202, "end": 19233, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 587, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19311, "end": 19367, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19386, "end": 19421, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 598, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19632, "end": 19684, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 606, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 20191, "end": 20230, "loc": { "start": { "line": 621, "column": 14 }, "end": { "line": 621, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20280, "end": 20363, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20871, "end": 20937, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21021, "end": 21068, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 645, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21180, "end": 21223, "loc": { "start": { "line": 649, "column": 6 }, "end": { "line": 651, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21321, "end": 21382, "loc": { "start": { "line": 655, "column": 6 }, "end": { "line": 657, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21693, "end": 21737, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 665, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22060, "end": 22106, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 673, "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": 22173, "end": 22328, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 679, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22477, "end": 22526, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22611, "end": 22669, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 690, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22843, "end": 22896, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 697, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23051, "end": 23103, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 705, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23166, "end": 23216, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 712, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23278, "end": 23315, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 718, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23375, "end": 23457, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23499, "end": 23540, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23612, "end": 23651, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 734, "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 * Bindings\r\n ", "start": 4184, "end": 4213, "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": 4219, "end": 4223, "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": 4223, "end": 4224, "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": "handleButtonClicked", "start": 4224, "end": 4243, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4244, "end": 4245, "loc": { "start": { "line": 69, "column": 29 }, "end": { "line": 69, "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": 4246, "end": 4250, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4250, "end": 4251, "loc": { "start": { "line": 69, "column": 35 }, "end": { "line": 69, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4251, "end": 4270, "loc": { "start": { "line": 69, "column": 36 }, "end": { "line": 69, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4270, "end": 4271, "loc": { "start": { "line": 69, "column": 55 }, "end": { "line": 69, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4271, "end": 4275, "loc": { "start": { "line": 69, "column": 56 }, "end": { "line": 69, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4275, "end": 4276, "loc": { "start": { "line": 69, "column": 60 }, "end": { "line": 69, "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": 4276, "end": 4280, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4280, "end": 4281, "loc": { "start": { "line": 69, "column": 65 }, "end": { "line": 69, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4281, "end": 4282, "loc": { "start": { "line": 69, "column": 66 }, "end": { "line": 69, "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": 4288, "end": 4292, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4292, "end": 4293, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4293, "end": 4311, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4312, "end": 4313, "loc": { "start": { "line": 70, "column": 28 }, "end": { "line": 70, "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": 4314, "end": 4318, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4318, "end": 4319, "loc": { "start": { "line": 70, "column": 34 }, "end": { "line": 70, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4319, "end": 4337, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4337, "end": 4338, "loc": { "start": { "line": 70, "column": 53 }, "end": { "line": 70, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4338, "end": 4342, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4342, "end": 4343, "loc": { "start": { "line": 70, "column": 58 }, "end": { "line": 70, "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": 4343, "end": 4347, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4347, "end": 4348, "loc": { "start": { "line": 70, "column": 63 }, "end": { "line": 70, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4348, "end": 4349, "loc": { "start": { "line": 70, "column": 64 }, "end": { "line": 70, "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": 4355, "end": 4359, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4359, "end": 4360, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4360, "end": 4370, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4371, "end": 4372, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "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": 4373, "end": 4377, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4377, "end": 4378, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 71, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4378, "end": 4388, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4388, "end": 4389, "loc": { "start": { "line": 71, "column": 37 }, "end": { "line": 71, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4389, "end": 4393, "loc": { "start": { "line": 71, "column": 38 }, "end": { "line": 71, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4393, "end": 4394, "loc": { "start": { "line": 71, "column": 42 }, "end": { "line": 71, "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": 4394, "end": 4398, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4398, "end": 4399, "loc": { "start": { "line": 71, "column": 47 }, "end": { "line": 71, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4399, "end": 4400, "loc": { "start": { "line": 71, "column": 48 }, "end": { "line": 71, "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": 4406, "end": 4410, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4410, "end": 4411, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4411, "end": 4419, "loc": { "start": { "line": 72, "column": 9 }, "end": { "line": 72, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4420, "end": 4421, "loc": { "start": { "line": 72, "column": 18 }, "end": { "line": 72, "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": 4422, "end": 4426, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4426, "end": 4427, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4427, "end": 4435, "loc": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4435, "end": 4436, "loc": { "start": { "line": 72, "column": 33 }, "end": { "line": 72, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4436, "end": 4440, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4440, "end": 4441, "loc": { "start": { "line": 72, "column": 38 }, "end": { "line": 72, "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": 4441, "end": 4445, "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4445, "end": 4446, "loc": { "start": { "line": 72, "column": 43 }, "end": { "line": 72, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4446, "end": 4447, "loc": { "start": { "line": 72, "column": 44 }, "end": { "line": 72, "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": 4453, "end": 4457, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4457, "end": 4458, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4458, "end": 4466, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4467, "end": 4468, "loc": { "start": { "line": 73, "column": 18 }, "end": { "line": 73, "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": 4469, "end": 4473, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4473, "end": 4474, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4474, "end": 4482, "loc": { "start": { "line": 73, "column": 25 }, "end": { "line": 73, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4482, "end": 4483, "loc": { "start": { "line": 73, "column": 33 }, "end": { "line": 73, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4483, "end": 4487, "loc": { "start": { "line": 73, "column": 34 }, "end": { "line": 73, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4487, "end": 4488, "loc": { "start": { "line": 73, "column": 38 }, "end": { "line": 73, "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": 4488, "end": 4492, "loc": { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4492, "end": 4493, "loc": { "start": { "line": 73, "column": 43 }, "end": { "line": 73, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4493, "end": 4494, "loc": { "start": { "line": 73, "column": 44 }, "end": { "line": 73, "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": 4500, "end": 4504, "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": 4504, "end": 4505, "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": "replaceInput", "start": 4505, "end": 4517, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4518, "end": 4519, "loc": { "start": { "line": 74, "column": 22 }, "end": { "line": 74, "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": 4520, "end": 4524, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4524, "end": 4525, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 74, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4525, "end": 4537, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4537, "end": 4538, "loc": { "start": { "line": 74, "column": 41 }, "end": { "line": 74, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4538, "end": 4542, "loc": { "start": { "line": 74, "column": 42 }, "end": { "line": 74, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4542, "end": 4543, "loc": { "start": { "line": 74, "column": 46 }, "end": { "line": 74, "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": 4543, "end": 4547, "loc": { "start": { "line": 74, "column": 47 }, "end": { "line": 74, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4547, "end": 4548, "loc": { "start": { "line": 74, "column": 51 }, "end": { "line": 74, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4548, "end": 4549, "loc": { "start": { "line": 74, "column": 52 }, "end": { "line": 74, "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": 4555, "end": 4559, "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": 4559, "end": 4560, "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": "clear", "start": 4560, "end": 4565, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4566, "end": 4567, "loc": { "start": { "line": 75, "column": 15 }, "end": { "line": 75, "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": 4568, "end": 4572, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4572, "end": 4573, "loc": { "start": { "line": 75, "column": 21 }, "end": { "line": 75, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 4573, "end": 4578, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4578, "end": 4579, "loc": { "start": { "line": 75, "column": 27 }, "end": { "line": 75, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4579, "end": 4583, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4583, "end": 4584, "loc": { "start": { "line": 75, "column": 32 }, "end": { "line": 75, "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": 4584, "end": 4588, "loc": { "start": { "line": 75, "column": 33 }, "end": { "line": 75, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4588, "end": 4589, "loc": { "start": { "line": 75, "column": 37 }, "end": { "line": 75, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4589, "end": 4590, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "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": 4596, "end": 4600, "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": 4600, "end": 4601, "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": "dispatch", "start": 4601, "end": 4609, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4610, "end": 4611, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "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": 4612, "end": 4616, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4616, "end": 4617, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 4617, "end": 4625, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 76, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4625, "end": 4626, "loc": { "start": { "line": 76, "column": 33 }, "end": { "line": 76, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4626, "end": 4630, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4630, "end": 4631, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "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": 4631, "end": 4635, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4635, "end": 4636, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4636, "end": 4637, "loc": { "start": { "line": 76, "column": 44 }, "end": { "line": 76, "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": 4643, "end": 4647, "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": 4647, "end": 4648, "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": "addButtonTheme", "start": 4648, "end": 4662, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4663, "end": 4664, "loc": { "start": { "line": 77, "column": 24 }, "end": { "line": 77, "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": 4665, "end": 4669, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4669, "end": 4670, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 4670, "end": 4684, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4684, "end": 4685, "loc": { "start": { "line": 77, "column": 45 }, "end": { "line": 77, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4685, "end": 4689, "loc": { "start": { "line": 77, "column": 46 }, "end": { "line": 77, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4689, "end": 4690, "loc": { "start": { "line": 77, "column": 50 }, "end": { "line": 77, "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": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 51 }, "end": { "line": 77, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4694, "end": 4695, "loc": { "start": { "line": 77, "column": 55 }, "end": { "line": 77, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4695, "end": 4696, "loc": { "start": { "line": 77, "column": 56 }, "end": { "line": 77, "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": 4702, "end": 4706, "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": 4706, "end": 4707, "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": "removeButtonTheme", "start": 4707, "end": 4724, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4725, "end": 4726, "loc": { "start": { "line": 78, "column": 27 }, "end": { "line": 78, "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": 4727, "end": 4731, "loc": { "start": { "line": 78, "column": 29 }, "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": 4731, "end": 4732, "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": "removeButtonTheme", "start": 4732, "end": 4749, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4749, "end": 4750, "loc": { "start": { "line": 78, "column": 51 }, "end": { "line": 78, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4750, "end": 4754, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4754, "end": 4755, "loc": { "start": { "line": 78, "column": 56 }, "end": { "line": 78, "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": 4755, "end": 4759, "loc": { "start": { "line": 78, "column": 57 }, "end": { "line": 78, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4759, "end": 4760, "loc": { "start": { "line": 78, "column": 61 }, "end": { "line": 78, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4760, "end": 4761, "loc": { "start": { "line": 78, "column": 62 }, "end": { "line": 78, "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": 4767, "end": 4771, "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": 4771, "end": 4772, "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": "getButtonElement", "start": 4772, "end": 4788, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4789, "end": 4790, "loc": { "start": { "line": 79, "column": 26 }, "end": { "line": 79, "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": 4791, "end": 4795, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4795, "end": 4796, "loc": { "start": { "line": 79, "column": 32 }, "end": { "line": 79, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 4796, "end": 4812, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4812, "end": 4813, "loc": { "start": { "line": 79, "column": 49 }, "end": { "line": 79, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4813, "end": 4817, "loc": { "start": { "line": 79, "column": 50 }, "end": { "line": 79, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4817, "end": 4818, "loc": { "start": { "line": 79, "column": 54 }, "end": { "line": 79, "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": 4818, "end": 4822, "loc": { "start": { "line": 79, "column": 55 }, "end": { "line": 79, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4822, "end": 4823, "loc": { "start": { "line": 79, "column": 59 }, "end": { "line": 79, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4823, "end": 4824, "loc": { "start": { "line": 79, "column": 60 }, "end": { "line": 79, "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": 4830, "end": 4834, "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": 4834, "end": 4835, "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": "handleCaret", "start": 4835, "end": 4846, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4847, "end": 4848, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "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": 4849, "end": 4853, "loc": { "start": { "line": 80, "column": 23 }, "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": 4853, "end": 4854, "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": "handleCaret", "start": 4854, "end": 4865, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 39 } } }, { "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": 80, "column": 39 }, "end": { "line": 80, "column": 40 } } }, { "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": 80, "column": 40 }, "end": { "line": 80, "column": 44 } } }, { "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": 80, "column": 44 }, "end": { "line": 80, "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": 4871, "end": 4875, "loc": { "start": { "line": 80, "column": 45 }, "end": { "line": 80, "column": 49 } } }, { "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": 80, "column": 49 }, "end": { "line": 80, "column": 50 } } }, { "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": 80, "column": 50 }, "end": { "line": 80, "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": 4883, "end": 4887, "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": 4887, "end": 4888, "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": "caretEventHandler", "start": 4888, "end": 4905, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4906, "end": 4907, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "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": 4908, "end": 4912, "loc": { "start": { "line": 81, "column": 29 }, "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": 4912, "end": 4913, "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": "caretEventHandler", "start": 4913, "end": 4930, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4930, "end": 4931, "loc": { "start": { "line": 81, "column": 51 }, "end": { "line": 81, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4931, "end": 4935, "loc": { "start": { "line": 81, "column": 52 }, "end": { "line": 81, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4935, "end": 4936, "loc": { "start": { "line": 81, "column": 56 }, "end": { "line": 81, "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": 4936, "end": 4940, "loc": { "start": { "line": 81, "column": 57 }, "end": { "line": 81, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4940, "end": 4941, "loc": { "start": { "line": 81, "column": 61 }, "end": { "line": 81, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4941, "end": 4942, "loc": { "start": { "line": 81, "column": 62 }, "end": { "line": 81, "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": 4948, "end": 4952, "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": 4952, "end": 4953, "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": "onInit", "start": 4953, "end": 4959, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4960, "end": 4961, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "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": 4962, "end": 4966, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4966, "end": 4967, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 4967, "end": 4973, "loc": { "start": { "line": 82, "column": 23 }, "end": { "line": 82, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4973, "end": 4974, "loc": { "start": { "line": 82, "column": 29 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4974, "end": 4978, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4978, "end": 4979, "loc": { "start": { "line": 82, "column": 34 }, "end": { "line": 82, "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": 4979, "end": 4983, "loc": { "start": { "line": 82, "column": 35 }, "end": { "line": 82, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4983, "end": 4984, "loc": { "start": { "line": 82, "column": 39 }, "end": { "line": 82, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4984, "end": 4985, "loc": { "start": { "line": 82, "column": 40 }, "end": { "line": 82, "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": 4991, "end": 4995, "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": 4995, "end": 4996, "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": "onRender", "start": 4996, "end": 5004, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5005, "end": 5006, "loc": { "start": { "line": 83, "column": 18 }, "end": { "line": 83, "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": 5007, "end": 5011, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5011, "end": 5012, "loc": { "start": { "line": 83, "column": 24 }, "end": { "line": 83, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 5012, "end": 5020, "loc": { "start": { "line": 83, "column": 25 }, "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": 5020, "end": 5021, "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": "bind", "start": 5021, "end": 5025, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5025, "end": 5026, "loc": { "start": { "line": 83, "column": 38 }, "end": { "line": 83, "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": 5026, "end": 5030, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5030, "end": 5031, "loc": { "start": { "line": 83, "column": 43 }, "end": { "line": 83, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5031, "end": 5032, "loc": { "start": { "line": 83, "column": 44 }, "end": { "line": 83, "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": 5038, "end": 5042, "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": 5042, "end": 5043, "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": "render", "start": 5043, "end": 5049, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5050, "end": 5051, "loc": { "start": { "line": 84, "column": 16 }, "end": { "line": 84, "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": 5052, "end": 5056, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5056, "end": 5057, "loc": { "start": { "line": 84, "column": 22 }, "end": { "line": 84, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5057, "end": 5063, "loc": { "start": { "line": 84, "column": 23 }, "end": { "line": 84, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5063, "end": 5064, "loc": { "start": { "line": 84, "column": 29 }, "end": { "line": 84, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5064, "end": 5068, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5068, "end": 5069, "loc": { "start": { "line": 84, "column": 34 }, "end": { "line": 84, "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": 5069, "end": 5073, "loc": { "start": { "line": 84, "column": 35 }, "end": { "line": 84, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5073, "end": 5074, "loc": { "start": { "line": 84, "column": 39 }, "end": { "line": 84, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5074, "end": 5075, "loc": { "start": { "line": 84, "column": 40 }, "end": { "line": 84, "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": 5081, "end": 5085, "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": 5085, "end": 5086, "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": "loadModules", "start": 5086, "end": 5097, "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": 5098, "end": 5099, "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": 5100, "end": 5104, "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": 5104, "end": 5105, "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": "loadModules", "start": 5105, "end": 5116, "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": 5116, "end": 5117, "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": 5117, "end": 5121, "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": 5121, "end": 5122, "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": 5122, "end": 5126, "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": 5126, "end": 5127, "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": 5127, "end": 5128, "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": 5134, "end": 5138, "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": 5138, "end": 5139, "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": "handleButtonMouseUp", "start": 5139, "end": 5158, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5159, "end": 5160, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "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": 5161, "end": 5165, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5165, "end": 5166, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5166, "end": 5185, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5185, "end": 5186, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5186, "end": 5190, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5190, "end": 5191, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "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": 5191, "end": 5195, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5195, "end": 5196, "loc": { "start": { "line": 86, "column": 65 }, "end": { "line": 86, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5196, "end": 5197, "loc": { "start": { "line": 86, "column": 66 }, "end": { "line": 86, "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": 5203, "end": 5207, "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": 5207, "end": 5208, "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": "handleButtonMouseDown", "start": 5208, "end": 5229, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5230, "end": 5231, "loc": { "start": { "line": 87, "column": 31 }, "end": { "line": 87, "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": 5232, "end": 5236, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5236, "end": 5237, "loc": { "start": { "line": 87, "column": 37 }, "end": { "line": 87, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 5237, "end": 5258, "loc": { "start": { "line": 87, "column": 38 }, "end": { "line": 87, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5258, "end": 5259, "loc": { "start": { "line": 87, "column": 59 }, "end": { "line": 87, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5259, "end": 5263, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5263, "end": 5264, "loc": { "start": { "line": 87, "column": 64 }, "end": { "line": 87, "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": 5264, "end": 5268, "loc": { "start": { "line": 87, "column": 65 }, "end": { "line": 87, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5268, "end": 5269, "loc": { "start": { "line": 87, "column": 69 }, "end": { "line": 87, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5269, "end": 5270, "loc": { "start": { "line": 87, "column": 70 }, "end": { "line": 87, "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": 5276, "end": 5280, "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": 5280, "end": 5281, "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": "handleButtonHold", "start": 5281, "end": 5297, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5298, "end": 5299, "loc": { "start": { "line": 88, "column": 26 }, "end": { "line": 88, "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": 5300, "end": 5304, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5304, "end": 5305, "loc": { "start": { "line": 88, "column": 32 }, "end": { "line": 88, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 5305, "end": 5321, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5321, "end": 5322, "loc": { "start": { "line": 88, "column": 49 }, "end": { "line": 88, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5322, "end": 5326, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5326, "end": 5327, "loc": { "start": { "line": 88, "column": 54 }, "end": { "line": 88, "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": 5327, "end": 5331, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5331, "end": 5332, "loc": { "start": { "line": 88, "column": 59 }, "end": { "line": 88, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5332, "end": 5333, "loc": { "start": { "line": 88, "column": 60 }, "end": { "line": 88, "column": 61 } } }, { "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "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": 6006, "end": 6010, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6010, "end": 6011, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6011, "end": 6016, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6017, "end": 6018, "loc": { "start": { "line": 104, "column": 15 }, "end": { "line": 104, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6019, "end": 6020, "loc": { "start": { "line": 104, "column": 17 }, "end": { "line": 104, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6020, "end": 6021, "loc": { "start": { "line": 104, "column": 18 }, "end": { "line": 104, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6021, "end": 6022, "loc": { "start": { "line": 104, "column": 19 }, "end": { "line": 104, "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": 6028, "end": 6032, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6032, "end": 6033, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6033, "end": 6038, "loc": { "start": { "line": 105, "column": 9 }, "end": { "line": 105, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6038, "end": 6039, "loc": { "start": { "line": 105, "column": 14 }, "end": { "line": 105, "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": 6039, "end": 6043, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6043, "end": 6044, "loc": { "start": { "line": 105, "column": 19 }, "end": { "line": 105, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6044, "end": 6051, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6051, "end": 6052, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6052, "end": 6061, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6061, "end": 6062, "loc": { "start": { "line": 105, "column": 37 }, "end": { "line": 105, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6063, "end": 6064, "loc": { "start": { "line": 105, "column": 39 }, "end": { "line": 105, "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": 6065, "end": 6067, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6067, "end": 6068, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "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": 6191, "end": 6195, "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": 6195, "end": 6196, "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": "keyboardDOMClass", "start": 6196, "end": 6212, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6213, "end": 6214, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6215, "end": 6231, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6231, "end": 6232, "loc": { "start": { "line": 110, "column": 44 }, "end": { "line": 110, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 6232, "end": 6237, "loc": { "start": { "line": 110, "column": 45 }, "end": { "line": 110, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6237, "end": 6238, "loc": { "start": { "line": 110, "column": 50 }, "end": { "line": 110, "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": 6238, "end": 6241, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6241, "end": 6242, "loc": { "start": { "line": 110, "column": 54 }, "end": { "line": 110, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6242, "end": 6243, "loc": { "start": { "line": 110, "column": 55 }, "end": { "line": 110, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 6243, "end": 6247, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 110, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6247, "end": 6248, "loc": { "start": { "line": 110, "column": 60 }, "end": { "line": 110, "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": 6248, "end": 6250, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6250, "end": 6251, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6251, "end": 6252, "loc": { "start": { "line": 110, "column": 64 }, "end": { "line": 110, "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "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": 6411, "end": 6415, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6415, "end": 6416, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 6416, "end": 6430, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6431, "end": 6432, "loc": { "start": { "line": 115, "column": 24 }, "end": { "line": 115, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6433, "end": 6434, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6434, "end": 6435, "loc": { "start": { "line": 115, "column": 27 }, "end": { "line": 115, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6435, "end": 6436, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "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": 6489, "end": 6491, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 120, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6491, "end": 6492, "loc": { "start": { "line": 120, "column": 6 }, "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": 6492, "end": 6496, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6496, "end": 6497, "loc": { "start": { "line": 120, "column": 11 }, "end": { "line": 120, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 6497, "end": 6508, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6508, "end": 6509, "loc": { "start": { "line": 120, "column": 23 }, "end": { "line": 120, "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": 6517, "end": 6521, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6521, "end": 6522, "loc": { "start": { "line": 121, "column": 10 }, "end": { "line": 121, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 6522, "end": 6528, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6528, "end": 6529, "loc": { "start": { "line": 121, "column": 17 }, "end": { "line": 121, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6529, "end": 6530, "loc": { "start": { "line": 121, "column": 18 }, "end": { "line": 121, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6530, "end": 6531, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "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": 6537, "end": 6541, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6542, "end": 6543, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 122, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 6551, "end": 6558, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6558, "end": 6559, "loc": { "start": { "line": 123, "column": 13 }, "end": { "line": 123, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 6559, "end": 6563, "loc": { "start": { "line": 123, "column": 14 }, "end": { "line": 123, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6563, "end": 6564, "loc": { "start": { "line": 123, "column": 18 }, "end": { "line": 123, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6564, "end": 6565, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "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": 6565, "end": 6566, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6566, "end": 6568, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6568, "end": 6584, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6584, "end": 6585, "loc": { "start": { "line": 123, "column": 39 }, "end": { "line": 123, "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": 6585, "end": 6612, "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6612, "end": 6613, "loc": { "start": { "line": 123, "column": 67 }, "end": { "line": 123, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6613, "end": 6614, "loc": { "start": { "line": 123, "column": 68 }, "end": { "line": 123, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6614, "end": 6615, "loc": { "start": { "line": 123, "column": 69 }, "end": { "line": 123, "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": 6623, "end": 6628, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "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": 6629, "end": 6632, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 6633, "end": 6638, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6638, "end": 6639, "loc": { "start": { "line": 124, "column": 21 }, "end": { "line": 124, "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": 6639, "end": 6659, "loc": { "start": { "line": 124, "column": 22 }, "end": { "line": 124, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6659, "end": 6660, "loc": { "start": { "line": 124, "column": 42 }, "end": { "line": 124, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6660, "end": 6661, "loc": { "start": { "line": 124, "column": 43 }, "end": { "line": 124, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6667, "end": 6668, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "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": 6795, "end": 6797, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 131, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6797, "end": 6798, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "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": 6798, "end": 6799, "loc": { "start": { "line": 131, "column": 7 }, "end": { "line": 131, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6799, "end": 6805, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6805, "end": 6806, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "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": 6806, "end": 6831, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6831, "end": 6832, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6832, "end": 6833, "loc": { "start": { "line": 131, "column": 41 }, "end": { "line": 131, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6841, "end": 6847, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6847, "end": 6848, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "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": 6848, "end": 6873, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6873, "end": 6874, "loc": { "start": { "line": 132, "column": 38 }, "end": { "line": 132, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6875, "end": 6876, "loc": { "start": { "line": 132, "column": 40 }, "end": { "line": 132, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6877, "end": 6878, "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6878, "end": 6879, "loc": { "start": { "line": 132, "column": 43 }, "end": { "line": 132, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6879, "end": 6880, "loc": { "start": { "line": 132, "column": 44 }, "end": { "line": 132, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6894, "end": 6900, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6900, "end": 6901, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "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": 6901, "end": 6926, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6926, "end": 6927, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6927, "end": 6928, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "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": 6928, "end": 6932, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6932, "end": 6933, "loc": { "start": { "line": 134, "column": 42 }, "end": { "line": 134, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 6933, "end": 6942, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6942, "end": 6943, "loc": { "start": { "line": 134, "column": 52 }, "end": { "line": 134, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 6943, "end": 6952, "loc": { "start": { "line": 134, "column": 53 }, "end": { "line": 134, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6952, "end": 6953, "loc": { "start": { "line": 134, "column": 62 }, "end": { "line": 134, "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": 6953, "end": 6957, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6957, "end": 6958, "loc": { "start": { "line": 134, "column": 67 }, "end": { "line": 134, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 6958, "end": 6974, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6974, "end": 6975, "loc": { "start": { "line": 134, "column": 84 }, "end": { "line": 134, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6975, "end": 6976, "loc": { "start": { "line": 134, "column": 85 }, "end": { "line": 134, "column": 86 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6977, "end": 6978, "loc": { "start": { "line": 134, "column": 87 }, "end": { "line": 134, "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": 6979, "end": 6983, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6983, "end": 6984, "loc": { "start": { "line": 134, "column": 93 }, "end": { "line": 134, "column": 94 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "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": 7044, "end": 7048, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7048, "end": 7049, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicalKeyboardInterface", "start": 7049, "end": 7074, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7075, "end": 7076, "loc": { "start": { "line": 139, "column": 35 }, "end": { "line": 139, "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": 7077, "end": 7080, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 7081, "end": 7097, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7097, "end": 7098, "loc": { "start": { "line": 139, "column": 57 }, "end": { "line": 139, "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": 7098, "end": 7102, "loc": { "start": { "line": 139, "column": 58 }, "end": { "line": 139, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7102, "end": 7103, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7103, "end": 7104, "loc": { "start": { "line": 139, "column": 63 }, "end": { "line": 139, "column": 64 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7112, "end": 7140, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "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": 7146, "end": 7150, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7150, "end": 7151, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 7151, "end": 7158, "loc": { "start": { "line": 144, "column": 9 }, "end": { "line": 144, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7159, "end": 7160, "loc": { "start": { "line": 144, "column": 17 }, "end": { "line": 144, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7161, "end": 7162, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7162, "end": 7163, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7163, "end": 7164, "loc": { "start": { "line": 144, "column": 21 }, "end": { "line": 144, "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": 7170, "end": 7174, "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": 7174, "end": 7175, "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": "loadModules", "start": 7175, "end": 7186, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7186, "end": 7187, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7187, "end": 7188, "loc": { "start": { "line": 145, "column": 21 }, "end": { "line": 145, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7188, "end": 7189, "loc": { "start": { "line": 145, "column": 22 }, "end": { "line": 145, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7193, "end": 7194, "loc": { "start": { "line": 146, "column": 2 }, "end": { "line": 146, "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": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 7316, "end": 7335, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7335, "end": 7336, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7336, "end": 7342, "loc": { "start": { "line": 152, "column": 22 }, "end": { "line": 152, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7342, "end": 7343, "loc": { "start": { "line": 152, "column": 28 }, "end": { "line": 152, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7343, "end": 7344, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 152, "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": 7350, "end": 7353, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7354, "end": 7359, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7360, "end": 7361, "loc": { "start": { "line": 153, "column": 14 }, "end": { "line": 153, "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": 7362, "end": 7366, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7366, "end": 7367, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7367, "end": 7374, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7374, "end": 7375, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7375, "end": 7380, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7380, "end": 7381, "loc": { "start": { "line": 153, "column": 34 }, "end": { "line": 153, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7389, "end": 7438, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 157, "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": 7444, "end": 7446, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7446, "end": 7447, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7447, "end": 7453, "loc": { "start": { "line": 158, "column": 7 }, "end": { "line": 158, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7454, "end": 7457, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "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": 7458, "end": 7464, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7464, "end": 7465, "loc": { "start": { "line": 158, "column": 24 }, "end": { "line": 158, "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": 7473, "end": 7479, "loc": { "start": { "line": 159, "column": 6 }, "end": { "line": 159, "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": 7480, "end": 7485, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7485, "end": 7486, "loc": { "start": { "line": 159, "column": 18 }, "end": { "line": 159, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7494, "end": 7533, "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": 7539, "end": 7541, "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": 7541, "end": 7542, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 164, "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": 7542, "end": 7548, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "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": 7549, "end": 7553, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7553, "end": 7554, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7554, "end": 7561, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7561, "end": 7562, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7562, "end": 7572, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7573, "end": 7576, "loc": { "start": { "line": 164, "column": 38 }, "end": { "line": 164, "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": 7577, "end": 7587, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7587, "end": 7588, "loc": { "start": { "line": 164, "column": 52 }, "end": { "line": 164, "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": 7596, "end": 7600, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7600, "end": 7601, "loc": { "start": { "line": 165, "column": 10 }, "end": { "line": 165, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7601, "end": 7608, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7608, "end": 7609, "loc": { "start": { "line": 165, "column": 18 }, "end": { "line": 165, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7609, "end": 7619, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7619, "end": 7620, "loc": { "start": { "line": 165, "column": 29 }, "end": { "line": 165, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7620, "end": 7626, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7626, "end": 7627, "loc": { "start": { "line": 165, "column": 36 }, "end": { "line": 165, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7627, "end": 7628, "loc": { "start": { "line": 165, "column": 37 }, "end": { "line": 165, "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": 7640, "end": 7642, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 167, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7642, "end": 7643, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "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": 7643, "end": 7644, "loc": { "start": { "line": 167, "column": 7 }, "end": { "line": 167, "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": 7644, "end": 7648, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7648, "end": 7649, "loc": { "start": { "line": 167, "column": 12 }, "end": { "line": 167, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7649, "end": 7654, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7654, "end": 7655, "loc": { "start": { "line": 167, "column": 18 }, "end": { "line": 167, "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": 7655, "end": 7659, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7659, "end": 7660, "loc": { "start": { "line": 167, "column": 23 }, "end": { "line": 167, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7660, "end": 7667, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7667, "end": 7668, "loc": { "start": { "line": 167, "column": 31 }, "end": { "line": 167, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7668, "end": 7677, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7677, "end": 7678, "loc": { "start": { "line": 167, "column": 41 }, "end": { "line": 167, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7678, "end": 7679, "loc": { "start": { "line": 167, "column": 42 }, "end": { "line": 167, "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": 7687, "end": 7691, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7691, "end": 7692, "loc": { "start": { "line": 168, "column": 10 }, "end": { "line": 168, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7692, "end": 7697, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7697, "end": 7698, "loc": { "start": { "line": 168, "column": 16 }, "end": { "line": 168, "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": 7698, "end": 7702, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7702, "end": 7703, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7703, "end": 7710, "loc": { "start": { "line": 168, "column": 22 }, "end": { "line": 168, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7710, "end": 7711, "loc": { "start": { "line": 168, "column": 29 }, "end": { "line": 168, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7711, "end": 7720, "loc": { "start": { "line": 168, "column": 30 }, "end": { "line": 168, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7720, "end": 7721, "loc": { "start": { "line": 168, "column": 39 }, "end": { "line": 168, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7722, "end": 7723, "loc": { "start": { "line": 168, "column": 41 }, "end": { "line": 168, "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": 7724, "end": 7726, "loc": { "start": { "line": 168, "column": 43 }, "end": { "line": 168, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7726, "end": 7727, "loc": { "start": { "line": 168, "column": 45 }, "end": { "line": 168, "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": 7735, "end": 7738, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 7739, "end": 7751, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7752, "end": 7753, "loc": { "start": { "line": 170, "column": 21 }, "end": { "line": 170, "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": 7754, "end": 7758, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7758, "end": 7759, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 7759, "end": 7768, "loc": { "start": { "line": 170, "column": 28 }, "end": { "line": 170, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7768, "end": 7769, "loc": { "start": { "line": 170, "column": 37 }, "end": { "line": 170, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 7769, "end": 7784, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7784, "end": 7785, "loc": { "start": { "line": 170, "column": 53 }, "end": { "line": 170, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7785, "end": 7791, "loc": { "start": { "line": 170, "column": 54 }, "end": { "line": 170, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7791, "end": 7792, "loc": { "start": { "line": 170, "column": 60 }, "end": { "line": 170, "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": 7793, "end": 7797, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7797, "end": 7798, "loc": { "start": { "line": 170, "column": 66 }, "end": { "line": 170, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7798, "end": 7803, "loc": { "start": { "line": 170, "column": 67 }, "end": { "line": 170, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7803, "end": 7804, "loc": { "start": { "line": 170, "column": 72 }, "end": { "line": 170, "column": 73 } } }, { "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": 7804, "end": 7808, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7808, "end": 7809, "loc": { "start": { "line": 170, "column": 77 }, "end": { "line": 170, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7809, "end": 7816, "loc": { "start": { "line": 170, "column": 78 }, "end": { "line": 170, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7816, "end": 7817, "loc": { "start": { "line": 170, "column": 85 }, "end": { "line": 170, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7817, "end": 7826, "loc": { "start": { "line": 170, "column": 86 }, "end": { "line": 170, "column": 95 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7826, "end": 7827, "loc": { "start": { "line": 170, "column": 95 }, "end": { "line": 170, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7827, "end": 7828, "loc": { "start": { "line": 170, "column": 96 }, "end": { "line": 170, "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": 7829, "end": 7833, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7833, "end": 7834, "loc": { "start": { "line": 170, "column": 102 }, "end": { "line": 170, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7834, "end": 7841, "loc": { "start": { "line": 170, "column": 103 }, "end": { "line": 170, "column": 110 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7841, "end": 7842, "loc": { "start": { "line": 170, "column": 110 }, "end": { "line": 170, "column": 111 } } }, { "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": 7843, "end": 7847, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 116 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7847, "end": 7848, "loc": { "start": { "line": 170, "column": 116 }, "end": { "line": 170, "column": 117 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 7848, "end": 7861, "loc": { "start": { "line": 170, "column": 117 }, "end": { "line": 170, "column": 130 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7861, "end": 7862, "loc": { "start": { "line": 170, "column": 130 }, "end": { "line": 170, "column": 131 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7862, "end": 7863, "loc": { "start": { "line": 170, "column": 131 }, "end": { "line": 170, "column": 132 } } }, { "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": 7871, "end": 7873, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7873, "end": 7874, "loc": { "start": { "line": 172, "column": 6 }, "end": { "line": 172, "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": 7874, "end": 7878, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7878, "end": 7879, "loc": { "start": { "line": 172, "column": 11 }, "end": { "line": 172, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7879, "end": 7884, "loc": { "start": { "line": 172, "column": 12 }, "end": { "line": 172, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7884, "end": 7885, "loc": { "start": { "line": 172, "column": 17 }, "end": { "line": 172, "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": 7885, "end": 7889, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7889, "end": 7890, "loc": { "start": { "line": 172, "column": 22 }, "end": { "line": 172, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7890, "end": 7897, "loc": { "start": { "line": 172, "column": 23 }, "end": { "line": 172, "column": 30 } } }, { "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": 172, "column": 30 }, "end": { "line": 172, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7898, "end": 7907, "loc": { "start": { "line": 172, "column": 31 }, "end": { "line": 172, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7907, "end": 7908, "loc": { "start": { "line": 172, "column": 40 }, "end": { "line": 172, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7909, "end": 7912, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 7913, "end": 7925, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7925, "end": 7926, "loc": { "start": { "line": 172, "column": 58 }, "end": { "line": 172, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7926, "end": 7927, "loc": { "start": { "line": 172, "column": 59 }, "end": { "line": 172, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 7937, "end": 8014, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 176, "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": 8022, "end": 8024, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 177, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8024, "end": 8025, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "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": 8025, "end": 8029, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8029, "end": 8030, "loc": { "start": { "line": 177, "column": 13 }, "end": { "line": 177, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8030, "end": 8037, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8037, "end": 8038, "loc": { "start": { "line": 177, "column": 21 }, "end": { "line": 177, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8038, "end": 8047, "loc": { "start": { "line": 177, "column": 22 }, "end": { "line": 177, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8048, "end": 8050, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 177, "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": 8051, "end": 8055, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8055, "end": 8056, "loc": { "start": { "line": 177, "column": 39 }, "end": { "line": 177, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8056, "end": 8065, "loc": { "start": { "line": 177, "column": 40 }, "end": { "line": 177, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8065, "end": 8066, "loc": { "start": { "line": 177, "column": 49 }, "end": { "line": 177, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 8066, "end": 8081, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8081, "end": 8082, "loc": { "start": { "line": 177, "column": 65 }, "end": { "line": 177, "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": 8082, "end": 8086, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8086, "end": 8087, "loc": { "start": { "line": 177, "column": 70 }, "end": { "line": 177, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8087, "end": 8092, "loc": { "start": { "line": 177, "column": 71 }, "end": { "line": 177, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8092, "end": 8093, "loc": { "start": { "line": 177, "column": 76 }, "end": { "line": 177, "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": 8094, "end": 8098, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 82 } } }, { "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": 177, "column": 82 }, "end": { "line": 177, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8099, "end": 8106, "loc": { "start": { "line": 177, "column": 83 }, "end": { "line": 177, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8106, "end": 8107, "loc": { "start": { "line": 177, "column": 90 }, "end": { "line": 177, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8108, "end": 8120, "loc": { "start": { "line": 177, "column": 92 }, "end": { "line": 177, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8120, "end": 8121, "loc": { "start": { "line": 177, "column": 104 }, "end": { "line": 177, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8121, "end": 8122, "loc": { "start": { "line": 177, "column": 105 }, "end": { "line": 177, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8122, "end": 8123, "loc": { "start": { "line": 177, "column": 106 }, "end": { "line": 177, "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": 8133, "end": 8139, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "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": 8140, "end": 8145, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8145, "end": 8146, "loc": { "start": { "line": 178, "column": 20 }, "end": { "line": 178, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8154, "end": 8155, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "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": 8165, "end": 8169, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8169, "end": 8170, "loc": { "start": { "line": 181, "column": 10 }, "end": { "line": 181, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8170, "end": 8175, "loc": { "start": { "line": 181, "column": 11 }, "end": { "line": 181, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8175, "end": 8176, "loc": { "start": { "line": 181, "column": 16 }, "end": { "line": 181, "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": 8176, "end": 8180, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8180, "end": 8181, "loc": { "start": { "line": 181, "column": 21 }, "end": { "line": 181, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8181, "end": 8188, "loc": { "start": { "line": 181, "column": 22 }, "end": { "line": 181, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8188, "end": 8189, "loc": { "start": { "line": 181, "column": 29 }, "end": { "line": 181, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8189, "end": 8198, "loc": { "start": { "line": 181, "column": 30 }, "end": { "line": 181, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8198, "end": 8199, "loc": { "start": { "line": 181, "column": 39 }, "end": { "line": 181, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8200, "end": 8201, "loc": { "start": { "line": 181, "column": 41 }, "end": { "line": 181, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8202, "end": 8214, "loc": { "start": { "line": 181, "column": 43 }, "end": { "line": 181, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8214, "end": 8215, "loc": { "start": { "line": 181, "column": 55 }, "end": { "line": 181, "column": 56 } } }, { "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": 8225, "end": 8227, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 183, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8227, "end": 8228, "loc": { "start": { "line": 183, "column": 8 }, "end": { "line": 183, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8228, "end": 8233, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8233, "end": 8234, "loc": { "start": { "line": 183, "column": 14 }, "end": { "line": 183, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8244, "end": 8251, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8251, "end": 8252, "loc": { "start": { "line": 184, "column": 15 }, "end": { "line": 184, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8252, "end": 8255, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8255, "end": 8256, "loc": { "start": { "line": 184, "column": 19 }, "end": { "line": 184, "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": 8256, "end": 8272, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8272, "end": 8273, "loc": { "start": { "line": 184, "column": 36 }, "end": { "line": 184, "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": 8274, "end": 8278, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8278, "end": 8279, "loc": { "start": { "line": 184, "column": 42 }, "end": { "line": 184, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8279, "end": 8284, "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8284, "end": 8285, "loc": { "start": { "line": 184, "column": 48 }, "end": { "line": 184, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8285, "end": 8286, "loc": { "start": { "line": 184, "column": 49 }, "end": { "line": 184, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "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": 8363, "end": 8365, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8365, "end": 8366, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "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": 8366, "end": 8370, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8370, "end": 8371, "loc": { "start": { "line": 189, "column": 13 }, "end": { "line": 189, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8371, "end": 8378, "loc": { "start": { "line": 189, "column": 14 }, "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": 8378, "end": 8379, "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": "syncInstanceInputs", "start": 8379, "end": 8397, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8397, "end": 8398, "loc": { "start": { "line": 189, "column": 40 }, "end": { "line": 189, "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": 8408, "end": 8412, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8412, "end": 8413, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8413, "end": 8431, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8431, "end": 8432, "loc": { "start": { "line": 190, "column": 31 }, "end": { "line": 190, "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": 8432, "end": 8436, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8436, "end": 8437, "loc": { "start": { "line": 190, "column": 36 }, "end": { "line": 190, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8437, "end": 8442, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8442, "end": 8443, "loc": { "start": { "line": 190, "column": 42 }, "end": { "line": 190, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8443, "end": 8444, "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "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": 8503, "end": 8505, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8505, "end": 8506, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "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": 8506, "end": 8512, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "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": 8513, "end": 8517, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8517, "end": 8518, "loc": { "start": { "line": 195, "column": 20 }, "end": { "line": 195, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8518, "end": 8525, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8525, "end": 8526, "loc": { "start": { "line": 195, "column": 28 }, "end": { "line": 195, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8526, "end": 8534, "loc": { "start": { "line": 195, "column": 29 }, "end": { "line": 195, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8535, "end": 8538, "loc": { "start": { "line": 195, "column": 38 }, "end": { "line": 195, "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": 8539, "end": 8549, "loc": { "start": { "line": 195, "column": 42 }, "end": { "line": 195, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8549, "end": 8550, "loc": { "start": { "line": 195, "column": 52 }, "end": { "line": 195, "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": 8560, "end": 8564, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8564, "end": 8565, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8565, "end": 8572, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8572, "end": 8573, "loc": { "start": { "line": 196, "column": 20 }, "end": { "line": 196, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8573, "end": 8581, "loc": { "start": { "line": 196, "column": 21 }, "end": { "line": 196, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8581, "end": 8582, "loc": { "start": { "line": 196, "column": 29 }, "end": { "line": 196, "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": 8582, "end": 8586, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8586, "end": 8587, "loc": { "start": { "line": 196, "column": 34 }, "end": { "line": 196, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8587, "end": 8592, "loc": { "start": { "line": 196, "column": 35 }, "end": { "line": 196, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8592, "end": 8593, "loc": { "start": { "line": 196, "column": 40 }, "end": { "line": 196, "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": 8593, "end": 8597, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8597, "end": 8598, "loc": { "start": { "line": 196, "column": 45 }, "end": { "line": 196, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8598, "end": 8605, "loc": { "start": { "line": 196, "column": 46 }, "end": { "line": 196, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8605, "end": 8606, "loc": { "start": { "line": 196, "column": 53 }, "end": { "line": 196, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8606, "end": 8615, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 196, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8615, "end": 8616, "loc": { "start": { "line": 196, "column": 63 }, "end": { "line": 196, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8616, "end": 8617, "loc": { "start": { "line": 196, "column": 64 }, "end": { "line": 196, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8617, "end": 8618, "loc": { "start": { "line": 196, "column": 65 }, "end": { "line": 196, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8624, "end": 8625, "loc": { "start": { "line": 197, "column": 4 }, "end": { "line": 197, "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": 8637, "end": 8639, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8639, "end": 8640, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 199, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8640, "end": 8645, "loc": { "start": { "line": 199, "column": 7 }, "end": { "line": 199, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8645, "end": 8646, "loc": { "start": { "line": 199, "column": 12 }, "end": { "line": 199, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8646, "end": 8647, "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": "console", "start": 8655, "end": 8662, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8662, "end": 8663, "loc": { "start": { "line": 200, "column": 13 }, "end": { "line": 200, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8663, "end": 8666, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8666, "end": 8667, "loc": { "start": { "line": 200, "column": 17 }, "end": { "line": 200, "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": 8667, "end": 8681, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8681, "end": 8682, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8683, "end": 8689, "loc": { "start": { "line": 200, "column": 34 }, "end": { "line": 200, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8689, "end": 8690, "loc": { "start": { "line": 200, "column": 40 }, "end": { "line": 200, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8690, "end": 8691, "loc": { "start": { "line": 200, "column": 41 }, "end": { "line": 200, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8697, "end": 8698, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8702, "end": 8703, "loc": { "start": { "line": 202, "column": 2 }, "end": { "line": 202, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8709, "end": 8750, "loc": { "start": { "line": 204, "column": 2 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8754, "end": 8780, "loc": { "start": { "line": 207, "column": 2 }, "end": { "line": 207, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 8784, "end": 8805, "loc": { "start": { "line": 208, "column": 2 }, "end": { "line": 208, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8805, "end": 8806, "loc": { "start": { "line": 208, "column": 23 }, "end": { "line": 208, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8806, "end": 8812, "loc": { "start": { "line": 208, "column": 24 }, "end": { "line": 208, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8812, "end": 8813, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 8814, "end": 8815, "loc": { "start": { "line": 208, "column": 32 }, "end": { "line": 208, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8815, "end": 8816, "loc": { "start": { "line": 208, "column": 33 }, "end": { "line": 208, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8816, "end": 8817, "loc": { "start": { "line": 208, "column": 34 }, "end": { "line": 208, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 8823, "end": 8902, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 211, "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": 8908, "end": 8912, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8912, "end": 8913, "loc": { "start": { "line": 212, "column": 8 }, "end": { "line": 212, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 8913, "end": 8924, "loc": { "start": { "line": 212, "column": 9 }, "end": { "line": 212, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8925, "end": 8926, "loc": { "start": { "line": 212, "column": 21 }, "end": { "line": 212, "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": 8927, "end": 8931, "loc": { "start": { "line": 212, "column": 23 }, "end": { "line": 212, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8931, "end": 8932, "loc": { "start": { "line": 212, "column": 27 }, "end": { "line": 212, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 8940, "end": 9017, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 216, "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": 9023, "end": 9027, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9027, "end": 9028, "loc": { "start": { "line": 217, "column": 8 }, "end": { "line": 217, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9028, "end": 9039, "loc": { "start": { "line": 217, "column": 9 }, "end": { "line": 217, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9040, "end": 9041, "loc": { "start": { "line": 217, "column": 21 }, "end": { "line": 217, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 9042, "end": 9052, "loc": { "start": { "line": 217, "column": 23 }, "end": { "line": 217, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9052, "end": 9053, "loc": { "start": { "line": 217, "column": 33 }, "end": { "line": 217, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9053, "end": 9054, "loc": { "start": { "line": 217, "column": 34 }, "end": { "line": 217, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9054, "end": 9055, "loc": { "start": { "line": 217, "column": 35 }, "end": { "line": 217, "column": 36 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9056, "end": 9058, "loc": { "start": { "line": 217, "column": 37 }, "end": { "line": 217, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9059, "end": 9060, "loc": { "start": { "line": 217, "column": 40 }, "end": { "line": 217, "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": 9068, "end": 9070, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 218, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9070, "end": 9071, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "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": 9081, "end": 9085, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9085, "end": 9086, "loc": { "start": { "line": 219, "column": 12 }, "end": { "line": 219, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9086, "end": 9097, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9099, "end": 9101, "loc": { "start": { "line": 219, "column": 26 }, "end": { "line": 219, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9111, "end": 9112, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9124, "end": 9125, "loc": { "start": { "line": 221, "column": 10 }, "end": { "line": 221, "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": 9125, "end": 9126, "loc": { "start": { "line": 221, "column": 11 }, "end": { "line": 221, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9126, "end": 9132, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9132, "end": 9133, "loc": { "start": { "line": 221, "column": 18 }, "end": { "line": 221, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9133, "end": 9141, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9141, "end": 9142, "loc": { "start": { "line": 221, "column": 27 }, "end": { "line": 221, "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": 9142, "end": 9145, "loc": { "start": { "line": 221, "column": 28 }, "end": { "line": 221, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9145, "end": 9146, "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 221, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9147, "end": 9149, "loc": { "start": { "line": 221, "column": 33 }, "end": { "line": 221, "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": 9150, "end": 9151, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9151, "end": 9157, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9157, "end": 9158, "loc": { "start": { "line": 221, "column": 43 }, "end": { "line": 221, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9158, "end": 9166, "loc": { "start": { "line": 221, "column": 44 }, "end": { "line": 221, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9166, "end": 9167, "loc": { "start": { "line": 221, "column": 52 }, "end": { "line": 221, "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": 9167, "end": 9170, "loc": { "start": { "line": 221, "column": 53 }, "end": { "line": 221, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9170, "end": 9171, "loc": { "start": { "line": 221, "column": 56 }, "end": { "line": 221, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9171, "end": 9172, "loc": { "start": { "line": 221, "column": 57 }, "end": { "line": 221, "column": 58 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9173, "end": 9175, "loc": { "start": { "line": 221, "column": 59 }, "end": { "line": 221, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9187, "end": 9193, "loc": { "start": { "line": 222, "column": 10 }, "end": { "line": 222, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9194, "end": 9197, "loc": { "start": { "line": 222, "column": 17 }, "end": { "line": 222, "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": 9198, "end": 9206, "loc": { "start": { "line": 222, "column": 21 }, "end": { "line": 222, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9207, "end": 9209, "loc": { "start": { "line": 222, "column": 30 }, "end": { "line": 222, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9221, "end": 9227, "loc": { "start": { "line": 223, "column": 10 }, "end": { "line": 223, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9228, "end": 9231, "loc": { "start": { "line": 223, "column": 17 }, "end": { "line": 223, "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": 9232, "end": 9241, "loc": { "start": { "line": 223, "column": 21 }, "end": { "line": 223, "column": 30 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9242, "end": 9244, "loc": { "start": { "line": 223, "column": 31 }, "end": { "line": 223, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9256, "end": 9262, "loc": { "start": { "line": 224, "column": 10 }, "end": { "line": 224, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9263, "end": 9266, "loc": { "start": { "line": 224, "column": 17 }, "end": { "line": 224, "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": 9267, "end": 9274, "loc": { "start": { "line": 224, "column": 21 }, "end": { "line": 224, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9284, "end": 9285, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9293, "end": 9294, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9294, "end": 9295, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 226, "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": 9305, "end": 9307, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9307, "end": 9308, "loc": { "start": { "line": 227, "column": 10 }, "end": { "line": 227, "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": 9308, "end": 9312, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9312, "end": 9313, "loc": { "start": { "line": 227, "column": 15 }, "end": { "line": 227, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9313, "end": 9320, "loc": { "start": { "line": 227, "column": 16 }, "end": { "line": 227, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9320, "end": 9321, "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": "debug", "start": 9321, "end": 9326, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9326, "end": 9327, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 9339, "end": 9346, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9346, "end": 9347, "loc": { "start": { "line": 228, "column": 17 }, "end": { "line": 228, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 9347, "end": 9350, "loc": { "start": { "line": 228, "column": 18 }, "end": { "line": 228, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9350, "end": 9351, "loc": { "start": { "line": 228, "column": 21 }, "end": { "line": 228, "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": 9351, "end": 9365, "loc": { "start": { "line": 228, "column": 22 }, "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": 9365, "end": 9366, "loc": { "start": { "line": 228, "column": 36 }, "end": { "line": 228, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9367, "end": 9373, "loc": { "start": { "line": 228, "column": 38 }, "end": { "line": 228, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9373, "end": 9374, "loc": { "start": { "line": 228, "column": 44 }, "end": { "line": 228, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9374, "end": 9375, "loc": { "start": { "line": 228, "column": 45 }, "end": { "line": 228, "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": 9387, "end": 9391, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9391, "end": 9392, "loc": { "start": { "line": 230, "column": 12 }, "end": { "line": 230, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 9392, "end": 9408, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9408, "end": 9409, "loc": { "start": { "line": 230, "column": 29 }, "end": { "line": 230, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9409, "end": 9415, "loc": { "start": { "line": 230, "column": 30 }, "end": { "line": 230, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9415, "end": 9416, "loc": { "start": { "line": 230, "column": 36 }, "end": { "line": 230, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 9417, "end": 9418, "loc": { "start": { "line": 230, "column": 38 }, "end": { "line": 230, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9418, "end": 9419, "loc": { "start": { "line": 230, "column": 39 }, "end": { "line": 230, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9419, "end": 9420, "loc": { "start": { "line": 230, "column": 40 }, "end": { "line": 230, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9428, "end": 9429, "loc": { "start": { "line": 231, "column": 6 }, "end": { "line": 231, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9437, "end": 9449, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9449, "end": 9450, "loc": { "start": { "line": 232, "column": 18 }, "end": { "line": 232, "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": 9450, "end": 9454, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9454, "end": 9455, "loc": { "start": { "line": 232, "column": 23 }, "end": { "line": 232, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9455, "end": 9466, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9466, "end": 9467, "loc": { "start": { "line": 232, "column": 35 }, "end": { "line": 232, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9467, "end": 9468, "loc": { "start": { "line": 232, "column": 36 }, "end": { "line": 232, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9474, "end": 9475, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9475, "end": 9476, "loc": { "start": { "line": 233, "column": 5 }, "end": { "line": 233, "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": 9477, "end": 9480, "loc": { "start": { "line": 233, "column": 7 }, "end": { "line": 233, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9480, "end": 9481, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 233, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9481, "end": 9482, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9486, "end": 9487, "loc": { "start": { "line": 234, "column": 2 }, "end": { "line": 234, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9493, "end": 9532, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 9536, "end": 9555, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 239, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9555, "end": 9556, "loc": { "start": { "line": 239, "column": 21 }, "end": { "line": 239, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9556, "end": 9557, "loc": { "start": { "line": 239, "column": 22 }, "end": { "line": 239, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9557, "end": 9558, "loc": { "start": { "line": 239, "column": 23 }, "end": { "line": 239, "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": 9564, "end": 9568, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9568, "end": 9569, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9569, "end": 9580, "loc": { "start": { "line": 240, "column": 9 }, "end": { "line": 240, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9581, "end": 9582, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "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": 9583, "end": 9588, "loc": { "start": { "line": 240, "column": 23 }, "end": { "line": 240, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9588, "end": 9589, "loc": { "start": { "line": 240, "column": 28 }, "end": { "line": 240, "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": 9595, "end": 9597, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9597, "end": 9598, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "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": 9598, "end": 9602, "loc": { "start": { "line": 241, "column": 7 }, "end": { "line": 241, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9602, "end": 9603, "loc": { "start": { "line": 241, "column": 11 }, "end": { "line": 241, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9603, "end": 9625, "loc": { "start": { "line": 241, "column": 12 }, "end": { "line": 241, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9625, "end": 9626, "loc": { "start": { "line": 241, "column": 34 }, "end": { "line": 241, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9634, "end": 9646, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9646, "end": 9647, "loc": { "start": { "line": 242, "column": 18 }, "end": { "line": 242, "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": 9647, "end": 9651, "loc": { "start": { "line": 242, "column": 19 }, "end": { "line": 242, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9651, "end": 9652, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9652, "end": 9674, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 242, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9674, "end": 9675, "loc": { "start": { "line": 242, "column": 46 }, "end": { "line": 242, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9675, "end": 9676, "loc": { "start": { "line": 242, "column": 47 }, "end": { "line": 242, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9680, "end": 9681, "loc": { "start": { "line": 243, "column": 2 }, "end": { "line": 243, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 9687, "end": 9723, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 247, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9727, "end": 9753, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 248, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 9757, "end": 9773, "loc": { "start": { "line": 249, "column": 2 }, "end": { "line": 249, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9773, "end": 9774, "loc": { "start": { "line": 249, "column": 18 }, "end": { "line": 249, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9774, "end": 9780, "loc": { "start": { "line": 249, "column": 19 }, "end": { "line": 249, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9780, "end": 9781, "loc": { "start": { "line": 249, "column": 25 }, "end": { "line": 249, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9781, "end": 9782, "loc": { "start": { "line": 249, "column": 26 }, "end": { "line": 249, "column": 27 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 9788, "end": 9874, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "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": 9880, "end": 9884, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9884, "end": 9885, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9885, "end": 9907, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9908, "end": 9909, "loc": { "start": { "line": 253, "column": 32 }, "end": { "line": 253, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 9910, "end": 9920, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 253, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9920, "end": 9921, "loc": { "start": { "line": 253, "column": 44 }, "end": { "line": 253, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9921, "end": 9922, "loc": { "start": { "line": 253, "column": 45 }, "end": { "line": 253, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9922, "end": 9923, "loc": { "start": { "line": 253, "column": 46 }, "end": { "line": 253, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9924, "end": 9926, "loc": { "start": { "line": 253, "column": 48 }, "end": { "line": 253, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9927, "end": 9928, "loc": { "start": { "line": 253, "column": 51 }, "end": { "line": 253, "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": 9936, "end": 9940, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9940, "end": 9941, "loc": { "start": { "line": 254, "column": 10 }, "end": { "line": 254, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 9941, "end": 9960, "loc": { "start": { "line": 254, "column": 11 }, "end": { "line": 254, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9960, "end": 9961, "loc": { "start": { "line": 254, "column": 30 }, "end": { "line": 254, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9961, "end": 9967, "loc": { "start": { "line": 254, "column": 31 }, "end": { "line": 254, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9967, "end": 9968, "loc": { "start": { "line": 254, "column": 37 }, "end": { "line": 254, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9968, "end": 9969, "loc": { "start": { "line": 254, "column": 38 }, "end": { "line": 254, "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": 9977, "end": 9981, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9981, "end": 9982, "loc": { "start": { "line": 255, "column": 10 }, "end": { "line": 255, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 9982, "end": 9998, "loc": { "start": { "line": 255, "column": 11 }, "end": { "line": 255, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9998, "end": 9999, "loc": { "start": { "line": 255, "column": 27 }, "end": { "line": 255, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9999, "end": 10005, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10005, "end": 10006, "loc": { "start": { "line": 255, "column": 34 }, "end": { "line": 255, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10006, "end": 10007, "loc": { "start": { "line": 255, "column": 35 }, "end": { "line": 255, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10013, "end": 10014, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10014, "end": 10015, "loc": { "start": { "line": 256, "column": 5 }, "end": { "line": 256, "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": 10016, "end": 10019, "loc": { "start": { "line": 256, "column": 7 }, "end": { "line": 256, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10019, "end": 10020, "loc": { "start": { "line": 256, "column": 10 }, "end": { "line": 256, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10020, "end": 10021, "loc": { "start": { "line": 256, "column": 11 }, "end": { "line": 256, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10025, "end": 10026, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 257, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10133, "end": 10151, "loc": { "start": { "line": 262, "column": 2 }, "end": { "line": 262, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10151, "end": 10152, "loc": { "start": { "line": 262, "column": 20 }, "end": { "line": 262, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10152, "end": 10153, "loc": { "start": { "line": 262, "column": 21 }, "end": { "line": 262, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10153, "end": 10154, "loc": { "start": { "line": 262, "column": 22 }, "end": { "line": 262, "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": 10160, "end": 10164, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10164, "end": 10165, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 10165, "end": 10173, "loc": { "start": { "line": 263, "column": 9 }, "end": { "line": 263, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10173, "end": 10174, "loc": { "start": { "line": 263, "column": 17 }, "end": { "line": 263, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10174, "end": 10175, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 263, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10175, "end": 10183, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10183, "end": 10184, "loc": { "start": { "line": 263, "column": 27 }, "end": { "line": 263, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10185, "end": 10187, "loc": { "start": { "line": 263, "column": 29 }, "end": { "line": 263, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10188, "end": 10189, "loc": { "start": { "line": 263, "column": 32 }, "end": { "line": 263, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10197, "end": 10205, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10205, "end": 10206, "loc": { "start": { "line": 264, "column": 14 }, "end": { "line": 264, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 10206, "end": 10218, "loc": { "start": { "line": 264, "column": 15 }, "end": { "line": 264, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10218, "end": 10219, "loc": { "start": { "line": 264, "column": 27 }, "end": { "line": 264, "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": 10219, "end": 10223, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10223, "end": 10224, "loc": { "start": { "line": 264, "column": 32 }, "end": { "line": 264, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10224, "end": 10229, "loc": { "start": { "line": 264, "column": 33 }, "end": { "line": 264, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10229, "end": 10230, "loc": { "start": { "line": 264, "column": 38 }, "end": { "line": 264, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10230, "end": 10231, "loc": { "start": { "line": 264, "column": 39 }, "end": { "line": 264, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10237, "end": 10238, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10238, "end": 10239, "loc": { "start": { "line": 265, "column": 5 }, "end": { "line": 265, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10239, "end": 10240, "loc": { "start": { "line": 265, "column": 6 }, "end": { "line": 265, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10244, "end": 10245, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "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": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 10375, "end": 10385, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10385, "end": 10386, "loc": { "start": { "line": 272, "column": 12 }, "end": { "line": 272, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10386, "end": 10395, "loc": { "start": { "line": 272, "column": 13 }, "end": { "line": 272, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10395, "end": 10396, "loc": { "start": { "line": 272, "column": 22 }, "end": { "line": 272, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10396, "end": 10397, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 272, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10403, "end": 10412, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10413, "end": 10414, "loc": { "start": { "line": 273, "column": 14 }, "end": { "line": 273, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10415, "end": 10424, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10425, "end": 10427, "loc": { "start": { "line": 273, "column": 26 }, "end": { "line": 273, "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": 10428, "end": 10432, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10432, "end": 10433, "loc": { "start": { "line": 273, "column": 33 }, "end": { "line": 273, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10433, "end": 10440, "loc": { "start": { "line": 273, "column": 34 }, "end": { "line": 273, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10440, "end": 10441, "loc": { "start": { "line": 273, "column": 41 }, "end": { "line": 273, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10441, "end": 10450, "loc": { "start": { "line": 273, "column": 42 }, "end": { "line": 273, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10450, "end": 10451, "loc": { "start": { "line": 273, "column": 51 }, "end": { "line": 273, "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": 10457, "end": 10461, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10461, "end": 10462, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10462, "end": 10467, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10467, "end": 10468, "loc": { "start": { "line": 274, "column": 14 }, "end": { "line": 274, "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": 10468, "end": 10472, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10472, "end": 10473, "loc": { "start": { "line": 274, "column": 19 }, "end": { "line": 274, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10473, "end": 10480, "loc": { "start": { "line": 274, "column": 20 }, "end": { "line": 274, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10480, "end": 10481, "loc": { "start": { "line": 274, "column": 27 }, "end": { "line": 274, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10481, "end": 10490, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10490, "end": 10491, "loc": { "start": { "line": 274, "column": 37 }, "end": { "line": 274, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10492, "end": 10493, "loc": { "start": { "line": 274, "column": 39 }, "end": { "line": 274, "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": 10494, "end": 10496, "loc": { "start": { "line": 274, "column": 41 }, "end": { "line": 274, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10496, "end": 10497, "loc": { "start": { "line": 274, "column": 43 }, "end": { "line": 274, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "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": 10566, "end": 10568, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 279, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10568, "end": 10569, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "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": 10569, "end": 10573, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10573, "end": 10574, "loc": { "start": { "line": 279, "column": 11 }, "end": { "line": 279, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10574, "end": 10581, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10581, "end": 10582, "loc": { "start": { "line": 279, "column": 19 }, "end": { "line": 279, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10582, "end": 10600, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10600, "end": 10601, "loc": { "start": { "line": 279, "column": 38 }, "end": { "line": 279, "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": 10609, "end": 10613, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10613, "end": 10614, "loc": { "start": { "line": 280, "column": 10 }, "end": { "line": 280, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10614, "end": 10632, "loc": { "start": { "line": 280, "column": 11 }, "end": { "line": 280, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10632, "end": 10633, "loc": { "start": { "line": 280, "column": 29 }, "end": { "line": 280, "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": 10633, "end": 10637, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10637, "end": 10638, "loc": { "start": { "line": 280, "column": 34 }, "end": { "line": 280, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10638, "end": 10643, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10643, "end": 10644, "loc": { "start": { "line": 280, "column": 40 }, "end": { "line": 280, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10644, "end": 10645, "loc": { "start": { "line": 280, "column": 41 }, "end": { "line": 280, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10649, "end": 10650, "loc": { "start": { "line": 281, "column": 2 }, "end": { "line": 281, "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": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 10822, "end": 10830, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10830, "end": 10831, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10831, "end": 10840, "loc": { "start": { "line": 287, "column": 11 }, "end": { "line": 287, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10840, "end": 10841, "loc": { "start": { "line": 287, "column": 20 }, "end": { "line": 287, "column": 21 } } }, { "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": 287, "column": 21 }, "end": { "line": 287, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10848, "end": 10857, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10858, "end": 10859, "loc": { "start": { "line": 288, "column": 14 }, "end": { "line": 288, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10860, "end": 10869, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10870, "end": 10872, "loc": { "start": { "line": 288, "column": 26 }, "end": { "line": 288, "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": 10873, "end": 10877, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10877, "end": 10878, "loc": { "start": { "line": 288, "column": 33 }, "end": { "line": 288, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10878, "end": 10885, "loc": { "start": { "line": 288, "column": 34 }, "end": { "line": 288, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10885, "end": 10886, "loc": { "start": { "line": 288, "column": 41 }, "end": { "line": 288, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10886, "end": 10895, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10895, "end": 10896, "loc": { "start": { "line": 288, "column": 51 }, "end": { "line": 288, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "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": 10965, "end": 10967, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 293, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10967, "end": 10968, "loc": { "start": { "line": 293, "column": 6 }, "end": { "line": 293, "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": 10968, "end": 10972, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10972, "end": 10973, "loc": { "start": { "line": 293, "column": 11 }, "end": { "line": 293, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10973, "end": 10980, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10980, "end": 10981, "loc": { "start": { "line": 293, "column": 19 }, "end": { "line": 293, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10981, "end": 10999, "loc": { "start": { "line": 293, "column": 20 }, "end": { "line": 293, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10999, "end": 11000, "loc": { "start": { "line": 293, "column": 38 }, "end": { "line": 293, "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": 11008, "end": 11012, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11012, "end": 11013, "loc": { "start": { "line": 294, "column": 10 }, "end": { "line": 294, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11013, "end": 11031, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11031, "end": 11032, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "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": 11032, "end": 11036, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11036, "end": 11037, "loc": { "start": { "line": 294, "column": 34 }, "end": { "line": 294, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11037, "end": 11042, "loc": { "start": { "line": 294, "column": 35 }, "end": { "line": 294, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11042, "end": 11043, "loc": { "start": { "line": 294, "column": 40 }, "end": { "line": 294, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11043, "end": 11044, "loc": { "start": { "line": 294, "column": 41 }, "end": { "line": 294, "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": 11052, "end": 11058, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "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": 11059, "end": 11063, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11063, "end": 11064, "loc": { "start": { "line": 296, "column": 15 }, "end": { "line": 296, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11064, "end": 11069, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11069, "end": 11070, "loc": { "start": { "line": 296, "column": 21 }, "end": { "line": 296, "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": 11070, "end": 11074, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11074, "end": 11075, "loc": { "start": { "line": 296, "column": 26 }, "end": { "line": 296, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11075, "end": 11082, "loc": { "start": { "line": 296, "column": 27 }, "end": { "line": 296, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11082, "end": 11083, "loc": { "start": { "line": 296, "column": 34 }, "end": { "line": 296, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11083, "end": 11092, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11092, "end": 11093, "loc": { "start": { "line": 296, "column": 44 }, "end": { "line": 296, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11093, "end": 11094, "loc": { "start": { "line": 296, "column": 45 }, "end": { "line": 296, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11098, "end": 11099, "loc": { "start": { "line": 297, "column": 2 }, "end": { "line": 297, "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 11269, "end": 11277, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 304, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11277, "end": 11278, "loc": { "start": { "line": 304, "column": 10 }, "end": { "line": 304, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11278, "end": 11283, "loc": { "start": { "line": 304, "column": 11 }, "end": { "line": 304, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11283, "end": 11284, "loc": { "start": { "line": 304, "column": 16 }, "end": { "line": 304, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11285, "end": 11294, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11294, "end": 11295, "loc": { "start": { "line": 304, "column": 27 }, "end": { "line": 304, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11295, "end": 11296, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 304, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11302, "end": 11311, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11312, "end": 11313, "loc": { "start": { "line": 305, "column": 14 }, "end": { "line": 305, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11314, "end": 11323, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11324, "end": 11326, "loc": { "start": { "line": 305, "column": 26 }, "end": { "line": 305, "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": 11327, "end": 11331, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11331, "end": 11332, "loc": { "start": { "line": 305, "column": 33 }, "end": { "line": 305, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11332, "end": 11339, "loc": { "start": { "line": 305, "column": 34 }, "end": { "line": 305, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11339, "end": 11340, "loc": { "start": { "line": 305, "column": 41 }, "end": { "line": 305, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11340, "end": 11349, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11349, "end": 11350, "loc": { "start": { "line": 305, "column": 51 }, "end": { "line": 305, "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": 11356, "end": 11360, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11360, "end": 11361, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11361, "end": 11366, "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11366, "end": 11367, "loc": { "start": { "line": 306, "column": 14 }, "end": { "line": 306, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11367, "end": 11376, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11376, "end": 11377, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11378, "end": 11379, "loc": { "start": { "line": 306, "column": 26 }, "end": { "line": 306, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11380, "end": 11385, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11385, "end": 11386, "loc": { "start": { "line": 306, "column": 33 }, "end": { "line": 306, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "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": 11455, "end": 11457, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11457, "end": 11458, "loc": { "start": { "line": 311, "column": 6 }, "end": { "line": 311, "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": 11458, "end": 11462, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11462, "end": 11463, "loc": { "start": { "line": 311, "column": 11 }, "end": { "line": 311, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11463, "end": 11470, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11470, "end": 11471, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11471, "end": 11489, "loc": { "start": { "line": 311, "column": 20 }, "end": { "line": 311, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11489, "end": 11490, "loc": { "start": { "line": 311, "column": 38 }, "end": { "line": 311, "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": 11498, "end": 11502, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11502, "end": 11503, "loc": { "start": { "line": 312, "column": 10 }, "end": { "line": 312, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11503, "end": 11521, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11521, "end": 11522, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "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": 11522, "end": 11526, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11526, "end": 11527, "loc": { "start": { "line": 312, "column": 34 }, "end": { "line": 312, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11527, "end": 11532, "loc": { "start": { "line": 312, "column": 35 }, "end": { "line": 312, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11532, "end": 11533, "loc": { "start": { "line": 312, "column": 40 }, "end": { "line": 312, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11533, "end": 11534, "loc": { "start": { "line": 312, "column": 41 }, "end": { "line": 312, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11538, "end": 11539, "loc": { "start": { "line": 313, "column": 2 }, "end": { "line": 313, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 11660, "end": 11672, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 319, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11672, "end": 11673, "loc": { "start": { "line": 319, "column": 14 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 11673, "end": 11681, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11681, "end": 11682, "loc": { "start": { "line": 319, "column": 23 }, "end": { "line": 319, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11682, "end": 11683, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 319, "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": 11689, "end": 11693, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11693, "end": 11694, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11694, "end": 11699, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11700, "end": 11701, "loc": { "start": { "line": 320, "column": 15 }, "end": { "line": 320, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 11702, "end": 11710, "loc": { "start": { "line": 320, "column": 17 }, "end": { "line": 320, "column": 25 } } }, { "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": 320, "column": 25 }, "end": { "line": 320, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11715, "end": 11716, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 321, "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "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": "setOptions", "start": 11852, "end": 11862, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11863, "end": 11864, "loc": { "start": { "line": 327, "column": 13 }, "end": { "line": 327, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11865, "end": 11871, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 327, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11872, "end": 11874, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 327, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11875, "end": 11876, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 327, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11882, "end": 11888, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11889, "end": 11890, "loc": { "start": { "line": 328, "column": 11 }, "end": { "line": 328, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11891, "end": 11897, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11898, "end": 11900, "loc": { "start": { "line": 328, "column": 20 }, "end": { "line": 328, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11901, "end": 11902, "loc": { "start": { "line": 328, "column": 23 }, "end": { "line": 328, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11902, "end": 11903, "loc": { "start": { "line": 328, "column": 24 }, "end": { "line": 328, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11903, "end": 11904, "loc": { "start": { "line": 328, "column": 25 }, "end": { "line": 328, "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": 11910, "end": 11914, "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": 11914, "end": 11915, "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": "options", "start": 11915, "end": 11922, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11923, "end": 11924, "loc": { "start": { "line": 329, "column": 17 }, "end": { "line": 329, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 11925, "end": 11931, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11931, "end": 11932, "loc": { "start": { "line": 329, "column": 25 }, "end": { "line": 329, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 11932, "end": 11938, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11938, "end": 11939, "loc": { "start": { "line": 329, "column": 32 }, "end": { "line": 329, "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": 11939, "end": 11943, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11943, "end": 11944, "loc": { "start": { "line": 329, "column": 37 }, "end": { "line": 329, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11944, "end": 11951, "loc": { "start": { "line": 329, "column": 38 }, "end": { "line": 329, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11951, "end": 11952, "loc": { "start": { "line": 329, "column": 45 }, "end": { "line": 329, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11953, "end": 11959, "loc": { "start": { "line": 329, "column": 47 }, "end": { "line": 329, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11959, "end": 11960, "loc": { "start": { "line": 329, "column": 53 }, "end": { "line": 329, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11960, "end": 11961, "loc": { "start": { "line": 329, "column": 54 }, "end": { "line": 329, "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": 11967, "end": 11971, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11971, "end": 11972, "loc": { "start": { "line": 330, "column": 8 }, "end": { "line": 330, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 11972, "end": 11978, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11978, "end": 11979, "loc": { "start": { "line": 330, "column": 15 }, "end": { "line": 330, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11979, "end": 11980, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11980, "end": 11981, "loc": { "start": { "line": 330, "column": 17 }, "end": { "line": 330, "column": 18 } } }, { "type": "CommentBlock", "value": "*\r\n * Apply modules\r\n ", "start": 11989, "end": 12023, "loc": { "start": { "line": 332, "column": 4 }, "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": 12029, "end": 12033, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12033, "end": 12034, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 12034, "end": 12045, "loc": { "start": { "line": 335, "column": 9 }, "end": { "line": 335, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12045, "end": 12046, "loc": { "start": { "line": 335, "column": 20 }, "end": { "line": 335, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12046, "end": 12047, "loc": { "start": { "line": 335, "column": 21 }, "end": { "line": 335, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12047, "end": 12048, "loc": { "start": { "line": 335, "column": 22 }, "end": { "line": 335, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12052, "end": 12053, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 336, "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": 12059, "end": 12168, "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": "clear", "start": 12172, "end": 12177, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 342, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12177, "end": 12178, "loc": { "start": { "line": 342, "column": 7 }, "end": { "line": 342, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12178, "end": 12179, "loc": { "start": { "line": 342, "column": 8 }, "end": { "line": 342, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12179, "end": 12180, "loc": { "start": { "line": 342, "column": 9 }, "end": { "line": 342, "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": 12186, "end": 12190, "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": 12190, "end": 12191, "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": "keyboardDOM", "start": 12191, "end": 12202, "loc": { "start": { "line": 343, "column": 9 }, "end": { "line": 343, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12202, "end": 12203, "loc": { "start": { "line": 343, "column": 20 }, "end": { "line": 343, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 12203, "end": 12212, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12213, "end": 12214, "loc": { "start": { "line": 343, "column": 31 }, "end": { "line": 343, "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": 12215, "end": 12217, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12217, "end": 12218, "loc": { "start": { "line": 343, "column": 35 }, "end": { "line": 343, "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": 12224, "end": 12228, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12228, "end": 12229, "loc": { "start": { "line": 344, "column": 8 }, "end": { "line": 344, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 12229, "end": 12240, "loc": { "start": { "line": 344, "column": 9 }, "end": { "line": 344, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12240, "end": 12241, "loc": { "start": { "line": 344, "column": 20 }, "end": { "line": 344, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12241, "end": 12250, "loc": { "start": { "line": 344, "column": 21 }, "end": { "line": 344, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12251, "end": 12252, "loc": { "start": { "line": 344, "column": 31 }, "end": { "line": 344, "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": 12253, "end": 12257, "loc": { "start": { "line": 344, "column": 33 }, "end": { "line": 344, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12257, "end": 12258, "loc": { "start": { "line": 344, "column": 37 }, "end": { "line": 344, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 12258, "end": 12274, "loc": { "start": { "line": 344, "column": 38 }, "end": { "line": 344, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12274, "end": 12275, "loc": { "start": { "line": 344, "column": 54 }, "end": { "line": 344, "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": 12281, "end": 12285, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12285, "end": 12286, "loc": { "start": { "line": 345, "column": 8 }, "end": { "line": 345, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 12286, "end": 12300, "loc": { "start": { "line": 345, "column": 9 }, "end": { "line": 345, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12301, "end": 12302, "loc": { "start": { "line": 345, "column": 24 }, "end": { "line": 345, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12303, "end": 12304, "loc": { "start": { "line": 345, "column": 26 }, "end": { "line": 345, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12304, "end": 12305, "loc": { "start": { "line": 345, "column": 27 }, "end": { "line": 345, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12305, "end": 12306, "loc": { "start": { "line": 345, "column": 28 }, "end": { "line": 345, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12310, "end": 12311, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 346, "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": 12317, "end": 12522, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 12526, "end": 12534, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12534, "end": 12535, "loc": { "start": { "line": 352, "column": 10 }, "end": { "line": 352, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 12535, "end": 12543, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12543, "end": 12544, "loc": { "start": { "line": 352, "column": 19 }, "end": { "line": 352, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12544, "end": 12545, "loc": { "start": { "line": 352, "column": 20 }, "end": { "line": 352, "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": 12551, "end": 12553, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12553, "end": 12554, "loc": { "start": { "line": 353, "column": 6 }, "end": { "line": 353, "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": 12554, "end": 12555, "loc": { "start": { "line": 353, "column": 7 }, "end": { "line": 353, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12555, "end": 12561, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12561, "end": 12562, "loc": { "start": { "line": 353, "column": 14 }, "end": { "line": 353, "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": 12562, "end": 12587, "loc": { "start": { "line": 353, "column": 15 }, "end": { "line": 353, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12587, "end": 12588, "loc": { "start": { "line": 353, "column": 40 }, "end": { "line": 353, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12588, "end": 12589, "loc": { "start": { "line": 353, "column": 41 }, "end": { "line": 353, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12589, "end": 12590, "loc": { "start": { "line": 353, "column": 42 }, "end": { "line": 353, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 12598, "end": 12605, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12605, "end": 12606, "loc": { "start": { "line": 354, "column": 13 }, "end": { "line": 354, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 12606, "end": 12610, "loc": { "start": { "line": 354, "column": 14 }, "end": { "line": 354, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12610, "end": 12611, "loc": { "start": { "line": 354, "column": 18 }, "end": { "line": 354, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12611, "end": 12612, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "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": 12612, "end": 12678, "loc": { "start": { "line": 354, "column": 20 }, "end": { "line": 354, "column": 86 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12678, "end": 12679, "loc": { "start": { "line": 354, "column": 86 }, "end": { "line": 354, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12679, "end": 12680, "loc": { "start": { "line": 354, "column": 87 }, "end": { "line": 354, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12680, "end": 12681, "loc": { "start": { "line": 354, "column": 88 }, "end": { "line": 354, "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": 12689, "end": 12694, "loc": { "start": { "line": 355, "column": 6 }, "end": { "line": 355, "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": 12695, "end": 12698, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 12699, "end": 12704, "loc": { "start": { "line": 355, "column": 16 }, "end": { "line": 355, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12704, "end": 12705, "loc": { "start": { "line": 355, "column": 21 }, "end": { "line": 355, "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": 12705, "end": 12726, "loc": { "start": { "line": 355, "column": 22 }, "end": { "line": 355, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12726, "end": 12727, "loc": { "start": { "line": 355, "column": 43 }, "end": { "line": 355, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12727, "end": 12728, "loc": { "start": { "line": 355, "column": 44 }, "end": { "line": 355, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12734, "end": 12735, "loc": { "start": { "line": 356, "column": 4 }, "end": { "line": 356, "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": 12747, "end": 12753, "loc": { "start": { "line": 358, "column": 4 }, "end": { "line": 358, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 12754, "end": 12760, "loc": { "start": { "line": 358, "column": 11 }, "end": { "line": 358, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12760, "end": 12761, "loc": { "start": { "line": 358, "column": 17 }, "end": { "line": 358, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 12761, "end": 12765, "loc": { "start": { "line": 358, "column": 18 }, "end": { "line": 358, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12765, "end": 12766, "loc": { "start": { "line": 358, "column": 22 }, "end": { "line": 358, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12766, "end": 12772, "loc": { "start": { "line": 358, "column": 23 }, "end": { "line": 358, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12772, "end": 12773, "loc": { "start": { "line": 358, "column": 29 }, "end": { "line": 358, "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": 12773, "end": 12798, "loc": { "start": { "line": 358, "column": 30 }, "end": { "line": 358, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12798, "end": 12799, "loc": { "start": { "line": 358, "column": 55 }, "end": { "line": 358, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12799, "end": 12800, "loc": { "start": { "line": 358, "column": 56 }, "end": { "line": 358, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12800, "end": 12801, "loc": { "start": { "line": 358, "column": 57 }, "end": { "line": 358, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 12801, "end": 12808, "loc": { "start": { "line": 358, "column": 58 }, "end": { "line": 358, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12808, "end": 12809, "loc": { "start": { "line": 358, "column": 65 }, "end": { "line": 358, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12809, "end": 12810, "loc": { "start": { "line": 358, "column": 66 }, "end": { "line": 358, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12810, "end": 12813, "loc": { "start": { "line": 358, "column": 67 }, "end": { "line": 358, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12813, "end": 12814, "loc": { "start": { "line": 358, "column": 70 }, "end": { "line": 358, "column": 71 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12815, "end": 12817, "loc": { "start": { "line": 358, "column": 72 }, "end": { "line": 358, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12818, "end": 12819, "loc": { "start": { "line": 358, "column": 75 }, "end": { "line": 358, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 12827, "end": 12835, "loc": { "start": { "line": 359, "column": 6 }, "end": { "line": 359, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12835, "end": 12836, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12836, "end": 12842, "loc": { "start": { "line": 359, "column": 15 }, "end": { "line": 359, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12842, "end": 12843, "loc": { "start": { "line": 359, "column": 21 }, "end": { "line": 359, "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": 12843, "end": 12868, "loc": { "start": { "line": 359, "column": 22 }, "end": { "line": 359, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12868, "end": 12869, "loc": { "start": { "line": 359, "column": 47 }, "end": { "line": 359, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12869, "end": 12870, "loc": { "start": { "line": 359, "column": 48 }, "end": { "line": 359, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12870, "end": 12873, "loc": { "start": { "line": 359, "column": 49 }, "end": { "line": 359, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12873, "end": 12874, "loc": { "start": { "line": 359, "column": 52 }, "end": { "line": 359, "column": 53 } } }, { "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": 359, "column": 53 }, "end": { "line": 359, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12876, "end": 12879, "loc": { "start": { "line": 359, "column": 55 }, "end": { "line": 359, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12879, "end": 12880, "loc": { "start": { "line": 359, "column": 58 }, "end": { "line": 359, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12880, "end": 12881, "loc": { "start": { "line": 359, "column": 59 }, "end": { "line": 359, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12887, "end": 12888, "loc": { "start": { "line": 360, "column": 4 }, "end": { "line": 360, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12888, "end": 12889, "loc": { "start": { "line": 360, "column": 5 }, "end": { "line": 360, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12893, "end": 12894, "loc": { "start": { "line": 361, "column": 2 }, "end": { "line": 361, "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": 12900, "end": 13181, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 367, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 13185, "end": 13199, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 368, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13199, "end": 13200, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13200, "end": 13207, "loc": { "start": { "line": 368, "column": 17 }, "end": { "line": 368, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13207, "end": 13208, "loc": { "start": { "line": 368, "column": 24 }, "end": { "line": 368, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13209, "end": 13218, "loc": { "start": { "line": 368, "column": 26 }, "end": { "line": 368, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13218, "end": 13219, "loc": { "start": { "line": 368, "column": 35 }, "end": { "line": 368, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13219, "end": 13220, "loc": { "start": { "line": 368, "column": 36 }, "end": { "line": 368, "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": 13226, "end": 13228, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 369, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13228, "end": 13229, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "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": 13229, "end": 13230, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13230, "end": 13239, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 13240, "end": 13242, "loc": { "start": { "line": 369, "column": 18 }, "end": { "line": 369, "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": 13243, "end": 13244, "loc": { "start": { "line": 369, "column": 21 }, "end": { "line": 369, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13244, "end": 13251, "loc": { "start": { "line": 369, "column": 22 }, "end": { "line": 369, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13251, "end": 13252, "loc": { "start": { "line": 369, "column": 29 }, "end": { "line": 369, "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": 13260, "end": 13266, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "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": 13267, "end": 13272, "loc": { "start": { "line": 370, "column": 13 }, "end": { "line": 370, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13272, "end": 13273, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13281, "end": 13288, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13288, "end": 13289, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13289, "end": 13294, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13294, "end": 13295, "loc": { "start": { "line": 372, "column": 17 }, "end": { "line": 372, "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": 13295, "end": 13298, "loc": { "start": { "line": 372, "column": 18 }, "end": { "line": 372, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13298, "end": 13299, "loc": { "start": { "line": 372, "column": 21 }, "end": { "line": 372, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13299, "end": 13300, "loc": { "start": { "line": 372, "column": 22 }, "end": { "line": 372, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13300, "end": 13307, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13307, "end": 13308, "loc": { "start": { "line": 372, "column": 30 }, "end": { "line": 372, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13308, "end": 13314, "loc": { "start": { "line": 372, "column": 31 }, "end": { "line": 372, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13315, "end": 13317, "loc": { "start": { "line": 372, "column": 38 }, "end": { "line": 372, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13318, "end": 13319, "loc": { "start": { "line": 372, "column": 41 }, "end": { "line": 372, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13327, "end": 13336, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13336, "end": 13337, "loc": { "start": { "line": 373, "column": 15 }, "end": { "line": 373, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13337, "end": 13342, "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": 13342, "end": 13343, "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": " ", "start": 13343, "end": 13346, "loc": { "start": { "line": 373, "column": 22 }, "end": { "line": 373, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13346, "end": 13347, "loc": { "start": { "line": 373, "column": 25 }, "end": { "line": 373, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13347, "end": 13348, "loc": { "start": { "line": 373, "column": 26 }, "end": { "line": 373, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13348, "end": 13355, "loc": { "start": { "line": 373, "column": 27 }, "end": { "line": 373, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13355, "end": 13356, "loc": { "start": { "line": 373, "column": 34 }, "end": { "line": 373, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 13356, "end": 13369, "loc": { "start": { "line": 373, "column": 35 }, "end": { "line": 373, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13370, "end": 13372, "loc": { "start": { "line": 373, "column": 49 }, "end": { "line": 373, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13373, "end": 13374, "loc": { "start": { "line": 373, "column": 52 }, "end": { "line": 373, "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": 13384, "end": 13386, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 374, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13386, "end": 13387, "loc": { "start": { "line": 374, "column": 10 }, "end": { "line": 374, "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": 13387, "end": 13388, "loc": { "start": { "line": 374, "column": 11 }, "end": { "line": 374, "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": 13388, "end": 13392, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13392, "end": 13393, "loc": { "start": { "line": 374, "column": 16 }, "end": { "line": 374, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13393, "end": 13400, "loc": { "start": { "line": 374, "column": 17 }, "end": { "line": 374, "column": 24 } } }, { "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": 374, "column": 24 }, "end": { "line": 374, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13401, "end": 13412, "loc": { "start": { "line": 374, "column": 25 }, "end": { "line": 374, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13412, "end": 13413, "loc": { "start": { "line": 374, "column": 36 }, "end": { "line": 374, "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": 13425, "end": 13429, "loc": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13429, "end": 13430, "loc": { "start": { "line": 375, "column": 14 }, "end": { "line": 375, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13430, "end": 13437, "loc": { "start": { "line": 375, "column": 15 }, "end": { "line": 375, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13437, "end": 13438, "loc": { "start": { "line": 375, "column": 22 }, "end": { "line": 375, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13438, "end": 13449, "loc": { "start": { "line": 375, "column": 23 }, "end": { "line": 375, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13450, "end": 13451, "loc": { "start": { "line": 375, "column": 35 }, "end": { "line": 375, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13452, "end": 13453, "loc": { "start": { "line": 375, "column": 37 }, "end": { "line": 375, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13453, "end": 13454, "loc": { "start": { "line": 375, "column": 38 }, "end": { "line": 375, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13454, "end": 13455, "loc": { "start": { "line": 375, "column": 39 }, "end": { "line": 375, "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": 13467, "end": 13470, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 13471, "end": 13485, "loc": { "start": { "line": 377, "column": 12 }, "end": { "line": 377, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13486, "end": 13487, "loc": { "start": { "line": 377, "column": 27 }, "end": { "line": 377, "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": 13488, "end": 13493, "loc": { "start": { "line": 377, "column": 29 }, "end": { "line": 377, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13493, "end": 13494, "loc": { "start": { "line": 377, "column": 34 }, "end": { "line": 377, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13508, "end": 13599, "loc": { "start": { "line": 379, "column": 8 }, "end": { "line": 381, "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": 13609, "end": 13613, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13613, "end": 13614, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13614, "end": 13621, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 382, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13621, "end": 13622, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13622, "end": 13633, "loc": { "start": { "line": 382, "column": 21 }, "end": { "line": 382, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13633, "end": 13634, "loc": { "start": { "line": 382, "column": 32 }, "end": { "line": 382, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 13634, "end": 13637, "loc": { "start": { "line": 382, "column": 33 }, "end": { "line": 382, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13637, "end": 13638, "loc": { "start": { "line": 382, "column": 36 }, "end": { "line": 382, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13638, "end": 13649, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13650, "end": 13652, "loc": { "start": { "line": 382, "column": 49 }, "end": { "line": 382, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13653, "end": 13654, "loc": { "start": { "line": 382, "column": 52 }, "end": { "line": 382, "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": 13668, "end": 13670, "loc": { "start": { "line": 384, "column": 10 }, "end": { "line": 384, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13670, "end": 13671, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13671, "end": 13682, "loc": { "start": { "line": 384, "column": 13 }, "end": { "line": 384, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13682, "end": 13683, "loc": { "start": { "line": 384, "column": 24 }, "end": { "line": 384, "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": 13683, "end": 13688, "loc": { "start": { "line": 384, "column": 25 }, "end": { "line": 384, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13688, "end": 13689, "loc": { "start": { "line": 384, "column": 30 }, "end": { "line": 384, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13689, "end": 13694, "loc": { "start": { "line": 384, "column": 31 }, "end": { "line": 384, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13694, "end": 13695, "loc": { "start": { "line": 384, "column": 36 }, "end": { "line": 384, "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": 13695, "end": 13698, "loc": { "start": { "line": 384, "column": 37 }, "end": { "line": 384, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13698, "end": 13699, "loc": { "start": { "line": 384, "column": 40 }, "end": { "line": 384, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13699, "end": 13700, "loc": { "start": { "line": 384, "column": 41 }, "end": { "line": 384, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 13700, "end": 13708, "loc": { "start": { "line": 384, "column": 42 }, "end": { "line": 384, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13708, "end": 13709, "loc": { "start": { "line": 384, "column": 50 }, "end": { "line": 384, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 13709, "end": 13722, "loc": { "start": { "line": 384, "column": 51 }, "end": { "line": 384, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13722, "end": 13723, "loc": { "start": { "line": 384, "column": 64 }, "end": { "line": 384, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13723, "end": 13724, "loc": { "start": { "line": 384, "column": 65 }, "end": { "line": 384, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13724, "end": 13725, "loc": { "start": { "line": 384, "column": 66 }, "end": { "line": 384, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 13739, "end": 13753, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13754, "end": 13755, "loc": { "start": { "line": 385, "column": 27 }, "end": { "line": 385, "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": 13756, "end": 13760, "loc": { "start": { "line": 385, "column": 29 }, "end": { "line": 385, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13760, "end": 13761, "loc": { "start": { "line": 385, "column": 33 }, "end": { "line": 385, "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": 13789, "end": 13792, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 13793, "end": 13809, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13810, "end": 13811, "loc": { "start": { "line": 387, "column": 33 }, "end": { "line": 387, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13812, "end": 13823, "loc": { "start": { "line": 387, "column": 35 }, "end": { "line": 387, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13823, "end": 13824, "loc": { "start": { "line": 387, "column": 46 }, "end": { "line": 387, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13824, "end": 13831, "loc": { "start": { "line": 387, "column": 47 }, "end": { "line": 387, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13831, "end": 13832, "loc": { "start": { "line": 387, "column": 54 }, "end": { "line": 387, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13832, "end": 13837, "loc": { "start": { "line": 387, "column": 55 }, "end": { "line": 387, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13837, "end": 13838, "loc": { "start": { "line": 387, "column": 60 }, "end": { "line": 387, "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": 13838, "end": 13841, "loc": { "start": { "line": 387, "column": 61 }, "end": { "line": 387, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13841, "end": 13842, "loc": { "start": { "line": 387, "column": 64 }, "end": { "line": 387, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13842, "end": 13843, "loc": { "start": { "line": 387, "column": 65 }, "end": { "line": 387, "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": 13857, "end": 13859, "loc": { "start": { "line": 388, "column": 12 }, "end": { "line": 388, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13859, "end": 13860, "loc": { "start": { "line": 388, "column": 14 }, "end": { "line": 388, "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": 13860, "end": 13861, "loc": { "start": { "line": 388, "column": 15 }, "end": { "line": 388, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 13861, "end": 13877, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13877, "end": 13878, "loc": { "start": { "line": 388, "column": 32 }, "end": { "line": 388, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 13878, "end": 13886, "loc": { "start": { "line": 388, "column": 33 }, "end": { "line": 388, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13886, "end": 13887, "loc": { "start": { "line": 388, "column": 41 }, "end": { "line": 388, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13887, "end": 13893, "loc": { "start": { "line": 388, "column": 42 }, "end": { "line": 388, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13893, "end": 13894, "loc": { "start": { "line": 388, "column": 48 }, "end": { "line": 388, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13894, "end": 13895, "loc": { "start": { "line": 388, "column": 49 }, "end": { "line": 388, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13895, "end": 13896, "loc": { "start": { "line": 388, "column": 50 }, "end": { "line": 388, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 13912, "end": 13926, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13927, "end": 13928, "loc": { "start": { "line": 389, "column": 29 }, "end": { "line": 389, "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": 13929, "end": 13933, "loc": { "start": { "line": 389, "column": 31 }, "end": { "line": 389, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13933, "end": 13934, "loc": { "start": { "line": 389, "column": 35 }, "end": { "line": 389, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 13950, "end": 13966, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13966, "end": 13967, "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": "push", "start": 13967, "end": 13971, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 390, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13971, "end": 13972, "loc": { "start": { "line": 390, "column": 35 }, "end": { "line": 390, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13972, "end": 13978, "loc": { "start": { "line": 390, "column": 36 }, "end": { "line": 390, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13978, "end": 13979, "loc": { "start": { "line": 390, "column": 42 }, "end": { "line": 390, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13979, "end": 13980, "loc": { "start": { "line": 390, "column": 43 }, "end": { "line": 390, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13996, "end": 14007, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14007, "end": 14008, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14008, "end": 14015, "loc": { "start": { "line": 391, "column": 26 }, "end": { "line": 391, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14016, "end": 14017, "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": "buttonThemeArray", "start": 14018, "end": 14034, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14034, "end": 14035, "loc": { "start": { "line": 391, "column": 52 }, "end": { "line": 391, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 14035, "end": 14039, "loc": { "start": { "line": 391, "column": 53 }, "end": { "line": 391, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14039, "end": 14040, "loc": { "start": { "line": 391, "column": 57 }, "end": { "line": 391, "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": 14040, "end": 14043, "loc": { "start": { "line": 391, "column": 58 }, "end": { "line": 391, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14043, "end": 14044, "loc": { "start": { "line": 391, "column": 61 }, "end": { "line": 391, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14044, "end": 14045, "loc": { "start": { "line": 391, "column": 62 }, "end": { "line": 391, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14059, "end": 14060, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14072, "end": 14073, "loc": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "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": 14085, "end": 14091, "loc": { "start": { "line": 394, "column": 10 }, "end": { "line": 394, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14092, "end": 14103, "loc": { "start": { "line": 394, "column": 17 }, "end": { "line": 394, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14103, "end": 14104, "loc": { "start": { "line": 394, "column": 28 }, "end": { "line": 394, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14114, "end": 14115, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14115, "end": 14116, "loc": { "start": { "line": 395, "column": 9 }, "end": { "line": 395, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14116, "end": 14117, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14129, "end": 14204, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 399, "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": 14214, "end": 14216, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14216, "end": 14217, "loc": { "start": { "line": 400, "column": 10 }, "end": { "line": 400, "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": 14217, "end": 14218, "loc": { "start": { "line": 400, "column": 11 }, "end": { "line": 400, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14218, "end": 14232, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14232, "end": 14233, "loc": { "start": { "line": 400, "column": 26 }, "end": { "line": 400, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14233, "end": 14234, "loc": { "start": { "line": 400, "column": 27 }, "end": { "line": 400, "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": 14246, "end": 14250, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14250, "end": 14251, "loc": { "start": { "line": 401, "column": 14 }, "end": { "line": 401, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14251, "end": 14258, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14258, "end": 14259, "loc": { "start": { "line": 401, "column": 22 }, "end": { "line": 401, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14259, "end": 14270, "loc": { "start": { "line": 401, "column": 23 }, "end": { "line": 401, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14270, "end": 14271, "loc": { "start": { "line": 401, "column": 34 }, "end": { "line": 401, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14271, "end": 14275, "loc": { "start": { "line": 401, "column": 35 }, "end": { "line": 401, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14275, "end": 14276, "loc": { "start": { "line": 401, "column": 39 }, "end": { "line": 401, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14276, "end": 14277, "loc": { "start": { "line": 401, "column": 40 }, "end": { "line": 401, "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": 14291, "end": 14296, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14296, "end": 14297, "loc": { "start": { "line": 402, "column": 17 }, "end": { "line": 402, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 14298, "end": 14311, "loc": { "start": { "line": 402, "column": 19 }, "end": { "line": 402, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14311, "end": 14312, "loc": { "start": { "line": 402, "column": 32 }, "end": { "line": 402, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14326, "end": 14333, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14333, "end": 14334, "loc": { "start": { "line": 403, "column": 19 }, "end": { "line": 403, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14335, "end": 14342, "loc": { "start": { "line": 403, "column": 21 }, "end": { "line": 403, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14354, "end": 14355, "loc": { "start": { "line": 404, "column": 10 }, "end": { "line": 404, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14355, "end": 14356, "loc": { "start": { "line": 404, "column": 11 }, "end": { "line": 404, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14356, "end": 14357, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14367, "end": 14368, "loc": { "start": { "line": 405, "column": 8 }, "end": { "line": 405, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14378, "end": 14379, "loc": { "start": { "line": 407, "column": 6 }, "end": { "line": 407, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14379, "end": 14380, "loc": { "start": { "line": 407, "column": 7 }, "end": { "line": 407, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14380, "end": 14381, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14387, "end": 14388, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14388, "end": 14389, "loc": { "start": { "line": 408, "column": 5 }, "end": { "line": 408, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14389, "end": 14390, "loc": { "start": { "line": 408, "column": 6 }, "end": { "line": 408, "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": 14398, "end": 14402, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14402, "end": 14403, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 14403, "end": 14409, "loc": { "start": { "line": 410, "column": 9 }, "end": { "line": 410, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14409, "end": 14410, "loc": { "start": { "line": 410, "column": 15 }, "end": { "line": 410, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14410, "end": 14411, "loc": { "start": { "line": 410, "column": 16 }, "end": { "line": 410, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14411, "end": 14412, "loc": { "start": { "line": 410, "column": 17 }, "end": { "line": 410, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14416, "end": 14417, "loc": { "start": { "line": 411, "column": 2 }, "end": { "line": 411, "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": 14423, "end": 14763, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 417, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 14767, "end": 14784, "loc": { "start": { "line": 418, "column": 2 }, "end": { "line": 418, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14784, "end": 14785, "loc": { "start": { "line": 418, "column": 19 }, "end": { "line": 418, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14785, "end": 14792, "loc": { "start": { "line": 418, "column": 20 }, "end": { "line": 418, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14792, "end": 14793, "loc": { "start": { "line": 418, "column": 27 }, "end": { "line": 418, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 14794, "end": 14803, "loc": { "start": { "line": 418, "column": 29 }, "end": { "line": 418, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14803, "end": 14804, "loc": { "start": { "line": 418, "column": 38 }, "end": { "line": 418, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14804, "end": 14805, "loc": { "start": { "line": 418, "column": 39 }, "end": { "line": 418, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 14811, "end": 14891, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 421, "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": 14897, "end": 14899, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 422, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14899, "end": 14900, "loc": { "start": { "line": 422, "column": 6 }, "end": { "line": 422, "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": 14900, "end": 14901, "loc": { "start": { "line": 422, "column": 7 }, "end": { "line": 422, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14901, "end": 14908, "loc": { "start": { "line": 422, "column": 8 }, "end": { "line": 422, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 14909, "end": 14911, "loc": { "start": { "line": 422, "column": 16 }, "end": { "line": 422, "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": 14912, "end": 14913, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 422, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 14913, "end": 14922, "loc": { "start": { "line": 422, "column": 20 }, "end": { "line": 422, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14922, "end": 14923, "loc": { "start": { "line": 422, "column": 29 }, "end": { "line": 422, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14923, "end": 14924, "loc": { "start": { "line": 422, "column": 30 }, "end": { "line": 422, "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": 14932, "end": 14936, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14936, "end": 14937, "loc": { "start": { "line": 423, "column": 10 }, "end": { "line": 423, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14937, "end": 14944, "loc": { "start": { "line": 423, "column": 11 }, "end": { "line": 423, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14944, "end": 14945, "loc": { "start": { "line": 423, "column": 18 }, "end": { "line": 423, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14945, "end": 14956, "loc": { "start": { "line": 423, "column": 19 }, "end": { "line": 423, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14957, "end": 14958, "loc": { "start": { "line": 423, "column": 31 }, "end": { "line": 423, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14959, "end": 14960, "loc": { "start": { "line": 423, "column": 33 }, "end": { "line": 423, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14960, "end": 14961, "loc": { "start": { "line": 423, "column": 34 }, "end": { "line": 423, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14961, "end": 14962, "loc": { "start": { "line": 423, "column": 35 }, "end": { "line": 423, "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": 14970, "end": 14974, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14974, "end": 14975, "loc": { "start": { "line": 424, "column": 10 }, "end": { "line": 424, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 14975, "end": 14981, "loc": { "start": { "line": 424, "column": 11 }, "end": { "line": 424, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14981, "end": 14982, "loc": { "start": { "line": 424, "column": 17 }, "end": { "line": 424, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14982, "end": 14983, "loc": { "start": { "line": 424, "column": 18 }, "end": { "line": 424, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14983, "end": 14984, "loc": { "start": { "line": 424, "column": 19 }, "end": { "line": 424, "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": 14992, "end": 14998, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 425, "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": 14999, "end": 15004, "loc": { "start": { "line": 425, "column": 13 }, "end": { "line": 425, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15004, "end": 15005, "loc": { "start": { "line": 425, "column": 18 }, "end": { "line": 425, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15011, "end": 15012, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15020, "end": 15088, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 430, "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": 15094, "end": 15096, "loc": { "start": { "line": 431, "column": 4 }, "end": { "line": 431, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15096, "end": 15097, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15097, "end": 15104, "loc": { "start": { "line": 431, "column": 7 }, "end": { "line": 431, "column": 14 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15105, "end": 15107, "loc": { "start": { "line": 431, "column": 15 }, "end": { "line": 431, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 15108, "end": 15113, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15113, "end": 15114, "loc": { "start": { "line": 431, "column": 23 }, "end": { "line": 431, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 15114, "end": 15121, "loc": { "start": { "line": 431, "column": 24 }, "end": { "line": 431, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15121, "end": 15122, "loc": { "start": { "line": 431, "column": 31 }, "end": { "line": 431, "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": 15122, "end": 15126, "loc": { "start": { "line": 431, "column": 32 }, "end": { "line": 431, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15126, "end": 15127, "loc": { "start": { "line": 431, "column": 36 }, "end": { "line": 431, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15127, "end": 15134, "loc": { "start": { "line": 431, "column": 37 }, "end": { "line": 431, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15134, "end": 15135, "loc": { "start": { "line": 431, "column": 44 }, "end": { "line": 431, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15135, "end": 15146, "loc": { "start": { "line": 431, "column": 45 }, "end": { "line": 431, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15146, "end": 15147, "loc": { "start": { "line": 431, "column": 56 }, "end": { "line": 431, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15148, "end": 15150, "loc": { "start": { "line": 431, "column": 58 }, "end": { "line": 431, "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": 15151, "end": 15155, "loc": { "start": { "line": 431, "column": 61 }, "end": { "line": 431, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15155, "end": 15156, "loc": { "start": { "line": 431, "column": 65 }, "end": { "line": 431, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15156, "end": 15163, "loc": { "start": { "line": 431, "column": 66 }, "end": { "line": 431, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15163, "end": 15164, "loc": { "start": { "line": 431, "column": 73 }, "end": { "line": 431, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15164, "end": 15175, "loc": { "start": { "line": 431, "column": 74 }, "end": { "line": 431, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15175, "end": 15176, "loc": { "start": { "line": 431, "column": 85 }, "end": { "line": 431, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15176, "end": 15182, "loc": { "start": { "line": 431, "column": 86 }, "end": { "line": 431, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15182, "end": 15183, "loc": { "start": { "line": 431, "column": 92 }, "end": { "line": 431, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15183, "end": 15184, "loc": { "start": { "line": 431, "column": 93 }, "end": { "line": 431, "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": 15192, "end": 15195, "loc": { "start": { "line": 432, "column": 6 }, "end": { "line": 432, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15196, "end": 15207, "loc": { "start": { "line": 432, "column": 10 }, "end": { "line": 432, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15208, "end": 15209, "loc": { "start": { "line": 432, "column": 22 }, "end": { "line": 432, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15210, "end": 15217, "loc": { "start": { "line": 432, "column": 24 }, "end": { "line": 432, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15217, "end": 15218, "loc": { "start": { "line": 432, "column": 31 }, "end": { "line": 432, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 15218, "end": 15223, "loc": { "start": { "line": 432, "column": 32 }, "end": { "line": 432, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15223, "end": 15224, "loc": { "start": { "line": 432, "column": 37 }, "end": { "line": 432, "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": 15224, "end": 15227, "loc": { "start": { "line": 432, "column": 38 }, "end": { "line": 432, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15227, "end": 15228, "loc": { "start": { "line": 432, "column": 41 }, "end": { "line": 432, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15228, "end": 15229, "loc": { "start": { "line": 432, "column": 42 }, "end": { "line": 432, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15237, "end": 15248, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 433, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15248, "end": 15249, "loc": { "start": { "line": 433, "column": 17 }, "end": { "line": 433, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 15249, "end": 15256, "loc": { "start": { "line": 433, "column": 18 }, "end": { "line": 433, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15256, "end": 15257, "loc": { "start": { "line": 433, "column": 25 }, "end": { "line": 433, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15257, "end": 15258, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 433, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 15258, "end": 15264, "loc": { "start": { "line": 433, "column": 27 }, "end": { "line": 433, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15264, "end": 15265, "loc": { "start": { "line": 433, "column": 33 }, "end": { "line": 433, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 15266, "end": 15269, "loc": { "start": { "line": 433, "column": 35 }, "end": { "line": 433, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15269, "end": 15270, "loc": { "start": { "line": 433, "column": 38 }, "end": { "line": 433, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15271, "end": 15273, "loc": { "start": { "line": 433, "column": 40 }, "end": { "line": 433, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15274, "end": 15275, "loc": { "start": { "line": 433, "column": 43 }, "end": { "line": 433, "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": 15285, "end": 15289, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15289, "end": 15290, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15290, "end": 15297, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15297, "end": 15298, "loc": { "start": { "line": 434, "column": 20 }, "end": { "line": 434, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15298, "end": 15309, "loc": { "start": { "line": 434, "column": 21 }, "end": { "line": 434, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15309, "end": 15310, "loc": { "start": { "line": 434, "column": 32 }, "end": { "line": 434, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 15310, "end": 15313, "loc": { "start": { "line": 434, "column": 33 }, "end": { "line": 434, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15313, "end": 15314, "loc": { "start": { "line": 434, "column": 36 }, "end": { "line": 434, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15314, "end": 15315, "loc": { "start": { "line": 434, "column": 37 }, "end": { "line": 434, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15315, "end": 15326, "loc": { "start": { "line": 434, "column": 38 }, "end": { "line": 434, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15326, "end": 15327, "loc": { "start": { "line": 434, "column": 49 }, "end": { "line": 434, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 15328, "end": 15333, "loc": { "start": { "line": 434, "column": 51 }, "end": { "line": 434, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15333, "end": 15334, "loc": { "start": { "line": 434, "column": 56 }, "end": { "line": 434, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15335, "end": 15337, "loc": { "start": { "line": 434, "column": 58 }, "end": { "line": 434, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15338, "end": 15339, "loc": { "start": { "line": 434, "column": 61 }, "end": { "line": 434, "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": 15353, "end": 15494, "loc": { "start": { "line": 436, "column": 10 }, "end": { "line": 439, "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": 15506, "end": 15508, "loc": { "start": { "line": 440, "column": 10 }, "end": { "line": 440, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15508, "end": 15509, "loc": { "start": { "line": 440, "column": 12 }, "end": { "line": 440, "column": 13 } } }, { "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": 441, "column": 12 }, "end": { "line": 441, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15524, "end": 15533, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15534, "end": 15536, "loc": { "start": { "line": 441, "column": 23 }, "end": { "line": 441, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15537, "end": 15546, "loc": { "start": { "line": 441, "column": 26 }, "end": { "line": 441, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15546, "end": 15547, "loc": { "start": { "line": 441, "column": 35 }, "end": { "line": 441, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 15547, "end": 15555, "loc": { "start": { "line": 441, "column": 36 }, "end": { "line": 441, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15555, "end": 15556, "loc": { "start": { "line": 441, "column": 44 }, "end": { "line": 441, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15556, "end": 15567, "loc": { "start": { "line": 441, "column": 45 }, "end": { "line": 441, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15567, "end": 15568, "loc": { "start": { "line": 441, "column": 56 }, "end": { "line": 441, "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": 15568, "end": 15573, "loc": { "start": { "line": 441, "column": 57 }, "end": { "line": 441, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15573, "end": 15574, "loc": { "start": { "line": 441, "column": 62 }, "end": { "line": 441, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15574, "end": 15575, "loc": { "start": { "line": 441, "column": 63 }, "end": { "line": 441, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 15576, "end": 15578, "loc": { "start": { "line": 441, "column": 65 }, "end": { "line": 441, "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": 15592, "end": 15593, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15593, "end": 15602, "loc": { "start": { "line": 442, "column": 13 }, "end": { "line": 442, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15614, "end": 15615, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 443, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15615, "end": 15616, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "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": 15630, "end": 15633, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 15634, "end": 15653, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15654, "end": 15655, "loc": { "start": { "line": 444, "column": 36 }, "end": { "line": 444, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15656, "end": 15667, "loc": { "start": { "line": 444, "column": 38 }, "end": { "line": 444, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15667, "end": 15668, "loc": { "start": { "line": 444, "column": 49 }, "end": { "line": 444, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15668, "end": 15675, "loc": { "start": { "line": 444, "column": 50 }, "end": { "line": 444, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15675, "end": 15676, "loc": { "start": { "line": 444, "column": 57 }, "end": { "line": 444, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 15676, "end": 15681, "loc": { "start": { "line": 444, "column": 58 }, "end": { "line": 444, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15681, "end": 15682, "loc": { "start": { "line": 444, "column": 63 }, "end": { "line": 444, "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": 15682, "end": 15685, "loc": { "start": { "line": 444, "column": 64 }, "end": { "line": 444, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15685, "end": 15686, "loc": { "start": { "line": 444, "column": 67 }, "end": { "line": 444, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15686, "end": 15687, "loc": { "start": { "line": 444, "column": 68 }, "end": { "line": 444, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 15687, "end": 15693, "loc": { "start": { "line": 444, "column": 69 }, "end": { "line": 444, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15693, "end": 15694, "loc": { "start": { "line": 444, "column": 75 }, "end": { "line": 444, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15694, "end": 15698, "loc": { "start": { "line": 444, "column": 76 }, "end": { "line": 444, "column": 80 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15699, "end": 15701, "loc": { "start": { "line": 444, "column": 81 }, "end": { "line": 444, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15702, "end": 15706, "loc": { "start": { "line": 444, "column": 84 }, "end": { "line": 444, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 15707, "end": 15710, "loc": { "start": { "line": 444, "column": 89 }, "end": { "line": 444, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 15711, "end": 15717, "loc": { "start": { "line": 444, "column": 93 }, "end": { "line": 444, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15717, "end": 15718, "loc": { "start": { "line": 444, "column": 99 }, "end": { "line": 444, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15718, "end": 15719, "loc": { "start": { "line": 444, "column": 100 }, "end": { "line": 444, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15735, "end": 15832, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 448, "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": 15846, "end": 15848, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15848, "end": 15849, "loc": { "start": { "line": 449, "column": 14 }, "end": { "line": 449, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 15849, "end": 15868, "loc": { "start": { "line": 449, "column": 15 }, "end": { "line": 449, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15868, "end": 15869, "loc": { "start": { "line": 449, "column": 34 }, "end": { "line": 449, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15869, "end": 15875, "loc": { "start": { "line": 449, "column": 35 }, "end": { "line": 449, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15875, "end": 15876, "loc": { "start": { "line": 449, "column": 41 }, "end": { "line": 449, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15876, "end": 15877, "loc": { "start": { "line": 449, "column": 42 }, "end": { "line": 449, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15893, "end": 15904, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15904, "end": 15905, "loc": { "start": { "line": 450, "column": 25 }, "end": { "line": 450, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15905, "end": 15912, "loc": { "start": { "line": 450, "column": 26 }, "end": { "line": 450, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15913, "end": 15914, "loc": { "start": { "line": 450, "column": 34 }, "end": { "line": 450, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 15915, "end": 15934, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15934, "end": 15935, "loc": { "start": { "line": 450, "column": 55 }, "end": { "line": 450, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 15935, "end": 15939, "loc": { "start": { "line": 450, "column": 56 }, "end": { "line": 450, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15939, "end": 15940, "loc": { "start": { "line": 450, "column": 60 }, "end": { "line": 450, "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": 15940, "end": 15943, "loc": { "start": { "line": 450, "column": 61 }, "end": { "line": 450, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15943, "end": 15944, "loc": { "start": { "line": 450, "column": 64 }, "end": { "line": 450, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15944, "end": 15945, "loc": { "start": { "line": 450, "column": 65 }, "end": { "line": 450, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15959, "end": 15960, "loc": { "start": { "line": 451, "column": 12 }, "end": { "line": 451, "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": 15961, "end": 15965, "loc": { "start": { "line": 451, "column": 14 }, "end": { "line": 451, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15966, "end": 15967, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 451, "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": 15983, "end": 15987, "loc": { "start": { "line": 452, "column": 14 }, "end": { "line": 452, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15987, "end": 15988, "loc": { "start": { "line": 452, "column": 18 }, "end": { "line": 452, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15988, "end": 15995, "loc": { "start": { "line": 452, "column": 19 }, "end": { "line": 452, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15995, "end": 15996, "loc": { "start": { "line": 452, "column": 26 }, "end": { "line": 452, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15996, "end": 16007, "loc": { "start": { "line": 452, "column": 27 }, "end": { "line": 452, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16007, "end": 16008, "loc": { "start": { "line": 452, "column": 38 }, "end": { "line": 452, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 16008, "end": 16014, "loc": { "start": { "line": 452, "column": 39 }, "end": { "line": 452, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16014, "end": 16015, "loc": { "start": { "line": 452, "column": 45 }, "end": { "line": 452, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 16015, "end": 16020, "loc": { "start": { "line": 452, "column": 46 }, "end": { "line": 452, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16020, "end": 16021, "loc": { "start": { "line": 452, "column": 51 }, "end": { "line": 452, "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": 16022, "end": 16023, "loc": { "start": { "line": 452, "column": 53 }, "end": { "line": 452, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16023, "end": 16024, "loc": { "start": { "line": 452, "column": 54 }, "end": { "line": 452, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16024, "end": 16025, "loc": { "start": { "line": 452, "column": 55 }, "end": { "line": 452, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16041, "end": 16052, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16053, "end": 16054, "loc": { "start": { "line": 453, "column": 26 }, "end": { "line": 453, "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": 16055, "end": 16059, "loc": { "start": { "line": 453, "column": 28 }, "end": { "line": 453, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16059, "end": 16060, "loc": { "start": { "line": 453, "column": 32 }, "end": { "line": 453, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16074, "end": 16075, "loc": { "start": { "line": 454, "column": 12 }, "end": { "line": 454, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16090, "end": 16091, "loc": { "start": { "line": 456, "column": 10 }, "end": { "line": 456, "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": 16105, "end": 16111, "loc": { "start": { "line": 458, "column": 10 }, "end": { "line": 458, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16112, "end": 16123, "loc": { "start": { "line": 458, "column": 17 }, "end": { "line": 458, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16123, "end": 16124, "loc": { "start": { "line": 458, "column": 28 }, "end": { "line": 458, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16134, "end": 16135, "loc": { "start": { "line": 459, "column": 8 }, "end": { "line": 459, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16135, "end": 16136, "loc": { "start": { "line": 459, "column": 9 }, "end": { "line": 459, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16136, "end": 16137, "loc": { "start": { "line": 459, "column": 10 }, "end": { "line": 459, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16145, "end": 16146, "loc": { "start": { "line": 460, "column": 6 }, "end": { "line": 460, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16146, "end": 16147, "loc": { "start": { "line": 460, "column": 7 }, "end": { "line": 460, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16147, "end": 16148, "loc": { "start": { "line": 460, "column": 8 }, "end": { "line": 460, "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": 16158, "end": 16162, "loc": { "start": { "line": 462, "column": 6 }, "end": { "line": 462, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16162, "end": 16163, "loc": { "start": { "line": 462, "column": 10 }, "end": { "line": 462, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 16163, "end": 16169, "loc": { "start": { "line": 462, "column": 11 }, "end": { "line": 462, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16169, "end": 16170, "loc": { "start": { "line": 462, "column": 17 }, "end": { "line": 462, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16170, "end": 16171, "loc": { "start": { "line": 462, "column": 18 }, "end": { "line": 462, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16171, "end": 16172, "loc": { "start": { "line": 462, "column": 19 }, "end": { "line": 462, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16178, "end": 16179, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16183, "end": 16184, "loc": { "start": { "line": 464, "column": 2 }, "end": { "line": 464, "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": 16190, "end": 16393, "loc": { "start": { "line": 466, "column": 2 }, "end": { "line": 469, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 16397, "end": 16413, "loc": { "start": { "line": 470, "column": 2 }, "end": { "line": 470, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16413, "end": 16414, "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": "button", "start": 16414, "end": 16420, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16420, "end": 16421, "loc": { "start": { "line": 470, "column": 25 }, "end": { "line": 470, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16421, "end": 16422, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "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": 16428, "end": 16431, "loc": { "start": { "line": 471, "column": 4 }, "end": { "line": 471, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16432, "end": 16438, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16438, "end": 16439, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "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": 16447, "end": 16450, "loc": { "start": { "line": 473, "column": 4 }, "end": { "line": 473, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16451, "end": 16460, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16461, "end": 16462, "loc": { "start": { "line": 473, "column": 18 }, "end": { "line": 473, "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": 16463, "end": 16467, "loc": { "start": { "line": 473, "column": 20 }, "end": { "line": 473, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16467, "end": 16468, "loc": { "start": { "line": 473, "column": 24 }, "end": { "line": 473, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 16468, "end": 16482, "loc": { "start": { "line": 473, "column": 25 }, "end": { "line": 473, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16482, "end": 16483, "loc": { "start": { "line": 473, "column": 39 }, "end": { "line": 473, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16483, "end": 16489, "loc": { "start": { "line": 473, "column": 40 }, "end": { "line": 473, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16489, "end": 16490, "loc": { "start": { "line": 473, "column": 46 }, "end": { "line": 473, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16490, "end": 16491, "loc": { "start": { "line": 473, "column": 47 }, "end": { "line": 473, "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": 16497, "end": 16499, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 474, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16499, "end": 16500, "loc": { "start": { "line": 474, "column": 6 }, "end": { "line": 474, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16500, "end": 16509, "loc": { "start": { "line": 474, "column": 7 }, "end": { "line": 474, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16509, "end": 16510, "loc": { "start": { "line": 474, "column": 16 }, "end": { "line": 474, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16510, "end": 16511, "loc": { "start": { "line": 474, "column": 17 }, "end": { "line": 474, "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": 16519, "end": 16521, "loc": { "start": { "line": 475, "column": 6 }, "end": { "line": 475, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16521, "end": 16522, "loc": { "start": { "line": 475, "column": 8 }, "end": { "line": 475, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16522, "end": 16531, "loc": { "start": { "line": 475, "column": 9 }, "end": { "line": 475, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16531, "end": 16532, "loc": { "start": { "line": 475, "column": 18 }, "end": { "line": 475, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16532, "end": 16538, "loc": { "start": { "line": 475, "column": 19 }, "end": { "line": 475, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 16539, "end": 16540, "loc": { "start": { "line": 475, "column": 26 }, "end": { "line": 475, "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": 16541, "end": 16542, "loc": { "start": { "line": 475, "column": 28 }, "end": { "line": 475, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16542, "end": 16543, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16543, "end": 16544, "loc": { "start": { "line": 475, "column": 30 }, "end": { "line": 475, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16554, "end": 16560, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16561, "end": 16562, "loc": { "start": { "line": 476, "column": 15 }, "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": "buttonArr", "start": 16563, "end": 16572, "loc": { "start": { "line": 476, "column": 17 }, "end": { "line": 476, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16572, "end": 16573, "loc": { "start": { "line": 476, "column": 26 }, "end": { "line": 476, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16581, "end": 16582, "loc": { "start": { "line": 477, "column": 6 }, "end": { "line": 477, "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": 16583, "end": 16587, "loc": { "start": { "line": 477, "column": 8 }, "end": { "line": 477, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16588, "end": 16589, "loc": { "start": { "line": 477, "column": 13 }, "end": { "line": 477, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16599, "end": 16605, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16606, "end": 16607, "loc": { "start": { "line": 478, "column": 15 }, "end": { "line": 478, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16608, "end": 16617, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16617, "end": 16618, "loc": { "start": { "line": 478, "column": 26 }, "end": { "line": 478, "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": 16618, "end": 16619, "loc": { "start": { "line": 478, "column": 27 }, "end": { "line": 478, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16619, "end": 16620, "loc": { "start": { "line": 478, "column": 28 }, "end": { "line": 478, "column": 29 } } }, { "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": 478, "column": 29 }, "end": { "line": 478, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16629, "end": 16630, "loc": { "start": { "line": 479, "column": 6 }, "end": { "line": 479, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16636, "end": 16637, "loc": { "start": { "line": 480, "column": 4 }, "end": { "line": 480, "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": 16645, "end": 16651, "loc": { "start": { "line": 482, "column": 4 }, "end": { "line": 482, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16652, "end": 16658, "loc": { "start": { "line": 482, "column": 11 }, "end": { "line": 482, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16658, "end": 16659, "loc": { "start": { "line": 482, "column": 17 }, "end": { "line": 482, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16663, "end": 16664, "loc": { "start": { "line": 483, "column": 2 }, "end": { "line": 483, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16670, "end": 16760, "loc": { "start": { "line": 485, "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": "handleCaret", "start": 16764, "end": 16775, "loc": { "start": { "line": 488, "column": 2 }, "end": { "line": 488, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16775, "end": 16776, "loc": { "start": { "line": 488, "column": 13 }, "end": { "line": 488, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16776, "end": 16777, "loc": { "start": { "line": 488, "column": 14 }, "end": { "line": 488, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16777, "end": 16778, "loc": { "start": { "line": 488, "column": 15 }, "end": { "line": 488, "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": 16784, "end": 16786, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16786, "end": 16787, "loc": { "start": { "line": 489, "column": 6 }, "end": { "line": 489, "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": 16787, "end": 16791, "loc": { "start": { "line": 489, "column": 7 }, "end": { "line": 489, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16791, "end": 16792, "loc": { "start": { "line": 489, "column": 11 }, "end": { "line": 489, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16792, "end": 16799, "loc": { "start": { "line": 489, "column": 12 }, "end": { "line": 489, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16799, "end": 16800, "loc": { "start": { "line": 489, "column": 19 }, "end": { "line": 489, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 16800, "end": 16805, "loc": { "start": { "line": 489, "column": 20 }, "end": { "line": 489, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16805, "end": 16806, "loc": { "start": { "line": 489, "column": 25 }, "end": { "line": 489, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16806, "end": 16807, "loc": { "start": { "line": 489, "column": 26 }, "end": { "line": 489, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 16815, "end": 16822, "loc": { "start": { "line": 490, "column": 6 }, "end": { "line": 490, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16822, "end": 16823, "loc": { "start": { "line": 490, "column": 13 }, "end": { "line": 490, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 16823, "end": 16826, "loc": { "start": { "line": 490, "column": 14 }, "end": { "line": 490, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16826, "end": 16827, "loc": { "start": { "line": 490, "column": 17 }, "end": { "line": 490, "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": 16827, "end": 16851, "loc": { "start": { "line": 490, "column": 18 }, "end": { "line": 490, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16851, "end": 16852, "loc": { "start": { "line": 490, "column": 42 }, "end": { "line": 490, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16852, "end": 16853, "loc": { "start": { "line": 490, "column": 43 }, "end": { "line": 490, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16859, "end": 16860, "loc": { "start": { "line": 491, "column": 4 }, "end": { "line": 491, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 16868, "end": 16876, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16876, "end": 16877, "loc": { "start": { "line": 493, "column": 12 }, "end": { "line": 493, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 16877, "end": 16893, "loc": { "start": { "line": 493, "column": 13 }, "end": { "line": 493, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16893, "end": 16894, "loc": { "start": { "line": 493, "column": 29 }, "end": { "line": 493, "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": 16894, "end": 16901, "loc": { "start": { "line": 493, "column": 30 }, "end": { "line": 493, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16901, "end": 16902, "loc": { "start": { "line": 493, "column": 37 }, "end": { "line": 493, "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": 16903, "end": 16907, "loc": { "start": { "line": 493, "column": 39 }, "end": { "line": 493, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16907, "end": 16908, "loc": { "start": { "line": 493, "column": 43 }, "end": { "line": 493, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 16908, "end": 16925, "loc": { "start": { "line": 493, "column": 44 }, "end": { "line": 493, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16925, "end": 16926, "loc": { "start": { "line": 493, "column": 61 }, "end": { "line": 493, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16926, "end": 16927, "loc": { "start": { "line": 493, "column": 62 }, "end": { "line": 493, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 16933, "end": 16941, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16941, "end": 16942, "loc": { "start": { "line": 494, "column": 12 }, "end": { "line": 494, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 16942, "end": 16958, "loc": { "start": { "line": 494, "column": 13 }, "end": { "line": 494, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16958, "end": 16959, "loc": { "start": { "line": 494, "column": 29 }, "end": { "line": 494, "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": 16959, "end": 16968, "loc": { "start": { "line": 494, "column": 30 }, "end": { "line": 494, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16968, "end": 16969, "loc": { "start": { "line": 494, "column": 39 }, "end": { "line": 494, "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": 16970, "end": 16974, "loc": { "start": { "line": 494, "column": 41 }, "end": { "line": 494, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16974, "end": 16975, "loc": { "start": { "line": 494, "column": 45 }, "end": { "line": 494, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 16975, "end": 16992, "loc": { "start": { "line": 494, "column": 46 }, "end": { "line": 494, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16992, "end": 16993, "loc": { "start": { "line": 494, "column": 63 }, "end": { "line": 494, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16993, "end": 16994, "loc": { "start": { "line": 494, "column": 64 }, "end": { "line": 494, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17000, "end": 17008, "loc": { "start": { "line": 495, "column": 4 }, "end": { "line": 495, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17008, "end": 17009, "loc": { "start": { "line": 495, "column": 12 }, "end": { "line": 495, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17009, "end": 17025, "loc": { "start": { "line": 495, "column": 13 }, "end": { "line": 495, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17025, "end": 17026, "loc": { "start": { "line": 495, "column": 29 }, "end": { "line": 495, "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": 17026, "end": 17036, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 495, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17036, "end": 17037, "loc": { "start": { "line": 495, "column": 40 }, "end": { "line": 495, "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": 17038, "end": 17042, "loc": { "start": { "line": 495, "column": 42 }, "end": { "line": 495, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17042, "end": 17043, "loc": { "start": { "line": 495, "column": 46 }, "end": { "line": 495, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17043, "end": 17060, "loc": { "start": { "line": 495, "column": 47 }, "end": { "line": 495, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17060, "end": 17061, "loc": { "start": { "line": 495, "column": 64 }, "end": { "line": 495, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17061, "end": 17062, "loc": { "start": { "line": 495, "column": 65 }, "end": { "line": 495, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17066, "end": 17067, "loc": { "start": { "line": 496, "column": 2 }, "end": { "line": 496, "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": 17073, "end": 17185, "loc": { "start": { "line": 498, "column": 2 }, "end": { "line": 500, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17189, "end": 17206, "loc": { "start": { "line": 501, "column": 2 }, "end": { "line": 501, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17206, "end": 17207, "loc": { "start": { "line": 501, "column": 19 }, "end": { "line": 501, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17207, "end": 17212, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17212, "end": 17213, "loc": { "start": { "line": 501, "column": 25 }, "end": { "line": 501, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17213, "end": 17214, "loc": { "start": { "line": 501, "column": 26 }, "end": { "line": 501, "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": 17220, "end": 17223, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17224, "end": 17237, "loc": { "start": { "line": 502, "column": 8 }, "end": { "line": 502, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17238, "end": 17239, "loc": { "start": { "line": 502, "column": 22 }, "end": { "line": 502, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17240, "end": 17245, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17245, "end": 17246, "loc": { "start": { "line": 502, "column": 29 }, "end": { "line": 502, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17246, "end": 17252, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17252, "end": 17253, "loc": { "start": { "line": 502, "column": 36 }, "end": { "line": 502, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17253, "end": 17260, "loc": { "start": { "line": 502, "column": 37 }, "end": { "line": 502, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17260, "end": 17261, "loc": { "start": { "line": 502, "column": 44 }, "end": { "line": 502, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 17261, "end": 17272, "loc": { "start": { "line": 502, "column": 45 }, "end": { "line": 502, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17272, "end": 17273, "loc": { "start": { "line": 502, "column": 56 }, "end": { "line": 502, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17273, "end": 17274, "loc": { "start": { "line": 502, "column": 57 }, "end": { "line": 502, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17274, "end": 17275, "loc": { "start": { "line": 502, "column": 58 }, "end": { "line": 502, "column": 59 } } }, { "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": 17283, "end": 17285, "loc": { "start": { "line": 504, "column": 4 }, "end": { "line": 504, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17285, "end": 17286, "loc": { "start": { "line": 504, "column": 6 }, "end": { "line": 504, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17294, "end": 17307, "loc": { "start": { "line": 505, "column": 6 }, "end": { "line": 505, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17308, "end": 17311, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "textarea", "start": 17312, "end": 17322, "loc": { "start": { "line": 505, "column": 24 }, "end": { "line": 505, "column": 34 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 17323, "end": 17325, "loc": { "start": { "line": 505, "column": 35 }, "end": { "line": 505, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17333, "end": 17346, "loc": { "start": { "line": 506, "column": 6 }, "end": { "line": 506, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17347, "end": 17350, "loc": { "start": { "line": 506, "column": 20 }, "end": { "line": 506, "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": 17351, "end": 17358, "loc": { "start": { "line": 506, "column": 24 }, "end": { "line": 506, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17364, "end": 17365, "loc": { "start": { "line": 507, "column": 4 }, "end": { "line": 507, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17365, "end": 17366, "loc": { "start": { "line": 507, "column": 5 }, "end": { "line": 507, "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": 17374, "end": 17522, "loc": { "start": { "line": 508, "column": 6 }, "end": { "line": 511, "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": 17530, "end": 17534, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17534, "end": 17535, "loc": { "start": { "line": 512, "column": 10 }, "end": { "line": 512, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 17535, "end": 17548, "loc": { "start": { "line": 512, "column": 11 }, "end": { "line": 512, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17549, "end": 17550, "loc": { "start": { "line": 512, "column": 25 }, "end": { "line": 512, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17551, "end": 17556, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17556, "end": 17557, "loc": { "start": { "line": 512, "column": 32 }, "end": { "line": 512, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17557, "end": 17563, "loc": { "start": { "line": 512, "column": 33 }, "end": { "line": 512, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17563, "end": 17564, "loc": { "start": { "line": 512, "column": 39 }, "end": { "line": 512, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 17564, "end": 17578, "loc": { "start": { "line": 512, "column": 40 }, "end": { "line": 512, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17578, "end": 17579, "loc": { "start": { "line": 512, "column": 54 }, "end": { "line": 512, "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": 17589, "end": 17591, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 514, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17591, "end": 17592, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "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": 17592, "end": 17596, "loc": { "start": { "line": 514, "column": 9 }, "end": { "line": 514, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17596, "end": 17597, "loc": { "start": { "line": 514, "column": 13 }, "end": { "line": 514, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17597, "end": 17604, "loc": { "start": { "line": 514, "column": 14 }, "end": { "line": 514, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17604, "end": 17605, "loc": { "start": { "line": 514, "column": 21 }, "end": { "line": 514, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 17605, "end": 17610, "loc": { "start": { "line": 514, "column": 22 }, "end": { "line": 514, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17610, "end": 17611, "loc": { "start": { "line": 514, "column": 27 }, "end": { "line": 514, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17611, "end": 17612, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17622, "end": 17629, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17629, "end": 17630, "loc": { "start": { "line": 515, "column": 15 }, "end": { "line": 515, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17630, "end": 17633, "loc": { "start": { "line": 515, "column": 16 }, "end": { "line": 515, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17633, "end": 17634, "loc": { "start": { "line": 515, "column": 19 }, "end": { "line": 515, "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": 17634, "end": 17646, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17646, "end": 17647, "loc": { "start": { "line": 515, "column": 32 }, "end": { "line": 515, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17648, "end": 17653, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17653, "end": 17654, "loc": { "start": { "line": 515, "column": 39 }, "end": { "line": 515, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17654, "end": 17660, "loc": { "start": { "line": 515, "column": 40 }, "end": { "line": 515, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17660, "end": 17661, "loc": { "start": { "line": 515, "column": 46 }, "end": { "line": 515, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 17661, "end": 17675, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17675, "end": 17676, "loc": { "start": { "line": 515, "column": 61 }, "end": { "line": 515, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17677, "end": 17682, "loc": { "start": { "line": 515, "column": 63 }, "end": { "line": 515, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17682, "end": 17683, "loc": { "start": { "line": 515, "column": 68 }, "end": { "line": 515, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17683, "end": 17689, "loc": { "start": { "line": 515, "column": 69 }, "end": { "line": 515, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17689, "end": 17690, "loc": { "start": { "line": 515, "column": 75 }, "end": { "line": 515, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17690, "end": 17697, "loc": { "start": { "line": 515, "column": 76 }, "end": { "line": 515, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17697, "end": 17698, "loc": { "start": { "line": 515, "column": 83 }, "end": { "line": 515, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 17698, "end": 17709, "loc": { "start": { "line": 515, "column": 84 }, "end": { "line": 515, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17709, "end": 17710, "loc": { "start": { "line": 515, "column": 95 }, "end": { "line": 515, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17710, "end": 17711, "loc": { "start": { "line": 515, "column": 96 }, "end": { "line": 515, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17711, "end": 17712, "loc": { "start": { "line": 515, "column": 97 }, "end": { "line": 515, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17712, "end": 17713, "loc": { "start": { "line": 515, "column": 98 }, "end": { "line": 515, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17721, "end": 17722, "loc": { "start": { "line": 516, "column": 6 }, "end": { "line": 516, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17733, "end": 17734, "loc": { "start": { "line": 517, "column": 4 }, "end": { "line": 517, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17738, "end": 17739, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 518, "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": 17745, "end": 17865, "loc": { "start": { "line": 520, "column": 2 }, "end": { "line": 522, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 17869, "end": 17875, "loc": { "start": { "line": 523, "column": 2 }, "end": { "line": 523, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17875, "end": 17876, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17876, "end": 17877, "loc": { "start": { "line": 523, "column": 9 }, "end": { "line": 523, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17877, "end": 17878, "loc": { "start": { "line": 523, "column": 10 }, "end": { "line": 523, "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": 17884, "end": 17886, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 524, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17886, "end": 17887, "loc": { "start": { "line": 524, "column": 6 }, "end": { "line": 524, "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": 17887, "end": 17891, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17891, "end": 17892, "loc": { "start": { "line": 524, "column": 11 }, "end": { "line": 524, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17892, "end": 17899, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17899, "end": 17900, "loc": { "start": { "line": 524, "column": 19 }, "end": { "line": 524, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 17900, "end": 17905, "loc": { "start": { "line": 524, "column": 20 }, "end": { "line": 524, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17905, "end": 17906, "loc": { "start": { "line": 524, "column": 25 }, "end": { "line": 524, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17906, "end": 17907, "loc": { "start": { "line": 524, "column": 26 }, "end": { "line": 524, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17915, "end": 17922, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17922, "end": 17923, "loc": { "start": { "line": 525, "column": 13 }, "end": { "line": 525, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17923, "end": 17926, "loc": { "start": { "line": 525, "column": 14 }, "end": { "line": 525, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17926, "end": 17927, "loc": { "start": { "line": 525, "column": 17 }, "end": { "line": 525, "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": 17927, "end": 17940, "loc": { "start": { "line": 525, "column": 18 }, "end": { "line": 525, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17940, "end": 17941, "loc": { "start": { "line": 525, "column": 31 }, "end": { "line": 525, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17941, "end": 17942, "loc": { "start": { "line": 525, "column": 32 }, "end": { "line": 525, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17948, "end": 17949, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17957, "end": 17992, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "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": 17998, "end": 18002, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18002, "end": 18003, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 531, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 18003, "end": 18014, "loc": { "start": { "line": 531, "column": 9 }, "end": { "line": 531, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18014, "end": 18015, "loc": { "start": { "line": 531, "column": 20 }, "end": { "line": 531, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18015, "end": 18016, "loc": { "start": { "line": 531, "column": 21 }, "end": { "line": 531, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18016, "end": 18017, "loc": { "start": { "line": 531, "column": 22 }, "end": { "line": 531, "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": 18025, "end": 18027, "loc": { "start": { "line": 533, "column": 4 }, "end": { "line": 533, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18027, "end": 18028, "loc": { "start": { "line": 533, "column": 6 }, "end": { "line": 533, "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": 18028, "end": 18034, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "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": 18035, "end": 18039, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18039, "end": 18040, "loc": { "start": { "line": 533, "column": 18 }, "end": { "line": 533, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18040, "end": 18047, "loc": { "start": { "line": 533, "column": 19 }, "end": { "line": 533, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18047, "end": 18048, "loc": { "start": { "line": 533, "column": 26 }, "end": { "line": 533, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18048, "end": 18054, "loc": { "start": { "line": 533, "column": 27 }, "end": { "line": 533, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18055, "end": 18058, "loc": { "start": { "line": 533, "column": 34 }, "end": { "line": 533, "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": 18059, "end": 18069, "loc": { "start": { "line": 533, "column": 38 }, "end": { "line": 533, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18069, "end": 18070, "loc": { "start": { "line": 533, "column": 48 }, "end": { "line": 533, "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": 18078, "end": 18082, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18082, "end": 18083, "loc": { "start": { "line": 534, "column": 10 }, "end": { "line": 534, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18083, "end": 18090, "loc": { "start": { "line": 534, "column": 11 }, "end": { "line": 534, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18090, "end": 18091, "loc": { "start": { "line": 534, "column": 18 }, "end": { "line": 534, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18091, "end": 18097, "loc": { "start": { "line": 534, "column": 19 }, "end": { "line": 534, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18097, "end": 18098, "loc": { "start": { "line": 534, "column": 25 }, "end": { "line": 534, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18098, "end": 18099, "loc": { "start": { "line": 534, "column": 26 }, "end": { "line": 534, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18099, "end": 18100, "loc": { "start": { "line": 534, "column": 27 }, "end": { "line": 534, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18104, "end": 18105, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 535, "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": 18111, "end": 18229, "loc": { "start": { "line": 537, "column": 2 }, "end": { "line": 539, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18233, "end": 18241, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 540, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18241, "end": 18242, "loc": { "start": { "line": 540, "column": 10 }, "end": { "line": 540, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18242, "end": 18243, "loc": { "start": { "line": 540, "column": 11 }, "end": { "line": 540, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18243, "end": 18244, "loc": { "start": { "line": 540, "column": 12 }, "end": { "line": 540, "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": 18250, "end": 18252, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 541, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18252, "end": 18253, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "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": 18253, "end": 18259, "loc": { "start": { "line": 541, "column": 7 }, "end": { "line": 541, "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": 18260, "end": 18264, "loc": { "start": { "line": 541, "column": 14 }, "end": { "line": 541, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18264, "end": 18265, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18265, "end": 18272, "loc": { "start": { "line": 541, "column": 19 }, "end": { "line": 541, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18272, "end": 18273, "loc": { "start": { "line": 541, "column": 26 }, "end": { "line": 541, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18273, "end": 18281, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18282, "end": 18285, "loc": { "start": { "line": 541, "column": 36 }, "end": { "line": 541, "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": 18286, "end": 18296, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18296, "end": 18297, "loc": { "start": { "line": 541, "column": 50 }, "end": { "line": 541, "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": 18305, "end": 18309, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18309, "end": 18310, "loc": { "start": { "line": 542, "column": 10 }, "end": { "line": 542, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18310, "end": 18317, "loc": { "start": { "line": 542, "column": 11 }, "end": { "line": 542, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18317, "end": 18318, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18318, "end": 18326, "loc": { "start": { "line": 542, "column": 19 }, "end": { "line": 542, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18326, "end": 18327, "loc": { "start": { "line": 542, "column": 27 }, "end": { "line": 542, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18327, "end": 18328, "loc": { "start": { "line": 542, "column": 28 }, "end": { "line": 542, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18328, "end": 18329, "loc": { "start": { "line": 542, "column": 29 }, "end": { "line": 542, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18333, "end": 18334, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 543, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18340, "end": 18372, "loc": { "start": { "line": 545, "column": 2 }, "end": { "line": 547, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerModule", "start": 18376, "end": 18390, "loc": { "start": { "line": 548, "column": 2 }, "end": { "line": 548, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18391, "end": 18392, "loc": { "start": { "line": 548, "column": 17 }, "end": { "line": 548, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18393, "end": 18394, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 548, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18394, "end": 18398, "loc": { "start": { "line": 548, "column": 20 }, "end": { "line": 548, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18398, "end": 18399, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 18400, "end": 18412, "loc": { "start": { "line": 548, "column": 26 }, "end": { "line": 548, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18412, "end": 18413, "loc": { "start": { "line": 548, "column": 38 }, "end": { "line": 548, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18414, "end": 18416, "loc": { "start": { "line": 548, "column": 40 }, "end": { "line": 548, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18417, "end": 18418, "loc": { "start": { "line": 548, "column": 43 }, "end": { "line": 548, "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": 18424, "end": 18426, "loc": { "start": { "line": 549, "column": 4 }, "end": { "line": 549, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18426, "end": 18427, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "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": 18427, "end": 18428, "loc": { "start": { "line": 549, "column": 7 }, "end": { "line": 549, "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": 18428, "end": 18432, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18432, "end": 18433, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18433, "end": 18440, "loc": { "start": { "line": 549, "column": 13 }, "end": { "line": 549, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18440, "end": 18441, "loc": { "start": { "line": 549, "column": 20 }, "end": { "line": 549, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18441, "end": 18445, "loc": { "start": { "line": 549, "column": 21 }, "end": { "line": 549, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18445, "end": 18446, "loc": { "start": { "line": 549, "column": 25 }, "end": { "line": 549, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18446, "end": 18447, "loc": { "start": { "line": 549, "column": 26 }, "end": { "line": 549, "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": 18455, "end": 18459, "loc": { "start": { "line": 550, "column": 6 }, "end": { "line": 550, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18459, "end": 18460, "loc": { "start": { "line": 550, "column": 10 }, "end": { "line": 550, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18460, "end": 18467, "loc": { "start": { "line": 550, "column": 11 }, "end": { "line": 550, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18467, "end": 18468, "loc": { "start": { "line": 550, "column": 18 }, "end": { "line": 550, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18468, "end": 18472, "loc": { "start": { "line": 550, "column": 19 }, "end": { "line": 550, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18472, "end": 18473, "loc": { "start": { "line": 550, "column": 23 }, "end": { "line": 550, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18474, "end": 18475, "loc": { "start": { "line": 550, "column": 25 }, "end": { "line": 550, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18476, "end": 18477, "loc": { "start": { "line": 550, "column": 27 }, "end": { "line": 550, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18477, "end": 18478, "loc": { "start": { "line": 550, "column": 28 }, "end": { "line": 550, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18478, "end": 18479, "loc": { "start": { "line": 550, "column": 29 }, "end": { "line": 550, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 18487, "end": 18499, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18499, "end": 18500, "loc": { "start": { "line": 552, "column": 16 }, "end": { "line": 552, "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": 18500, "end": 18504, "loc": { "start": { "line": 552, "column": 17 }, "end": { "line": 552, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18504, "end": 18505, "loc": { "start": { "line": 552, "column": 21 }, "end": { "line": 552, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18505, "end": 18512, "loc": { "start": { "line": 552, "column": 22 }, "end": { "line": 552, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18512, "end": 18513, "loc": { "start": { "line": 552, "column": 29 }, "end": { "line": 552, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18513, "end": 18517, "loc": { "start": { "line": 552, "column": 30 }, "end": { "line": 552, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18517, "end": 18518, "loc": { "start": { "line": 552, "column": 34 }, "end": { "line": 552, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18518, "end": 18519, "loc": { "start": { "line": 552, "column": 35 }, "end": { "line": 552, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18519, "end": 18520, "loc": { "start": { "line": 552, "column": 36 }, "end": { "line": 552, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18524, "end": 18525, "loc": { "start": { "line": 553, "column": 2 }, "end": { "line": 553, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18531, "end": 18560, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 557, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 18564, "end": 18575, "loc": { "start": { "line": 558, "column": 2 }, "end": { "line": 558, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18575, "end": 18576, "loc": { "start": { "line": 558, "column": 13 }, "end": { "line": 558, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18576, "end": 18577, "loc": { "start": { "line": 558, "column": 14 }, "end": { "line": 558, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18577, "end": 18578, "loc": { "start": { "line": 558, "column": 15 }, "end": { "line": 558, "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": 18584, "end": 18586, "loc": { "start": { "line": 559, "column": 4 }, "end": { "line": 559, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18586, "end": 18587, "loc": { "start": { "line": 559, "column": 6 }, "end": { "line": 559, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 18587, "end": 18592, "loc": { "start": { "line": 559, "column": 7 }, "end": { "line": 559, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18592, "end": 18593, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 18593, "end": 18600, "loc": { "start": { "line": 559, "column": 13 }, "end": { "line": 559, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18600, "end": 18601, "loc": { "start": { "line": 559, "column": 20 }, "end": { "line": 559, "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": 18601, "end": 18605, "loc": { "start": { "line": 559, "column": 21 }, "end": { "line": 559, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18605, "end": 18606, "loc": { "start": { "line": 559, "column": 25 }, "end": { "line": 559, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18606, "end": 18613, "loc": { "start": { "line": 559, "column": 26 }, "end": { "line": 559, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18613, "end": 18614, "loc": { "start": { "line": 559, "column": 33 }, "end": { "line": 559, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18614, "end": 18621, "loc": { "start": { "line": 559, "column": 34 }, "end": { "line": 559, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18621, "end": 18622, "loc": { "start": { "line": 559, "column": 41 }, "end": { "line": 559, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18622, "end": 18623, "loc": { "start": { "line": 559, "column": 42 }, "end": { "line": 559, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18623, "end": 18624, "loc": { "start": { "line": 559, "column": 43 }, "end": { "line": 559, "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": 18632, "end": 18636, "loc": { "start": { "line": 560, "column": 6 }, "end": { "line": 560, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18636, "end": 18637, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18637, "end": 18644, "loc": { "start": { "line": 560, "column": 11 }, "end": { "line": 560, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18644, "end": 18645, "loc": { "start": { "line": 560, "column": 18 }, "end": { "line": 560, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18645, "end": 18652, "loc": { "start": { "line": 560, "column": 19 }, "end": { "line": 560, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18652, "end": 18653, "loc": { "start": { "line": 560, "column": 26 }, "end": { "line": 560, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 18653, "end": 18660, "loc": { "start": { "line": 560, "column": 27 }, "end": { "line": 560, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18660, "end": 18661, "loc": { "start": { "line": 560, "column": 34 }, "end": { "line": 560, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 18661, "end": 18667, "loc": { "start": { "line": 560, "column": 35 }, "end": { "line": 560, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18668, "end": 18670, "loc": { "start": { "line": 560, "column": 42 }, "end": { "line": 560, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18671, "end": 18672, "loc": { "start": { "line": 560, "column": 45 }, "end": { "line": 560, "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": 18682, "end": 18685, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18686, "end": 18692, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18693, "end": 18694, "loc": { "start": { "line": 561, "column": 19 }, "end": { "line": 561, "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": 18695, "end": 18698, "loc": { "start": { "line": 561, "column": 21 }, "end": { "line": 561, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 18699, "end": 18705, "loc": { "start": { "line": 561, "column": 25 }, "end": { "line": 561, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18705, "end": 18706, "loc": { "start": { "line": 561, "column": 31 }, "end": { "line": 561, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18706, "end": 18707, "loc": { "start": { "line": 561, "column": 32 }, "end": { "line": 561, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18707, "end": 18708, "loc": { "start": { "line": 561, "column": 33 }, "end": { "line": 561, "column": 34 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18720, "end": 18746, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "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": 18756, "end": 18758, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18758, "end": 18759, "loc": { "start": { "line": 564, "column": 10 }, "end": { "line": 564, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18759, "end": 18765, "loc": { "start": { "line": 564, "column": 11 }, "end": { "line": 564, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18765, "end": 18766, "loc": { "start": { "line": 564, "column": 17 }, "end": { "line": 564, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 18766, "end": 18777, "loc": { "start": { "line": 564, "column": 18 }, "end": { "line": 564, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18777, "end": 18778, "loc": { "start": { "line": 564, "column": 29 }, "end": { "line": 564, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18778, "end": 18782, "loc": { "start": { "line": 564, "column": 30 }, "end": { "line": 564, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 18783, "end": 18785, "loc": { "start": { "line": 564, "column": 35 }, "end": { "line": 564, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18786, "end": 18792, "loc": { "start": { "line": 564, "column": 38 }, "end": { "line": 564, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18792, "end": 18793, "loc": { "start": { "line": 564, "column": 44 }, "end": { "line": 564, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 18793, "end": 18804, "loc": { "start": { "line": 564, "column": 45 }, "end": { "line": 564, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18804, "end": 18805, "loc": { "start": { "line": 564, "column": 56 }, "end": { "line": 564, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18805, "end": 18809, "loc": { "start": { "line": 564, "column": 57 }, "end": { "line": 564, "column": 61 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 18810, "end": 18813, "loc": { "start": { "line": 564, "column": 62 }, "end": { "line": 564, "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": 18814, "end": 18824, "loc": { "start": { "line": 564, "column": 66 }, "end": { "line": 564, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18824, "end": 18825, "loc": { "start": { "line": 564, "column": 76 }, "end": { "line": 564, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18825, "end": 18826, "loc": { "start": { "line": 564, "column": 77 }, "end": { "line": 564, "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": 18838, "end": 18842, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18842, "end": 18843, "loc": { "start": { "line": 565, "column": 14 }, "end": { "line": 565, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 18843, "end": 18854, "loc": { "start": { "line": 565, "column": 15 }, "end": { "line": 565, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18854, "end": 18855, "loc": { "start": { "line": 565, "column": 26 }, "end": { "line": 565, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 18855, "end": 18864, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18864, "end": 18865, "loc": { "start": { "line": 565, "column": 36 }, "end": { "line": 565, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 18865, "end": 18868, "loc": { "start": { "line": 565, "column": 37 }, "end": { "line": 565, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18868, "end": 18869, "loc": { "start": { "line": 565, "column": 40 }, "end": { "line": 565, "column": 41 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18883, "end": 18884, "loc": { "start": { "line": 566, "column": 12 }, "end": { "line": 566, "column": 13 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "module-", "start": 18884, "end": 18891, "loc": { "start": { "line": 566, "column": 13 }, "end": { "line": 566, "column": 20 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18891, "end": 18893, "loc": { "start": { "line": 566, "column": 20 }, "end": { "line": 566, "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": 18893, "end": 18897, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18897, "end": 18898, "loc": { "start": { "line": 566, "column": 26 }, "end": { "line": 566, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 18898, "end": 18907, "loc": { "start": { "line": 566, "column": 27 }, "end": { "line": 566, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18907, "end": 18908, "loc": { "start": { "line": 566, "column": 36 }, "end": { "line": 566, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 18908, "end": 18917, "loc": { "start": { "line": 566, "column": 37 }, "end": { "line": 566, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18917, "end": 18918, "loc": { "start": { "line": 566, "column": 46 }, "end": { "line": 566, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18918, "end": 18924, "loc": { "start": { "line": 566, "column": 47 }, "end": { "line": 566, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18924, "end": 18925, "loc": { "start": { "line": 566, "column": 53 }, "end": { "line": 566, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 18925, "end": 18936, "loc": { "start": { "line": 566, "column": 54 }, "end": { "line": 566, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18936, "end": 18937, "loc": { "start": { "line": 566, "column": 65 }, "end": { "line": 566, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18937, "end": 18941, "loc": { "start": { "line": 566, "column": 66 }, "end": { "line": 566, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18941, "end": 18942, "loc": { "start": { "line": 566, "column": 70 }, "end": { "line": 566, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18942, "end": 18943, "loc": { "start": { "line": 566, "column": 71 }, "end": { "line": 566, "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": 18943, "end": 18943, "loc": { "start": { "line": 566, "column": 72 }, "end": { "line": 566, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18943, "end": 18944, "loc": { "start": { "line": 566, "column": 72 }, "end": { "line": 566, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18956, "end": 18957, "loc": { "start": { "line": 567, "column": 10 }, "end": { "line": 567, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18957, "end": 18958, "loc": { "start": { "line": 567, "column": 11 }, "end": { "line": 567, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18968, "end": 18969, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18981, "end": 18987, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18987, "end": 18988, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 18988, "end": 18992, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18992, "end": 18993, "loc": { "start": { "line": 570, "column": 19 }, "end": { "line": 570, "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": 18993, "end": 18997, "loc": { "start": { "line": 570, "column": 20 }, "end": { "line": 570, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18997, "end": 18998, "loc": { "start": { "line": 570, "column": 24 }, "end": { "line": 570, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18998, "end": 18999, "loc": { "start": { "line": 570, "column": 25 }, "end": { "line": 570, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19007, "end": 19008, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 7 } } }, { "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": 571, "column": 7 }, "end": { "line": 571, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19009, "end": 19010, "loc": { "start": { "line": 571, "column": 8 }, "end": { "line": 571, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19016, "end": 19017, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 572, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19021, "end": 19022, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 573, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19028, "end": 19060, "loc": { "start": { "line": 575, "column": 2 }, "end": { "line": 577, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModuleProp", "start": 19064, "end": 19077, "loc": { "start": { "line": 578, "column": 2 }, "end": { "line": 578, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19078, "end": 19079, "loc": { "start": { "line": 578, "column": 16 }, "end": { "line": 578, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19080, "end": 19081, "loc": { "start": { "line": 578, "column": 18 }, "end": { "line": 578, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19081, "end": 19085, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19085, "end": 19086, "loc": { "start": { "line": 578, "column": 23 }, "end": { "line": 578, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 19087, "end": 19091, "loc": { "start": { "line": 578, "column": 25 }, "end": { "line": 578, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19091, "end": 19092, "loc": { "start": { "line": 578, "column": 29 }, "end": { "line": 578, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19093, "end": 19095, "loc": { "start": { "line": 578, "column": 31 }, "end": { "line": 578, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19096, "end": 19097, "loc": { "start": { "line": 578, "column": 34 }, "end": { "line": 578, "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": 19103, "end": 19105, "loc": { "start": { "line": 579, "column": 4 }, "end": { "line": 579, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19105, "end": 19106, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "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": 19106, "end": 19107, "loc": { "start": { "line": 579, "column": 7 }, "end": { "line": 579, "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": 19107, "end": 19111, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19111, "end": 19112, "loc": { "start": { "line": 579, "column": 12 }, "end": { "line": 579, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19112, "end": 19119, "loc": { "start": { "line": 579, "column": 13 }, "end": { "line": 579, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19119, "end": 19120, "loc": { "start": { "line": 579, "column": 20 }, "end": { "line": 579, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19120, "end": 19124, "loc": { "start": { "line": 579, "column": 21 }, "end": { "line": 579, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19124, "end": 19125, "loc": { "start": { "line": 579, "column": 25 }, "end": { "line": 579, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19125, "end": 19126, "loc": { "start": { "line": 579, "column": 26 }, "end": { "line": 579, "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": 19134, "end": 19140, "loc": { "start": { "line": 580, "column": 6 }, "end": { "line": 580, "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": 19141, "end": 19146, "loc": { "start": { "line": 580, "column": 13 }, "end": { "line": 580, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19146, "end": 19147, "loc": { "start": { "line": 580, "column": 18 }, "end": { "line": 580, "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": 19159, "end": 19165, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 582, "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": 19166, "end": 19170, "loc": { "start": { "line": 582, "column": 11 }, "end": { "line": 582, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19170, "end": 19171, "loc": { "start": { "line": 582, "column": 15 }, "end": { "line": 582, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19171, "end": 19178, "loc": { "start": { "line": 582, "column": 16 }, "end": { "line": 582, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19178, "end": 19179, "loc": { "start": { "line": 582, "column": 23 }, "end": { "line": 582, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19179, "end": 19183, "loc": { "start": { "line": 582, "column": 24 }, "end": { "line": 582, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19183, "end": 19184, "loc": { "start": { "line": 582, "column": 28 }, "end": { "line": 582, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19184, "end": 19185, "loc": { "start": { "line": 582, "column": 29 }, "end": { "line": 582, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 19185, "end": 19189, "loc": { "start": { "line": 582, "column": 30 }, "end": { "line": 582, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19189, "end": 19190, "loc": { "start": { "line": 582, "column": 34 }, "end": { "line": 582, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19190, "end": 19191, "loc": { "start": { "line": 582, "column": 35 }, "end": { "line": 582, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19195, "end": 19196, "loc": { "start": { "line": 583, "column": 2 }, "end": { "line": 583, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19202, "end": 19233, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 587, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModulesList", "start": 19237, "end": 19251, "loc": { "start": { "line": 588, "column": 2 }, "end": { "line": 588, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19252, "end": 19253, "loc": { "start": { "line": 588, "column": 17 }, "end": { "line": 588, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19254, "end": 19255, "loc": { "start": { "line": 588, "column": 19 }, "end": { "line": 588, "column": 20 } } }, { "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": 588, "column": 20 }, "end": { "line": 588, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19257, "end": 19259, "loc": { "start": { "line": 588, "column": 22 }, "end": { "line": 588, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19260, "end": 19261, "loc": { "start": { "line": 588, "column": 25 }, "end": { "line": 588, "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": 19267, "end": 19273, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 19274, "end": 19280, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19280, "end": 19281, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 19281, "end": 19285, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19285, "end": 19286, "loc": { "start": { "line": 589, "column": 22 }, "end": { "line": 589, "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": 19286, "end": 19290, "loc": { "start": { "line": 589, "column": 23 }, "end": { "line": 589, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19290, "end": 19291, "loc": { "start": { "line": 589, "column": 27 }, "end": { "line": 589, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19291, "end": 19298, "loc": { "start": { "line": 589, "column": 28 }, "end": { "line": 589, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19298, "end": 19299, "loc": { "start": { "line": 589, "column": 35 }, "end": { "line": 589, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19299, "end": 19300, "loc": { "start": { "line": 589, "column": 36 }, "end": { "line": 589, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19304, "end": 19305, "loc": { "start": { "line": 590, "column": 2 }, "end": { "line": 590, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19311, "end": 19367, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 19371, "end": 19377, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 595, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19377, "end": 19378, "loc": { "start": { "line": 595, "column": 8 }, "end": { "line": 595, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19378, "end": 19379, "loc": { "start": { "line": 595, "column": 9 }, "end": { "line": 595, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19379, "end": 19380, "loc": { "start": { "line": 595, "column": 10 }, "end": { "line": 595, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19386, "end": 19421, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 598, "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": 19427, "end": 19431, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 599, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19431, "end": 19432, "loc": { "start": { "line": 599, "column": 8 }, "end": { "line": 599, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 19432, "end": 19437, "loc": { "start": { "line": 599, "column": 9 }, "end": { "line": 599, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19437, "end": 19438, "loc": { "start": { "line": 599, "column": 14 }, "end": { "line": 599, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19438, "end": 19439, "loc": { "start": { "line": 599, "column": 15 }, "end": { "line": 599, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19439, "end": 19440, "loc": { "start": { "line": 599, "column": 16 }, "end": { "line": 599, "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": 19448, "end": 19451, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 601, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 19452, "end": 19463, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19464, "end": 19465, "loc": { "start": { "line": 601, "column": 20 }, "end": { "line": 601, "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": 19466, "end": 19470, "loc": { "start": { "line": 601, "column": 22 }, "end": { "line": 601, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19470, "end": 19471, "loc": { "start": { "line": 601, "column": 26 }, "end": { "line": 601, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19471, "end": 19478, "loc": { "start": { "line": 601, "column": 27 }, "end": { "line": 601, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19478, "end": 19479, "loc": { "start": { "line": 601, "column": 34 }, "end": { "line": 601, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 19479, "end": 19485, "loc": { "start": { "line": 601, "column": 35 }, "end": { "line": 601, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19486, "end": 19487, "loc": { "start": { "line": 601, "column": 42 }, "end": { "line": 601, "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": 19488, "end": 19506, "loc": { "start": { "line": 601, "column": 44 }, "end": { "line": 601, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19507, "end": 19508, "loc": { "start": { "line": 601, "column": 63 }, "end": { "line": 601, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19509, "end": 19510, "loc": { "start": { "line": 601, "column": 65 }, "end": { "line": 601, "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": 19510, "end": 19520, "loc": { "start": { "line": 601, "column": 66 }, "end": { "line": 601, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19520, "end": 19522, "loc": { "start": { "line": 601, "column": 76 }, "end": { "line": 601, "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": 19522, "end": 19526, "loc": { "start": { "line": 601, "column": 78 }, "end": { "line": 601, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19526, "end": 19527, "loc": { "start": { "line": 601, "column": 82 }, "end": { "line": 601, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19527, "end": 19534, "loc": { "start": { "line": 601, "column": 83 }, "end": { "line": 601, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19534, "end": 19535, "loc": { "start": { "line": 601, "column": 90 }, "end": { "line": 601, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 19535, "end": 19545, "loc": { "start": { "line": 601, "column": 91 }, "end": { "line": 601, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19545, "end": 19546, "loc": { "start": { "line": 601, "column": 101 }, "end": { "line": 601, "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": 19546, "end": 19546, "loc": { "start": { "line": 601, "column": 102 }, "end": { "line": 601, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19546, "end": 19547, "loc": { "start": { "line": 601, "column": 102 }, "end": { "line": 601, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19547, "end": 19548, "loc": { "start": { "line": 601, "column": 103 }, "end": { "line": 601, "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": 19554, "end": 19557, "loc": { "start": { "line": 602, "column": 4 }, "end": { "line": 602, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 19558, "end": 19564, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19565, "end": 19566, "loc": { "start": { "line": 602, "column": 15 }, "end": { "line": 602, "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": 19567, "end": 19571, "loc": { "start": { "line": 602, "column": 17 }, "end": { "line": 602, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19571, "end": 19572, "loc": { "start": { "line": 602, "column": 21 }, "end": { "line": 602, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19572, "end": 19579, "loc": { "start": { "line": 602, "column": 22 }, "end": { "line": 602, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19579, "end": 19580, "loc": { "start": { "line": 602, "column": 29 }, "end": { "line": 602, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 19580, "end": 19586, "loc": { "start": { "line": 602, "column": 30 }, "end": { "line": 602, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 19587, "end": 19589, "loc": { "start": { "line": 602, "column": 37 }, "end": { "line": 602, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 19590, "end": 19604, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19604, "end": 19605, "loc": { "start": { "line": 602, "column": 54 }, "end": { "line": 602, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 19605, "end": 19621, "loc": { "start": { "line": 602, "column": 55 }, "end": { "line": 602, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19621, "end": 19622, "loc": { "start": { "line": 602, "column": 71 }, "end": { "line": 602, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19622, "end": 19623, "loc": { "start": { "line": 602, "column": 72 }, "end": { "line": 602, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19623, "end": 19624, "loc": { "start": { "line": 602, "column": 73 }, "end": { "line": 602, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19632, "end": 19684, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 606, "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": 19690, "end": 19693, "loc": { "start": { "line": 607, "column": 4 }, "end": { "line": 607, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 19694, "end": 19712, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19713, "end": 19714, "loc": { "start": { "line": 607, "column": 27 }, "end": { "line": 607, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19715, "end": 19716, "loc": { "start": { "line": 607, "column": 29 }, "end": { "line": 607, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19716, "end": 19717, "loc": { "start": { "line": 607, "column": 30 }, "end": { "line": 607, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19717, "end": 19718, "loc": { "start": { "line": 607, "column": 31 }, "end": { "line": 607, "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": 19724, "end": 19726, "loc": { "start": { "line": 608, "column": 4 }, "end": { "line": 608, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19726, "end": 19727, "loc": { "start": { "line": 608, "column": 6 }, "end": { "line": 608, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 19727, "end": 19732, "loc": { "start": { "line": 608, "column": 7 }, "end": { "line": 608, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19732, "end": 19733, "loc": { "start": { "line": 608, "column": 12 }, "end": { "line": 608, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 19733, "end": 19740, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19740, "end": 19741, "loc": { "start": { "line": 608, "column": 20 }, "end": { "line": 608, "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": 19741, "end": 19745, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19745, "end": 19746, "loc": { "start": { "line": 608, "column": 25 }, "end": { "line": 608, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19746, "end": 19753, "loc": { "start": { "line": 608, "column": 26 }, "end": { "line": 608, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19753, "end": 19754, "loc": { "start": { "line": 608, "column": 33 }, "end": { "line": 608, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 19754, "end": 19765, "loc": { "start": { "line": 608, "column": 34 }, "end": { "line": 608, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19765, "end": 19766, "loc": { "start": { "line": 608, "column": 45 }, "end": { "line": 608, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19766, "end": 19767, "loc": { "start": { "line": 608, "column": 46 }, "end": { "line": 608, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19767, "end": 19768, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 608, "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": 19776, "end": 19780, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19780, "end": 19781, "loc": { "start": { "line": 609, "column": 10 }, "end": { "line": 609, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19781, "end": 19788, "loc": { "start": { "line": 609, "column": 11 }, "end": { "line": 609, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19788, "end": 19789, "loc": { "start": { "line": 609, "column": 18 }, "end": { "line": 609, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 19789, "end": 19800, "loc": { "start": { "line": 609, "column": 19 }, "end": { "line": 609, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19800, "end": 19801, "loc": { "start": { "line": 609, "column": 30 }, "end": { "line": 609, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 19801, "end": 19808, "loc": { "start": { "line": 609, "column": 31 }, "end": { "line": 609, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19808, "end": 19809, "loc": { "start": { "line": 609, "column": 38 }, "end": { "line": 609, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19809, "end": 19817, "loc": { "start": { "line": 609, "column": 39 }, "end": { "line": 609, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19818, "end": 19820, "loc": { "start": { "line": 609, "column": 48 }, "end": { "line": 609, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19821, "end": 19822, "loc": { "start": { "line": 609, "column": 51 }, "end": { "line": 609, "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": 19832, "end": 19834, "loc": { "start": { "line": 610, "column": 8 }, "end": { "line": 610, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19834, "end": 19835, "loc": { "start": { "line": 610, "column": 10 }, "end": { "line": 610, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19835, "end": 19843, "loc": { "start": { "line": 610, "column": 11 }, "end": { "line": 610, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19843, "end": 19844, "loc": { "start": { "line": 610, "column": 19 }, "end": { "line": 610, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 19844, "end": 19851, "loc": { "start": { "line": 610, "column": 20 }, "end": { "line": 610, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 19852, "end": 19854, "loc": { "start": { "line": 610, "column": 28 }, "end": { "line": 610, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19855, "end": 19863, "loc": { "start": { "line": 610, "column": 31 }, "end": { "line": 610, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19863, "end": 19864, "loc": { "start": { "line": 610, "column": 39 }, "end": { "line": 610, "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": 19864, "end": 19869, "loc": { "start": { "line": 610, "column": 40 }, "end": { "line": 610, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19869, "end": 19870, "loc": { "start": { "line": 610, "column": 45 }, "end": { "line": 610, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19870, "end": 19871, "loc": { "start": { "line": 610, "column": 46 }, "end": { "line": 610, "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": 19883, "end": 19886, "loc": { "start": { "line": 611, "column": 10 }, "end": { "line": 611, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 19887, "end": 19899, "loc": { "start": { "line": 611, "column": 14 }, "end": { "line": 611, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19899, "end": 19900, "loc": { "start": { "line": 611, "column": 26 }, "end": { "line": 611, "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": 19914, "end": 19916, "loc": { "start": { "line": 613, "column": 10 }, "end": { "line": 613, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19916, "end": 19917, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "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": 19917, "end": 19923, "loc": { "start": { "line": 613, "column": 13 }, "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": "themeObj", "start": 19924, "end": 19932, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 613, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19932, "end": 19933, "loc": { "start": { "line": 613, "column": 28 }, "end": { "line": 613, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 19933, "end": 19940, "loc": { "start": { "line": 613, "column": 29 }, "end": { "line": 613, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19941, "end": 19944, "loc": { "start": { "line": 613, "column": 37 }, "end": { "line": 613, "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": 19945, "end": 19953, "loc": { "start": { "line": 613, "column": 41 }, "end": { "line": 613, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19953, "end": 19954, "loc": { "start": { "line": 613, "column": 49 }, "end": { "line": 613, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19954, "end": 19955, "loc": { "start": { "line": 613, "column": 50 }, "end": { "line": 613, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 19969, "end": 19981, "loc": { "start": { "line": 614, "column": 12 }, "end": { "line": 614, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19982, "end": 19983, "loc": { "start": { "line": 614, "column": 25 }, "end": { "line": 614, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19984, "end": 19992, "loc": { "start": { "line": 614, "column": 27 }, "end": { "line": 614, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19992, "end": 19993, "loc": { "start": { "line": 614, "column": 35 }, "end": { "line": 614, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 19993, "end": 20000, "loc": { "start": { "line": 614, "column": 36 }, "end": { "line": 614, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20000, "end": 20001, "loc": { "start": { "line": 614, "column": 43 }, "end": { "line": 614, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 20001, "end": 20006, "loc": { "start": { "line": 614, "column": 44 }, "end": { "line": 614, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20006, "end": 20007, "loc": { "start": { "line": 614, "column": 49 }, "end": { "line": 614, "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": 20007, "end": 20010, "loc": { "start": { "line": 614, "column": 50 }, "end": { "line": 614, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20010, "end": 20011, "loc": { "start": { "line": 614, "column": 53 }, "end": { "line": 614, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20011, "end": 20012, "loc": { "start": { "line": 614, "column": 54 }, "end": { "line": 614, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20024, "end": 20025, "loc": { "start": { "line": 615, "column": 10 }, "end": { "line": 615, "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": 20039, "end": 20041, "loc": { "start": { "line": 617, "column": 10 }, "end": { "line": 617, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20041, "end": 20042, "loc": { "start": { "line": 617, "column": 12 }, "end": { "line": 617, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20042, "end": 20054, "loc": { "start": { "line": 617, "column": 13 }, "end": { "line": 617, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20054, "end": 20055, "loc": { "start": { "line": 617, "column": 25 }, "end": { "line": 617, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20055, "end": 20056, "loc": { "start": { "line": 617, "column": 26 }, "end": { "line": 617, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20070, "end": 20082, "loc": { "start": { "line": 618, "column": 12 }, "end": { "line": 618, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20082, "end": 20083, "loc": { "start": { "line": 618, "column": 24 }, "end": { "line": 618, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 20083, "end": 20090, "loc": { "start": { "line": 618, "column": 25 }, "end": { "line": 618, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20090, "end": 20091, "loc": { "start": { "line": 618, "column": 32 }, "end": { "line": 618, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20091, "end": 20102, "loc": { "start": { "line": 618, "column": 33 }, "end": { "line": 618, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20103, "end": 20105, "loc": { "start": { "line": 618, "column": 45 }, "end": { "line": 618, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20106, "end": 20107, "loc": { "start": { "line": 618, "column": 48 }, "end": { "line": 618, "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": 20123, "end": 20126, "loc": { "start": { "line": 619, "column": 14 }, "end": { "line": 619, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20127, "end": 20138, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20139, "end": 20140, "loc": { "start": { "line": 619, "column": 30 }, "end": { "line": 619, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20141, "end": 20159, "loc": { "start": { "line": 619, "column": 32 }, "end": { "line": 619, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20159, "end": 20160, "loc": { "start": { "line": 619, "column": 50 }, "end": { "line": 619, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20160, "end": 20171, "loc": { "start": { "line": 619, "column": 51 }, "end": { "line": 619, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20171, "end": 20172, "loc": { "start": { "line": 619, "column": 62 }, "end": { "line": 619, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20172, "end": 20173, "loc": { "start": { "line": 619, "column": 63 }, "end": { "line": 619, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 20191, "end": 20230, "loc": { "start": { "line": 621, "column": 14 }, "end": { "line": 621, "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": 20246, "end": 20248, "loc": { "start": { "line": 622, "column": 14 }, "end": { "line": 622, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20248, "end": 20249, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20249, "end": 20260, "loc": { "start": { "line": 622, "column": 17 }, "end": { "line": 622, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20260, "end": 20261, "loc": { "start": { "line": 622, "column": 28 }, "end": { "line": 622, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20261, "end": 20262, "loc": { "start": { "line": 622, "column": 29 }, "end": { "line": 622, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20280, "end": 20363, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "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": 20381, "end": 20383, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 624, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20383, "end": 20384, "loc": { "start": { "line": 624, "column": 18 }, "end": { "line": 624, "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": 20384, "end": 20385, "loc": { "start": { "line": 624, "column": 19 }, "end": { "line": 624, "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": 20385, "end": 20389, "loc": { "start": { "line": 624, "column": 20 }, "end": { "line": 624, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20389, "end": 20390, "loc": { "start": { "line": 624, "column": 24 }, "end": { "line": 624, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 20390, "end": 20399, "loc": { "start": { "line": 624, "column": 25 }, "end": { "line": 624, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20399, "end": 20400, "loc": { "start": { "line": 624, "column": 34 }, "end": { "line": 624, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 20400, "end": 20412, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20412, "end": 20413, "loc": { "start": { "line": 624, "column": 47 }, "end": { "line": 624, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20413, "end": 20424, "loc": { "start": { "line": 624, "column": 48 }, "end": { "line": 624, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20424, "end": 20425, "loc": { "start": { "line": 624, "column": 59 }, "end": { "line": 624, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 20425, "end": 20430, "loc": { "start": { "line": 624, "column": 60 }, "end": { "line": 624, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20430, "end": 20431, "loc": { "start": { "line": 624, "column": 65 }, "end": { "line": 624, "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": 20431, "end": 20434, "loc": { "start": { "line": 624, "column": 66 }, "end": { "line": 624, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20434, "end": 20435, "loc": { "start": { "line": 624, "column": 69 }, "end": { "line": 624, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20435, "end": 20436, "loc": { "start": { "line": 624, "column": 70 }, "end": { "line": 624, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20437, "end": 20445, "loc": { "start": { "line": 624, "column": 72 }, "end": { "line": 624, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20445, "end": 20446, "loc": { "start": { "line": 624, "column": 80 }, "end": { "line": 624, "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": 20446, "end": 20451, "loc": { "start": { "line": 624, "column": 81 }, "end": { "line": 624, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20451, "end": 20452, "loc": { "start": { "line": 624, "column": 86 }, "end": { "line": 624, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20452, "end": 20453, "loc": { "start": { "line": 624, "column": 87 }, "end": { "line": 624, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20453, "end": 20454, "loc": { "start": { "line": 624, "column": 88 }, "end": { "line": 624, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20474, "end": 20492, "loc": { "start": { "line": 625, "column": 18 }, "end": { "line": 625, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20492, "end": 20493, "loc": { "start": { "line": 625, "column": 36 }, "end": { "line": 625, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20493, "end": 20504, "loc": { "start": { "line": 625, "column": 37 }, "end": { "line": 625, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20504, "end": 20505, "loc": { "start": { "line": 625, "column": 48 }, "end": { "line": 625, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20506, "end": 20507, "loc": { "start": { "line": 625, "column": 50 }, "end": { "line": 625, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20508, "end": 20509, "loc": { "start": { "line": 625, "column": 52 }, "end": { "line": 625, "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": 20509, "end": 20509, "loc": { "start": { "line": 625, "column": 53 }, "end": { "line": 625, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20509, "end": 20511, "loc": { "start": { "line": 625, "column": 53 }, "end": { "line": 625, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20511, "end": 20522, "loc": { "start": { "line": 625, "column": 55 }, "end": { "line": 625, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20522, "end": 20523, "loc": { "start": { "line": 625, "column": 66 }, "end": { "line": 625, "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": 20523, "end": 20524, "loc": { "start": { "line": 625, "column": 67 }, "end": { "line": 625, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20524, "end": 20526, "loc": { "start": { "line": 625, "column": 68 }, "end": { "line": 625, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20526, "end": 20534, "loc": { "start": { "line": 625, "column": 70 }, "end": { "line": 625, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20534, "end": 20535, "loc": { "start": { "line": 625, "column": 78 }, "end": { "line": 625, "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": 20535, "end": 20540, "loc": { "start": { "line": 625, "column": 79 }, "end": { "line": 625, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20540, "end": 20541, "loc": { "start": { "line": 625, "column": 84 }, "end": { "line": 625, "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": 20541, "end": 20541, "loc": { "start": { "line": 625, "column": 85 }, "end": { "line": 625, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20541, "end": 20542, "loc": { "start": { "line": 625, "column": 85 }, "end": { "line": 625, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20542, "end": 20543, "loc": { "start": { "line": 625, "column": 86 }, "end": { "line": 625, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20561, "end": 20562, "loc": { "start": { "line": 626, "column": 16 }, "end": { "line": 626, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20578, "end": 20579, "loc": { "start": { "line": 627, "column": 14 }, "end": { "line": 627, "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": 20580, "end": 20584, "loc": { "start": { "line": 627, "column": 16 }, "end": { "line": 627, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20585, "end": 20586, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20604, "end": 20622, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20622, "end": 20623, "loc": { "start": { "line": 628, "column": 34 }, "end": { "line": 628, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20623, "end": 20634, "loc": { "start": { "line": 628, "column": 35 }, "end": { "line": 628, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20634, "end": 20635, "loc": { "start": { "line": 628, "column": 46 }, "end": { "line": 628, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20636, "end": 20637, "loc": { "start": { "line": 628, "column": 48 }, "end": { "line": 628, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20638, "end": 20646, "loc": { "start": { "line": 628, "column": 50 }, "end": { "line": 628, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20646, "end": 20647, "loc": { "start": { "line": 628, "column": 58 }, "end": { "line": 628, "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": 20647, "end": 20652, "loc": { "start": { "line": 628, "column": 59 }, "end": { "line": 628, "column": 64 } } }, { "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": 628, "column": 64 }, "end": { "line": 628, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20669, "end": 20670, "loc": { "start": { "line": 629, "column": 14 }, "end": { "line": 629, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20684, "end": 20685, "loc": { "start": { "line": 630, "column": 12 }, "end": { "line": 630, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20685, "end": 20686, "loc": { "start": { "line": 630, "column": 13 }, "end": { "line": 630, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20686, "end": 20687, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20699, "end": 20700, "loc": { "start": { "line": 631, "column": 10 }, "end": { "line": 631, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20710, "end": 20711, "loc": { "start": { "line": 632, "column": 8 }, "end": { "line": 632, "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": 20712, "end": 20716, "loc": { "start": { "line": 632, "column": 10 }, "end": { "line": 632, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20717, "end": 20718, "loc": { "start": { "line": 632, "column": 15 }, "end": { "line": 632, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 20730, "end": 20737, "loc": { "start": { "line": 633, "column": 10 }, "end": { "line": 633, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20737, "end": 20738, "loc": { "start": { "line": 633, "column": 17 }, "end": { "line": 633, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 20738, "end": 20742, "loc": { "start": { "line": 633, "column": 18 }, "end": { "line": 633, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20742, "end": 20743, "loc": { "start": { "line": 633, "column": 22 }, "end": { "line": 633, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20743, "end": 20744, "loc": { "start": { "line": 633, "column": 23 }, "end": { "line": 633, "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": 20744, "end": 20832, "loc": { "start": { "line": 633, "column": 24 }, "end": { "line": 633, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20832, "end": 20833, "loc": { "start": { "line": 633, "column": 112 }, "end": { "line": 633, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20833, "end": 20834, "loc": { "start": { "line": 633, "column": 113 }, "end": { "line": 633, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20844, "end": 20845, "loc": { "start": { "line": 634, "column": 8 }, "end": { "line": 634, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20853, "end": 20854, "loc": { "start": { "line": 635, "column": 6 }, "end": { "line": 635, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20854, "end": 20855, "loc": { "start": { "line": 635, "column": 7 }, "end": { "line": 635, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20855, "end": 20856, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20862, "end": 20863, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20871, "end": 20937, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "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": 20943, "end": 20947, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20947, "end": 20948, "loc": { "start": { "line": 641, "column": 8 }, "end": { "line": 641, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 20948, "end": 20959, "loc": { "start": { "line": 641, "column": 9 }, "end": { "line": 641, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20959, "end": 20960, "loc": { "start": { "line": 641, "column": 20 }, "end": { "line": 641, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 20960, "end": 20969, "loc": { "start": { "line": 641, "column": 21 }, "end": { "line": 641, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 20970, "end": 20972, "loc": { "start": { "line": 641, "column": 31 }, "end": { "line": 641, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20973, "end": 20974, "loc": { "start": { "line": 641, "column": 34 }, "end": { "line": 641, "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": 20974, "end": 20975, "loc": { "start": { "line": 641, "column": 35 }, "end": { "line": 641, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20975, "end": 20977, "loc": { "start": { "line": 641, "column": 36 }, "end": { "line": 641, "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": 20977, "end": 20981, "loc": { "start": { "line": 641, "column": 38 }, "end": { "line": 641, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20981, "end": 20982, "loc": { "start": { "line": 641, "column": 42 }, "end": { "line": 641, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20982, "end": 20989, "loc": { "start": { "line": 641, "column": 43 }, "end": { "line": 641, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20989, "end": 20990, "loc": { "start": { "line": 641, "column": 50 }, "end": { "line": 641, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 20990, "end": 20995, "loc": { "start": { "line": 641, "column": 51 }, "end": { "line": 641, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20995, "end": 20996, "loc": { "start": { "line": 641, "column": 56 }, "end": { "line": 641, "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": 20996, "end": 20997, "loc": { "start": { "line": 641, "column": 57 }, "end": { "line": 641, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20997, "end": 20999, "loc": { "start": { "line": 641, "column": 58 }, "end": { "line": 641, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 20999, "end": 21010, "loc": { "start": { "line": 641, "column": 60 }, "end": { "line": 641, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21010, "end": 21011, "loc": { "start": { "line": 641, "column": 71 }, "end": { "line": 641, "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": 21011, "end": 21011, "loc": { "start": { "line": 641, "column": 72 }, "end": { "line": 641, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21011, "end": 21012, "loc": { "start": { "line": 641, "column": 72 }, "end": { "line": 641, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21012, "end": 21013, "loc": { "start": { "line": 641, "column": 73 }, "end": { "line": 641, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21021, "end": 21068, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 645, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 21074, "end": 21080, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21080, "end": 21081, "loc": { "start": { "line": 646, "column": 10 }, "end": { "line": 646, "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": 21081, "end": 21085, "loc": { "start": { "line": 646, "column": 11 }, "end": { "line": 646, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21085, "end": 21086, "loc": { "start": { "line": 646, "column": 15 }, "end": { "line": 646, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21086, "end": 21093, "loc": { "start": { "line": 646, "column": 16 }, "end": { "line": 646, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21093, "end": 21094, "loc": { "start": { "line": 646, "column": 23 }, "end": { "line": 646, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 21094, "end": 21104, "loc": { "start": { "line": 646, "column": 24 }, "end": { "line": 646, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21104, "end": 21105, "loc": { "start": { "line": 646, "column": 34 }, "end": { "line": 646, "column": 35 } } }, { "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": 646, "column": 35 }, "end": { "line": 646, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21106, "end": 21113, "loc": { "start": { "line": 646, "column": 36 }, "end": { "line": 646, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21113, "end": 21114, "loc": { "start": { "line": 646, "column": 43 }, "end": { "line": 646, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21114, "end": 21115, "loc": { "start": { "line": 646, "column": 44 }, "end": { "line": 646, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 21115, "end": 21118, "loc": { "start": { "line": 646, "column": 45 }, "end": { "line": 646, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21118, "end": 21119, "loc": { "start": { "line": 646, "column": 48 }, "end": { "line": 646, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 21120, "end": 21126, "loc": { "start": { "line": 646, "column": 50 }, "end": { "line": 646, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21126, "end": 21127, "loc": { "start": { "line": 646, "column": 56 }, "end": { "line": 646, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21128, "end": 21130, "loc": { "start": { "line": 646, "column": 58 }, "end": { "line": 646, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21131, "end": 21132, "loc": { "start": { "line": 646, "column": 61 }, "end": { "line": 646, "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": 21140, "end": 21143, "loc": { "start": { "line": 647, "column": 6 }, "end": { "line": 647, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 21144, "end": 21152, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21153, "end": 21154, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 21155, "end": 21158, "loc": { "start": { "line": 647, "column": 21 }, "end": { "line": 647, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21158, "end": 21159, "loc": { "start": { "line": 647, "column": 24 }, "end": { "line": 647, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21159, "end": 21164, "loc": { "start": { "line": 647, "column": 25 }, "end": { "line": 647, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21164, "end": 21165, "loc": { "start": { "line": 647, "column": 30 }, "end": { "line": 647, "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": 21165, "end": 21168, "loc": { "start": { "line": 647, "column": 31 }, "end": { "line": 647, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21168, "end": 21169, "loc": { "start": { "line": 647, "column": 34 }, "end": { "line": 647, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21169, "end": 21170, "loc": { "start": { "line": 647, "column": 35 }, "end": { "line": 647, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21180, "end": 21223, "loc": { "start": { "line": 649, "column": 6 }, "end": { "line": 651, "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": 21231, "end": 21234, "loc": { "start": { "line": 652, "column": 6 }, "end": { "line": 652, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 21235, "end": 21241, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21242, "end": 21243, "loc": { "start": { "line": 652, "column": 17 }, "end": { "line": 652, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 21244, "end": 21252, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21252, "end": 21253, "loc": { "start": { "line": 652, "column": 27 }, "end": { "line": 652, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 21253, "end": 21266, "loc": { "start": { "line": 652, "column": 28 }, "end": { "line": 652, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21266, "end": 21267, "loc": { "start": { "line": 652, "column": 41 }, "end": { "line": 652, "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": 21267, "end": 21272, "loc": { "start": { "line": 652, "column": 42 }, "end": { "line": 652, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21272, "end": 21273, "loc": { "start": { "line": 652, "column": 47 }, "end": { "line": 652, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21273, "end": 21274, "loc": { "start": { "line": 652, "column": 48 }, "end": { "line": 652, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 21282, "end": 21288, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21288, "end": 21289, "loc": { "start": { "line": 653, "column": 12 }, "end": { "line": 653, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 21289, "end": 21298, "loc": { "start": { "line": 653, "column": 13 }, "end": { "line": 653, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 21299, "end": 21301, "loc": { "start": { "line": 653, "column": 23 }, "end": { "line": 653, "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": 21302, "end": 21310, "loc": { "start": { "line": 653, "column": 26 }, "end": { "line": 653, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21310, "end": 21311, "loc": { "start": { "line": 653, "column": 34 }, "end": { "line": 653, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21321, "end": 21382, "loc": { "start": { "line": 655, "column": 6 }, "end": { "line": 657, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 21390, "end": 21398, "loc": { "start": { "line": 658, "column": 6 }, "end": { "line": 658, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21398, "end": 21399, "loc": { "start": { "line": 658, "column": 14 }, "end": { "line": 658, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21399, "end": 21406, "loc": { "start": { "line": 658, "column": 15 }, "end": { "line": 658, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21406, "end": 21407, "loc": { "start": { "line": 658, "column": 22 }, "end": { "line": 658, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21407, "end": 21408, "loc": { "start": { "line": 658, "column": 23 }, "end": { "line": 658, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21408, "end": 21414, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21414, "end": 21415, "loc": { "start": { "line": 658, "column": 30 }, "end": { "line": 658, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 21416, "end": 21422, "loc": { "start": { "line": 658, "column": 32 }, "end": { "line": 658, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21422, "end": 21423, "loc": { "start": { "line": 658, "column": 38 }, "end": { "line": 658, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21424, "end": 21426, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21427, "end": 21428, "loc": { "start": { "line": 658, "column": 43 }, "end": { "line": 658, "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": 21438, "end": 21441, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 21442, "end": 21453, "loc": { "start": { "line": 659, "column": 12 }, "end": { "line": 659, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21454, "end": 21455, "loc": { "start": { "line": 659, "column": 24 }, "end": { "line": 659, "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": 21456, "end": 21460, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21460, "end": 21461, "loc": { "start": { "line": 659, "column": 30 }, "end": { "line": 659, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 21461, "end": 21470, "loc": { "start": { "line": 659, "column": 31 }, "end": { "line": 659, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21470, "end": 21471, "loc": { "start": { "line": 659, "column": 40 }, "end": { "line": 659, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 21471, "end": 21485, "loc": { "start": { "line": 659, "column": 41 }, "end": { "line": 659, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21485, "end": 21486, "loc": { "start": { "line": 659, "column": 55 }, "end": { "line": 659, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21486, "end": 21492, "loc": { "start": { "line": 659, "column": 56 }, "end": { "line": 659, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21492, "end": 21493, "loc": { "start": { "line": 659, "column": 62 }, "end": { "line": 659, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21493, "end": 21494, "loc": { "start": { "line": 659, "column": 63 }, "end": { "line": 659, "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": 21504, "end": 21507, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 21508, "end": 21524, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21525, "end": 21526, "loc": { "start": { "line": 660, "column": 29 }, "end": { "line": 660, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21527, "end": 21545, "loc": { "start": { "line": 660, "column": 31 }, "end": { "line": 660, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21545, "end": 21546, "loc": { "start": { "line": 660, "column": 49 }, "end": { "line": 660, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21546, "end": 21552, "loc": { "start": { "line": 660, "column": 50 }, "end": { "line": 660, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21552, "end": 21553, "loc": { "start": { "line": 660, "column": 56 }, "end": { "line": 660, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21553, "end": 21554, "loc": { "start": { "line": 660, "column": 57 }, "end": { "line": 660, "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": 21564, "end": 21567, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 21568, "end": 21585, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21586, "end": 21587, "loc": { "start": { "line": 661, "column": 30 }, "end": { "line": 661, "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": 21588, "end": 21592, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21592, "end": 21593, "loc": { "start": { "line": 661, "column": 36 }, "end": { "line": 661, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 21593, "end": 21602, "loc": { "start": { "line": 661, "column": 37 }, "end": { "line": 661, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21602, "end": 21603, "loc": { "start": { "line": 661, "column": 46 }, "end": { "line": 661, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 21603, "end": 21623, "loc": { "start": { "line": 661, "column": 47 }, "end": { "line": 661, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21623, "end": 21624, "loc": { "start": { "line": 661, "column": 67 }, "end": { "line": 661, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21624, "end": 21630, "loc": { "start": { "line": 661, "column": 68 }, "end": { "line": 661, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21630, "end": 21631, "loc": { "start": { "line": 661, "column": 74 }, "end": { "line": 661, "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": 21632, "end": 21636, "loc": { "start": { "line": 661, "column": 76 }, "end": { "line": 661, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21636, "end": 21637, "loc": { "start": { "line": 661, "column": 80 }, "end": { "line": 661, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21637, "end": 21644, "loc": { "start": { "line": 661, "column": 81 }, "end": { "line": 661, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21644, "end": 21645, "loc": { "start": { "line": 661, "column": 88 }, "end": { "line": 661, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 21645, "end": 21652, "loc": { "start": { "line": 661, "column": 89 }, "end": { "line": 661, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21652, "end": 21653, "loc": { "start": { "line": 661, "column": 96 }, "end": { "line": 661, "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": 21654, "end": 21658, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21658, "end": 21659, "loc": { "start": { "line": 661, "column": 102 }, "end": { "line": 661, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21659, "end": 21666, "loc": { "start": { "line": 661, "column": 103 }, "end": { "line": 661, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21666, "end": 21667, "loc": { "start": { "line": 661, "column": 110 }, "end": { "line": 661, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 21667, "end": 21679, "loc": { "start": { "line": 661, "column": 111 }, "end": { "line": 661, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21679, "end": 21680, "loc": { "start": { "line": 661, "column": 123 }, "end": { "line": 661, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21680, "end": 21681, "loc": { "start": { "line": 661, "column": 124 }, "end": { "line": 661, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21693, "end": 21737, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 665, "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": 21747, "end": 21750, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 666, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21751, "end": 21760, "loc": { "start": { "line": 666, "column": 12 }, "end": { "line": 666, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21761, "end": 21762, "loc": { "start": { "line": 666, "column": 22 }, "end": { "line": 666, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 21763, "end": 21771, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21771, "end": 21772, "loc": { "start": { "line": 666, "column": 32 }, "end": { "line": 666, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 21772, "end": 21785, "loc": { "start": { "line": 666, "column": 33 }, "end": { "line": 666, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21785, "end": 21786, "loc": { "start": { "line": 666, "column": 46 }, "end": { "line": 666, "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": 21786, "end": 21791, "loc": { "start": { "line": 666, "column": 47 }, "end": { "line": 666, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21791, "end": 21792, "loc": { "start": { "line": 666, "column": 52 }, "end": { "line": 666, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21792, "end": 21793, "loc": { "start": { "line": 666, "column": 53 }, "end": { "line": 666, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21803, "end": 21812, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21812, "end": 21813, "loc": { "start": { "line": 667, "column": 17 }, "end": { "line": 667, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 21813, "end": 21822, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 21823, "end": 21825, "loc": { "start": { "line": 667, "column": 28 }, "end": { "line": 667, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21826, "end": 21827, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "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": 21827, "end": 21837, "loc": { "start": { "line": 667, "column": 32 }, "end": { "line": 667, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21837, "end": 21839, "loc": { "start": { "line": 667, "column": 42 }, "end": { "line": 667, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 21839, "end": 21850, "loc": { "start": { "line": 667, "column": 44 }, "end": { "line": 667, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21850, "end": 21851, "loc": { "start": { "line": 667, "column": 55 }, "end": { "line": 667, "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": 21851, "end": 21851, "loc": { "start": { "line": 667, "column": 56 }, "end": { "line": 667, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21851, "end": 21853, "loc": { "start": { "line": 667, "column": 56 }, "end": { "line": 667, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 21853, "end": 21869, "loc": { "start": { "line": 667, "column": 58 }, "end": { "line": 667, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21870, "end": 21871, "loc": { "start": { "line": 667, "column": 75 }, "end": { "line": 667, "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": 21872, "end": 21875, "loc": { "start": { "line": 667, "column": 77 }, "end": { "line": 667, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21875, "end": 21876, "loc": { "start": { "line": 667, "column": 80 }, "end": { "line": 667, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 21876, "end": 21892, "loc": { "start": { "line": 667, "column": 81 }, "end": { "line": 667, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21893, "end": 21894, "loc": { "start": { "line": 667, "column": 98 }, "end": { "line": 667, "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": 21895, "end": 21897, "loc": { "start": { "line": 667, "column": 100 }, "end": { "line": 667, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21897, "end": 21898, "loc": { "start": { "line": 667, "column": 102 }, "end": { "line": 667, "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": 21898, "end": 21898, "loc": { "start": { "line": 667, "column": 103 }, "end": { "line": 667, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21898, "end": 21899, "loc": { "start": { "line": 667, "column": 103 }, "end": { "line": 667, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21899, "end": 21900, "loc": { "start": { "line": 667, "column": 104 }, "end": { "line": 667, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21910, "end": 21919, "loc": { "start": { "line": 668, "column": 8 }, "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": 21919, "end": 21920, "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": "onclick", "start": 21920, "end": 21927, "loc": { "start": { "line": 668, "column": 18 }, "end": { "line": 668, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21928, "end": 21929, "loc": { "start": { "line": 668, "column": 26 }, "end": { "line": 668, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21930, "end": 21931, "loc": { "start": { "line": 668, "column": 28 }, "end": { "line": 668, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21931, "end": 21932, "loc": { "start": { "line": 668, "column": 29 }, "end": { "line": 668, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21933, "end": 21935, "loc": { "start": { "line": 668, "column": 31 }, "end": { "line": 668, "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": 21936, "end": 21940, "loc": { "start": { "line": 668, "column": 34 }, "end": { "line": 668, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21940, "end": 21941, "loc": { "start": { "line": 668, "column": 38 }, "end": { "line": 668, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 21941, "end": 21960, "loc": { "start": { "line": 668, "column": 39 }, "end": { "line": 668, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21960, "end": 21961, "loc": { "start": { "line": 668, "column": 58 }, "end": { "line": 668, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21961, "end": 21967, "loc": { "start": { "line": 668, "column": 59 }, "end": { "line": 668, "column": 65 } } }, { "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": 668, "column": 65 }, "end": { "line": 668, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21968, "end": 21969, "loc": { "start": { "line": 668, "column": 66 }, "end": { "line": 668, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21979, "end": 21988, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21988, "end": 21989, "loc": { "start": { "line": 669, "column": 17 }, "end": { "line": 669, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmousedown", "start": 21989, "end": 22000, "loc": { "start": { "line": 669, "column": 18 }, "end": { "line": 669, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22001, "end": 22002, "loc": { "start": { "line": 669, "column": 30 }, "end": { "line": 669, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22003, "end": 22004, "loc": { "start": { "line": 669, "column": 32 }, "end": { "line": 669, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 22004, "end": 22005, "loc": { "start": { "line": 669, "column": 33 }, "end": { "line": 669, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22005, "end": 22006, "loc": { "start": { "line": 669, "column": 34 }, "end": { "line": 669, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22007, "end": 22009, "loc": { "start": { "line": 669, "column": 36 }, "end": { "line": 669, "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": 22010, "end": 22014, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22014, "end": 22015, "loc": { "start": { "line": 669, "column": 43 }, "end": { "line": 669, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 22015, "end": 22036, "loc": { "start": { "line": 669, "column": 44 }, "end": { "line": 669, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22036, "end": 22037, "loc": { "start": { "line": 669, "column": 65 }, "end": { "line": 669, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22037, "end": 22043, "loc": { "start": { "line": 669, "column": 66 }, "end": { "line": 669, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22043, "end": 22044, "loc": { "start": { "line": 669, "column": 72 }, "end": { "line": 669, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 22045, "end": 22046, "loc": { "start": { "line": 669, "column": 74 }, "end": { "line": 669, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22046, "end": 22047, "loc": { "start": { "line": 669, "column": 75 }, "end": { "line": 669, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22047, "end": 22048, "loc": { "start": { "line": 669, "column": 76 }, "end": { "line": 669, "column": 77 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22060, "end": 22106, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 673, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22116, "end": 22125, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22125, "end": 22126, "loc": { "start": { "line": 674, "column": 17 }, "end": { "line": 674, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 22126, "end": 22138, "loc": { "start": { "line": 674, "column": 18 }, "end": { "line": 674, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22138, "end": 22139, "loc": { "start": { "line": 674, "column": 30 }, "end": { "line": 674, "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": 22139, "end": 22151, "loc": { "start": { "line": 674, "column": 31 }, "end": { "line": 674, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22151, "end": 22152, "loc": { "start": { "line": 674, "column": 43 }, "end": { "line": 674, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22153, "end": 22159, "loc": { "start": { "line": 674, "column": 45 }, "end": { "line": 674, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22159, "end": 22160, "loc": { "start": { "line": 674, "column": 51 }, "end": { "line": 674, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22160, "end": 22161, "loc": { "start": { "line": 674, "column": 52 }, "end": { "line": 674, "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": 22173, "end": 22328, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 679, "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": 22338, "end": 22341, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 22342, "end": 22351, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22352, "end": 22353, "loc": { "start": { "line": 680, "column": 22 }, "end": { "line": 680, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22354, "end": 22355, "loc": { "start": { "line": 680, "column": 24 }, "end": { "line": 680, "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": 22355, "end": 22355, "loc": { "start": { "line": 680, "column": 25 }, "end": { "line": 680, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22355, "end": 22357, "loc": { "start": { "line": 680, "column": 25 }, "end": { "line": 680, "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": 22357, "end": 22361, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22361, "end": 22362, "loc": { "start": { "line": 680, "column": 31 }, "end": { "line": 680, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22362, "end": 22369, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22369, "end": 22370, "loc": { "start": { "line": 680, "column": 39 }, "end": { "line": 680, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 22370, "end": 22380, "loc": { "start": { "line": 680, "column": 40 }, "end": { "line": 680, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22380, "end": 22381, "loc": { "start": { "line": 680, "column": 50 }, "end": { "line": 680, "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": 22381, "end": 22383, "loc": { "start": { "line": 680, "column": 51 }, "end": { "line": 680, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22383, "end": 22385, "loc": { "start": { "line": 680, "column": 53 }, "end": { "line": 680, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 22385, "end": 22391, "loc": { "start": { "line": 680, "column": 55 }, "end": { "line": 680, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22391, "end": 22392, "loc": { "start": { "line": 680, "column": 61 }, "end": { "line": 680, "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": 22392, "end": 22393, "loc": { "start": { "line": 680, "column": 62 }, "end": { "line": 680, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22393, "end": 22395, "loc": { "start": { "line": 680, "column": 63 }, "end": { "line": 680, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 22395, "end": 22401, "loc": { "start": { "line": 680, "column": 65 }, "end": { "line": 680, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22401, "end": 22402, "loc": { "start": { "line": 680, "column": 71 }, "end": { "line": 680, "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": 22402, "end": 22402, "loc": { "start": { "line": 680, "column": 72 }, "end": { "line": 680, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22402, "end": 22403, "loc": { "start": { "line": 680, "column": 72 }, "end": { "line": 680, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22403, "end": 22404, "loc": { "start": { "line": 680, "column": 73 }, "end": { "line": 680, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22414, "end": 22423, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 17 } } }, { "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": 681, "column": 17 }, "end": { "line": 681, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 22424, "end": 22436, "loc": { "start": { "line": 681, "column": 18 }, "end": { "line": 681, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22436, "end": 22437, "loc": { "start": { "line": 681, "column": 30 }, "end": { "line": 681, "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": 22437, "end": 22452, "loc": { "start": { "line": 681, "column": 31 }, "end": { "line": 681, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22452, "end": 22453, "loc": { "start": { "line": 681, "column": 46 }, "end": { "line": 681, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 22454, "end": 22463, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22463, "end": 22464, "loc": { "start": { "line": 681, "column": 57 }, "end": { "line": 681, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22464, "end": 22465, "loc": { "start": { "line": 681, "column": 58 }, "end": { "line": 681, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22477, "end": 22526, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22536, "end": 22545, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22545, "end": 22546, "loc": { "start": { "line": 686, "column": 17 }, "end": { "line": 686, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 22546, "end": 22558, "loc": { "start": { "line": 686, "column": 18 }, "end": { "line": 686, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22558, "end": 22559, "loc": { "start": { "line": 686, "column": 30 }, "end": { "line": 686, "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": 22559, "end": 22578, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22578, "end": 22579, "loc": { "start": { "line": 686, "column": 50 }, "end": { "line": 686, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 22580, "end": 22597, "loc": { "start": { "line": 686, "column": 52 }, "end": { "line": 686, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22597, "end": 22598, "loc": { "start": { "line": 686, "column": 69 }, "end": { "line": 686, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22598, "end": 22599, "loc": { "start": { "line": 686, "column": 70 }, "end": { "line": 686, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22611, "end": 22669, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 690, "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": 22679, "end": 22682, "loc": { "start": { "line": 691, "column": 8 }, "end": { "line": 691, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 22683, "end": 22696, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22697, "end": 22698, "loc": { "start": { "line": 691, "column": 26 }, "end": { "line": 691, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 22699, "end": 22707, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22707, "end": 22708, "loc": { "start": { "line": 691, "column": 36 }, "end": { "line": 691, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 22708, "end": 22721, "loc": { "start": { "line": 691, "column": 37 }, "end": { "line": 691, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22721, "end": 22722, "loc": { "start": { "line": 691, "column": 50 }, "end": { "line": 691, "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": 22722, "end": 22728, "loc": { "start": { "line": 691, "column": 51 }, "end": { "line": 691, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22728, "end": 22729, "loc": { "start": { "line": 691, "column": 57 }, "end": { "line": 691, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22729, "end": 22730, "loc": { "start": { "line": 691, "column": 58 }, "end": { "line": 691, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 22740, "end": 22753, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22753, "end": 22754, "loc": { "start": { "line": 692, "column": 21 }, "end": { "line": 692, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 22754, "end": 22763, "loc": { "start": { "line": 692, "column": 22 }, "end": { "line": 692, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22764, "end": 22765, "loc": { "start": { "line": 692, "column": 32 }, "end": { "line": 692, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 22766, "end": 22783, "loc": { "start": { "line": 692, "column": 34 }, "end": { "line": 692, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22783, "end": 22784, "loc": { "start": { "line": 692, "column": 51 }, "end": { "line": 692, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22794, "end": 22803, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22803, "end": 22804, "loc": { "start": { "line": 693, "column": 17 }, "end": { "line": 693, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 22804, "end": 22815, "loc": { "start": { "line": 693, "column": 18 }, "end": { "line": 693, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22815, "end": 22816, "loc": { "start": { "line": 693, "column": 29 }, "end": { "line": 693, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 22816, "end": 22829, "loc": { "start": { "line": 693, "column": 30 }, "end": { "line": 693, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22829, "end": 22830, "loc": { "start": { "line": 693, "column": 43 }, "end": { "line": 693, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22830, "end": 22831, "loc": { "start": { "line": 693, "column": 44 }, "end": { "line": 693, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22843, "end": 22896, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 697, "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": 22906, "end": 22908, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 698, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22908, "end": 22909, "loc": { "start": { "line": 698, "column": 10 }, "end": { "line": 698, "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": 22909, "end": 22910, "loc": { "start": { "line": 698, "column": 11 }, "end": { "line": 698, "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": 22910, "end": 22914, "loc": { "start": { "line": 698, "column": 12 }, "end": { "line": 698, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22914, "end": 22915, "loc": { "start": { "line": 698, "column": 16 }, "end": { "line": 698, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 22915, "end": 22929, "loc": { "start": { "line": 698, "column": 17 }, "end": { "line": 698, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22929, "end": 22930, "loc": { "start": { "line": 698, "column": 31 }, "end": { "line": 698, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22930, "end": 22936, "loc": { "start": { "line": 698, "column": 32 }, "end": { "line": 698, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22936, "end": 22937, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22937, "end": 22938, "loc": { "start": { "line": 698, "column": 39 }, "end": { "line": 698, "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": 22950, "end": 22954, "loc": { "start": { "line": 699, "column": 10 }, "end": { "line": 699, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22954, "end": 22955, "loc": { "start": { "line": 699, "column": 14 }, "end": { "line": 699, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 22955, "end": 22969, "loc": { "start": { "line": 699, "column": 15 }, "end": { "line": 699, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22969, "end": 22970, "loc": { "start": { "line": 699, "column": 29 }, "end": { "line": 699, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22970, "end": 22976, "loc": { "start": { "line": 699, "column": 30 }, "end": { "line": 699, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22976, "end": 22977, "loc": { "start": { "line": 699, "column": 36 }, "end": { "line": 699, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22978, "end": 22979, "loc": { "start": { "line": 699, "column": 38 }, "end": { "line": 699, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22980, "end": 22981, "loc": { "start": { "line": 699, "column": 40 }, "end": { "line": 699, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22981, "end": 22982, "loc": { "start": { "line": 699, "column": 41 }, "end": { "line": 699, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22982, "end": 22983, "loc": { "start": { "line": 699, "column": 42 }, "end": { "line": 699, "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": 22995, "end": 22999, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22999, "end": 23000, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 23000, "end": 23014, "loc": { "start": { "line": 701, "column": 13 }, "end": { "line": 701, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23014, "end": 23015, "loc": { "start": { "line": 701, "column": 27 }, "end": { "line": 701, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23015, "end": 23021, "loc": { "start": { "line": 701, "column": 28 }, "end": { "line": 701, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23021, "end": 23022, "loc": { "start": { "line": 701, "column": 34 }, "end": { "line": 701, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23022, "end": 23023, "loc": { "start": { "line": 701, "column": 35 }, "end": { "line": 701, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 23023, "end": 23027, "loc": { "start": { "line": 701, "column": 36 }, "end": { "line": 701, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23027, "end": 23028, "loc": { "start": { "line": 701, "column": 40 }, "end": { "line": 701, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23028, "end": 23037, "loc": { "start": { "line": 701, "column": 41 }, "end": { "line": 701, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23037, "end": 23038, "loc": { "start": { "line": 701, "column": 50 }, "end": { "line": 701, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23038, "end": 23039, "loc": { "start": { "line": 701, "column": 51 }, "end": { "line": 701, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23051, "end": 23103, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 705, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23113, "end": 23119, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23119, "end": 23120, "loc": { "start": { "line": 706, "column": 14 }, "end": { "line": 706, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 23120, "end": 23131, "loc": { "start": { "line": 706, "column": 15 }, "end": { "line": 706, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23131, "end": 23132, "loc": { "start": { "line": 706, "column": 26 }, "end": { "line": 706, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23132, "end": 23141, "loc": { "start": { "line": 706, "column": 27 }, "end": { "line": 706, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23141, "end": 23142, "loc": { "start": { "line": 706, "column": 36 }, "end": { "line": 706, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23142, "end": 23143, "loc": { "start": { "line": 706, "column": 37 }, "end": { "line": 706, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23153, "end": 23154, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23154, "end": 23155, "loc": { "start": { "line": 708, "column": 7 }, "end": { "line": 708, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23155, "end": 23156, "loc": { "start": { "line": 708, "column": 8 }, "end": { "line": 708, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23166, "end": 23216, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 712, "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": 23224, "end": 23228, "loc": { "start": { "line": 713, "column": 6 }, "end": { "line": 713, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23228, "end": 23229, "loc": { "start": { "line": 713, "column": 10 }, "end": { "line": 713, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 23229, "end": 23240, "loc": { "start": { "line": 713, "column": 11 }, "end": { "line": 713, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23240, "end": 23241, "loc": { "start": { "line": 713, "column": 22 }, "end": { "line": 713, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 23241, "end": 23252, "loc": { "start": { "line": 713, "column": 23 }, "end": { "line": 713, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23252, "end": 23253, "loc": { "start": { "line": 713, "column": 34 }, "end": { "line": 713, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23253, "end": 23259, "loc": { "start": { "line": 713, "column": 35 }, "end": { "line": 713, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23259, "end": 23260, "loc": { "start": { "line": 713, "column": 41 }, "end": { "line": 713, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23260, "end": 23261, "loc": { "start": { "line": 713, "column": 42 }, "end": { "line": 713, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23267, "end": 23268, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23268, "end": 23269, "loc": { "start": { "line": 714, "column": 5 }, "end": { "line": 714, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23269, "end": 23270, "loc": { "start": { "line": 714, "column": 6 }, "end": { "line": 714, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23278, "end": 23315, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 718, "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": 23321, "end": 23325, "loc": { "start": { "line": 719, "column": 4 }, "end": { "line": 719, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23325, "end": 23326, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 23326, "end": 23334, "loc": { "start": { "line": 719, "column": 9 }, "end": { "line": 719, "column": 17 } } }, { "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": 719, "column": 17 }, "end": { "line": 719, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23335, "end": 23336, "loc": { "start": { "line": 719, "column": 18 }, "end": { "line": 719, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23336, "end": 23337, "loc": { "start": { "line": 719, "column": 19 }, "end": { "line": 719, "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": 23345, "end": 23347, "loc": { "start": { "line": 721, "column": 4 }, "end": { "line": 721, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23347, "end": 23348, "loc": { "start": { "line": 721, "column": 6 }, "end": { "line": 721, "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": 23348, "end": 23349, "loc": { "start": { "line": 721, "column": 7 }, "end": { "line": 721, "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": 23349, "end": 23353, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23353, "end": 23354, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 23354, "end": 23365, "loc": { "start": { "line": 721, "column": 13 }, "end": { "line": 721, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23365, "end": 23366, "loc": { "start": { "line": 721, "column": 24 }, "end": { "line": 721, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23366, "end": 23367, "loc": { "start": { "line": 721, "column": 25 }, "end": { "line": 721, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23375, "end": 23457, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "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": 23465, "end": 23469, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23469, "end": 23470, "loc": { "start": { "line": 725, "column": 10 }, "end": { "line": 725, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 23470, "end": 23481, "loc": { "start": { "line": 725, "column": 11 }, "end": { "line": 725, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23482, "end": 23483, "loc": { "start": { "line": 725, "column": 23 }, "end": { "line": 725, "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": 23484, "end": 23488, "loc": { "start": { "line": 725, "column": 25 }, "end": { "line": 725, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23488, "end": 23489, "loc": { "start": { "line": 725, "column": 29 }, "end": { "line": 725, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23499, "end": 23540, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 23548, "end": 23556, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23556, "end": 23557, "loc": { "start": { "line": 730, "column": 14 }, "end": { "line": 730, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmouseup", "start": 23557, "end": 23566, "loc": { "start": { "line": 730, "column": 15 }, "end": { "line": 730, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23567, "end": 23568, "loc": { "start": { "line": 730, "column": 25 }, "end": { "line": 730, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23569, "end": 23570, "loc": { "start": { "line": 730, "column": 27 }, "end": { "line": 730, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23570, "end": 23571, "loc": { "start": { "line": 730, "column": 28 }, "end": { "line": 730, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23572, "end": 23574, "loc": { "start": { "line": 730, "column": 30 }, "end": { "line": 730, "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": 23575, "end": 23579, "loc": { "start": { "line": 730, "column": 33 }, "end": { "line": 730, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23579, "end": 23580, "loc": { "start": { "line": 730, "column": 37 }, "end": { "line": 730, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 23580, "end": 23599, "loc": { "start": { "line": 730, "column": 38 }, "end": { "line": 730, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23599, "end": 23600, "loc": { "start": { "line": 730, "column": 57 }, "end": { "line": 730, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23600, "end": 23601, "loc": { "start": { "line": 730, "column": 58 }, "end": { "line": 730, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23601, "end": 23602, "loc": { "start": { "line": 730, "column": 59 }, "end": { "line": 730, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23612, "end": 23651, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 734, "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": 23659, "end": 23663, "loc": { "start": { "line": 735, "column": 6 }, "end": { "line": 735, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23663, "end": 23664, "loc": { "start": { "line": 735, "column": 10 }, "end": { "line": 735, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 23664, "end": 23670, "loc": { "start": { "line": 735, "column": 11 }, "end": { "line": 735, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23670, "end": 23671, "loc": { "start": { "line": 735, "column": 17 }, "end": { "line": 735, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23671, "end": 23672, "loc": { "start": { "line": 735, "column": 18 }, "end": { "line": 735, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23672, "end": 23673, "loc": { "start": { "line": 735, "column": 19 }, "end": { "line": 735, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23679, "end": 23680, "loc": { "start": { "line": 736, "column": 4 }, "end": { "line": 736, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23684, "end": 23685, "loc": { "start": { "line": 737, "column": 2 }, "end": { "line": 737, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23687, "end": 23688, "loc": { "start": { "line": 738, "column": 0 }, "end": { "line": 738, "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": 23692, "end": 23698, "loc": { "start": { "line": 740, "column": 0 }, "end": { "line": 740, "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": 23699, "end": 23706, "loc": { "start": { "line": 740, "column": 7 }, "end": { "line": 740, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 23707, "end": 23721, "loc": { "start": { "line": 740, "column": 15 }, "end": { "line": 740, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23721, "end": 23722, "loc": { "start": { "line": 740, "column": 29 }, "end": { "line": 740, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23724, "end": 23724, "loc": { "start": { "line": 741, "column": 0 }, "end": { "line": 741, "column": 0 } } } ] }