{ "type": "File", "start": 0, "end": 20040, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 597, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 20040, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 597, "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": 20004, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 594, "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": 20004, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 594, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 5952, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 116, "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": 5952, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 116, "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 * 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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4849, "end": 4865, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 4849, "end": 4864, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4849, "end": 4859, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4849, "end": 4853, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4854, "end": 4859, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 4862, "end": 4864, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4871, "end": 4911, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 4871, "end": 4910, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4871, "end": 4905, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4871, "end": 4881, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4876, "end": 4881, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 4882, "end": 4904, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4882, "end": 4894, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4882, "end": 4886, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 19 } } }, "property": { "type": "Identifier", "start": 4887, "end": 4894, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4895, "end": 4904, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 4908, "end": 4910, "loc": { "start": { "line": 81, "column": 41 }, "end": { "line": 81, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5034, "end": 5095, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 5034, "end": 5094, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5034, "end": 5055, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5034, "end": 5038, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5039, "end": 5055, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 5058, "end": 5094, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5090, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "CallExpression", "start": 5058, "end": 5085, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5080, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 50 } }, "object": { "type": "Identifier", "start": 5058, "end": 5074, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 5075, "end": 5080, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5081, "end": 5084, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 5086, "end": 5090, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5091, "end": 5093, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5254, "end": 5279, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 5254, "end": 5278, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5254, "end": 5273, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5254, "end": 5258, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5259, "end": 5273, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 5276, "end": 5278, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5332, "end": 5511, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 101, "column": 5 } }, "test": { "type": "MemberExpression", "start": 5335, "end": 5351, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5335, "end": 5339, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5340, "end": 5351, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5360, "end": 5374, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 20 } }, "expression": { "type": "CallExpression", "start": 5360, "end": 5373, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 5360, "end": 5371, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5360, "end": 5364, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 10 } } }, "property": { "type": "Identifier", "start": 5365, "end": 5371, "loc": { "start": { "line": 97, "column": 11 }, "end": { "line": 97, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 5385, "end": 5511, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 101, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5394, "end": 5458, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 70 } }, "expression": { "type": "CallExpression", "start": 5394, "end": 5457, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 5394, "end": 5406, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 18 } }, "object": { "type": "Identifier", "start": 5394, "end": 5401, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 5402, "end": 5406, "loc": { "start": { "line": 99, "column": 14 }, "end": { "line": 99, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 5407, "end": 5456, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 5411, "end": 5427, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 5408, "end": 5409, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 5428, "end": 5455, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 5466, "end": 5504, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "column": 44 } }, "argument": { "type": "NewExpression", "start": 5472, "end": 5503, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 43 } }, "callee": { "type": "Identifier", "start": 5476, "end": 5481, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 5482, "end": 5502, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "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": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5638, "end": 5723, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 108, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 5641, "end": 5675, "loc": { "start": { "line": 107, "column": 7 }, "end": { "line": 107, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5642, "end": 5675, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 41 } }, "object": { "type": "Identifier", "start": 5642, "end": 5648, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 5649, "end": 5674, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 107, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5684, "end": 5723, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5684, "end": 5722, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5684, "end": 5717, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 39 } }, "object": { "type": "Identifier", "start": 5684, "end": 5690, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5691, "end": 5716, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 5720, "end": 5722, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 108, "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": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5737, "end": 5827, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 5737, "end": 5826, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5737, "end": 5819, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 86 } }, "object": { "type": "MemberExpression", "start": 5737, "end": 5770, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 37 } }, "object": { "type": "Identifier", "start": 5737, "end": 5743, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5744, "end": 5769, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 5771, "end": 5818, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 5771, "end": 5795, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 62 } }, "object": { "type": "MemberExpression", "start": 5771, "end": 5785, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 52 } }, "object": { "type": "ThisExpression", "start": 5771, "end": 5775, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 42 } } }, "property": { "type": "Identifier", "start": 5776, "end": 5785, "loc": { "start": { "line": 110, "column": 43 }, "end": { "line": 110, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 5786, "end": 5795, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5796, "end": 5817, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 84 } }, "object": { "type": "ThisExpression", "start": 5796, "end": 5800, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 67 } } }, "property": { "type": "Identifier", "start": 5801, "end": 5817, "loc": { "start": { "line": 110, "column": 68 }, "end": { "line": 110, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 5822, "end": 5826, "loc": { "start": { "line": 110, "column": 89 }, "end": { "line": 110, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5887, "end": 5947, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 5887, "end": 5946, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5887, "end": 5917, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5887, "end": 5891, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5892, "end": 5917, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 5920, "end": 5946, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 63 } }, "callee": { "type": "Identifier", "start": 5924, "end": 5940, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 5941, "end": 5945, "loc": { "start": { "line": 115, "column": 58 }, "end": { "line": 115, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] } ], "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 6072, "end": 7466, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 171, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6072, "end": 6091, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 6094, "end": 7466, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 171, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6095, "end": 6101, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 31 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 6106, "end": 7466, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 171, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 6113, "end": 6144, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6117, "end": 6143, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 34 } }, "id": { "type": "Identifier", "start": 6117, "end": 6122, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 6125, "end": 6143, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 34 } }, "object": { "type": "MemberExpression", "start": 6125, "end": 6137, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 28 } }, "object": { "type": "ThisExpression", "start": 6125, "end": 6129, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, "property": { "type": "Identifier", "start": 6130, "end": 6137, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6138, "end": 6143, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6207, "end": 6249, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 128, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 6210, "end": 6227, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 24 } }, "left": { "type": "Identifier", "start": 6210, "end": 6216, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6221, "end": 6227, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 6236, "end": 6249, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 6243, "end": 6248, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6302, "end": 6391, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 134, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 6305, "end": 6350, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 6305, "end": 6335, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 6312, "end": 6335, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6312, "end": 6324, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 26 } }, "object": { "type": "ThisExpression", "start": 6312, "end": 6316, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6317, "end": 6324, "loc": { "start": { "line": 133, "column": 19 }, "end": { "line": 133, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6325, "end": 6335, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6340, "end": 6350, "loc": { "start": { "line": 133, "column": 42 }, "end": { "line": 133, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6359, "end": 6391, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 38 } }, "expression": { "type": "CallExpression", "start": 6359, "end": 6390, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 6359, "end": 6382, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 29 } }, "object": { "type": "MemberExpression", "start": 6359, "end": 6371, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6359, "end": 6363, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 10 } } }, "property": { "type": "Identifier", "start": 6364, "end": 6371, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6372, "end": 6382, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6383, "end": 6389, "loc": { "start": { "line": 134, "column": 30 }, "end": { "line": 134, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6403, "end": 6490, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 137, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 6406, "end": 6441, "loc": { "start": { "line": 136, "column": 7 }, "end": { "line": 136, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6407, "end": 6441, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 42 } }, "object": { "type": "MemberExpression", "start": 6407, "end": 6417, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6407, "end": 6411, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } } }, "property": { "type": "Identifier", "start": 6412, "end": 6417, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6418, "end": 6440, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6418, "end": 6430, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 31 } }, "object": { "type": "ThisExpression", "start": 6418, "end": 6422, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 23 } } }, "property": { "type": "Identifier", "start": 6423, "end": 6430, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6431, "end": 6440, "loc": { "start": { "line": 136, "column": 32 }, "end": { "line": 136, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 6450, "end": 6490, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 6450, "end": 6489, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6450, "end": 6484, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6450, "end": 6460, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6450, "end": 6454, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, "property": { "type": "Identifier", "start": 6455, "end": 6460, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6461, "end": 6483, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6461, "end": 6473, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6461, "end": 6465, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 21 } } }, "property": { "type": "Identifier", "start": 6466, "end": 6473, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6474, "end": 6483, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6487, "end": 6489, "loc": { "start": { "line": 137, "column": 43 }, "end": { "line": 137, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 6498, "end": 6626, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6502, "end": 6625, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 131 } }, "id": { "type": "Identifier", "start": 6502, "end": 6514, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 6517, "end": 6625, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6547, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 53 } }, "object": { "type": "MemberExpression", "start": 6517, "end": 6531, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 37 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 27 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6531, "loc": { "start": { "line": 139, "column": 28 }, "end": { "line": 139, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6532, "end": 6547, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6548, "end": 6554, "loc": { "start": { "line": 139, "column": 54 }, "end": { "line": 139, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 6556, "end": 6590, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 96 } }, "object": { "type": "MemberExpression", "start": 6556, "end": 6566, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 72 } }, "object": { "type": "ThisExpression", "start": 6556, "end": 6560, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 66 } } }, "property": { "type": "Identifier", "start": 6561, "end": 6566, "loc": { "start": { "line": 139, "column": 67 }, "end": { "line": 139, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6567, "end": 6589, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 95 } }, "object": { "type": "MemberExpression", "start": 6567, "end": 6579, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 85 } }, "object": { "type": "ThisExpression", "start": 6567, "end": 6571, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 77 } } }, "property": { "type": "Identifier", "start": 6572, "end": 6579, "loc": { "start": { "line": 139, "column": 78 }, "end": { "line": 139, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6580, "end": 6589, "loc": { "start": { "line": 139, "column": 86 }, "end": { "line": 139, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 6592, "end": 6604, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 110 } }, "object": { "type": "ThisExpression", "start": 6592, "end": 6596, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 102 } } }, "property": { "type": "Identifier", "start": 6597, "end": 6604, "loc": { "start": { "line": 139, "column": 103 }, "end": { "line": 139, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 6606, "end": 6624, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 130 } }, "object": { "type": "ThisExpression", "start": 6606, "end": 6610, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 116 } } }, "property": { "type": "Identifier", "start": 6611, "end": 6624, "loc": { "start": { "line": 139, "column": 117 }, "end": { "line": 139, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 6634, "end": 7388, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 166, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6637, "end": 6688, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 58 } }, "left": { "type": "MemberExpression", "start": 6637, "end": 6671, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6637, "end": 6647, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6637, "end": 6641, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 11 } } }, "property": { "type": "Identifier", "start": 6642, "end": 6647, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6648, "end": 6670, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6648, "end": 6660, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 30 } }, "object": { "type": "ThisExpression", "start": 6648, "end": 6652, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 22 } } }, "property": { "type": "Identifier", "start": 6653, "end": 6660, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6661, "end": 6670, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 6676, "end": 6688, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 6689, "end": 7388, "loc": { "start": { "line": 141, "column": 59 }, "end": { "line": 166, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 6785, "end": 6918, "loc": { "start": { "line": 146, "column": 6 }, "end": { "line": 148, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 6788, "end": 6884, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 105 } }, "left": { "type": "MemberExpression", "start": 6788, "end": 6810, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 31 } }, "object": { "type": "MemberExpression", "start": 6788, "end": 6800, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 21 } }, "object": { "type": "ThisExpression", "start": 6788, "end": 6792, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6793, "end": 6800, "loc": { "start": { "line": 146, "column": 14 }, "end": { "line": 146, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6801, "end": 6810, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 6814, "end": 6884, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 6814, "end": 6844, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 65 } }, "object": { "type": "MemberExpression", "start": 6814, "end": 6828, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 49 } }, "object": { "type": "ThisExpression", "start": 6814, "end": 6818, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 39 } } }, "property": { "type": "Identifier", "start": 6819, "end": 6828, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6829, "end": 6844, "loc": { "start": { "line": 146, "column": 50 }, "end": { "line": 146, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6845, "end": 6855, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 76 } }, "object": { "type": "ThisExpression", "start": 6845, "end": 6849, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 70 } } }, "property": { "type": "Identifier", "start": 6850, "end": 6855, "loc": { "start": { "line": 146, "column": 71 }, "end": { "line": 146, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 6857, "end": 6869, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 90 } }, "object": { "type": "ThisExpression", "start": 6857, "end": 6861, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 82 } } }, "property": { "type": "Identifier", "start": 6862, "end": 6869, "loc": { "start": { "line": 146, "column": 83 }, "end": { "line": 146, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 6871, "end": 6883, "loc": { "start": { "line": 146, "column": 92 }, "end": { "line": 146, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6885, "end": 6918, "loc": { "start": { "line": 146, "column": 106 }, "end": { "line": 148, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 6896, "end": 6909, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 6903, "end": 6908, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 6928, "end": 6978, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 6928, "end": 6977, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6928, "end": 6962, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6938, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 10 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6938, "loc": { "start": { "line": 150, "column": 11 }, "end": { "line": 150, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6939, "end": 6961, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6939, "end": 6951, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6939, "end": 6943, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 } } }, "property": { "type": "Identifier", "start": 6944, "end": 6951, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6952, "end": 6961, "loc": { "start": { "line": 150, "column": 30 }, "end": { "line": 150, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 6965, "end": 6977, "loc": { "start": { "line": 150, "column": 43 }, "end": { "line": 150, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 6988, "end": 7049, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 153, "column": 50 } }, "test": { "type": "Identifier", "start": 6991, "end": 6996, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 7007, "end": 7049, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 50 } }, "expression": { "type": "CallExpression", "start": 7007, "end": 7048, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7007, "end": 7018, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 19 } }, "object": { "type": "Identifier", "start": 7007, "end": 7014, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7015, "end": 7018, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7019, "end": 7035, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 7037, "end": 7047, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 48 } }, "object": { "type": "ThisExpression", "start": 7037, "end": 7041, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 42 } } }, "property": { "type": "Identifier", "start": 7042, "end": 7047, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "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": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7126, "end": 7207, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 159, "column": 44 } }, "test": { "type": "MemberExpression", "start": 7129, "end": 7160, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7129, "end": 7141, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7129, "end": 7133, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7134, "end": 7141, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7142, "end": 7160, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7171, "end": 7207, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 44 } }, "expression": { "type": "CallExpression", "start": 7171, "end": 7206, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 7171, "end": 7194, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7171, "end": 7175, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, "property": { "type": "Identifier", "start": 7176, "end": 7194, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7195, "end": 7205, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7195, "end": 7199, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 36 } } }, "property": { "type": "Identifier", "start": 7200, "end": 7205, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "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": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7266, "end": 7381, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 165, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 7269, "end": 7312, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7269, "end": 7297, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7276, "end": 7297, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7276, "end": 7288, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7276, "end": 7280, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7281, "end": 7288, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7289, "end": 7297, "loc": { "start": { "line": 164, "column": 29 }, "end": { "line": 164, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7302, "end": 7312, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7323, "end": 7381, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 66 } }, "expression": { "type": "CallExpression", "start": 7323, "end": 7380, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 7323, "end": 7344, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 12 } } }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7336, "end": 7344, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7345, "end": 7379, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 64 } }, "object": { "type": "MemberExpression", "start": 7345, "end": 7355, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 40 } }, "object": { "type": "ThisExpression", "start": 7345, "end": 7349, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 34 } } }, "property": { "type": "Identifier", "start": 7350, "end": 7355, "loc": { "start": { "line": 165, "column": 35 }, "end": { "line": 165, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7356, "end": 7378, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 63 } }, "object": { "type": "MemberExpression", "start": 7356, "end": 7368, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 53 } }, "object": { "type": "ThisExpression", "start": 7356, "end": 7360, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 45 } } }, "property": { "type": "Identifier", "start": 7361, "end": 7368, "loc": { "start": { "line": 165, "column": 46 }, "end": { "line": 165, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7369, "end": 7378, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7400, "end": 7461, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } }, "test": { "type": "Identifier", "start": 7403, "end": 7408, "loc": { "start": { "line": 168, "column": 7 }, "end": { "line": 168, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 7409, "end": 7461, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 170, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7418, "end": 7454, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 42 } }, "expression": { "type": "CallExpression", "start": 7418, "end": 7453, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 7418, "end": 7429, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 17 } }, "object": { "type": "Identifier", "start": 7418, "end": 7425, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7426, "end": 7429, "loc": { "start": { "line": 169, "column": 14 }, "end": { "line": 169, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7430, "end": 7444, "loc": { "start": { "line": 169, "column": 18 }, "end": { "line": 169, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 7446, "end": 7452, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7573, "end": 7692, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 180, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7573, "end": 7591, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 176, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7594, "end": 7692, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 180, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7600, "end": 7692, "loc": { "start": { "line": 176, "column": 29 }, "end": { "line": 180, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7607, "end": 7687, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 7 } }, "expression": { "type": "CallExpression", "start": 7607, "end": 7686, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 7607, "end": 7620, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7607, "end": 7611, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 8 } } }, "property": { "type": "Identifier", "start": 7612, "end": 7620, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7621, "end": 7685, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 179, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7622, "end": 7630, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 7635, "end": 7685, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 179, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7644, "end": 7678, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 40 } }, "expression": { "type": "CallExpression", "start": 7644, "end": 7677, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 7644, "end": 7665, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 27 } }, "object": { "type": "Identifier", "start": 7644, "end": 7652, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 7653, "end": 7665, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7666, "end": 7676, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 38 } }, "object": { "type": "ThisExpression", "start": 7666, "end": 7670, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 32 } } }, "property": { "type": "Identifier", "start": 7671, "end": 7676, "loc": { "start": { "line": 178, "column": 33 }, "end": { "line": 178, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "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": 7700, "end": 7819, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7823, "end": 8105, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 195, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7823, "end": 7833, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 186, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7836, "end": 8105, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 195, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7837, "end": 7846, "loc": { "start": { "line": 186, "column": 16 }, "end": { "line": 186, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 7851, "end": 8105, "loc": { "start": { "line": 186, "column": 30 }, "end": { "line": 195, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7858, "end": 7906, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 7858, "end": 7905, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 7858, "end": 7867, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 7870, "end": 7905, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 51 } }, "left": { "type": "Identifier", "start": 7870, "end": 7879, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 7883, "end": 7905, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 51 } }, "object": { "type": "MemberExpression", "start": 7883, "end": 7895, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 41 } }, "object": { "type": "ThisExpression", "start": 7883, "end": 7887, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 33 } } }, "property": { "type": "Identifier", "start": 7888, "end": 7895, "loc": { "start": { "line": 187, "column": 34 }, "end": { "line": 187, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7896, "end": 7905, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 7912, "end": 7952, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 7912, "end": 7951, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7912, "end": 7946, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 38 } }, "object": { "type": "MemberExpression", "start": 7912, "end": 7922, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 14 } }, "object": { "type": "ThisExpression", "start": 7912, "end": 7916, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 8 } } }, "property": { "type": "Identifier", "start": 7917, "end": 7922, "loc": { "start": { "line": 188, "column": 9 }, "end": { "line": 188, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7923, "end": 7945, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7923, "end": 7935, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7923, "end": 7927, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 19 } } }, "property": { "type": "Identifier", "start": 7928, "end": 7935, "loc": { "start": { "line": 188, "column": 20 }, "end": { "line": 188, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7936, "end": 7945, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7949, "end": 7951, "loc": { "start": { "line": 188, "column": 41 }, "end": { "line": 188, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7960, "end": 8015, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8021, "end": 8100, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 194, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8024, "end": 8055, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8024, "end": 8036, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8024, "end": 8028, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8029, "end": 8036, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8037, "end": 8055, "loc": { "start": { "line": 193, "column": 20 }, "end": { "line": 193, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8064, "end": 8100, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8064, "end": 8099, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8064, "end": 8087, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8064, "end": 8068, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 10 } } }, "property": { "type": "Identifier", "start": 8069, "end": 8087, "loc": { "start": { "line": 194, "column": 11 }, "end": { "line": 194, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8088, "end": 8098, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8088, "end": 8092, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 34 } } }, "property": { "type": "Identifier", "start": 8093, "end": 8098, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7960, "end": 8015, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "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": 7700, "end": 7819, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "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": 8111, "end": 8273, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8277, "end": 8561, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 211, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8277, "end": 8285, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 201, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8288, "end": 8561, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 211, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8289, "end": 8298, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 23 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8303, "end": 8561, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 211, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8310, "end": 8358, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8310, "end": 8357, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8310, "end": 8319, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8322, "end": 8357, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 51 } }, "left": { "type": "Identifier", "start": 8322, "end": 8331, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8335, "end": 8357, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8335, "end": 8347, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8335, "end": 8339, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 33 } } }, "property": { "type": "Identifier", "start": 8340, "end": 8347, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8348, "end": 8357, "loc": { "start": { "line": 202, "column": 42 }, "end": { "line": 202, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8366, "end": 8421, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8427, "end": 8506, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 208, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8430, "end": 8461, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8430, "end": 8442, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8430, "end": 8434, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8435, "end": 8442, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8443, "end": 8461, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8470, "end": 8506, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8470, "end": 8505, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8470, "end": 8493, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8470, "end": 8474, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 10 } } }, "property": { "type": "Identifier", "start": 8475, "end": 8493, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8494, "end": 8504, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8494, "end": 8498, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, "property": { "type": "Identifier", "start": 8499, "end": 8504, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8366, "end": 8421, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 8514, "end": 8556, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 8521, "end": 8555, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 45 } }, "object": { "type": "MemberExpression", "start": 8521, "end": 8531, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8521, "end": 8525, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 15 } } }, "property": { "type": "Identifier", "start": 8526, "end": 8531, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8532, "end": 8554, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 44 } }, "object": { "type": "MemberExpression", "start": 8532, "end": 8544, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 34 } }, "object": { "type": "ThisExpression", "start": 8532, "end": 8536, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 26 } } }, "property": { "type": "Identifier", "start": 8537, "end": 8544, "loc": { "start": { "line": 210, "column": 27 }, "end": { "line": 210, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8545, "end": 8554, "loc": { "start": { "line": 210, "column": 35 }, "end": { "line": 210, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "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": 8111, "end": 8273, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "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": 8567, "end": 8727, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8731, "end": 9008, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 227, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8731, "end": 8739, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8742, "end": 9008, "loc": { "start": { "line": 218, "column": 13 }, "end": { "line": 227, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8743, "end": 8748, "loc": { "start": { "line": 218, "column": 14 }, "end": { "line": 218, "column": 19 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 8750, "end": 8759, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 30 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8764, "end": 9008, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 227, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8771, "end": 8819, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8771, "end": 8818, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8771, "end": 8780, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8783, "end": 8818, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 51 } }, "left": { "type": "Identifier", "start": 8783, "end": 8792, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8796, "end": 8818, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8796, "end": 8808, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8796, "end": 8800, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 33 } } }, "property": { "type": "Identifier", "start": 8801, "end": 8808, "loc": { "start": { "line": 219, "column": 34 }, "end": { "line": 219, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8809, "end": 8818, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 219, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 8825, "end": 8855, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 8825, "end": 8854, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8825, "end": 8846, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 25 } }, "object": { "type": "MemberExpression", "start": 8825, "end": 8835, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 14 } }, "object": { "type": "ThisExpression", "start": 8825, "end": 8829, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 8 } } }, "property": { "type": "Identifier", "start": 8830, "end": 8835, "loc": { "start": { "line": 220, "column": 9 }, "end": { "line": 220, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 8836, "end": 8845, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 8849, "end": 8854, "loc": { "start": { "line": 220, "column": 28 }, "end": { "line": 220, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8863, "end": 8918, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8924, "end": 9003, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 226, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8927, "end": 8958, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8927, "end": 8939, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8927, "end": 8931, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8932, "end": 8939, "loc": { "start": { "line": 225, "column": 12 }, "end": { "line": 225, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8940, "end": 8958, "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 225, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8967, "end": 9003, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8967, "end": 9002, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8967, "end": 8990, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8967, "end": 8971, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } } }, "property": { "type": "Identifier", "start": 8972, "end": 8990, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8991, "end": 9001, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8991, "end": 8995, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 34 } } }, "property": { "type": "Identifier", "start": 8996, "end": 9001, "loc": { "start": { "line": 226, "column": 35 }, "end": { "line": 226, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8863, "end": 8918, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "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": 8567, "end": 8727, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "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": 9016, "end": 9125, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9129, "end": 9192, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 235, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9129, "end": 9141, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 233, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9144, "end": 9192, "loc": { "start": { "line": 233, "column": 17 }, "end": { "line": 235, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9145, "end": 9153, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 26 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 9158, "end": 9192, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 235, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9165, "end": 9187, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9165, "end": 9186, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9165, "end": 9175, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 14 } }, "object": { "type": "ThisExpression", "start": 9165, "end": 9169, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 8 } } }, "property": { "type": "Identifier", "start": 9170, "end": 9175, "loc": { "start": { "line": 234, "column": 9 }, "end": { "line": 234, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 9178, "end": 9186, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "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": 9016, "end": 9125, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "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": 9198, "end": 9324, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9328, "end": 9462, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 245, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9328, "end": 9338, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 241, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9341, "end": 9462, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 245, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9341, "end": 9347, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 9351, "end": 9462, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 245, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9358, "end": 9380, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9358, "end": 9379, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 9358, "end": 9364, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 9367, "end": 9379, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 25 } }, "left": { "type": "Identifier", "start": 9367, "end": 9373, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 9377, "end": 9379, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 9386, "end": 9437, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9386, "end": 9436, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9386, "end": 9398, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 16 } }, "object": { "type": "ThisExpression", "start": 9386, "end": 9390, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 8 } } }, "property": { "type": "Identifier", "start": 9391, "end": 9398, "loc": { "start": { "line": 243, "column": 9 }, "end": { "line": 243, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 9401, "end": 9436, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 9401, "end": 9414, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 32 } }, "object": { "type": "Identifier", "start": 9401, "end": 9407, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 9408, "end": 9414, "loc": { "start": { "line": 243, "column": 26 }, "end": { "line": 243, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9415, "end": 9427, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 45 } }, "object": { "type": "ThisExpression", "start": 9415, "end": 9419, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 37 } } }, "property": { "type": "Identifier", "start": 9420, "end": 9427, "loc": { "start": { "line": 243, "column": 38 }, "end": { "line": 243, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 9429, "end": 9435, "loc": { "start": { "line": 243, "column": 47 }, "end": { "line": 243, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 9443, "end": 9457, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 18 } }, "expression": { "type": "CallExpression", "start": 9443, "end": 9456, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 9443, "end": 9454, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 15 } }, "object": { "type": "ThisExpression", "start": 9443, "end": 9447, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } } }, "property": { "type": "Identifier", "start": 9448, "end": 9454, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 9198, "end": 9324, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "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": 9468, "end": 9577, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9581, "end": 9727, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 255, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9581, "end": 9586, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9589, "end": 9727, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 255, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9595, "end": 9727, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 255, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9602, "end": 9634, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 9602, "end": 9633, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9602, "end": 9628, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9602, "end": 9618, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9602, "end": 9606, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, "property": { "type": "Identifier", "start": 9607, "end": 9618, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9619, "end": 9628, "loc": { "start": { "line": 252, "column": 21 }, "end": { "line": 252, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 9631, "end": 9633, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 9640, "end": 9691, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9640, "end": 9690, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9640, "end": 9666, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9640, "end": 9656, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9640, "end": 9644, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, "property": { "type": "Identifier", "start": 9645, "end": 9656, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9657, "end": 9666, "loc": { "start": { "line": 253, "column": 21 }, "end": { "line": 253, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 9669, "end": 9690, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 54 } }, "object": { "type": "ThisExpression", "start": 9669, "end": 9673, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 37 } } }, "property": { "type": "Identifier", "start": 9674, "end": 9690, "loc": { "start": { "line": 253, "column": 38 }, "end": { "line": 253, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 9697, "end": 9722, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9697, "end": 9721, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9697, "end": 9716, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9697, "end": 9701, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, "property": { "type": "Identifier", "start": 9702, "end": 9716, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 9719, "end": 9721, "loc": { "start": { "line": 254, "column": 26 }, "end": { "line": 254, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "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": 9468, "end": 9577, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "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": 9733, "end": 9938, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9942, "end": 10317, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 270, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9942, "end": 9950, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9953, "end": 10317, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 270, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9954, "end": 9962, "loc": { "start": { "line": 261, "column": 14 }, "end": { "line": 261, "column": 22 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 9967, "end": 10317, "loc": { "start": { "line": 261, "column": 27 }, "end": { "line": 270, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 9974, "end": 10158, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 9977, "end": 10011, "loc": { "start": { "line": 262, "column": 7 }, "end": { "line": 262, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 9978, "end": 10011, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 41 } }, "object": { "type": "Identifier", "start": 9978, "end": 9984, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 9985, "end": 10010, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10012, "end": 10158, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10021, "end": 10104, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 89 } }, "expression": { "type": "CallExpression", "start": 10021, "end": 10103, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 10021, "end": 10033, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 18 } }, "object": { "type": "Identifier", "start": 10021, "end": 10028, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 10029, "end": 10033, "loc": { "start": { "line": 263, "column": 14 }, "end": { "line": 263, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 10034, "end": 10102, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 10035, "end": 10101, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "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": 10112, "end": 10151, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 45 } }, "argument": { "type": "NewExpression", "start": 10118, "end": 10150, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 44 } }, "callee": { "type": "Identifier", "start": 10122, "end": 10127, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 10128, "end": 10149, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 10170, "end": 10312, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 269, "column": 6 } }, "argument": { "type": "CallExpression", "start": 10177, "end": 10312, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 269, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10177, "end": 10231, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 65 } }, "object": { "type": "CallExpression", "start": 10177, "end": 10223, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 10177, "end": 10188, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 22 } }, "object": { "type": "Identifier", "start": 10177, "end": 10183, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 10184, "end": 10188, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10189, "end": 10222, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 56 } }, "object": { "type": "Identifier", "start": 10189, "end": 10195, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10196, "end": 10221, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 10224, "end": 10231, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10232, "end": 10311, "loc": { "start": { "line": 267, "column": 66 }, "end": { "line": 269, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10233, "end": 10236, "loc": { "start": { "line": 267, "column": 67 }, "end": { "line": 267, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 10241, "end": 10311, "loc": { "start": { "line": 267, "column": 75 }, "end": { "line": 269, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10250, "end": 10304, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 60 } }, "expression": { "type": "CallExpression", "start": 10250, "end": 10303, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 59 } }, "callee": { "type": "Identifier", "start": 10250, "end": 10258, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 10259, "end": 10297, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 53 } }, "object": { "type": "MemberExpression", "start": 10259, "end": 10292, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 48 } }, "object": { "type": "Identifier", "start": 10259, "end": 10265, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10266, "end": 10291, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 10293, "end": 10296, "loc": { "start": { "line": 268, "column": 49 }, "end": { "line": 268, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 10299, "end": 10302, "loc": { "start": { "line": 268, "column": 55 }, "end": { "line": 268, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "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": 9733, "end": 9938, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "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": 10323, "end": 10604, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 10608, "end": 11847, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 320, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10608, "end": 10622, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 10625, "end": 11847, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 320, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10626, "end": 10633, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 10635, "end": 10644, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 10649, "end": 11847, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 320, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10656, "end": 10703, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 279, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 10659, "end": 10681, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 10659, "end": 10669, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10660, "end": 10669, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 10673, "end": 10681, "loc": { "start": { "line": 278, "column": 21 }, "end": { "line": 278, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10674, "end": 10681, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 10690, "end": 10703, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 10697, "end": 10702, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 10711, "end": 11820, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10711, "end": 11819, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10711, "end": 10737, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 30 } }, "object": { "type": "CallExpression", "start": 10711, "end": 10729, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 10711, "end": 10724, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 17 } }, "object": { "type": "Identifier", "start": 10711, "end": 10718, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 10719, "end": 10724, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10725, "end": 10728, "loc": { "start": { "line": 281, "column": 18 }, "end": { "line": 281, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10730, "end": 10737, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 281, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10738, "end": 11818, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 317, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10738, "end": 10744, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 281, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10748, "end": 11818, "loc": { "start": { "line": 281, "column": 41 }, "end": { "line": 317, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10757, "end": 11811, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 9 } }, "expression": { "type": "CallExpression", "start": 10757, "end": 11810, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 10757, "end": 10785, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 34 } }, "object": { "type": "CallExpression", "start": 10757, "end": 10777, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 10757, "end": 10772, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 21 } }, "object": { "type": "Identifier", "start": 10757, "end": 10766, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 10767, "end": 10772, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10773, "end": 10776, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10778, "end": 10785, "loc": { "start": { "line": 282, "column": 27 }, "end": { "line": 282, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10786, "end": 11809, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 316, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10786, "end": 10799, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 282, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 10803, "end": 11809, "loc": { "start": { "line": 282, "column": 52 }, "end": { "line": 316, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 10814, "end": 10885, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 284, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 10817, "end": 10842, "loc": { "start": { "line": 283, "column": 11 }, "end": { "line": 283, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 10818, "end": 10842, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 36 } }, "object": { "type": "MemberExpression", "start": 10818, "end": 10830, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 24 } }, "object": { "type": "ThisExpression", "start": 10818, "end": 10822, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 16 } } }, "property": { "type": "Identifier", "start": 10823, "end": 10830, "loc": { "start": { "line": 283, "column": 17 }, "end": { "line": 283, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10831, "end": 10842, "loc": { "start": { "line": 283, "column": 25 }, "end": { "line": 283, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 10855, "end": 10885, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 10855, "end": 10884, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10855, "end": 10879, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 34 } }, "object": { "type": "MemberExpression", "start": 10855, "end": 10867, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 22 } }, "object": { "type": "ThisExpression", "start": 10855, "end": 10859, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 14 } } }, "property": { "type": "Identifier", "start": 10860, "end": 10867, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10868, "end": 10879, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 10882, "end": 10884, "loc": { "start": { "line": 284, "column": 37 }, "end": { "line": 284, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 10897, "end": 10924, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10901, "end": 10923, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 34 } }, "id": { "type": "Identifier", "start": 10901, "end": 10915, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 10918, "end": 10923, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "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": 10938, "end": 11029, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 11039, "end": 11547, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 11 } }, "expression": { "type": "CallExpression", "start": 11039, "end": 11546, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 11039, "end": 11067, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11039, "end": 11063, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 32 } }, "object": { "type": "MemberExpression", "start": 11039, "end": 11051, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 20 } }, "object": { "type": "ThisExpression", "start": 11039, "end": 11043, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11044, "end": 11051, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 291, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11052, "end": 11063, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11064, "end": 11067, "loc": { "start": { "line": 291, "column": 33 }, "end": { "line": 291, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11068, "end": 11545, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 304, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11068, "end": 11079, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 291, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 11083, "end": 11545, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 304, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 11098, "end": 11503, "loc": { "start": { "line": 293, "column": 10 }, "end": { "line": 302, "column": 11 } }, "test": { "type": "CallExpression", "start": 11101, "end": 11153, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11101, "end": 11138, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 50 } }, "object": { "type": "CallExpression", "start": 11101, "end": 11129, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11101, "end": 11124, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11101, "end": 11118, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 30 } }, "object": { "type": "Identifier", "start": 11101, "end": 11112, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11113, "end": 11118, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 11119, "end": 11124, "loc": { "start": { "line": 293, "column": 31 }, "end": { "line": 293, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11125, "end": 11128, "loc": { "start": { "line": 293, "column": 37 }, "end": { "line": 293, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 11130, "end": 11138, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11139, "end": 11152, "loc": { "start": { "line": 293, "column": 51 }, "end": { "line": 293, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 11154, "end": 11503, "loc": { "start": { "line": 293, "column": 66 }, "end": { "line": 302, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 11169, "end": 11191, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11169, "end": 11190, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 11169, "end": 11183, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11186, "end": 11190, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 11219, "end": 11273, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11223, "end": 11272, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 65 } }, "id": { "type": "Identifier", "start": 11223, "end": 11239, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 11242, "end": 11272, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11242, "end": 11267, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 60 } }, "object": { "type": "MemberExpression", "start": 11242, "end": 11261, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 54 } }, "object": { "type": "Identifier", "start": 11242, "end": 11253, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11254, "end": 11261, "loc": { "start": { "line": 296, "column": 47 }, "end": { "line": 296, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 11262, "end": 11267, "loc": { "start": { "line": 296, "column": 55 }, "end": { "line": 296, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11268, "end": 11271, "loc": { "start": { "line": 296, "column": 61 }, "end": { "line": 296, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 11287, "end": 11490, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 301, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 11290, "end": 11324, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 11291, "end": 11324, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 11291, "end": 11316, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 41 } }, "object": { "type": "Identifier", "start": 11291, "end": 11307, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11308, "end": 11316, "loc": { "start": { "line": 297, "column": 33 }, "end": { "line": 297, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11317, "end": 11323, "loc": { "start": { "line": 297, "column": 42 }, "end": { "line": 297, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 11325, "end": 11490, "loc": { "start": { "line": 297, "column": 50 }, "end": { "line": 301, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 11342, "end": 11364, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 11342, "end": 11363, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 11342, "end": 11356, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11359, "end": 11363, "loc": { "start": { "line": 298, "column": 31 }, "end": { "line": 298, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 11380, "end": 11410, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 44 } }, "expression": { "type": "CallExpression", "start": 11380, "end": 11409, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 11380, "end": 11401, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 35 } }, "object": { "type": "Identifier", "start": 11380, "end": 11396, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11397, "end": 11401, "loc": { "start": { "line": 299, "column": 31 }, "end": { "line": 299, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11402, "end": 11408, "loc": { "start": { "line": 299, "column": 36 }, "end": { "line": 299, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 11426, "end": 11475, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 11426, "end": 11474, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11426, "end": 11445, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 33 } }, "object": { "type": "Identifier", "start": 11426, "end": 11437, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11438, "end": 11445, "loc": { "start": { "line": 300, "column": 26 }, "end": { "line": 300, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 11448, "end": 11474, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 11448, "end": 11469, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 57 } }, "object": { "type": "Identifier", "start": 11448, "end": 11464, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11465, "end": 11469, "loc": { "start": { "line": 300, "column": 53 }, "end": { "line": 300, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11470, "end": 11473, "loc": { "start": { "line": 300, "column": 58 }, "end": { "line": 300, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 11515, "end": 11534, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 29 } }, "argument": { "type": "Identifier", "start": 11522, "end": 11533, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "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": 10938, "end": 11029, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11559, "end": 11634, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] }, { "type": "IfStatement", "start": 11644, "end": 11798, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 314, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 11647, "end": 11662, "loc": { "start": { "line": 309, "column": 11 }, "end": { "line": 309, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 11648, "end": 11662, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11663, "end": 11798, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 314, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 11676, "end": 11787, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 13 } }, "expression": { "type": "CallExpression", "start": 11676, "end": 11786, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 11676, "end": 11705, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 39 } }, "object": { "type": "MemberExpression", "start": 11676, "end": 11700, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 34 } }, "object": { "type": "MemberExpression", "start": 11676, "end": 11688, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11676, "end": 11680, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 14 } } }, "property": { "type": "Identifier", "start": 11681, "end": 11688, "loc": { "start": { "line": 310, "column": 15 }, "end": { "line": 310, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11689, "end": 11700, "loc": { "start": { "line": 310, "column": 23 }, "end": { "line": 310, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 11701, "end": 11705, "loc": { "start": { "line": 310, "column": 35 }, "end": { "line": 310, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 11706, "end": 11785, "loc": { "start": { "line": 310, "column": 40 }, "end": { "line": 313, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 11721, "end": 11741, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11721, "end": 11726, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 11728, "end": 11741, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 11756, "end": 11772, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11756, "end": 11763, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 11765, "end": 11772, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "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": 11559, "end": 11634, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 11828, "end": 11842, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11828, "end": 11841, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11828, "end": 11839, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11828, "end": 11832, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, "property": { "type": "Identifier", "start": 11833, "end": 11839, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "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": 10323, "end": 10604, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "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": 11853, "end": 12193, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12197, "end": 13621, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 373, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12197, "end": 12214, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12217, "end": 13621, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 373, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12218, "end": 12225, "loc": { "start": { "line": 327, "column": 23 }, "end": { "line": 327, "column": 30 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 12227, "end": 12236, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 41 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 12241, "end": 13621, "loc": { "start": { "line": 327, "column": 46 }, "end": { "line": 373, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12334, "end": 12449, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 335, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12337, "end": 12359, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 12337, "end": 12345, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12338, "end": 12345, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 12349, "end": 12359, "loc": { "start": { "line": 331, "column": 19 }, "end": { "line": 331, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12350, "end": 12359, "loc": { "start": { "line": 331, "column": 20 }, "end": { "line": 331, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12360, "end": 12449, "loc": { "start": { "line": 331, "column": 30 }, "end": { "line": 335, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12369, "end": 12399, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12369, "end": 12398, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12369, "end": 12393, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12369, "end": 12381, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 18 } }, "object": { "type": "ThisExpression", "start": 12369, "end": 12373, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 10 } } }, "property": { "type": "Identifier", "start": 12374, "end": 12381, "loc": { "start": { "line": 332, "column": 11 }, "end": { "line": 332, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12382, "end": 12393, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 12396, "end": 12398, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 12407, "end": 12421, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 20 } }, "expression": { "type": "CallExpression", "start": 12407, "end": 12420, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 12407, "end": 12418, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12407, "end": 12411, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 10 } } }, "property": { "type": "Identifier", "start": 12412, "end": 12418, "loc": { "start": { "line": 333, "column": 11 }, "end": { "line": 333, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 12429, "end": 12442, "loc": { "start": { "line": 334, "column": 6 }, "end": { "line": 334, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 12436, "end": 12441, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "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": 12248, "end": 12328, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12457, "end": 12525, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12531, "end": 13616, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 372, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12534, "end": 12619, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 12534, "end": 12584, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 57 } }, "left": { "type": "Identifier", "start": 12534, "end": 12541, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12545, "end": 12584, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12545, "end": 12558, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 31 } }, "object": { "type": "Identifier", "start": 12545, "end": 12550, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 12551, "end": 12558, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12559, "end": 12583, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 56 } }, "object": { "type": "MemberExpression", "start": 12559, "end": 12571, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 44 } }, "object": { "type": "ThisExpression", "start": 12559, "end": 12563, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 36 } } }, "property": { "type": "Identifier", "start": 12564, "end": 12571, "loc": { "start": { "line": 340, "column": 37 }, "end": { "line": 340, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12572, "end": 12583, "loc": { "start": { "line": 340, "column": 45 }, "end": { "line": 340, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 12588, "end": 12619, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 92 } }, "object": { "type": "MemberExpression", "start": 12588, "end": 12612, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 85 } }, "object": { "type": "MemberExpression", "start": 12588, "end": 12600, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 73 } }, "object": { "type": "ThisExpression", "start": 12588, "end": 12592, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 65 } } }, "property": { "type": "Identifier", "start": 12593, "end": 12600, "loc": { "start": { "line": 340, "column": 66 }, "end": { "line": 340, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12601, "end": 12612, "loc": { "start": { "line": 340, "column": 74 }, "end": { "line": 340, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12613, "end": 12619, "loc": { "start": { "line": 340, "column": 86 }, "end": { "line": 340, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12620, "end": 13616, "loc": { "start": { "line": 340, "column": 93 }, "end": { "line": 372, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12629, "end": 12666, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12633, "end": 12665, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 42 } }, "id": { "type": "Identifier", "start": 12633, "end": 12644, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 12647, "end": 12665, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12647, "end": 12660, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 37 } }, "object": { "type": "Identifier", "start": 12647, "end": 12654, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 12655, "end": 12660, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12661, "end": 12664, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 12674, "end": 13585, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 9 } }, "expression": { "type": "CallExpression", "start": 12674, "end": 13584, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 12674, "end": 12693, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 25 } }, "object": { "type": "Identifier", "start": 12674, "end": 12685, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 12686, "end": 12693, "loc": { "start": { "line": 342, "column": 18 }, "end": { "line": 342, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12694, "end": 13583, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 369, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12695, "end": 12701, "loc": { "start": { "line": 342, "column": 27 }, "end": { "line": 342, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 12703, "end": 12706, "loc": { "start": { "line": 342, "column": 35 }, "end": { "line": 342, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12711, "end": 13583, "loc": { "start": { "line": 342, "column": 43 }, "end": { "line": 369, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12722, "end": 13574, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 11 } }, "expression": { "type": "CallExpression", "start": 12722, "end": 13573, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 12722, "end": 12750, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 36 } }, "object": { "type": "MemberExpression", "start": 12722, "end": 12746, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 32 } }, "object": { "type": "MemberExpression", "start": 12722, "end": 12734, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12722, "end": 12726, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 12 } } }, "property": { "type": "Identifier", "start": 12727, "end": 12734, "loc": { "start": { "line": 343, "column": 13 }, "end": { "line": 343, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12735, "end": 12746, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12747, "end": 12750, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12751, "end": 13572, "loc": { "start": { "line": 343, "column": 37 }, "end": { "line": 368, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12752, "end": 12763, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 12765, "end": 12770, "loc": { "start": { "line": 343, "column": 51 }, "end": { "line": 343, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 12775, "end": 13572, "loc": { "start": { "line": 343, "column": 61 }, "end": { "line": 368, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 12943, "end": 13528, "loc": { "start": { "line": 349, "column": 10 }, "end": { "line": 365, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 12960, "end": 13039, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 351, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 12961, "end": 13011, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 63 } }, "left": { "type": "Identifier", "start": 12961, "end": 12970, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12974, "end": 13011, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 12974, "end": 12992, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 44 } }, "object": { "type": "Identifier", "start": 12974, "end": 12983, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 12984, "end": 12992, "loc": { "start": { "line": 350, "column": 36 }, "end": { "line": 350, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12993, "end": 13010, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 62 } }, "object": { "type": "Identifier", "start": 12993, "end": 13004, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13005, "end": 13010, "loc": { "start": { "line": 350, "column": 57 }, "end": { "line": 350, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 12960 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13029, "end": 13039, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13030, "end": 13039, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13052, "end": 13528, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 365, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 13067, "end": 13156, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13071, "end": 13155, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 100 } }, "id": { "type": "Identifier", "start": 13071, "end": 13090, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 13093, "end": 13155, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 13093, "end": 13130, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 75 } }, "object": { "type": "CallExpression", "start": 13093, "end": 13123, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 13093, "end": 13118, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 63 } }, "object": { "type": "MemberExpression", "start": 13093, "end": 13112, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 57 } }, "object": { "type": "Identifier", "start": 13093, "end": 13104, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13105, "end": 13112, "loc": { "start": { "line": 353, "column": 50 }, "end": { "line": 353, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13113, "end": 13118, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13119, "end": 13122, "loc": { "start": { "line": 353, "column": 64 }, "end": { "line": 353, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13124, "end": 13130, "loc": { "start": { "line": 353, "column": 69 }, "end": { "line": 353, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13131, "end": 13154, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 13131, "end": 13135, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 13139, "end": 13154, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 99 } }, "left": { "type": "Identifier", "start": 13139, "end": 13143, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 13148, "end": 13154, "loc": { "start": { "line": 353, "column": 93 }, "end": { "line": 353, "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": 13172, "end": 13269, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } } ] }, { "type": "IfStatement", "start": 13283, "end": 13512, "loc": { "start": { "line": 358, "column": 12 }, "end": { "line": 363, "column": 13 } }, "test": { "type": "MemberExpression", "start": 13286, "end": 13312, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 41 } }, "object": { "type": "Identifier", "start": 13286, "end": 13305, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 13306, "end": 13312, "loc": { "start": { "line": 358, "column": 35 }, "end": { "line": 358, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13313, "end": 13397, "loc": { "start": { "line": 358, "column": 42 }, "end": { "line": 360, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13330, "end": 13382, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 13330, "end": 13381, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13330, "end": 13349, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 33 } }, "object": { "type": "Identifier", "start": 13330, "end": 13341, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13342, "end": 13349, "loc": { "start": { "line": 359, "column": 26 }, "end": { "line": 359, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 13352, "end": 13381, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13352, "end": 13376, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 60 } }, "object": { "type": "Identifier", "start": 13352, "end": 13371, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 13372, "end": 13376, "loc": { "start": { "line": 359, "column": 56 }, "end": { "line": 359, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13377, "end": 13380, "loc": { "start": { "line": 359, "column": 61 }, "end": { "line": 359, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 13403, "end": 13512, "loc": { "start": { "line": 360, "column": 19 }, "end": { "line": 363, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13420, "end": 13462, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 56 } }, "expression": { "type": "CallExpression", "start": 13420, "end": 13461, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 13420, "end": 13451, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 45 } }, "object": { "type": "MemberExpression", "start": 13420, "end": 13444, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13420, "end": 13432, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 26 } }, "object": { "type": "ThisExpression", "start": 13420, "end": 13424, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 } } }, "property": { "type": "Identifier", "start": 13425, "end": 13432, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13433, "end": 13444, "loc": { "start": { "line": 361, "column": 27 }, "end": { "line": 361, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 13445, "end": 13451, "loc": { "start": { "line": 361, "column": 39 }, "end": { "line": 361, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13452, "end": 13457, "loc": { "start": { "line": 361, "column": 46 }, "end": { "line": 361, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 13459, "end": 13460, "loc": { "start": { "line": 361, "column": 53 }, "end": { "line": 361, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 13478, "end": 13497, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 13478, "end": 13496, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 13478, "end": 13489, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 13492, "end": 13496, "loc": { "start": { "line": 362, "column": 28 }, "end": { "line": 362, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13172, "end": 13269, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "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": 12790, "end": 12931, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 13542, "end": 13561, "loc": { "start": { "line": 367, "column": 10 }, "end": { "line": 367, "column": 29 } }, "argument": { "type": "Identifier", "start": 13549, "end": 13560, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 13595, "end": 13609, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 20 } }, "expression": { "type": "CallExpression", "start": 13595, "end": 13608, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 13595, "end": 13606, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 17 } }, "object": { "type": "ThisExpression", "start": 13595, "end": 13599, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 10 } } }, "property": { "type": "Identifier", "start": 13600, "end": 13606, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "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": 12457, "end": 12525, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "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": 11853, "end": 12193, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "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": 13627, "end": 13830, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 13834, "end": 14108, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 392, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13834, "end": 13850, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 13853, "end": 14108, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 392, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13854, "end": 13860, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13865, "end": 14108, "loc": { "start": { "line": 379, "column": 33 }, "end": { "line": 392, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 13872, "end": 13883, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13876, "end": 13882, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 } }, "id": { "type": "Identifier", "start": 13876, "end": 13882, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 13891, "end": 13935, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13895, "end": 13934, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 47 } }, "id": { "type": "Identifier", "start": 13895, "end": 13904, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 13907, "end": 13934, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 47 } }, "object": { "type": "MemberExpression", "start": 13907, "end": 13926, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 39 } }, "object": { "type": "ThisExpression", "start": 13907, "end": 13911, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 24 } } }, "property": { "type": "Identifier", "start": 13912, "end": 13926, "loc": { "start": { "line": 382, "column": 25 }, "end": { "line": 382, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 13927, "end": 13933, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 13941, "end": 14081, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 389, "column": 5 } }, "test": { "type": "Identifier", "start": 13944, "end": 13953, "loc": { "start": { "line": 383, "column": 7 }, "end": { "line": 383, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 13954, "end": 14081, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 389, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13963, "end": 14074, "loc": { "start": { "line": 384, "column": 6 }, "end": { "line": 388, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 13966, "end": 13986, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 29 } }, "left": { "type": "MemberExpression", "start": 13966, "end": 13982, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 25 } }, "object": { "type": "Identifier", "start": 13966, "end": 13975, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 13976, "end": 13982, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 384, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 13985, "end": 13986, "loc": { "start": { "line": 384, "column": 28 }, "end": { "line": 384, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13987, "end": 14026, "loc": { "start": { "line": 384, "column": 30 }, "end": { "line": 386, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 13998, "end": 14017, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 13998, "end": 14016, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 13998, "end": 14004, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 14007, "end": 14016, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 14032, "end": 14074, "loc": { "start": { "line": 386, "column": 13 }, "end": { "line": 388, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 14043, "end": 14065, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 14043, "end": 14064, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 14043, "end": 14049, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 14052, "end": 14064, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 29 } }, "object": { "type": "Identifier", "start": 14052, "end": 14061, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 14062, "end": 14063, "loc": { "start": { "line": 387, "column": 27 }, "end": { "line": 387, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14089, "end": 14103, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 18 } }, "argument": { "type": "Identifier", "start": 14096, "end": 14102, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "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": 13627, "end": 13830, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14114, "end": 14204, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14208, "end": 14518, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 405, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14208, "end": 14219, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 397, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14222, "end": 14518, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 405, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 14228, "end": 14518, "loc": { "start": { "line": 397, "column": 22 }, "end": { "line": 405, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14235, "end": 14311, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 400, "column": 5 } }, "test": { "type": "MemberExpression", "start": 14238, "end": 14256, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 25 } }, "object": { "type": "MemberExpression", "start": 14238, "end": 14250, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 19 } }, "object": { "type": "ThisExpression", "start": 14238, "end": 14242, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 11 } } }, "property": { "type": "Identifier", "start": 14243, "end": 14250, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14251, "end": 14256, "loc": { "start": { "line": 398, "column": 20 }, "end": { "line": 398, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 14257, "end": 14311, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 400, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14266, "end": 14304, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14266, "end": 14303, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14266, "end": 14277, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 17 } }, "object": { "type": "Identifier", "start": 14266, "end": 14273, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 14274, "end": 14277, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14278, "end": 14302, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 14319, "end": 14378, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 63 } }, "expression": { "type": "CallExpression", "start": 14319, "end": 14377, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14319, "end": 14344, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 29 } }, "object": { "type": "Identifier", "start": 14319, "end": 14327, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14328, "end": 14344, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14345, "end": 14352, "loc": { "start": { "line": 402, "column": 30 }, "end": { "line": 402, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 14354, "end": 14376, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 61 } }, "object": { "type": "ThisExpression", "start": 14354, "end": 14358, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 } } }, "property": { "type": "Identifier", "start": 14359, "end": 14376, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14384, "end": 14445, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 65 } }, "expression": { "type": "CallExpression", "start": 14384, "end": 14444, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 14384, "end": 14409, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 29 } }, "object": { "type": "Identifier", "start": 14384, "end": 14392, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14393, "end": 14409, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14410, "end": 14419, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 403, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 14421, "end": 14443, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 63 } }, "object": { "type": "ThisExpression", "start": 14421, "end": 14425, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 45 } } }, "property": { "type": "Identifier", "start": 14426, "end": 14443, "loc": { "start": { "line": 403, "column": 46 }, "end": { "line": 403, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14451, "end": 14513, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 66 } }, "expression": { "type": "CallExpression", "start": 14451, "end": 14512, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14451, "end": 14476, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 29 } }, "object": { "type": "Identifier", "start": 14451, "end": 14459, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14460, "end": 14476, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14477, "end": 14487, "loc": { "start": { "line": 404, "column": 30 }, "end": { "line": 404, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 14489, "end": 14511, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 64 } }, "object": { "type": "ThisExpression", "start": 14489, "end": 14493, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 46 } } }, "property": { "type": "Identifier", "start": 14494, "end": 14511, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14114, "end": 14204, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "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": 14524, "end": 14636, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14640, "end": 15197, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 427, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14640, "end": 14657, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 410, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14660, "end": 15197, "loc": { "start": { "line": 410, "column": 22 }, "end": { "line": 427, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14661, "end": 14666, "loc": { "start": { "line": 410, "column": 23 }, "end": { "line": 410, "column": 28 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 14671, "end": 15197, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 427, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 14678, "end": 14733, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14682, "end": 14732, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 58 } }, "id": { "type": "Identifier", "start": 14682, "end": 14695, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 14698, "end": 14732, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 14698, "end": 14730, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 56 } }, "object": { "type": "MemberExpression", "start": 14698, "end": 14718, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 44 } }, "object": { "type": "MemberExpression", "start": 14698, "end": 14710, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 36 } }, "object": { "type": "Identifier", "start": 14698, "end": 14703, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14704, "end": 14710, "loc": { "start": { "line": 411, "column": 30 }, "end": { "line": 411, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 14711, "end": 14718, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 411, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 14719, "end": 14730, "loc": { "start": { "line": 411, "column": 45 }, "end": { "line": 411, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14741, "end": 15192, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14752, "end": 14816, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 14752, "end": 14780, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 34 } }, "left": { "type": "Identifier", "start": 14752, "end": 14765, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14770, "end": 14780, "loc": { "start": { "line": 414, "column": 24 }, "end": { "line": 414, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 14791, "end": 14816, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "Identifier", "start": 14791, "end": 14804, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14809, "end": 14816, "loc": { "start": { "line": 415, "column": 24 }, "end": { "line": 415, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 14823, "end": 15192, "loc": { "start": { "line": 416, "column": 5 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14988, "end": 15037, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 14988, "end": 15036, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14988, "end": 15006, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 24 } }, "object": { "type": "ThisExpression", "start": 14988, "end": 14992, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14993, "end": 15006, "loc": { "start": { "line": 421, "column": 11 }, "end": { "line": 421, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 15009, "end": 15036, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 54 } }, "object": { "type": "MemberExpression", "start": 15009, "end": 15021, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 39 } }, "object": { "type": "Identifier", "start": 15009, "end": 15014, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15015, "end": 15021, "loc": { "start": { "line": 421, "column": 33 }, "end": { "line": 421, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15022, "end": 15036, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "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": 14832, "end": 14980, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "column": 9 } } } ] }, { "type": "IfStatement", "start": 15047, "end": 15180, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 425, "column": 7 } }, "test": { "type": "MemberExpression", "start": 15050, "end": 15068, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15050, "end": 15062, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 21 } }, "object": { "type": "ThisExpression", "start": 15050, "end": 15054, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 13 } } }, "property": { "type": "Identifier", "start": 15055, "end": 15062, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15063, "end": 15068, "loc": { "start": { "line": 423, "column": 22 }, "end": { "line": 423, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15069, "end": 15180, "loc": { "start": { "line": 423, "column": 28 }, "end": { "line": 425, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15080, "end": 15171, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 99 } }, "expression": { "type": "CallExpression", "start": 15080, "end": 15170, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 15080, "end": 15091, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 19 } }, "object": { "type": "Identifier", "start": 15080, "end": 15087, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15088, "end": 15091, "loc": { "start": { "line": 424, "column": 16 }, "end": { "line": 424, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15092, "end": 15104, "loc": { "start": { "line": 424, "column": 20 }, "end": { "line": 424, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 15106, "end": 15133, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 61 } }, "object": { "type": "MemberExpression", "start": 15106, "end": 15118, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 46 } }, "object": { "type": "Identifier", "start": 15106, "end": 15111, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15112, "end": 15118, "loc": { "start": { "line": 424, "column": 40 }, "end": { "line": 424, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15119, "end": 15133, "loc": { "start": { "line": 424, "column": 47 }, "end": { "line": 424, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 15135, "end": 15169, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 15135, "end": 15167, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 95 } }, "object": { "type": "MemberExpression", "start": 15135, "end": 15155, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 83 } }, "object": { "type": "MemberExpression", "start": 15135, "end": 15147, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 75 } }, "object": { "type": "Identifier", "start": 15135, "end": 15140, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15141, "end": 15147, "loc": { "start": { "line": 424, "column": 69 }, "end": { "line": 424, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15148, "end": 15155, "loc": { "start": { "line": 424, "column": 76 }, "end": { "line": 424, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 15156, "end": 15167, "loc": { "start": { "line": 424, "column": 84 }, "end": { "line": 424, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 14524, "end": 14636, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "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": 15203, "end": 15323, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15327, "end": 15570, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 444, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15327, "end": 15333, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 432, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15336, "end": 15570, "loc": { "start": { "line": 432, "column": 11 }, "end": { "line": 444, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15342, "end": 15570, "loc": { "start": { "line": 432, "column": 17 }, "end": { "line": 444, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15349, "end": 15414, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 435, "column": 5 } }, "test": { "type": "MemberExpression", "start": 15352, "end": 15370, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15352, "end": 15364, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 19 } }, "object": { "type": "ThisExpression", "start": 15352, "end": 15356, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 11 } } }, "property": { "type": "Identifier", "start": 15357, "end": 15364, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15365, "end": 15370, "loc": { "start": { "line": 433, "column": 20 }, "end": { "line": 433, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15371, "end": 15414, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 435, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15380, "end": 15407, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 33 } }, "expression": { "type": "CallExpression", "start": 15380, "end": 15406, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 15380, "end": 15391, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 17 } }, "object": { "type": "Identifier", "start": 15380, "end": 15387, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15388, "end": 15391, "loc": { "start": { "line": 434, "column": 14 }, "end": { "line": 434, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15392, "end": 15405, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "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": 15422, "end": 15457, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 15463, "end": 15482, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 23 } }, "expression": { "type": "CallExpression", "start": 15463, "end": 15481, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 15463, "end": 15479, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15463, "end": 15467, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15468, "end": 15479, "loc": { "start": { "line": 440, "column": 9 }, "end": { "line": 440, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15422, "end": 15457, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15490, "end": 15565, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 443, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 15493, "end": 15534, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 15493, "end": 15519, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15500, "end": 15519, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 33 } }, "object": { "type": "MemberExpression", "start": 15500, "end": 15512, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15500, "end": 15504, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 18 } } }, "property": { "type": "Identifier", "start": 15505, "end": 15512, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15513, "end": 15519, "loc": { "start": { "line": 442, "column": 27 }, "end": { "line": 442, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15524, "end": 15534, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 442, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15543, "end": 15565, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 28 } }, "expression": { "type": "CallExpression", "start": 15543, "end": 15564, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 15543, "end": 15562, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15543, "end": 15555, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15543, "end": 15547, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, "property": { "type": "Identifier", "start": 15548, "end": 15555, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15556, "end": 15562, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 15203, "end": 15323, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "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": 15576, "end": 15694, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15698, "end": 15806, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 452, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15698, "end": 15706, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 449, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15709, "end": 15806, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 452, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15715, "end": 15806, "loc": { "start": { "line": 449, "column": 19 }, "end": { "line": 452, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15722, "end": 15801, "loc": { "start": { "line": 450, "column": 4 }, "end": { "line": 451, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 15725, "end": 15768, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 15725, "end": 15753, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15732, "end": 15753, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 35 } }, "object": { "type": "MemberExpression", "start": 15732, "end": 15744, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15732, "end": 15736, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 18 } } }, "property": { "type": "Identifier", "start": 15737, "end": 15744, "loc": { "start": { "line": 450, "column": 19 }, "end": { "line": 450, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15745, "end": 15753, "loc": { "start": { "line": 450, "column": 27 }, "end": { "line": 450, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15758, "end": 15768, "loc": { "start": { "line": 450, "column": 40 }, "end": { "line": 450, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15777, "end": 15801, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 30 } }, "expression": { "type": "CallExpression", "start": 15777, "end": 15800, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 15777, "end": 15798, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15777, "end": 15789, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15777, "end": 15781, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 10 } } }, "property": { "type": "Identifier", "start": 15782, "end": 15789, "loc": { "start": { "line": 451, "column": 11 }, "end": { "line": 451, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15790, "end": 15798, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 451, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 15576, "end": 15694, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15812, "end": 15868, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15872, "end": 20001, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 593, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15872, "end": 15878, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15881, "end": 20001, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 593, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15887, "end": 20001, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 593, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 15935, "end": 15948, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 17 } }, "expression": { "type": "CallExpression", "start": 15935, "end": 15947, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 15935, "end": 15945, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 14 } }, "object": { "type": "ThisExpression", "start": 15935, "end": 15939, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15940, "end": 15945, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15894, "end": 15929, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 15956, "end": 16056, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15960, "end": 16055, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 103 } }, "id": { "type": "Identifier", "start": 15960, "end": 15971, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 15974, "end": 16055, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 103 } }, "test": { "type": "MemberExpression", "start": 15974, "end": 15993, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 41 } }, "object": { "type": "MemberExpression", "start": 15974, "end": 15986, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 34 } }, "object": { "type": "ThisExpression", "start": 15974, "end": 15978, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 26 } } }, "property": { "type": "Identifier", "start": 15979, "end": 15986, "loc": { "start": { "line": 463, "column": 27 }, "end": { "line": 463, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15987, "end": 15993, "loc": { "start": { "line": 463, "column": 35 }, "end": { "line": 463, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 15996, "end": 16014, "loc": { "start": { "line": 463, "column": 44 }, "end": { "line": 463, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 16017, "end": 16055, "loc": { "start": { "line": 463, "column": 65 }, "end": { "line": 463, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 16030, "end": 16053, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 101 } }, "object": { "type": "MemberExpression", "start": 16030, "end": 16042, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 90 } }, "object": { "type": "ThisExpression", "start": 16030, "end": 16034, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 82 } } }, "property": { "type": "Identifier", "start": 16035, "end": 16042, "loc": { "start": { "line": 463, "column": 83 }, "end": { "line": 463, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16043, "end": 16053, "loc": { "start": { "line": 463, "column": 91 }, "end": { "line": 463, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 16018, "end": 16028, "loc": { "start": { "line": 463, "column": 66 }, "end": { "line": 463, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 16054, "end": 16054, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16062, "end": 16132, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16066, "end": 16131, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 73 } }, "id": { "type": "Identifier", "start": 16066, "end": 16072, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 16075, "end": 16131, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 73 } }, "left": { "type": "MemberExpression", "start": 16075, "end": 16094, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 36 } }, "object": { "type": "MemberExpression", "start": 16075, "end": 16087, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 29 } }, "object": { "type": "ThisExpression", "start": 16075, "end": 16079, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 21 } } }, "property": { "type": "Identifier", "start": 16080, "end": 16087, "loc": { "start": { "line": 464, "column": 22 }, "end": { "line": 464, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16088, "end": 16094, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 16098, "end": 16131, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 16098, "end": 16129, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 71 } }, "object": { "type": "Identifier", "start": 16098, "end": 16112, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 16113, "end": 16129, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "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": 16140, "end": 16192, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 16198, "end": 16226, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16202, "end": 16225, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 31 } }, "id": { "type": "Identifier", "start": 16202, "end": 16220, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 16223, "end": 16225, "loc": { "start": { "line": 469, "column": 29 }, "end": { "line": 469, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16140, "end": 16192, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "IfStatement", "start": 16232, "end": 17371, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "CallExpression", "start": 16235, "end": 16274, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 16235, "end": 16248, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 20 } }, "object": { "type": "Identifier", "start": 16235, "end": 16240, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 16241, "end": 16248, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16249, "end": 16273, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16249, "end": 16261, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 33 } }, "object": { "type": "ThisExpression", "start": 16249, "end": 16253, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 25 } } }, "property": { "type": "Identifier", "start": 16254, "end": 16261, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16262, "end": 16273, "loc": { "start": { "line": 470, "column": 34 }, "end": { "line": 470, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 16275, "end": 17371, "loc": { "start": { "line": 470, "column": 47 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16284, "end": 17364, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 9 } }, "expression": { "type": "CallExpression", "start": 16284, "end": 17363, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 16284, "end": 16316, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16284, "end": 16308, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 30 } }, "object": { "type": "MemberExpression", "start": 16284, "end": 16296, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 18 } }, "object": { "type": "ThisExpression", "start": 16284, "end": 16288, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 10 } } }, "property": { "type": "Identifier", "start": 16289, "end": 16296, "loc": { "start": { "line": 471, "column": 11 }, "end": { "line": 471, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16297, "end": 16308, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 471, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16309, "end": 16316, "loc": { "start": { "line": 471, "column": 31 }, "end": { "line": 471, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16317, "end": 17362, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 497, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16317, "end": 16325, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 471, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 16329, "end": 17362, "loc": { "start": { "line": 471, "column": 51 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 16340, "end": 17353, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 496, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 16343, "end": 16377, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 45 } }, "left": { "type": "MemberExpression", "start": 16343, "end": 16359, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 27 } }, "object": { "type": "Identifier", "start": 16343, "end": 16351, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16352, "end": 16359, "loc": { "start": { "line": 472, "column": 20 }, "end": { "line": 472, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 16363, "end": 16377, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 45 } }, "object": { "type": "Identifier", "start": 16363, "end": 16371, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16372, "end": 16377, "loc": { "start": { "line": 472, "column": 40 }, "end": { "line": 472, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 16378, "end": 17219, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 494, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16391, "end": 16408, "loc": { "start": { "line": 473, "column": 10 }, "end": { "line": 473, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16395, "end": 16407, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 } }, "id": { "type": "Identifier", "start": 16395, "end": 16407, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 16422, "end": 16533, "loc": { "start": { "line": 475, "column": 10 }, "end": { "line": 477, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 16425, "end": 16461, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 16425, "end": 16448, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 16432, "end": 16448, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 36 } }, "object": { "type": "Identifier", "start": 16432, "end": 16440, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16441, "end": 16448, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 16453, "end": 16461, "loc": { "start": { "line": 475, "column": 41 }, "end": { "line": 475, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 16462, "end": 16533, "loc": { "start": { "line": 475, "column": 50 }, "end": { "line": 477, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16477, "end": 16520, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 16477, "end": 16519, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 16477, "end": 16489, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 16492, "end": 16519, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 16492, "end": 16514, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 49 } }, "object": { "type": "MemberExpression", "start": 16492, "end": 16508, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 43 } }, "object": { "type": "Identifier", "start": 16492, "end": 16500, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16501, "end": 16508, "loc": { "start": { "line": 476, "column": 36 }, "end": { "line": 476, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16509, "end": 16514, "loc": { "start": { "line": 476, "column": 44 }, "end": { "line": 476, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16515, "end": 16518, "loc": { "start": { "line": 476, "column": 50 }, "end": { "line": 476, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 16547, "end": 17208, "loc": { "start": { "line": 479, "column": 10 }, "end": { "line": 493, "column": 11 } }, "test": { "type": "Identifier", "start": 16550, "end": 16562, "loc": { "start": { "line": 479, "column": 13 }, "end": { "line": 479, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 16563, "end": 17208, "loc": { "start": { "line": 479, "column": 26 }, "end": { "line": 493, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16578, "end": 17195, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 15 } }, "expression": { "type": "CallExpression", "start": 16578, "end": 17194, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 16578, "end": 16598, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 32 } }, "object": { "type": "Identifier", "start": 16578, "end": 16590, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 16591, "end": 16598, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16599, "end": 17193, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 492, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16599, "end": 16610, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 16614, "end": 17193, "loc": { "start": { "line": 480, "column": 48 }, "end": { "line": 492, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 16631, "end": 16681, "loc": { "start": { "line": 481, "column": 14 }, "end": { "line": 481, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16635, "end": 16680, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 63 } }, "id": { "type": "Identifier", "start": 16635, "end": 16646, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 16649, "end": 16680, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 63 } }, "object": { "type": "Identifier", "start": 16649, "end": 16667, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 16668, "end": 16679, "loc": { "start": { "line": 481, "column": 51 }, "end": { "line": 481, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16699, "end": 16738, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] }, { "type": "IfStatement", "start": 16754, "end": 17178, "loc": { "start": { "line": 484, "column": 14 }, "end": { "line": 491, "column": 15 } }, "test": { "type": "Identifier", "start": 16757, "end": 16768, "loc": { "start": { "line": 484, "column": 17 }, "end": { "line": 484, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16769, "end": 17087, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 489, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 16889, "end": 17070, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 488, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 16892, "end": 16960, "loc": { "start": { "line": 486, "column": 19 }, "end": { "line": 486, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 16893, "end": 16960, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 16893, "end": 16920, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16893, "end": 16907, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 34 } }, "object": { "type": "ThisExpression", "start": 16893, "end": 16897, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 16898, "end": 16907, "loc": { "start": { "line": 486, "column": 25 }, "end": { "line": 486, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 16908, "end": 16920, "loc": { "start": { "line": 486, "column": 35 }, "end": { "line": 486, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 16921, "end": 16943, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 16921, "end": 16938, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 65 } }, "object": { "type": "Identifier", "start": 16921, "end": 16932, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 16933, "end": 16938, "loc": { "start": { "line": 486, "column": 60 }, "end": { "line": 486, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16939, "end": 16942, "loc": { "start": { "line": 486, "column": 66 }, "end": { "line": 486, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 16945, "end": 16959, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 86 } }, "object": { "type": "Identifier", "start": 16945, "end": 16953, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16954, "end": 16959, "loc": { "start": { "line": 486, "column": 81 }, "end": { "line": 486, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16961, "end": 17070, "loc": { "start": { "line": 486, "column": 88 }, "end": { "line": 488, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 16982, "end": 17051, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 16982, "end": 17050, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16982, "end": 17013, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 49 } }, "object": { "type": "Identifier", "start": 16982, "end": 17000, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17001, "end": 17012, "loc": { "start": { "line": 487, "column": 37 }, "end": { "line": 487, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 17016, "end": 17050, "loc": { "start": { "line": 487, "column": 52 }, "end": { "line": 487, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 17019, "end": 17030, "loc": { "start": { "line": 487, "column": 55 }, "end": { "line": 487, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 17034, "end": 17048, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 84 } }, "object": { "type": "Identifier", "start": 17034, "end": 17042, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17043, "end": 17048, "loc": { "start": { "line": 487, "column": 79 }, "end": { "line": 487, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 17017, "end": 17017, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 17031, "end": 17032, "loc": { "start": { "line": 487, "column": 67 }, "end": { "line": 487, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17049, "end": 17049, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "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": 16788, "end": 16871, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17093, "end": 17178, "loc": { "start": { "line": 489, "column": 21 }, "end": { "line": 491, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 17112, "end": 17161, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 17112, "end": 17160, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17112, "end": 17143, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 47 } }, "object": { "type": "Identifier", "start": 17112, "end": 17130, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17131, "end": 17142, "loc": { "start": { "line": 490, "column": 35 }, "end": { "line": 490, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 17146, "end": 17160, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 64 } }, "object": { "type": "Identifier", "start": 17146, "end": 17154, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17155, "end": 17160, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16699, "end": 16738, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17225, "end": 17353, "loc": { "start": { "line": 494, "column": 15 }, "end": { "line": 496, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 17238, "end": 17342, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "expression": { "type": "CallExpression", "start": 17238, "end": 17342, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 17238, "end": 17250, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 22 } }, "object": { "type": "Identifier", "start": 17238, "end": 17245, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17246, "end": 17250, "loc": { "start": { "line": 495, "column": 18 }, "end": { "line": 495, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 17251, "end": 17341, "loc": { "start": { "line": 495, "column": 23 }, "end": { "line": 495, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 17252, "end": 17340, "loc": { "start": { "line": 495, "column": 24 }, "end": { "line": 495, "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": 17379, "end": 17445, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17451, "end": 17521, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 17451, "end": 17520, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17451, "end": 17477, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 30 } }, "object": { "type": "MemberExpression", "start": 17451, "end": 17467, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17451, "end": 17455, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17456, "end": 17467, "loc": { "start": { "line": 503, "column": 9 }, "end": { "line": 503, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 17468, "end": 17477, "loc": { "start": { "line": 503, "column": 21 }, "end": { "line": 503, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 17481, "end": 17520, "loc": { "start": { "line": 503, "column": 34 }, "end": { "line": 503, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 17485, "end": 17503, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17485, "end": 17497, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 50 } }, "object": { "type": "ThisExpression", "start": 17485, "end": 17489, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 42 } } }, "property": { "type": "Identifier", "start": 17490, "end": 17497, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17498, "end": 17503, "loc": { "start": { "line": 503, "column": 51 }, "end": { "line": 503, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 17507, "end": 17518, "loc": { "start": { "line": 503, "column": 60 }, "end": { "line": 503, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 17482, "end": 17483, "loc": { "start": { "line": 503, "column": 35 }, "end": { "line": 503, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17504, "end": 17505, "loc": { "start": { "line": 503, "column": 57 }, "end": { "line": 503, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17519, "end": 17519, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17379, "end": 17445, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17529, "end": 17576, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17582, "end": 19699, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 7 } }, "expression": { "type": "CallExpression", "start": 17582, "end": 19698, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 17582, "end": 17621, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 43 } }, "object": { "type": "MemberExpression", "start": 17582, "end": 17613, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 35 } }, "object": { "type": "Identifier", "start": 17582, "end": 17588, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 17589, "end": 17612, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 34 } }, "object": { "type": "MemberExpression", "start": 17589, "end": 17601, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 23 } }, "object": { "type": "ThisExpression", "start": 17589, "end": 17593, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 15 } } }, "property": { "type": "Identifier", "start": 17594, "end": 17601, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17602, "end": 17612, "loc": { "start": { "line": 508, "column": 24 }, "end": { "line": 508, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 17614, "end": 17621, "loc": { "start": { "line": 508, "column": 36 }, "end": { "line": 508, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17622, "end": 19697, "loc": { "start": { "line": 508, "column": 44 }, "end": { "line": 575, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17623, "end": 17626, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 17628, "end": 17634, "loc": { "start": { "line": 508, "column": 50 }, "end": { "line": 508, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 17639, "end": 19697, "loc": { "start": { "line": 508, "column": 61 }, "end": { "line": 575, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 17648, "end": 17678, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17652, "end": 17677, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 35 } }, "id": { "type": "Identifier", "start": 17652, "end": 17660, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 17663, "end": 17677, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 17663, "end": 17672, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 30 } }, "object": { "type": "Identifier", "start": 17663, "end": 17666, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 17667, "end": 17672, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17673, "end": 17676, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17688, "end": 17731, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 17739, "end": 17782, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 514, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17743, "end": 17781, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 48 } }, "id": { "type": "Identifier", "start": 17743, "end": 17749, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 17752, "end": 17781, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 17752, "end": 17774, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 41 } }, "object": { "type": "Identifier", "start": 17752, "end": 17760, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17761, "end": 17774, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17775, "end": 17780, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "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": 17688, "end": 17731, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17790, "end": 17819, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 17790, "end": 17818, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17790, "end": 17806, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 22 } }, "object": { "type": "Identifier", "start": 17790, "end": 17796, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 17797, "end": 17806, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 17810, "end": 17818, "loc": { "start": { "line": 515, "column": 26 }, "end": { "line": 515, "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": 17829, "end": 17890, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17898, "end": 19585, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 9 } }, "expression": { "type": "CallExpression", "start": 17898, "end": 19584, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 17898, "end": 17914, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 22 } }, "object": { "type": "Identifier", "start": 17898, "end": 17906, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 17907, "end": 17914, "loc": { "start": { "line": 520, "column": 15 }, "end": { "line": 520, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17915, "end": 19583, "loc": { "start": { "line": 520, "column": 23 }, "end": { "line": 569, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17916, "end": 17922, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 17924, "end": 17930, "loc": { "start": { "line": 520, "column": 32 }, "end": { "line": 520, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 17935, "end": 19583, "loc": { "start": { "line": 520, "column": 43 }, "end": { "line": 569, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 17946, "end": 18002, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17950, "end": 18001, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 63 } }, "id": { "type": "Identifier", "start": 17950, "end": 17961, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 17964, "end": 18001, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 17964, "end": 17993, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 55 } }, "object": { "type": "MemberExpression", "start": 17964, "end": 17978, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 40 } }, "object": { "type": "ThisExpression", "start": 17964, "end": 17968, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 30 } } }, "property": { "type": "Identifier", "start": 17969, "end": 17978, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 17979, "end": 17993, "loc": { "start": { "line": 521, "column": 41 }, "end": { "line": 521, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17994, "end": 18000, "loc": { "start": { "line": 521, "column": 56 }, "end": { "line": 521, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18012, "end": 18062, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18016, "end": 18061, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 57 } }, "id": { "type": "Identifier", "start": 18016, "end": 18032, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 18035, "end": 18061, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 57 } }, "object": { "type": "Identifier", "start": 18035, "end": 18053, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 18054, "end": 18060, "loc": { "start": { "line": 522, "column": 50 }, "end": { "line": 522, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18072, "end": 18189, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18076, "end": 18188, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 124 } }, "id": { "type": "Identifier", "start": 18076, "end": 18093, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 18096, "end": 18188, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 18096, "end": 18131, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 67 } }, "object": { "type": "MemberExpression", "start": 18096, "end": 18110, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 46 } }, "object": { "type": "ThisExpression", "start": 18096, "end": 18100, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 36 } } }, "property": { "type": "Identifier", "start": 18101, "end": 18110, "loc": { "start": { "line": 523, "column": 37 }, "end": { "line": 523, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18111, "end": 18131, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18132, "end": 18138, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 18140, "end": 18160, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 96 } }, "object": { "type": "MemberExpression", "start": 18140, "end": 18152, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 88 } }, "object": { "type": "ThisExpression", "start": 18140, "end": 18144, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 80 } } }, "property": { "type": "Identifier", "start": 18145, "end": 18152, "loc": { "start": { "line": 523, "column": 81 }, "end": { "line": 523, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18153, "end": 18160, "loc": { "start": { "line": 523, "column": 89 }, "end": { "line": 523, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 18162, "end": 18187, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 123 } }, "object": { "type": "MemberExpression", "start": 18162, "end": 18174, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 110 } }, "object": { "type": "ThisExpression", "start": 18162, "end": 18166, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 102 } } }, "property": { "type": "Identifier", "start": 18167, "end": 18174, "loc": { "start": { "line": 523, "column": 103 }, "end": { "line": 523, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18175, "end": 18187, "loc": { "start": { "line": 523, "column": 111 }, "end": { "line": 523, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18201, "end": 18245, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18255, "end": 18301, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18259, "end": 18300, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 53 } }, "id": { "type": "Identifier", "start": 18259, "end": 18268, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 18271, "end": 18300, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 18271, "end": 18293, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 46 } }, "object": { "type": "Identifier", "start": 18271, "end": 18279, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18280, "end": 18293, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18294, "end": 18299, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18201, "end": 18245, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18311, "end": 18408, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 18311, "end": 18407, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 18311, "end": 18330, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 27 } }, "object": { "type": "Identifier", "start": 18311, "end": 18320, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18321, "end": 18330, "loc": { "start": { "line": 529, "column": 18 }, "end": { "line": 529, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 18334, "end": 18407, "loc": { "start": { "line": 529, "column": 31 }, "end": { "line": 529, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 18347, "end": 18358, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 529, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 18361, "end": 18405, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 102 } }, "test": { "type": "Identifier", "start": 18361, "end": 18377, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 18380, "end": 18400, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 97 } }, "left": { "type": "StringLiteral", "start": 18380, "end": 18383, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 18384, "end": 18400, "loc": { "start": { "line": 529, "column": 81 }, "end": { "line": 529, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 18403, "end": 18405, "loc": { "start": { "line": 529, "column": 100 }, "end": { "line": 529, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 18335, "end": 18345, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 18359, "end": 18359, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18406, "end": 18406, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 18418, "end": 18477, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 18418, "end": 18476, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18418, "end": 18435, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 25 } }, "object": { "type": "Identifier", "start": 18418, "end": 18427, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18428, "end": 18435, "loc": { "start": { "line": 530, "column": 18 }, "end": { "line": 530, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 18438, "end": 18476, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 18444, "end": 18476, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 18444, "end": 18468, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 58 } }, "object": { "type": "ThisExpression", "start": 18444, "end": 18448, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 38 } } }, "property": { "type": "Identifier", "start": 18449, "end": 18468, "loc": { "start": { "line": 530, "column": 39 }, "end": { "line": 530, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18469, "end": 18475, "loc": { "start": { "line": 530, "column": 59 }, "end": { "line": 530, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18489, "end": 18535, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18545, "end": 18590, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 53 } }, "expression": { "type": "CallExpression", "start": 18545, "end": 18589, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 18545, "end": 18567, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 30 } }, "object": { "type": "Identifier", "start": 18545, "end": 18554, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18555, "end": 18567, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18568, "end": 18580, "loc": { "start": { "line": 535, "column": 31 }, "end": { "line": 535, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 18582, "end": 18588, "loc": { "start": { "line": 535, "column": 45 }, "end": { "line": 535, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18489, "end": 18535, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "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": 18602, "end": 18757, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18767, "end": 18833, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18771, "end": 18832, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 73 } }, "id": { "type": "Identifier", "start": 18771, "end": 18780, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 18783, "end": 18832, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 541, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 18786, "end": 18809, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 50 } }, "object": { "type": "MemberExpression", "start": 18786, "end": 18798, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 39 } }, "object": { "type": "ThisExpression", "start": 18786, "end": 18790, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 31 } } }, "property": { "type": "Identifier", "start": 18791, "end": 18798, "loc": { "start": { "line": 541, "column": 32 }, "end": { "line": 541, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18799, "end": 18809, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 18814, "end": 18820, "loc": { "start": { "line": 541, "column": 55 }, "end": { "line": 541, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 18824, "end": 18830, "loc": { "start": { "line": 541, "column": 65 }, "end": { "line": 541, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 18784, "end": 18784, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18810, "end": 18812, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 18821, "end": 18822, "loc": { "start": { "line": 541, "column": 62 }, "end": { "line": 541, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 18831, "end": 18831, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "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": 18602, "end": 18757, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18843, "end": 18894, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 59 } }, "expression": { "type": "CallExpression", "start": 18843, "end": 18893, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 18843, "end": 18865, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 30 } }, "object": { "type": "Identifier", "start": 18843, "end": 18852, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18853, "end": 18865, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18866, "end": 18881, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 18883, "end": 18892, "loc": { "start": { "line": 542, "column": 48 }, "end": { "line": 542, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18906, "end": 18955, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18965, "end": 19028, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 71 } }, "expression": { "type": "CallExpression", "start": 18965, "end": 19027, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 18965, "end": 18987, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 30 } }, "object": { "type": "Identifier", "start": 18965, "end": 18974, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18975, "end": 18987, "loc": { "start": { "line": 547, "column": 18 }, "end": { "line": 547, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18988, "end": 19007, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 547, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 19009, "end": 19026, "loc": { "start": { "line": 547, "column": 52 }, "end": { "line": 547, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18906, "end": 18955, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19040, "end": 19098, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 19108, "end": 19159, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19112, "end": 19158, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 58 } }, "id": { "type": "Identifier", "start": 19112, "end": 19125, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19128, "end": 19158, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 19128, "end": 19150, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 50 } }, "object": { "type": "Identifier", "start": 19128, "end": 19136, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 19137, "end": 19150, "loc": { "start": { "line": 552, "column": 37 }, "end": { "line": 552, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19151, "end": 19157, "loc": { "start": { "line": 552, "column": 51 }, "end": { "line": 552, "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": 19040, "end": 19098, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19169, "end": 19213, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 19169, "end": 19212, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19169, "end": 19192, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 31 } }, "object": { "type": "Identifier", "start": 19169, "end": 19182, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 19183, "end": 19192, "loc": { "start": { "line": 553, "column": 22 }, "end": { "line": 553, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 19195, "end": 19212, "loc": { "start": { "line": 553, "column": 34 }, "end": { "line": 553, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 19223, "end": 19260, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 45 } }, "expression": { "type": "CallExpression", "start": 19223, "end": 19259, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 19223, "end": 19244, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 29 } }, "object": { "type": "Identifier", "start": 19223, "end": 19232, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 19233, "end": 19244, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19245, "end": 19258, "loc": { "start": { "line": 554, "column": 30 }, "end": { "line": 554, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19272, "end": 19325, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "IfStatement", "start": 19335, "end": 19412, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 560, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 19338, "end": 19366, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19339, "end": 19366, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 39 } }, "object": { "type": "MemberExpression", "start": 19339, "end": 19358, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 31 } }, "object": { "type": "ThisExpression", "start": 19339, "end": 19343, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19344, "end": 19358, "loc": { "start": { "line": 559, "column": 17 }, "end": { "line": 559, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19359, "end": 19365, "loc": { "start": { "line": 559, "column": 32 }, "end": { "line": 559, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 19379, "end": 19412, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 19379, "end": 19411, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19379, "end": 19406, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 37 } }, "object": { "type": "MemberExpression", "start": 19379, "end": 19398, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19379, "end": 19383, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, "property": { "type": "Identifier", "start": 19384, "end": 19398, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19399, "end": 19405, "loc": { "start": { "line": 560, "column": 30 }, "end": { "line": 560, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 19409, "end": 19411, "loc": { "start": { "line": 560, "column": 40 }, "end": { "line": 560, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19272, "end": 19325, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19424, "end": 19468, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 52 } }, "expression": { "type": "CallExpression", "start": 19424, "end": 19467, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 19424, "end": 19456, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 40 } }, "object": { "type": "MemberExpression", "start": 19424, "end": 19451, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19424, "end": 19443, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 27 } }, "object": { "type": "ThisExpression", "start": 19424, "end": 19428, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 12 } } }, "property": { "type": "Identifier", "start": 19429, "end": 19443, "loc": { "start": { "line": 562, "column": 13 }, "end": { "line": 562, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19444, "end": 19450, "loc": { "start": { "line": 562, "column": 28 }, "end": { "line": 562, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 19452, "end": 19456, "loc": { "start": { "line": 562, "column": 36 }, "end": { "line": 562, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19457, "end": 19466, "loc": { "start": { "line": 562, "column": 41 }, "end": { "line": 562, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19480, "end": 19532, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19542, "end": 19572, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 38 } }, "expression": { "type": "CallExpression", "start": 19542, "end": 19571, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 19542, "end": 19560, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 26 } }, "object": { "type": "Identifier", "start": 19542, "end": 19548, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 19549, "end": 19560, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19561, "end": 19570, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19480, "end": 19532, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17829, "end": 17890, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19595, "end": 19645, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19653, "end": 19690, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 43 } }, "expression": { "type": "CallExpression", "start": 19653, "end": 19689, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19653, "end": 19681, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19653, "end": 19669, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19653, "end": 19657, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19658, "end": 19669, "loc": { "start": { "line": 574, "column": 11 }, "end": { "line": 574, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19670, "end": 19681, "loc": { "start": { "line": 574, "column": 23 }, "end": { "line": 574, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19682, "end": 19688, "loc": { "start": { "line": 574, "column": 35 }, "end": { "line": 574, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19595, "end": 19645, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17529, "end": 17576, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19707, "end": 19744, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19750, "end": 19766, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19750, "end": 19765, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19750, "end": 19763, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19750, "end": 19754, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19755, "end": 19763, "loc": { "start": { "line": 580, "column": 9 }, "end": { "line": 580, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19707, "end": 19744, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19774, "end": 19996, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 592, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 19777, "end": 19794, "loc": { "start": { "line": 582, "column": 7 }, "end": { "line": 582, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19778, "end": 19794, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 24 } }, "object": { "type": "ThisExpression", "start": 19778, "end": 19782, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 12 } } }, "property": { "type": "Identifier", "start": 19783, "end": 19794, "loc": { "start": { "line": 582, "column": 13 }, "end": { "line": 582, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 19795, "end": 19996, "loc": { "start": { "line": 582, "column": 25 }, "end": { "line": 592, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19894, "end": 19918, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19894, "end": 19917, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19894, "end": 19910, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19894, "end": 19898, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19899, "end": 19910, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 19913, "end": 19917, "loc": { "start": { "line": 586, "column": 25 }, "end": { "line": 586, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19804, "end": 19886, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19928, "end": 19967, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19975, "end": 19989, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19975, "end": 19988, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19975, "end": 19986, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19975, "end": 19979, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19980, "end": 19986, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19928, "end": 19967, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15812, "end": 15868, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 20008, "end": 20038, "loc": { "start": { "line": 596, "column": 0 }, "end": { "line": 596, "column": 30 } }, "declaration": { "type": "Identifier", "start": 20023, "end": 20037, "loc": { "start": { "line": 596, "column": 15 }, "end": { "line": 596, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 20008, "end": 20038, "loc": { "start": { "line": 596, "column": 0 }, "end": { "line": 596, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 20004, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 594, "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": 20004, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 594, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 5952, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 116, "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": 5952, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 116, "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 * 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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4849, "end": 4865, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 4849, "end": 4864, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4849, "end": 4859, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4849, "end": 4853, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4854, "end": 4859, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 4862, "end": 4864, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4871, "end": 4911, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 4871, "end": 4910, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4871, "end": 4905, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4871, "end": 4881, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4876, "end": 4881, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 4882, "end": 4904, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4882, "end": 4894, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4882, "end": 4886, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 19 } } }, "property": { "type": "Identifier", "start": 4887, "end": 4894, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4895, "end": 4904, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 4908, "end": 4910, "loc": { "start": { "line": 81, "column": 41 }, "end": { "line": 81, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5034, "end": 5095, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 5034, "end": 5094, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5034, "end": 5055, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5034, "end": 5038, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5039, "end": 5055, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 5058, "end": 5094, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5090, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "CallExpression", "start": 5058, "end": 5085, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5080, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 50 } }, "object": { "type": "Identifier", "start": 5058, "end": 5074, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 5075, "end": 5080, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5081, "end": 5084, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 5086, "end": 5090, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5091, "end": 5093, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5254, "end": 5279, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 5254, "end": 5278, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5254, "end": 5273, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5254, "end": 5258, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5259, "end": 5273, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 5276, "end": 5278, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5332, "end": 5511, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 101, "column": 5 } }, "test": { "type": "MemberExpression", "start": 5335, "end": 5351, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5335, "end": 5339, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5340, "end": 5351, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5360, "end": 5374, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 20 } }, "expression": { "type": "CallExpression", "start": 5360, "end": 5373, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 5360, "end": 5371, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5360, "end": 5364, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 10 } } }, "property": { "type": "Identifier", "start": 5365, "end": 5371, "loc": { "start": { "line": 97, "column": 11 }, "end": { "line": 97, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 5385, "end": 5511, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 101, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5394, "end": 5458, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 70 } }, "expression": { "type": "CallExpression", "start": 5394, "end": 5457, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 5394, "end": 5406, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 18 } }, "object": { "type": "Identifier", "start": 5394, "end": 5401, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 5402, "end": 5406, "loc": { "start": { "line": 99, "column": 14 }, "end": { "line": 99, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 5407, "end": 5456, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 5411, "end": 5427, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 5408, "end": 5409, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 5428, "end": 5455, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 5466, "end": 5504, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "column": 44 } }, "argument": { "type": "NewExpression", "start": 5472, "end": 5503, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 43 } }, "callee": { "type": "Identifier", "start": 5476, "end": 5481, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 5482, "end": 5502, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "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": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5638, "end": 5723, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 108, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 5641, "end": 5675, "loc": { "start": { "line": 107, "column": 7 }, "end": { "line": 107, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5642, "end": 5675, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 41 } }, "object": { "type": "Identifier", "start": 5642, "end": 5648, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 5649, "end": 5674, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 107, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5684, "end": 5723, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5684, "end": 5722, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5684, "end": 5717, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 39 } }, "object": { "type": "Identifier", "start": 5684, "end": 5690, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5691, "end": 5716, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 5720, "end": 5722, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 108, "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": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5737, "end": 5827, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 5737, "end": 5826, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5737, "end": 5819, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 86 } }, "object": { "type": "MemberExpression", "start": 5737, "end": 5770, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 37 } }, "object": { "type": "Identifier", "start": 5737, "end": 5743, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5744, "end": 5769, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 5771, "end": 5818, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 5771, "end": 5795, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 62 } }, "object": { "type": "MemberExpression", "start": 5771, "end": 5785, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 52 } }, "object": { "type": "ThisExpression", "start": 5771, "end": 5775, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 42 } } }, "property": { "type": "Identifier", "start": 5776, "end": 5785, "loc": { "start": { "line": 110, "column": 43 }, "end": { "line": 110, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 5786, "end": 5795, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5796, "end": 5817, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 84 } }, "object": { "type": "ThisExpression", "start": 5796, "end": 5800, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 67 } } }, "property": { "type": "Identifier", "start": 5801, "end": 5817, "loc": { "start": { "line": 110, "column": 68 }, "end": { "line": 110, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 5822, "end": 5826, "loc": { "start": { "line": 110, "column": 89 }, "end": { "line": 110, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5887, "end": 5947, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 5887, "end": 5946, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5887, "end": 5917, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5887, "end": 5891, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5892, "end": 5917, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 5920, "end": 5946, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 63 } }, "callee": { "type": "Identifier", "start": 5924, "end": 5940, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 5941, "end": 5945, "loc": { "start": { "line": 115, "column": 58 }, "end": { "line": 115, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] } ], "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 6072, "end": 7466, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 171, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6072, "end": 6091, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 6094, "end": 7466, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 171, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6095, "end": 6101, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 31 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 6106, "end": 7466, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 171, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 6113, "end": 6144, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6117, "end": 6143, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 34 } }, "id": { "type": "Identifier", "start": 6117, "end": 6122, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 6125, "end": 6143, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 34 } }, "object": { "type": "MemberExpression", "start": 6125, "end": 6137, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 28 } }, "object": { "type": "ThisExpression", "start": 6125, "end": 6129, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, "property": { "type": "Identifier", "start": 6130, "end": 6137, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6138, "end": 6143, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6207, "end": 6249, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 128, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 6210, "end": 6227, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 24 } }, "left": { "type": "Identifier", "start": 6210, "end": 6216, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6221, "end": 6227, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 6236, "end": 6249, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 6243, "end": 6248, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6302, "end": 6391, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 134, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 6305, "end": 6350, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 6305, "end": 6335, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 6312, "end": 6335, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6312, "end": 6324, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 26 } }, "object": { "type": "ThisExpression", "start": 6312, "end": 6316, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6317, "end": 6324, "loc": { "start": { "line": 133, "column": 19 }, "end": { "line": 133, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6325, "end": 6335, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6340, "end": 6350, "loc": { "start": { "line": 133, "column": 42 }, "end": { "line": 133, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6359, "end": 6391, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 38 } }, "expression": { "type": "CallExpression", "start": 6359, "end": 6390, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 6359, "end": 6382, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 29 } }, "object": { "type": "MemberExpression", "start": 6359, "end": 6371, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6359, "end": 6363, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 10 } } }, "property": { "type": "Identifier", "start": 6364, "end": 6371, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6372, "end": 6382, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6383, "end": 6389, "loc": { "start": { "line": 134, "column": 30 }, "end": { "line": 134, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6403, "end": 6490, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 137, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 6406, "end": 6441, "loc": { "start": { "line": 136, "column": 7 }, "end": { "line": 136, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6407, "end": 6441, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 42 } }, "object": { "type": "MemberExpression", "start": 6407, "end": 6417, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6407, "end": 6411, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } } }, "property": { "type": "Identifier", "start": 6412, "end": 6417, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6418, "end": 6440, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6418, "end": 6430, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 31 } }, "object": { "type": "ThisExpression", "start": 6418, "end": 6422, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 23 } } }, "property": { "type": "Identifier", "start": 6423, "end": 6430, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6431, "end": 6440, "loc": { "start": { "line": 136, "column": 32 }, "end": { "line": 136, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 6450, "end": 6490, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 6450, "end": 6489, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6450, "end": 6484, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6450, "end": 6460, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6450, "end": 6454, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, "property": { "type": "Identifier", "start": 6455, "end": 6460, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6461, "end": 6483, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6461, "end": 6473, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6461, "end": 6465, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 21 } } }, "property": { "type": "Identifier", "start": 6466, "end": 6473, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6474, "end": 6483, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6487, "end": 6489, "loc": { "start": { "line": 137, "column": 43 }, "end": { "line": 137, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 6498, "end": 6626, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6502, "end": 6625, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 131 } }, "id": { "type": "Identifier", "start": 6502, "end": 6514, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 6517, "end": 6625, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6547, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 53 } }, "object": { "type": "MemberExpression", "start": 6517, "end": 6531, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 37 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 27 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6531, "loc": { "start": { "line": 139, "column": 28 }, "end": { "line": 139, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6532, "end": 6547, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6548, "end": 6554, "loc": { "start": { "line": 139, "column": 54 }, "end": { "line": 139, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 6556, "end": 6590, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 96 } }, "object": { "type": "MemberExpression", "start": 6556, "end": 6566, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 72 } }, "object": { "type": "ThisExpression", "start": 6556, "end": 6560, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 66 } } }, "property": { "type": "Identifier", "start": 6561, "end": 6566, "loc": { "start": { "line": 139, "column": 67 }, "end": { "line": 139, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6567, "end": 6589, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 95 } }, "object": { "type": "MemberExpression", "start": 6567, "end": 6579, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 85 } }, "object": { "type": "ThisExpression", "start": 6567, "end": 6571, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 77 } } }, "property": { "type": "Identifier", "start": 6572, "end": 6579, "loc": { "start": { "line": 139, "column": 78 }, "end": { "line": 139, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6580, "end": 6589, "loc": { "start": { "line": 139, "column": 86 }, "end": { "line": 139, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 6592, "end": 6604, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 110 } }, "object": { "type": "ThisExpression", "start": 6592, "end": 6596, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 102 } } }, "property": { "type": "Identifier", "start": 6597, "end": 6604, "loc": { "start": { "line": 139, "column": 103 }, "end": { "line": 139, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 6606, "end": 6624, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 130 } }, "object": { "type": "ThisExpression", "start": 6606, "end": 6610, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 116 } } }, "property": { "type": "Identifier", "start": 6611, "end": 6624, "loc": { "start": { "line": 139, "column": 117 }, "end": { "line": 139, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 6634, "end": 7388, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 166, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6637, "end": 6688, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 58 } }, "left": { "type": "MemberExpression", "start": 6637, "end": 6671, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6637, "end": 6647, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6637, "end": 6641, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 11 } } }, "property": { "type": "Identifier", "start": 6642, "end": 6647, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6648, "end": 6670, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6648, "end": 6660, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 30 } }, "object": { "type": "ThisExpression", "start": 6648, "end": 6652, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 22 } } }, "property": { "type": "Identifier", "start": 6653, "end": 6660, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6661, "end": 6670, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 6676, "end": 6688, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 6689, "end": 7388, "loc": { "start": { "line": 141, "column": 59 }, "end": { "line": 166, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 6785, "end": 6918, "loc": { "start": { "line": 146, "column": 6 }, "end": { "line": 148, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 6788, "end": 6884, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 105 } }, "left": { "type": "MemberExpression", "start": 6788, "end": 6810, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 31 } }, "object": { "type": "MemberExpression", "start": 6788, "end": 6800, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 21 } }, "object": { "type": "ThisExpression", "start": 6788, "end": 6792, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6793, "end": 6800, "loc": { "start": { "line": 146, "column": 14 }, "end": { "line": 146, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6801, "end": 6810, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 6814, "end": 6884, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 6814, "end": 6844, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 65 } }, "object": { "type": "MemberExpression", "start": 6814, "end": 6828, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 49 } }, "object": { "type": "ThisExpression", "start": 6814, "end": 6818, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 39 } } }, "property": { "type": "Identifier", "start": 6819, "end": 6828, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6829, "end": 6844, "loc": { "start": { "line": 146, "column": 50 }, "end": { "line": 146, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6845, "end": 6855, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 76 } }, "object": { "type": "ThisExpression", "start": 6845, "end": 6849, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 70 } } }, "property": { "type": "Identifier", "start": 6850, "end": 6855, "loc": { "start": { "line": 146, "column": 71 }, "end": { "line": 146, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 6857, "end": 6869, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 90 } }, "object": { "type": "ThisExpression", "start": 6857, "end": 6861, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 82 } } }, "property": { "type": "Identifier", "start": 6862, "end": 6869, "loc": { "start": { "line": 146, "column": 83 }, "end": { "line": 146, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 6871, "end": 6883, "loc": { "start": { "line": 146, "column": 92 }, "end": { "line": 146, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6885, "end": 6918, "loc": { "start": { "line": 146, "column": 106 }, "end": { "line": 148, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 6896, "end": 6909, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 6903, "end": 6908, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 6928, "end": 6978, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 6928, "end": 6977, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6928, "end": 6962, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6938, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 10 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6938, "loc": { "start": { "line": 150, "column": 11 }, "end": { "line": 150, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6939, "end": 6961, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6939, "end": 6951, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6939, "end": 6943, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 } } }, "property": { "type": "Identifier", "start": 6944, "end": 6951, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6952, "end": 6961, "loc": { "start": { "line": 150, "column": 30 }, "end": { "line": 150, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 6965, "end": 6977, "loc": { "start": { "line": 150, "column": 43 }, "end": { "line": 150, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 6988, "end": 7049, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 153, "column": 50 } }, "test": { "type": "Identifier", "start": 6991, "end": 6996, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 7007, "end": 7049, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 50 } }, "expression": { "type": "CallExpression", "start": 7007, "end": 7048, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7007, "end": 7018, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 19 } }, "object": { "type": "Identifier", "start": 7007, "end": 7014, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7015, "end": 7018, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7019, "end": 7035, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 7037, "end": 7047, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 48 } }, "object": { "type": "ThisExpression", "start": 7037, "end": 7041, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 42 } } }, "property": { "type": "Identifier", "start": 7042, "end": 7047, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "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": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7126, "end": 7207, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 159, "column": 44 } }, "test": { "type": "MemberExpression", "start": 7129, "end": 7160, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7129, "end": 7141, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7129, "end": 7133, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7134, "end": 7141, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7142, "end": 7160, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7171, "end": 7207, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 44 } }, "expression": { "type": "CallExpression", "start": 7171, "end": 7206, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 7171, "end": 7194, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7171, "end": 7175, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, "property": { "type": "Identifier", "start": 7176, "end": 7194, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7195, "end": 7205, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7195, "end": 7199, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 36 } } }, "property": { "type": "Identifier", "start": 7200, "end": 7205, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "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": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7266, "end": 7381, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 165, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 7269, "end": 7312, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7269, "end": 7297, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7276, "end": 7297, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7276, "end": 7288, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7276, "end": 7280, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7281, "end": 7288, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7289, "end": 7297, "loc": { "start": { "line": 164, "column": 29 }, "end": { "line": 164, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7302, "end": 7312, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7323, "end": 7381, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 66 } }, "expression": { "type": "CallExpression", "start": 7323, "end": 7380, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 7323, "end": 7344, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 12 } } }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7336, "end": 7344, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7345, "end": 7379, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 64 } }, "object": { "type": "MemberExpression", "start": 7345, "end": 7355, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 40 } }, "object": { "type": "ThisExpression", "start": 7345, "end": 7349, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 34 } } }, "property": { "type": "Identifier", "start": 7350, "end": 7355, "loc": { "start": { "line": 165, "column": 35 }, "end": { "line": 165, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7356, "end": 7378, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 63 } }, "object": { "type": "MemberExpression", "start": 7356, "end": 7368, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 53 } }, "object": { "type": "ThisExpression", "start": 7356, "end": 7360, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 45 } } }, "property": { "type": "Identifier", "start": 7361, "end": 7368, "loc": { "start": { "line": 165, "column": 46 }, "end": { "line": 165, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7369, "end": 7378, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7400, "end": 7461, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } }, "test": { "type": "Identifier", "start": 7403, "end": 7408, "loc": { "start": { "line": 168, "column": 7 }, "end": { "line": 168, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 7409, "end": 7461, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 170, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7418, "end": 7454, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 42 } }, "expression": { "type": "CallExpression", "start": 7418, "end": 7453, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 7418, "end": 7429, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 17 } }, "object": { "type": "Identifier", "start": 7418, "end": 7425, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7426, "end": 7429, "loc": { "start": { "line": 169, "column": 14 }, "end": { "line": 169, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7430, "end": 7444, "loc": { "start": { "line": 169, "column": 18 }, "end": { "line": 169, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 7446, "end": 7452, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7573, "end": 7692, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 180, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7573, "end": 7591, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 176, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7594, "end": 7692, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 180, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7600, "end": 7692, "loc": { "start": { "line": 176, "column": 29 }, "end": { "line": 180, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7607, "end": 7687, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 7 } }, "expression": { "type": "CallExpression", "start": 7607, "end": 7686, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 7607, "end": 7620, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7607, "end": 7611, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 8 } } }, "property": { "type": "Identifier", "start": 7612, "end": 7620, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7621, "end": 7685, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 179, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7622, "end": 7630, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 7635, "end": 7685, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 179, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7644, "end": 7678, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 40 } }, "expression": { "type": "CallExpression", "start": 7644, "end": 7677, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 7644, "end": 7665, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 27 } }, "object": { "type": "Identifier", "start": 7644, "end": 7652, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 7653, "end": 7665, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7666, "end": 7676, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 38 } }, "object": { "type": "ThisExpression", "start": 7666, "end": 7670, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 32 } } }, "property": { "type": "Identifier", "start": 7671, "end": 7676, "loc": { "start": { "line": 178, "column": 33 }, "end": { "line": 178, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "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": 7700, "end": 7819, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7823, "end": 8105, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 195, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7823, "end": 7833, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 186, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7836, "end": 8105, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 195, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7837, "end": 7846, "loc": { "start": { "line": 186, "column": 16 }, "end": { "line": 186, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 7851, "end": 8105, "loc": { "start": { "line": 186, "column": 30 }, "end": { "line": 195, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7858, "end": 7906, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 7858, "end": 7905, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 7858, "end": 7867, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 7870, "end": 7905, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 51 } }, "left": { "type": "Identifier", "start": 7870, "end": 7879, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 7883, "end": 7905, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 51 } }, "object": { "type": "MemberExpression", "start": 7883, "end": 7895, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 41 } }, "object": { "type": "ThisExpression", "start": 7883, "end": 7887, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 33 } } }, "property": { "type": "Identifier", "start": 7888, "end": 7895, "loc": { "start": { "line": 187, "column": 34 }, "end": { "line": 187, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7896, "end": 7905, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 7912, "end": 7952, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 7912, "end": 7951, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7912, "end": 7946, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 38 } }, "object": { "type": "MemberExpression", "start": 7912, "end": 7922, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 14 } }, "object": { "type": "ThisExpression", "start": 7912, "end": 7916, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 8 } } }, "property": { "type": "Identifier", "start": 7917, "end": 7922, "loc": { "start": { "line": 188, "column": 9 }, "end": { "line": 188, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7923, "end": 7945, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7923, "end": 7935, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7923, "end": 7927, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 19 } } }, "property": { "type": "Identifier", "start": 7928, "end": 7935, "loc": { "start": { "line": 188, "column": 20 }, "end": { "line": 188, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7936, "end": 7945, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7949, "end": 7951, "loc": { "start": { "line": 188, "column": 41 }, "end": { "line": 188, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7960, "end": 8015, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8021, "end": 8100, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 194, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8024, "end": 8055, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8024, "end": 8036, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8024, "end": 8028, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8029, "end": 8036, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8037, "end": 8055, "loc": { "start": { "line": 193, "column": 20 }, "end": { "line": 193, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8064, "end": 8100, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8064, "end": 8099, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8064, "end": 8087, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8064, "end": 8068, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 10 } } }, "property": { "type": "Identifier", "start": 8069, "end": 8087, "loc": { "start": { "line": 194, "column": 11 }, "end": { "line": 194, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8088, "end": 8098, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8088, "end": 8092, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 34 } } }, "property": { "type": "Identifier", "start": 8093, "end": 8098, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7960, "end": 8015, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "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": 7700, "end": 7819, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "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": 8111, "end": 8273, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8277, "end": 8561, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 211, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8277, "end": 8285, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 201, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8288, "end": 8561, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 211, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8289, "end": 8298, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 23 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8303, "end": 8561, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 211, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8310, "end": 8358, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8310, "end": 8357, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8310, "end": 8319, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8322, "end": 8357, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 51 } }, "left": { "type": "Identifier", "start": 8322, "end": 8331, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8335, "end": 8357, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8335, "end": 8347, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8335, "end": 8339, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 33 } } }, "property": { "type": "Identifier", "start": 8340, "end": 8347, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8348, "end": 8357, "loc": { "start": { "line": 202, "column": 42 }, "end": { "line": 202, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8366, "end": 8421, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8427, "end": 8506, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 208, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8430, "end": 8461, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8430, "end": 8442, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8430, "end": 8434, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8435, "end": 8442, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8443, "end": 8461, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8470, "end": 8506, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8470, "end": 8505, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8470, "end": 8493, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8470, "end": 8474, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 10 } } }, "property": { "type": "Identifier", "start": 8475, "end": 8493, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8494, "end": 8504, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8494, "end": 8498, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, "property": { "type": "Identifier", "start": 8499, "end": 8504, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8366, "end": 8421, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 8514, "end": 8556, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 8521, "end": 8555, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 45 } }, "object": { "type": "MemberExpression", "start": 8521, "end": 8531, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8521, "end": 8525, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 15 } } }, "property": { "type": "Identifier", "start": 8526, "end": 8531, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8532, "end": 8554, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 44 } }, "object": { "type": "MemberExpression", "start": 8532, "end": 8544, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 34 } }, "object": { "type": "ThisExpression", "start": 8532, "end": 8536, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 26 } } }, "property": { "type": "Identifier", "start": 8537, "end": 8544, "loc": { "start": { "line": 210, "column": 27 }, "end": { "line": 210, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8545, "end": 8554, "loc": { "start": { "line": 210, "column": 35 }, "end": { "line": 210, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "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": 8111, "end": 8273, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "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": 8567, "end": 8727, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8731, "end": 9008, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 227, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8731, "end": 8739, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8742, "end": 9008, "loc": { "start": { "line": 218, "column": 13 }, "end": { "line": 227, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8743, "end": 8748, "loc": { "start": { "line": 218, "column": 14 }, "end": { "line": 218, "column": 19 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 8750, "end": 8759, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 30 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8764, "end": 9008, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 227, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8771, "end": 8819, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8771, "end": 8818, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8771, "end": 8780, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8783, "end": 8818, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 51 } }, "left": { "type": "Identifier", "start": 8783, "end": 8792, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8796, "end": 8818, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8796, "end": 8808, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8796, "end": 8800, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 33 } } }, "property": { "type": "Identifier", "start": 8801, "end": 8808, "loc": { "start": { "line": 219, "column": 34 }, "end": { "line": 219, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8809, "end": 8818, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 219, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 8825, "end": 8855, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 8825, "end": 8854, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8825, "end": 8846, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 25 } }, "object": { "type": "MemberExpression", "start": 8825, "end": 8835, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 14 } }, "object": { "type": "ThisExpression", "start": 8825, "end": 8829, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 8 } } }, "property": { "type": "Identifier", "start": 8830, "end": 8835, "loc": { "start": { "line": 220, "column": 9 }, "end": { "line": 220, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 8836, "end": 8845, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 8849, "end": 8854, "loc": { "start": { "line": 220, "column": 28 }, "end": { "line": 220, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8863, "end": 8918, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8924, "end": 9003, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 226, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8927, "end": 8958, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8927, "end": 8939, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8927, "end": 8931, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8932, "end": 8939, "loc": { "start": { "line": 225, "column": 12 }, "end": { "line": 225, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8940, "end": 8958, "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 225, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8967, "end": 9003, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8967, "end": 9002, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8967, "end": 8990, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8967, "end": 8971, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } } }, "property": { "type": "Identifier", "start": 8972, "end": 8990, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8991, "end": 9001, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8991, "end": 8995, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 34 } } }, "property": { "type": "Identifier", "start": 8996, "end": 9001, "loc": { "start": { "line": 226, "column": 35 }, "end": { "line": 226, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8863, "end": 8918, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "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": 8567, "end": 8727, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "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": 9016, "end": 9125, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9129, "end": 9192, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 235, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9129, "end": 9141, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 233, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9144, "end": 9192, "loc": { "start": { "line": 233, "column": 17 }, "end": { "line": 235, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9145, "end": 9153, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 26 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 9158, "end": 9192, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 235, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9165, "end": 9187, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9165, "end": 9186, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9165, "end": 9175, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 14 } }, "object": { "type": "ThisExpression", "start": 9165, "end": 9169, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 8 } } }, "property": { "type": "Identifier", "start": 9170, "end": 9175, "loc": { "start": { "line": 234, "column": 9 }, "end": { "line": 234, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 9178, "end": 9186, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "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": 9016, "end": 9125, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "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": 9198, "end": 9324, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9328, "end": 9462, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 245, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9328, "end": 9338, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 241, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9341, "end": 9462, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 245, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9341, "end": 9347, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 9351, "end": 9462, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 245, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9358, "end": 9380, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9358, "end": 9379, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 9358, "end": 9364, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 9367, "end": 9379, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 25 } }, "left": { "type": "Identifier", "start": 9367, "end": 9373, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 9377, "end": 9379, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 9386, "end": 9437, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9386, "end": 9436, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9386, "end": 9398, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 16 } }, "object": { "type": "ThisExpression", "start": 9386, "end": 9390, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 8 } } }, "property": { "type": "Identifier", "start": 9391, "end": 9398, "loc": { "start": { "line": 243, "column": 9 }, "end": { "line": 243, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 9401, "end": 9436, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 9401, "end": 9414, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 32 } }, "object": { "type": "Identifier", "start": 9401, "end": 9407, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 9408, "end": 9414, "loc": { "start": { "line": 243, "column": 26 }, "end": { "line": 243, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9415, "end": 9427, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 45 } }, "object": { "type": "ThisExpression", "start": 9415, "end": 9419, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 37 } } }, "property": { "type": "Identifier", "start": 9420, "end": 9427, "loc": { "start": { "line": 243, "column": 38 }, "end": { "line": 243, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 9429, "end": 9435, "loc": { "start": { "line": 243, "column": 47 }, "end": { "line": 243, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 9443, "end": 9457, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 18 } }, "expression": { "type": "CallExpression", "start": 9443, "end": 9456, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 9443, "end": 9454, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 15 } }, "object": { "type": "ThisExpression", "start": 9443, "end": 9447, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } } }, "property": { "type": "Identifier", "start": 9448, "end": 9454, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 9198, "end": 9324, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "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": 9468, "end": 9577, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9581, "end": 9727, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 255, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9581, "end": 9586, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9589, "end": 9727, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 255, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9595, "end": 9727, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 255, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9602, "end": 9634, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 9602, "end": 9633, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9602, "end": 9628, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9602, "end": 9618, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9602, "end": 9606, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, "property": { "type": "Identifier", "start": 9607, "end": 9618, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9619, "end": 9628, "loc": { "start": { "line": 252, "column": 21 }, "end": { "line": 252, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 9631, "end": 9633, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 9640, "end": 9691, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9640, "end": 9690, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9640, "end": 9666, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9640, "end": 9656, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9640, "end": 9644, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, "property": { "type": "Identifier", "start": 9645, "end": 9656, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9657, "end": 9666, "loc": { "start": { "line": 253, "column": 21 }, "end": { "line": 253, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 9669, "end": 9690, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 54 } }, "object": { "type": "ThisExpression", "start": 9669, "end": 9673, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 37 } } }, "property": { "type": "Identifier", "start": 9674, "end": 9690, "loc": { "start": { "line": 253, "column": 38 }, "end": { "line": 253, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 9697, "end": 9722, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9697, "end": 9721, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9697, "end": 9716, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9697, "end": 9701, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, "property": { "type": "Identifier", "start": 9702, "end": 9716, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 9719, "end": 9721, "loc": { "start": { "line": 254, "column": 26 }, "end": { "line": 254, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "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": 9468, "end": 9577, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "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": 9733, "end": 9938, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9942, "end": 10317, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 270, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9942, "end": 9950, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9953, "end": 10317, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 270, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9954, "end": 9962, "loc": { "start": { "line": 261, "column": 14 }, "end": { "line": 261, "column": 22 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 9967, "end": 10317, "loc": { "start": { "line": 261, "column": 27 }, "end": { "line": 270, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 9974, "end": 10158, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 9977, "end": 10011, "loc": { "start": { "line": 262, "column": 7 }, "end": { "line": 262, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 9978, "end": 10011, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 41 } }, "object": { "type": "Identifier", "start": 9978, "end": 9984, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 9985, "end": 10010, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10012, "end": 10158, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10021, "end": 10104, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 89 } }, "expression": { "type": "CallExpression", "start": 10021, "end": 10103, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 10021, "end": 10033, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 18 } }, "object": { "type": "Identifier", "start": 10021, "end": 10028, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 10029, "end": 10033, "loc": { "start": { "line": 263, "column": 14 }, "end": { "line": 263, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 10034, "end": 10102, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 10035, "end": 10101, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "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": 10112, "end": 10151, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 45 } }, "argument": { "type": "NewExpression", "start": 10118, "end": 10150, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 44 } }, "callee": { "type": "Identifier", "start": 10122, "end": 10127, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 10128, "end": 10149, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 10170, "end": 10312, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 269, "column": 6 } }, "argument": { "type": "CallExpression", "start": 10177, "end": 10312, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 269, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10177, "end": 10231, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 65 } }, "object": { "type": "CallExpression", "start": 10177, "end": 10223, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 10177, "end": 10188, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 22 } }, "object": { "type": "Identifier", "start": 10177, "end": 10183, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 10184, "end": 10188, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10189, "end": 10222, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 56 } }, "object": { "type": "Identifier", "start": 10189, "end": 10195, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10196, "end": 10221, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 10224, "end": 10231, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10232, "end": 10311, "loc": { "start": { "line": 267, "column": 66 }, "end": { "line": 269, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10233, "end": 10236, "loc": { "start": { "line": 267, "column": 67 }, "end": { "line": 267, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 10241, "end": 10311, "loc": { "start": { "line": 267, "column": 75 }, "end": { "line": 269, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10250, "end": 10304, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 60 } }, "expression": { "type": "CallExpression", "start": 10250, "end": 10303, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 59 } }, "callee": { "type": "Identifier", "start": 10250, "end": 10258, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 10259, "end": 10297, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 53 } }, "object": { "type": "MemberExpression", "start": 10259, "end": 10292, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 48 } }, "object": { "type": "Identifier", "start": 10259, "end": 10265, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10266, "end": 10291, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 10293, "end": 10296, "loc": { "start": { "line": 268, "column": 49 }, "end": { "line": 268, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 10299, "end": 10302, "loc": { "start": { "line": 268, "column": 55 }, "end": { "line": 268, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "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": 9733, "end": 9938, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "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": 10323, "end": 10604, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 10608, "end": 11847, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 320, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10608, "end": 10622, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 10625, "end": 11847, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 320, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10626, "end": 10633, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 10635, "end": 10644, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 10649, "end": 11847, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 320, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10656, "end": 10703, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 279, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 10659, "end": 10681, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 10659, "end": 10669, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10660, "end": 10669, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 10673, "end": 10681, "loc": { "start": { "line": 278, "column": 21 }, "end": { "line": 278, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10674, "end": 10681, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 10690, "end": 10703, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 10697, "end": 10702, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 10711, "end": 11820, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10711, "end": 11819, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10711, "end": 10737, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 30 } }, "object": { "type": "CallExpression", "start": 10711, "end": 10729, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 10711, "end": 10724, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 17 } }, "object": { "type": "Identifier", "start": 10711, "end": 10718, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 10719, "end": 10724, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10725, "end": 10728, "loc": { "start": { "line": 281, "column": 18 }, "end": { "line": 281, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10730, "end": 10737, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 281, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10738, "end": 11818, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 317, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10738, "end": 10744, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 281, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10748, "end": 11818, "loc": { "start": { "line": 281, "column": 41 }, "end": { "line": 317, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10757, "end": 11811, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 9 } }, "expression": { "type": "CallExpression", "start": 10757, "end": 11810, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 10757, "end": 10785, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 34 } }, "object": { "type": "CallExpression", "start": 10757, "end": 10777, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 10757, "end": 10772, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 21 } }, "object": { "type": "Identifier", "start": 10757, "end": 10766, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 10767, "end": 10772, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10773, "end": 10776, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10778, "end": 10785, "loc": { "start": { "line": 282, "column": 27 }, "end": { "line": 282, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10786, "end": 11809, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 316, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10786, "end": 10799, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 282, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 10803, "end": 11809, "loc": { "start": { "line": 282, "column": 52 }, "end": { "line": 316, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 10814, "end": 10885, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 284, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 10817, "end": 10842, "loc": { "start": { "line": 283, "column": 11 }, "end": { "line": 283, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 10818, "end": 10842, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 36 } }, "object": { "type": "MemberExpression", "start": 10818, "end": 10830, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 24 } }, "object": { "type": "ThisExpression", "start": 10818, "end": 10822, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 16 } } }, "property": { "type": "Identifier", "start": 10823, "end": 10830, "loc": { "start": { "line": 283, "column": 17 }, "end": { "line": 283, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10831, "end": 10842, "loc": { "start": { "line": 283, "column": 25 }, "end": { "line": 283, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 10855, "end": 10885, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 10855, "end": 10884, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10855, "end": 10879, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 34 } }, "object": { "type": "MemberExpression", "start": 10855, "end": 10867, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 22 } }, "object": { "type": "ThisExpression", "start": 10855, "end": 10859, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 14 } } }, "property": { "type": "Identifier", "start": 10860, "end": 10867, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10868, "end": 10879, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 10882, "end": 10884, "loc": { "start": { "line": 284, "column": 37 }, "end": { "line": 284, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 10897, "end": 10924, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10901, "end": 10923, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 34 } }, "id": { "type": "Identifier", "start": 10901, "end": 10915, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 10918, "end": 10923, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "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": 10938, "end": 11029, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 11039, "end": 11547, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 11 } }, "expression": { "type": "CallExpression", "start": 11039, "end": 11546, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 11039, "end": 11067, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11039, "end": 11063, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 32 } }, "object": { "type": "MemberExpression", "start": 11039, "end": 11051, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 20 } }, "object": { "type": "ThisExpression", "start": 11039, "end": 11043, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11044, "end": 11051, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 291, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11052, "end": 11063, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11064, "end": 11067, "loc": { "start": { "line": 291, "column": 33 }, "end": { "line": 291, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11068, "end": 11545, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 304, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11068, "end": 11079, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 291, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 11083, "end": 11545, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 304, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 11098, "end": 11503, "loc": { "start": { "line": 293, "column": 10 }, "end": { "line": 302, "column": 11 } }, "test": { "type": "CallExpression", "start": 11101, "end": 11153, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11101, "end": 11138, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 50 } }, "object": { "type": "CallExpression", "start": 11101, "end": 11129, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11101, "end": 11124, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11101, "end": 11118, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 30 } }, "object": { "type": "Identifier", "start": 11101, "end": 11112, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11113, "end": 11118, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 11119, "end": 11124, "loc": { "start": { "line": 293, "column": 31 }, "end": { "line": 293, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11125, "end": 11128, "loc": { "start": { "line": 293, "column": 37 }, "end": { "line": 293, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 11130, "end": 11138, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11139, "end": 11152, "loc": { "start": { "line": 293, "column": 51 }, "end": { "line": 293, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 11154, "end": 11503, "loc": { "start": { "line": 293, "column": 66 }, "end": { "line": 302, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 11169, "end": 11191, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11169, "end": 11190, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 11169, "end": 11183, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11186, "end": 11190, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 11219, "end": 11273, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11223, "end": 11272, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 65 } }, "id": { "type": "Identifier", "start": 11223, "end": 11239, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 11242, "end": 11272, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11242, "end": 11267, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 60 } }, "object": { "type": "MemberExpression", "start": 11242, "end": 11261, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 54 } }, "object": { "type": "Identifier", "start": 11242, "end": 11253, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11254, "end": 11261, "loc": { "start": { "line": 296, "column": 47 }, "end": { "line": 296, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 11262, "end": 11267, "loc": { "start": { "line": 296, "column": 55 }, "end": { "line": 296, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11268, "end": 11271, "loc": { "start": { "line": 296, "column": 61 }, "end": { "line": 296, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 11287, "end": 11490, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 301, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 11290, "end": 11324, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 11291, "end": 11324, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 11291, "end": 11316, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 41 } }, "object": { "type": "Identifier", "start": 11291, "end": 11307, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11308, "end": 11316, "loc": { "start": { "line": 297, "column": 33 }, "end": { "line": 297, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11317, "end": 11323, "loc": { "start": { "line": 297, "column": 42 }, "end": { "line": 297, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 11325, "end": 11490, "loc": { "start": { "line": 297, "column": 50 }, "end": { "line": 301, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 11342, "end": 11364, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 11342, "end": 11363, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 11342, "end": 11356, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11359, "end": 11363, "loc": { "start": { "line": 298, "column": 31 }, "end": { "line": 298, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 11380, "end": 11410, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 44 } }, "expression": { "type": "CallExpression", "start": 11380, "end": 11409, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 11380, "end": 11401, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 35 } }, "object": { "type": "Identifier", "start": 11380, "end": 11396, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11397, "end": 11401, "loc": { "start": { "line": 299, "column": 31 }, "end": { "line": 299, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11402, "end": 11408, "loc": { "start": { "line": 299, "column": 36 }, "end": { "line": 299, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 11426, "end": 11475, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 11426, "end": 11474, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11426, "end": 11445, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 33 } }, "object": { "type": "Identifier", "start": 11426, "end": 11437, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11438, "end": 11445, "loc": { "start": { "line": 300, "column": 26 }, "end": { "line": 300, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 11448, "end": 11474, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 11448, "end": 11469, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 57 } }, "object": { "type": "Identifier", "start": 11448, "end": 11464, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11465, "end": 11469, "loc": { "start": { "line": 300, "column": 53 }, "end": { "line": 300, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11470, "end": 11473, "loc": { "start": { "line": 300, "column": 58 }, "end": { "line": 300, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 11515, "end": 11534, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 29 } }, "argument": { "type": "Identifier", "start": 11522, "end": 11533, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "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": 10938, "end": 11029, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11559, "end": 11634, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] }, { "type": "IfStatement", "start": 11644, "end": 11798, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 314, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 11647, "end": 11662, "loc": { "start": { "line": 309, "column": 11 }, "end": { "line": 309, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 11648, "end": 11662, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11663, "end": 11798, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 314, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 11676, "end": 11787, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 13 } }, "expression": { "type": "CallExpression", "start": 11676, "end": 11786, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 11676, "end": 11705, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 39 } }, "object": { "type": "MemberExpression", "start": 11676, "end": 11700, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 34 } }, "object": { "type": "MemberExpression", "start": 11676, "end": 11688, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11676, "end": 11680, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 14 } } }, "property": { "type": "Identifier", "start": 11681, "end": 11688, "loc": { "start": { "line": 310, "column": 15 }, "end": { "line": 310, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11689, "end": 11700, "loc": { "start": { "line": 310, "column": 23 }, "end": { "line": 310, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 11701, "end": 11705, "loc": { "start": { "line": 310, "column": 35 }, "end": { "line": 310, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 11706, "end": 11785, "loc": { "start": { "line": 310, "column": 40 }, "end": { "line": 313, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 11721, "end": 11741, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11721, "end": 11726, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 11728, "end": 11741, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 11756, "end": 11772, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11756, "end": 11763, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 11765, "end": 11772, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "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": 11559, "end": 11634, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 11828, "end": 11842, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11828, "end": 11841, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11828, "end": 11839, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11828, "end": 11832, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, "property": { "type": "Identifier", "start": 11833, "end": 11839, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "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": 10323, "end": 10604, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "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": 11853, "end": 12193, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12197, "end": 13621, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 373, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12197, "end": 12214, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12217, "end": 13621, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 373, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12218, "end": 12225, "loc": { "start": { "line": 327, "column": 23 }, "end": { "line": 327, "column": 30 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 12227, "end": 12236, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 41 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 12241, "end": 13621, "loc": { "start": { "line": 327, "column": 46 }, "end": { "line": 373, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12334, "end": 12449, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 335, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12337, "end": 12359, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 12337, "end": 12345, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12338, "end": 12345, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 12349, "end": 12359, "loc": { "start": { "line": 331, "column": 19 }, "end": { "line": 331, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12350, "end": 12359, "loc": { "start": { "line": 331, "column": 20 }, "end": { "line": 331, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12360, "end": 12449, "loc": { "start": { "line": 331, "column": 30 }, "end": { "line": 335, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12369, "end": 12399, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12369, "end": 12398, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12369, "end": 12393, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12369, "end": 12381, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 18 } }, "object": { "type": "ThisExpression", "start": 12369, "end": 12373, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 10 } } }, "property": { "type": "Identifier", "start": 12374, "end": 12381, "loc": { "start": { "line": 332, "column": 11 }, "end": { "line": 332, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12382, "end": 12393, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 12396, "end": 12398, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 12407, "end": 12421, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 20 } }, "expression": { "type": "CallExpression", "start": 12407, "end": 12420, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 12407, "end": 12418, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12407, "end": 12411, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 10 } } }, "property": { "type": "Identifier", "start": 12412, "end": 12418, "loc": { "start": { "line": 333, "column": 11 }, "end": { "line": 333, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 12429, "end": 12442, "loc": { "start": { "line": 334, "column": 6 }, "end": { "line": 334, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 12436, "end": 12441, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "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": 12248, "end": 12328, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12457, "end": 12525, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12531, "end": 13616, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 372, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12534, "end": 12619, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 12534, "end": 12584, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 57 } }, "left": { "type": "Identifier", "start": 12534, "end": 12541, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12545, "end": 12584, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12545, "end": 12558, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 31 } }, "object": { "type": "Identifier", "start": 12545, "end": 12550, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 12551, "end": 12558, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12559, "end": 12583, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 56 } }, "object": { "type": "MemberExpression", "start": 12559, "end": 12571, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 44 } }, "object": { "type": "ThisExpression", "start": 12559, "end": 12563, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 36 } } }, "property": { "type": "Identifier", "start": 12564, "end": 12571, "loc": { "start": { "line": 340, "column": 37 }, "end": { "line": 340, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12572, "end": 12583, "loc": { "start": { "line": 340, "column": 45 }, "end": { "line": 340, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 12588, "end": 12619, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 92 } }, "object": { "type": "MemberExpression", "start": 12588, "end": 12612, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 85 } }, "object": { "type": "MemberExpression", "start": 12588, "end": 12600, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 73 } }, "object": { "type": "ThisExpression", "start": 12588, "end": 12592, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 65 } } }, "property": { "type": "Identifier", "start": 12593, "end": 12600, "loc": { "start": { "line": 340, "column": 66 }, "end": { "line": 340, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12601, "end": 12612, "loc": { "start": { "line": 340, "column": 74 }, "end": { "line": 340, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12613, "end": 12619, "loc": { "start": { "line": 340, "column": 86 }, "end": { "line": 340, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12620, "end": 13616, "loc": { "start": { "line": 340, "column": 93 }, "end": { "line": 372, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12629, "end": 12666, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12633, "end": 12665, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 42 } }, "id": { "type": "Identifier", "start": 12633, "end": 12644, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 12647, "end": 12665, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12647, "end": 12660, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 37 } }, "object": { "type": "Identifier", "start": 12647, "end": 12654, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 12655, "end": 12660, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12661, "end": 12664, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 12674, "end": 13585, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 9 } }, "expression": { "type": "CallExpression", "start": 12674, "end": 13584, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 12674, "end": 12693, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 25 } }, "object": { "type": "Identifier", "start": 12674, "end": 12685, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 12686, "end": 12693, "loc": { "start": { "line": 342, "column": 18 }, "end": { "line": 342, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12694, "end": 13583, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 369, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12695, "end": 12701, "loc": { "start": { "line": 342, "column": 27 }, "end": { "line": 342, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 12703, "end": 12706, "loc": { "start": { "line": 342, "column": 35 }, "end": { "line": 342, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12711, "end": 13583, "loc": { "start": { "line": 342, "column": 43 }, "end": { "line": 369, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12722, "end": 13574, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 11 } }, "expression": { "type": "CallExpression", "start": 12722, "end": 13573, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 12722, "end": 12750, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 36 } }, "object": { "type": "MemberExpression", "start": 12722, "end": 12746, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 32 } }, "object": { "type": "MemberExpression", "start": 12722, "end": 12734, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12722, "end": 12726, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 12 } } }, "property": { "type": "Identifier", "start": 12727, "end": 12734, "loc": { "start": { "line": 343, "column": 13 }, "end": { "line": 343, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12735, "end": 12746, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12747, "end": 12750, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12751, "end": 13572, "loc": { "start": { "line": 343, "column": 37 }, "end": { "line": 368, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12752, "end": 12763, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 12765, "end": 12770, "loc": { "start": { "line": 343, "column": 51 }, "end": { "line": 343, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 12775, "end": 13572, "loc": { "start": { "line": 343, "column": 61 }, "end": { "line": 368, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 12943, "end": 13528, "loc": { "start": { "line": 349, "column": 10 }, "end": { "line": 365, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 12960, "end": 13039, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 351, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 12961, "end": 13011, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 63 } }, "left": { "type": "Identifier", "start": 12961, "end": 12970, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12974, "end": 13011, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 12974, "end": 12992, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 44 } }, "object": { "type": "Identifier", "start": 12974, "end": 12983, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 12984, "end": 12992, "loc": { "start": { "line": 350, "column": 36 }, "end": { "line": 350, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12993, "end": 13010, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 62 } }, "object": { "type": "Identifier", "start": 12993, "end": 13004, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13005, "end": 13010, "loc": { "start": { "line": 350, "column": 57 }, "end": { "line": 350, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 12960 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13029, "end": 13039, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13030, "end": 13039, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13052, "end": 13528, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 365, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 13067, "end": 13156, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13071, "end": 13155, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 100 } }, "id": { "type": "Identifier", "start": 13071, "end": 13090, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 13093, "end": 13155, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 13093, "end": 13130, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 75 } }, "object": { "type": "CallExpression", "start": 13093, "end": 13123, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 13093, "end": 13118, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 63 } }, "object": { "type": "MemberExpression", "start": 13093, "end": 13112, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 57 } }, "object": { "type": "Identifier", "start": 13093, "end": 13104, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13105, "end": 13112, "loc": { "start": { "line": 353, "column": 50 }, "end": { "line": 353, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13113, "end": 13118, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13119, "end": 13122, "loc": { "start": { "line": 353, "column": 64 }, "end": { "line": 353, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13124, "end": 13130, "loc": { "start": { "line": 353, "column": 69 }, "end": { "line": 353, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13131, "end": 13154, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 13131, "end": 13135, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 13139, "end": 13154, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 99 } }, "left": { "type": "Identifier", "start": 13139, "end": 13143, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 13148, "end": 13154, "loc": { "start": { "line": 353, "column": 93 }, "end": { "line": 353, "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": 13172, "end": 13269, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } } ] }, { "type": "IfStatement", "start": 13283, "end": 13512, "loc": { "start": { "line": 358, "column": 12 }, "end": { "line": 363, "column": 13 } }, "test": { "type": "MemberExpression", "start": 13286, "end": 13312, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 41 } }, "object": { "type": "Identifier", "start": 13286, "end": 13305, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 13306, "end": 13312, "loc": { "start": { "line": 358, "column": 35 }, "end": { "line": 358, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13313, "end": 13397, "loc": { "start": { "line": 358, "column": 42 }, "end": { "line": 360, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13330, "end": 13382, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 13330, "end": 13381, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13330, "end": 13349, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 33 } }, "object": { "type": "Identifier", "start": 13330, "end": 13341, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13342, "end": 13349, "loc": { "start": { "line": 359, "column": 26 }, "end": { "line": 359, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 13352, "end": 13381, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13352, "end": 13376, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 60 } }, "object": { "type": "Identifier", "start": 13352, "end": 13371, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 13372, "end": 13376, "loc": { "start": { "line": 359, "column": 56 }, "end": { "line": 359, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13377, "end": 13380, "loc": { "start": { "line": 359, "column": 61 }, "end": { "line": 359, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 13403, "end": 13512, "loc": { "start": { "line": 360, "column": 19 }, "end": { "line": 363, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13420, "end": 13462, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 56 } }, "expression": { "type": "CallExpression", "start": 13420, "end": 13461, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 13420, "end": 13451, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 45 } }, "object": { "type": "MemberExpression", "start": 13420, "end": 13444, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13420, "end": 13432, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 26 } }, "object": { "type": "ThisExpression", "start": 13420, "end": 13424, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 } } }, "property": { "type": "Identifier", "start": 13425, "end": 13432, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13433, "end": 13444, "loc": { "start": { "line": 361, "column": 27 }, "end": { "line": 361, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 13445, "end": 13451, "loc": { "start": { "line": 361, "column": 39 }, "end": { "line": 361, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13452, "end": 13457, "loc": { "start": { "line": 361, "column": 46 }, "end": { "line": 361, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 13459, "end": 13460, "loc": { "start": { "line": 361, "column": 53 }, "end": { "line": 361, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 13478, "end": 13497, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 13478, "end": 13496, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 13478, "end": 13489, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 13492, "end": 13496, "loc": { "start": { "line": 362, "column": 28 }, "end": { "line": 362, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13172, "end": 13269, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "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": 12790, "end": 12931, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 13542, "end": 13561, "loc": { "start": { "line": 367, "column": 10 }, "end": { "line": 367, "column": 29 } }, "argument": { "type": "Identifier", "start": 13549, "end": 13560, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 13595, "end": 13609, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 20 } }, "expression": { "type": "CallExpression", "start": 13595, "end": 13608, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 13595, "end": 13606, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 17 } }, "object": { "type": "ThisExpression", "start": 13595, "end": 13599, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 10 } } }, "property": { "type": "Identifier", "start": 13600, "end": 13606, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "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": 12457, "end": 12525, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "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": 11853, "end": 12193, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "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": 13627, "end": 13830, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 13834, "end": 14108, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 392, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13834, "end": 13850, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 13853, "end": 14108, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 392, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13854, "end": 13860, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13865, "end": 14108, "loc": { "start": { "line": 379, "column": 33 }, "end": { "line": 392, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 13872, "end": 13883, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13876, "end": 13882, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 } }, "id": { "type": "Identifier", "start": 13876, "end": 13882, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 13891, "end": 13935, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13895, "end": 13934, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 47 } }, "id": { "type": "Identifier", "start": 13895, "end": 13904, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 13907, "end": 13934, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 47 } }, "object": { "type": "MemberExpression", "start": 13907, "end": 13926, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 39 } }, "object": { "type": "ThisExpression", "start": 13907, "end": 13911, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 24 } } }, "property": { "type": "Identifier", "start": 13912, "end": 13926, "loc": { "start": { "line": 382, "column": 25 }, "end": { "line": 382, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 13927, "end": 13933, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 13941, "end": 14081, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 389, "column": 5 } }, "test": { "type": "Identifier", "start": 13944, "end": 13953, "loc": { "start": { "line": 383, "column": 7 }, "end": { "line": 383, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 13954, "end": 14081, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 389, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13963, "end": 14074, "loc": { "start": { "line": 384, "column": 6 }, "end": { "line": 388, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 13966, "end": 13986, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 29 } }, "left": { "type": "MemberExpression", "start": 13966, "end": 13982, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 25 } }, "object": { "type": "Identifier", "start": 13966, "end": 13975, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 13976, "end": 13982, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 384, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 13985, "end": 13986, "loc": { "start": { "line": 384, "column": 28 }, "end": { "line": 384, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13987, "end": 14026, "loc": { "start": { "line": 384, "column": 30 }, "end": { "line": 386, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 13998, "end": 14017, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 13998, "end": 14016, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 13998, "end": 14004, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 14007, "end": 14016, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 14032, "end": 14074, "loc": { "start": { "line": 386, "column": 13 }, "end": { "line": 388, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 14043, "end": 14065, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 14043, "end": 14064, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 14043, "end": 14049, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 14052, "end": 14064, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 29 } }, "object": { "type": "Identifier", "start": 14052, "end": 14061, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 14062, "end": 14063, "loc": { "start": { "line": 387, "column": 27 }, "end": { "line": 387, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14089, "end": 14103, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 18 } }, "argument": { "type": "Identifier", "start": 14096, "end": 14102, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "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": 13627, "end": 13830, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14114, "end": 14204, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14208, "end": 14518, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 405, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14208, "end": 14219, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 397, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14222, "end": 14518, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 405, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 14228, "end": 14518, "loc": { "start": { "line": 397, "column": 22 }, "end": { "line": 405, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14235, "end": 14311, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 400, "column": 5 } }, "test": { "type": "MemberExpression", "start": 14238, "end": 14256, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 25 } }, "object": { "type": "MemberExpression", "start": 14238, "end": 14250, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 19 } }, "object": { "type": "ThisExpression", "start": 14238, "end": 14242, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 11 } } }, "property": { "type": "Identifier", "start": 14243, "end": 14250, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14251, "end": 14256, "loc": { "start": { "line": 398, "column": 20 }, "end": { "line": 398, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 14257, "end": 14311, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 400, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14266, "end": 14304, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14266, "end": 14303, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14266, "end": 14277, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 17 } }, "object": { "type": "Identifier", "start": 14266, "end": 14273, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 14274, "end": 14277, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14278, "end": 14302, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 14319, "end": 14378, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 63 } }, "expression": { "type": "CallExpression", "start": 14319, "end": 14377, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14319, "end": 14344, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 29 } }, "object": { "type": "Identifier", "start": 14319, "end": 14327, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14328, "end": 14344, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14345, "end": 14352, "loc": { "start": { "line": 402, "column": 30 }, "end": { "line": 402, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 14354, "end": 14376, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 61 } }, "object": { "type": "ThisExpression", "start": 14354, "end": 14358, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 } } }, "property": { "type": "Identifier", "start": 14359, "end": 14376, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14384, "end": 14445, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 65 } }, "expression": { "type": "CallExpression", "start": 14384, "end": 14444, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 14384, "end": 14409, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 29 } }, "object": { "type": "Identifier", "start": 14384, "end": 14392, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14393, "end": 14409, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14410, "end": 14419, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 403, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 14421, "end": 14443, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 63 } }, "object": { "type": "ThisExpression", "start": 14421, "end": 14425, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 45 } } }, "property": { "type": "Identifier", "start": 14426, "end": 14443, "loc": { "start": { "line": 403, "column": 46 }, "end": { "line": 403, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14451, "end": 14513, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 66 } }, "expression": { "type": "CallExpression", "start": 14451, "end": 14512, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14451, "end": 14476, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 29 } }, "object": { "type": "Identifier", "start": 14451, "end": 14459, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14460, "end": 14476, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14477, "end": 14487, "loc": { "start": { "line": 404, "column": 30 }, "end": { "line": 404, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 14489, "end": 14511, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 64 } }, "object": { "type": "ThisExpression", "start": 14489, "end": 14493, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 46 } } }, "property": { "type": "Identifier", "start": 14494, "end": 14511, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14114, "end": 14204, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "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": 14524, "end": 14636, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14640, "end": 15197, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 427, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14640, "end": 14657, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 410, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14660, "end": 15197, "loc": { "start": { "line": 410, "column": 22 }, "end": { "line": 427, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14661, "end": 14666, "loc": { "start": { "line": 410, "column": 23 }, "end": { "line": 410, "column": 28 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 14671, "end": 15197, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 427, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 14678, "end": 14733, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14682, "end": 14732, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 58 } }, "id": { "type": "Identifier", "start": 14682, "end": 14695, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 14698, "end": 14732, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 14698, "end": 14730, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 56 } }, "object": { "type": "MemberExpression", "start": 14698, "end": 14718, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 44 } }, "object": { "type": "MemberExpression", "start": 14698, "end": 14710, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 36 } }, "object": { "type": "Identifier", "start": 14698, "end": 14703, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14704, "end": 14710, "loc": { "start": { "line": 411, "column": 30 }, "end": { "line": 411, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 14711, "end": 14718, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 411, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 14719, "end": 14730, "loc": { "start": { "line": 411, "column": 45 }, "end": { "line": 411, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14741, "end": 15192, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14752, "end": 14816, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 14752, "end": 14780, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 34 } }, "left": { "type": "Identifier", "start": 14752, "end": 14765, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14770, "end": 14780, "loc": { "start": { "line": 414, "column": 24 }, "end": { "line": 414, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 14791, "end": 14816, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "Identifier", "start": 14791, "end": 14804, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14809, "end": 14816, "loc": { "start": { "line": 415, "column": 24 }, "end": { "line": 415, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 14823, "end": 15192, "loc": { "start": { "line": 416, "column": 5 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14988, "end": 15037, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 14988, "end": 15036, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14988, "end": 15006, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 24 } }, "object": { "type": "ThisExpression", "start": 14988, "end": 14992, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14993, "end": 15006, "loc": { "start": { "line": 421, "column": 11 }, "end": { "line": 421, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 15009, "end": 15036, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 54 } }, "object": { "type": "MemberExpression", "start": 15009, "end": 15021, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 39 } }, "object": { "type": "Identifier", "start": 15009, "end": 15014, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15015, "end": 15021, "loc": { "start": { "line": 421, "column": 33 }, "end": { "line": 421, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15022, "end": 15036, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "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": 14832, "end": 14980, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "column": 9 } } } ] }, { "type": "IfStatement", "start": 15047, "end": 15180, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 425, "column": 7 } }, "test": { "type": "MemberExpression", "start": 15050, "end": 15068, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15050, "end": 15062, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 21 } }, "object": { "type": "ThisExpression", "start": 15050, "end": 15054, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 13 } } }, "property": { "type": "Identifier", "start": 15055, "end": 15062, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15063, "end": 15068, "loc": { "start": { "line": 423, "column": 22 }, "end": { "line": 423, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15069, "end": 15180, "loc": { "start": { "line": 423, "column": 28 }, "end": { "line": 425, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15080, "end": 15171, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 99 } }, "expression": { "type": "CallExpression", "start": 15080, "end": 15170, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 15080, "end": 15091, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 19 } }, "object": { "type": "Identifier", "start": 15080, "end": 15087, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15088, "end": 15091, "loc": { "start": { "line": 424, "column": 16 }, "end": { "line": 424, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15092, "end": 15104, "loc": { "start": { "line": 424, "column": 20 }, "end": { "line": 424, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 15106, "end": 15133, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 61 } }, "object": { "type": "MemberExpression", "start": 15106, "end": 15118, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 46 } }, "object": { "type": "Identifier", "start": 15106, "end": 15111, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15112, "end": 15118, "loc": { "start": { "line": 424, "column": 40 }, "end": { "line": 424, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15119, "end": 15133, "loc": { "start": { "line": 424, "column": 47 }, "end": { "line": 424, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 15135, "end": 15169, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 15135, "end": 15167, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 95 } }, "object": { "type": "MemberExpression", "start": 15135, "end": 15155, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 83 } }, "object": { "type": "MemberExpression", "start": 15135, "end": 15147, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 75 } }, "object": { "type": "Identifier", "start": 15135, "end": 15140, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15141, "end": 15147, "loc": { "start": { "line": 424, "column": 69 }, "end": { "line": 424, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15148, "end": 15155, "loc": { "start": { "line": 424, "column": 76 }, "end": { "line": 424, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 15156, "end": 15167, "loc": { "start": { "line": 424, "column": 84 }, "end": { "line": 424, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 14524, "end": 14636, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "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": 15203, "end": 15323, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15327, "end": 15570, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 444, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15327, "end": 15333, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 432, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15336, "end": 15570, "loc": { "start": { "line": 432, "column": 11 }, "end": { "line": 444, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15342, "end": 15570, "loc": { "start": { "line": 432, "column": 17 }, "end": { "line": 444, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15349, "end": 15414, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 435, "column": 5 } }, "test": { "type": "MemberExpression", "start": 15352, "end": 15370, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15352, "end": 15364, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 19 } }, "object": { "type": "ThisExpression", "start": 15352, "end": 15356, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 11 } } }, "property": { "type": "Identifier", "start": 15357, "end": 15364, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15365, "end": 15370, "loc": { "start": { "line": 433, "column": 20 }, "end": { "line": 433, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15371, "end": 15414, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 435, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15380, "end": 15407, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 33 } }, "expression": { "type": "CallExpression", "start": 15380, "end": 15406, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 15380, "end": 15391, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 17 } }, "object": { "type": "Identifier", "start": 15380, "end": 15387, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15388, "end": 15391, "loc": { "start": { "line": 434, "column": 14 }, "end": { "line": 434, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15392, "end": 15405, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "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": 15422, "end": 15457, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 15463, "end": 15482, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 23 } }, "expression": { "type": "CallExpression", "start": 15463, "end": 15481, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 15463, "end": 15479, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15463, "end": 15467, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15468, "end": 15479, "loc": { "start": { "line": 440, "column": 9 }, "end": { "line": 440, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15422, "end": 15457, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15490, "end": 15565, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 443, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 15493, "end": 15534, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 15493, "end": 15519, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15500, "end": 15519, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 33 } }, "object": { "type": "MemberExpression", "start": 15500, "end": 15512, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15500, "end": 15504, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 18 } } }, "property": { "type": "Identifier", "start": 15505, "end": 15512, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15513, "end": 15519, "loc": { "start": { "line": 442, "column": 27 }, "end": { "line": 442, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15524, "end": 15534, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 442, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15543, "end": 15565, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 28 } }, "expression": { "type": "CallExpression", "start": 15543, "end": 15564, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 15543, "end": 15562, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15543, "end": 15555, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15543, "end": 15547, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, "property": { "type": "Identifier", "start": 15548, "end": 15555, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15556, "end": 15562, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 15203, "end": 15323, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "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": 15576, "end": 15694, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15698, "end": 15806, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 452, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15698, "end": 15706, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 449, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15709, "end": 15806, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 452, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15715, "end": 15806, "loc": { "start": { "line": 449, "column": 19 }, "end": { "line": 452, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15722, "end": 15801, "loc": { "start": { "line": 450, "column": 4 }, "end": { "line": 451, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 15725, "end": 15768, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 15725, "end": 15753, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15732, "end": 15753, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 35 } }, "object": { "type": "MemberExpression", "start": 15732, "end": 15744, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15732, "end": 15736, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 18 } } }, "property": { "type": "Identifier", "start": 15737, "end": 15744, "loc": { "start": { "line": 450, "column": 19 }, "end": { "line": 450, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15745, "end": 15753, "loc": { "start": { "line": 450, "column": 27 }, "end": { "line": 450, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15758, "end": 15768, "loc": { "start": { "line": 450, "column": 40 }, "end": { "line": 450, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15777, "end": 15801, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 30 } }, "expression": { "type": "CallExpression", "start": 15777, "end": 15800, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 15777, "end": 15798, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15777, "end": 15789, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15777, "end": 15781, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 10 } } }, "property": { "type": "Identifier", "start": 15782, "end": 15789, "loc": { "start": { "line": 451, "column": 11 }, "end": { "line": 451, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15790, "end": 15798, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 451, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "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": 15576, "end": 15694, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15812, "end": 15868, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15872, "end": 20001, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 593, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15872, "end": 15878, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15881, "end": 20001, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 593, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15887, "end": 20001, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 593, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 15935, "end": 15948, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 17 } }, "expression": { "type": "CallExpression", "start": 15935, "end": 15947, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 15935, "end": 15945, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 14 } }, "object": { "type": "ThisExpression", "start": 15935, "end": 15939, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15940, "end": 15945, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15894, "end": 15929, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 15956, "end": 16056, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15960, "end": 16055, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 103 } }, "id": { "type": "Identifier", "start": 15960, "end": 15971, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 15974, "end": 16055, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 103 } }, "test": { "type": "MemberExpression", "start": 15974, "end": 15993, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 41 } }, "object": { "type": "MemberExpression", "start": 15974, "end": 15986, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 34 } }, "object": { "type": "ThisExpression", "start": 15974, "end": 15978, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 26 } } }, "property": { "type": "Identifier", "start": 15979, "end": 15986, "loc": { "start": { "line": 463, "column": 27 }, "end": { "line": 463, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15987, "end": 15993, "loc": { "start": { "line": 463, "column": 35 }, "end": { "line": 463, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 15996, "end": 16014, "loc": { "start": { "line": 463, "column": 44 }, "end": { "line": 463, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 16017, "end": 16055, "loc": { "start": { "line": 463, "column": 65 }, "end": { "line": 463, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 16030, "end": 16053, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 101 } }, "object": { "type": "MemberExpression", "start": 16030, "end": 16042, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 90 } }, "object": { "type": "ThisExpression", "start": 16030, "end": 16034, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 82 } } }, "property": { "type": "Identifier", "start": 16035, "end": 16042, "loc": { "start": { "line": 463, "column": 83 }, "end": { "line": 463, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16043, "end": 16053, "loc": { "start": { "line": 463, "column": 91 }, "end": { "line": 463, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 16018, "end": 16028, "loc": { "start": { "line": 463, "column": 66 }, "end": { "line": 463, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 16054, "end": 16054, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16062, "end": 16132, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16066, "end": 16131, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 73 } }, "id": { "type": "Identifier", "start": 16066, "end": 16072, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 16075, "end": 16131, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 73 } }, "left": { "type": "MemberExpression", "start": 16075, "end": 16094, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 36 } }, "object": { "type": "MemberExpression", "start": 16075, "end": 16087, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 29 } }, "object": { "type": "ThisExpression", "start": 16075, "end": 16079, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 21 } } }, "property": { "type": "Identifier", "start": 16080, "end": 16087, "loc": { "start": { "line": 464, "column": 22 }, "end": { "line": 464, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16088, "end": 16094, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 16098, "end": 16131, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 16098, "end": 16129, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 71 } }, "object": { "type": "Identifier", "start": 16098, "end": 16112, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 16113, "end": 16129, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "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": 16140, "end": 16192, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 16198, "end": 16226, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16202, "end": 16225, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 31 } }, "id": { "type": "Identifier", "start": 16202, "end": 16220, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 16223, "end": 16225, "loc": { "start": { "line": 469, "column": 29 }, "end": { "line": 469, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16140, "end": 16192, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "IfStatement", "start": 16232, "end": 17371, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "CallExpression", "start": 16235, "end": 16274, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 16235, "end": 16248, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 20 } }, "object": { "type": "Identifier", "start": 16235, "end": 16240, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 16241, "end": 16248, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16249, "end": 16273, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16249, "end": 16261, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 33 } }, "object": { "type": "ThisExpression", "start": 16249, "end": 16253, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 25 } } }, "property": { "type": "Identifier", "start": 16254, "end": 16261, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16262, "end": 16273, "loc": { "start": { "line": 470, "column": 34 }, "end": { "line": 470, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 16275, "end": 17371, "loc": { "start": { "line": 470, "column": 47 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16284, "end": 17364, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 9 } }, "expression": { "type": "CallExpression", "start": 16284, "end": 17363, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 16284, "end": 16316, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16284, "end": 16308, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 30 } }, "object": { "type": "MemberExpression", "start": 16284, "end": 16296, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 18 } }, "object": { "type": "ThisExpression", "start": 16284, "end": 16288, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 10 } } }, "property": { "type": "Identifier", "start": 16289, "end": 16296, "loc": { "start": { "line": 471, "column": 11 }, "end": { "line": 471, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16297, "end": 16308, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 471, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16309, "end": 16316, "loc": { "start": { "line": 471, "column": 31 }, "end": { "line": 471, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16317, "end": 17362, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 497, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16317, "end": 16325, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 471, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 16329, "end": 17362, "loc": { "start": { "line": 471, "column": 51 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 16340, "end": 17353, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 496, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 16343, "end": 16377, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 45 } }, "left": { "type": "MemberExpression", "start": 16343, "end": 16359, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 27 } }, "object": { "type": "Identifier", "start": 16343, "end": 16351, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16352, "end": 16359, "loc": { "start": { "line": 472, "column": 20 }, "end": { "line": 472, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 16363, "end": 16377, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 45 } }, "object": { "type": "Identifier", "start": 16363, "end": 16371, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16372, "end": 16377, "loc": { "start": { "line": 472, "column": 40 }, "end": { "line": 472, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 16378, "end": 17219, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 494, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16391, "end": 16408, "loc": { "start": { "line": 473, "column": 10 }, "end": { "line": 473, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16395, "end": 16407, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 } }, "id": { "type": "Identifier", "start": 16395, "end": 16407, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 16422, "end": 16533, "loc": { "start": { "line": 475, "column": 10 }, "end": { "line": 477, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 16425, "end": 16461, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 16425, "end": 16448, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 16432, "end": 16448, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 36 } }, "object": { "type": "Identifier", "start": 16432, "end": 16440, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16441, "end": 16448, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 16453, "end": 16461, "loc": { "start": { "line": 475, "column": 41 }, "end": { "line": 475, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 16462, "end": 16533, "loc": { "start": { "line": 475, "column": 50 }, "end": { "line": 477, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16477, "end": 16520, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 16477, "end": 16519, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 16477, "end": 16489, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 16492, "end": 16519, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 16492, "end": 16514, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 49 } }, "object": { "type": "MemberExpression", "start": 16492, "end": 16508, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 43 } }, "object": { "type": "Identifier", "start": 16492, "end": 16500, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16501, "end": 16508, "loc": { "start": { "line": 476, "column": 36 }, "end": { "line": 476, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16509, "end": 16514, "loc": { "start": { "line": 476, "column": 44 }, "end": { "line": 476, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16515, "end": 16518, "loc": { "start": { "line": 476, "column": 50 }, "end": { "line": 476, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 16547, "end": 17208, "loc": { "start": { "line": 479, "column": 10 }, "end": { "line": 493, "column": 11 } }, "test": { "type": "Identifier", "start": 16550, "end": 16562, "loc": { "start": { "line": 479, "column": 13 }, "end": { "line": 479, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 16563, "end": 17208, "loc": { "start": { "line": 479, "column": 26 }, "end": { "line": 493, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16578, "end": 17195, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 15 } }, "expression": { "type": "CallExpression", "start": 16578, "end": 17194, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 16578, "end": 16598, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 32 } }, "object": { "type": "Identifier", "start": 16578, "end": 16590, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 16591, "end": 16598, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16599, "end": 17193, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 492, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16599, "end": 16610, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 16614, "end": 17193, "loc": { "start": { "line": 480, "column": 48 }, "end": { "line": 492, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 16631, "end": 16681, "loc": { "start": { "line": 481, "column": 14 }, "end": { "line": 481, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16635, "end": 16680, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 63 } }, "id": { "type": "Identifier", "start": 16635, "end": 16646, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 16649, "end": 16680, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 63 } }, "object": { "type": "Identifier", "start": 16649, "end": 16667, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 16668, "end": 16679, "loc": { "start": { "line": 481, "column": 51 }, "end": { "line": 481, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16699, "end": 16738, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] }, { "type": "IfStatement", "start": 16754, "end": 17178, "loc": { "start": { "line": 484, "column": 14 }, "end": { "line": 491, "column": 15 } }, "test": { "type": "Identifier", "start": 16757, "end": 16768, "loc": { "start": { "line": 484, "column": 17 }, "end": { "line": 484, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16769, "end": 17087, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 489, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 16889, "end": 17070, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 488, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 16892, "end": 16960, "loc": { "start": { "line": 486, "column": 19 }, "end": { "line": 486, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 16893, "end": 16960, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 16893, "end": 16920, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16893, "end": 16907, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 34 } }, "object": { "type": "ThisExpression", "start": 16893, "end": 16897, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 16898, "end": 16907, "loc": { "start": { "line": 486, "column": 25 }, "end": { "line": 486, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 16908, "end": 16920, "loc": { "start": { "line": 486, "column": 35 }, "end": { "line": 486, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 16921, "end": 16943, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 16921, "end": 16938, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 65 } }, "object": { "type": "Identifier", "start": 16921, "end": 16932, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 16933, "end": 16938, "loc": { "start": { "line": 486, "column": 60 }, "end": { "line": 486, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16939, "end": 16942, "loc": { "start": { "line": 486, "column": 66 }, "end": { "line": 486, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 16945, "end": 16959, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 86 } }, "object": { "type": "Identifier", "start": 16945, "end": 16953, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16954, "end": 16959, "loc": { "start": { "line": 486, "column": 81 }, "end": { "line": 486, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16961, "end": 17070, "loc": { "start": { "line": 486, "column": 88 }, "end": { "line": 488, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 16982, "end": 17051, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 16982, "end": 17050, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16982, "end": 17013, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 49 } }, "object": { "type": "Identifier", "start": 16982, "end": 17000, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17001, "end": 17012, "loc": { "start": { "line": 487, "column": 37 }, "end": { "line": 487, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 17016, "end": 17050, "loc": { "start": { "line": 487, "column": 52 }, "end": { "line": 487, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 17019, "end": 17030, "loc": { "start": { "line": 487, "column": 55 }, "end": { "line": 487, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 17034, "end": 17048, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 84 } }, "object": { "type": "Identifier", "start": 17034, "end": 17042, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17043, "end": 17048, "loc": { "start": { "line": 487, "column": 79 }, "end": { "line": 487, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 17017, "end": 17017, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 17031, "end": 17032, "loc": { "start": { "line": 487, "column": 67 }, "end": { "line": 487, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17049, "end": 17049, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "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": 16788, "end": 16871, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17093, "end": 17178, "loc": { "start": { "line": 489, "column": 21 }, "end": { "line": 491, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 17112, "end": 17161, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 17112, "end": 17160, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17112, "end": 17143, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 47 } }, "object": { "type": "Identifier", "start": 17112, "end": 17130, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17131, "end": 17142, "loc": { "start": { "line": 490, "column": 35 }, "end": { "line": 490, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 17146, "end": 17160, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 64 } }, "object": { "type": "Identifier", "start": 17146, "end": 17154, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17155, "end": 17160, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16699, "end": 16738, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17225, "end": 17353, "loc": { "start": { "line": 494, "column": 15 }, "end": { "line": 496, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 17238, "end": 17342, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "expression": { "type": "CallExpression", "start": 17238, "end": 17342, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 17238, "end": 17250, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 22 } }, "object": { "type": "Identifier", "start": 17238, "end": 17245, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17246, "end": 17250, "loc": { "start": { "line": 495, "column": 18 }, "end": { "line": 495, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 17251, "end": 17341, "loc": { "start": { "line": 495, "column": 23 }, "end": { "line": 495, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 17252, "end": 17340, "loc": { "start": { "line": 495, "column": 24 }, "end": { "line": 495, "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": 17379, "end": 17445, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17451, "end": 17521, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 17451, "end": 17520, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17451, "end": 17477, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 30 } }, "object": { "type": "MemberExpression", "start": 17451, "end": 17467, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17451, "end": 17455, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17456, "end": 17467, "loc": { "start": { "line": 503, "column": 9 }, "end": { "line": 503, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 17468, "end": 17477, "loc": { "start": { "line": 503, "column": 21 }, "end": { "line": 503, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 17481, "end": 17520, "loc": { "start": { "line": 503, "column": 34 }, "end": { "line": 503, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 17485, "end": 17503, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17485, "end": 17497, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 50 } }, "object": { "type": "ThisExpression", "start": 17485, "end": 17489, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 42 } } }, "property": { "type": "Identifier", "start": 17490, "end": 17497, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17498, "end": 17503, "loc": { "start": { "line": 503, "column": 51 }, "end": { "line": 503, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 17507, "end": 17518, "loc": { "start": { "line": 503, "column": 60 }, "end": { "line": 503, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 17482, "end": 17483, "loc": { "start": { "line": 503, "column": 35 }, "end": { "line": 503, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17504, "end": 17505, "loc": { "start": { "line": 503, "column": 57 }, "end": { "line": 503, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17519, "end": 17519, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17379, "end": 17445, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17529, "end": 17576, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17582, "end": 19699, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 7 } }, "expression": { "type": "CallExpression", "start": 17582, "end": 19698, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 17582, "end": 17621, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 43 } }, "object": { "type": "MemberExpression", "start": 17582, "end": 17613, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 35 } }, "object": { "type": "Identifier", "start": 17582, "end": 17588, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 17589, "end": 17612, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 34 } }, "object": { "type": "MemberExpression", "start": 17589, "end": 17601, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 23 } }, "object": { "type": "ThisExpression", "start": 17589, "end": 17593, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 15 } } }, "property": { "type": "Identifier", "start": 17594, "end": 17601, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17602, "end": 17612, "loc": { "start": { "line": 508, "column": 24 }, "end": { "line": 508, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 17614, "end": 17621, "loc": { "start": { "line": 508, "column": 36 }, "end": { "line": 508, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17622, "end": 19697, "loc": { "start": { "line": 508, "column": 44 }, "end": { "line": 575, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17623, "end": 17626, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 17628, "end": 17634, "loc": { "start": { "line": 508, "column": 50 }, "end": { "line": 508, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 17639, "end": 19697, "loc": { "start": { "line": 508, "column": 61 }, "end": { "line": 575, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 17648, "end": 17678, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17652, "end": 17677, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 35 } }, "id": { "type": "Identifier", "start": 17652, "end": 17660, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 17663, "end": 17677, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 17663, "end": 17672, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 30 } }, "object": { "type": "Identifier", "start": 17663, "end": 17666, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 17667, "end": 17672, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17673, "end": 17676, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17688, "end": 17731, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 17739, "end": 17782, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 514, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17743, "end": 17781, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 48 } }, "id": { "type": "Identifier", "start": 17743, "end": 17749, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 17752, "end": 17781, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 17752, "end": 17774, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 41 } }, "object": { "type": "Identifier", "start": 17752, "end": 17760, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17761, "end": 17774, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17775, "end": 17780, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "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": 17688, "end": 17731, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17790, "end": 17819, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 17790, "end": 17818, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17790, "end": 17806, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 22 } }, "object": { "type": "Identifier", "start": 17790, "end": 17796, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 17797, "end": 17806, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 17810, "end": 17818, "loc": { "start": { "line": 515, "column": 26 }, "end": { "line": 515, "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": 17829, "end": 17890, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17898, "end": 19585, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 9 } }, "expression": { "type": "CallExpression", "start": 17898, "end": 19584, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 17898, "end": 17914, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 22 } }, "object": { "type": "Identifier", "start": 17898, "end": 17906, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 17907, "end": 17914, "loc": { "start": { "line": 520, "column": 15 }, "end": { "line": 520, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17915, "end": 19583, "loc": { "start": { "line": 520, "column": 23 }, "end": { "line": 569, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17916, "end": 17922, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 17924, "end": 17930, "loc": { "start": { "line": 520, "column": 32 }, "end": { "line": 520, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 17935, "end": 19583, "loc": { "start": { "line": 520, "column": 43 }, "end": { "line": 569, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 17946, "end": 18002, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17950, "end": 18001, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 63 } }, "id": { "type": "Identifier", "start": 17950, "end": 17961, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 17964, "end": 18001, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 17964, "end": 17993, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 55 } }, "object": { "type": "MemberExpression", "start": 17964, "end": 17978, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 40 } }, "object": { "type": "ThisExpression", "start": 17964, "end": 17968, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 30 } } }, "property": { "type": "Identifier", "start": 17969, "end": 17978, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 17979, "end": 17993, "loc": { "start": { "line": 521, "column": 41 }, "end": { "line": 521, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17994, "end": 18000, "loc": { "start": { "line": 521, "column": 56 }, "end": { "line": 521, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18012, "end": 18062, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18016, "end": 18061, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 57 } }, "id": { "type": "Identifier", "start": 18016, "end": 18032, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 18035, "end": 18061, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 57 } }, "object": { "type": "Identifier", "start": 18035, "end": 18053, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 18054, "end": 18060, "loc": { "start": { "line": 522, "column": 50 }, "end": { "line": 522, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18072, "end": 18189, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18076, "end": 18188, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 124 } }, "id": { "type": "Identifier", "start": 18076, "end": 18093, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 18096, "end": 18188, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 18096, "end": 18131, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 67 } }, "object": { "type": "MemberExpression", "start": 18096, "end": 18110, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 46 } }, "object": { "type": "ThisExpression", "start": 18096, "end": 18100, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 36 } } }, "property": { "type": "Identifier", "start": 18101, "end": 18110, "loc": { "start": { "line": 523, "column": 37 }, "end": { "line": 523, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18111, "end": 18131, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18132, "end": 18138, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 18140, "end": 18160, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 96 } }, "object": { "type": "MemberExpression", "start": 18140, "end": 18152, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 88 } }, "object": { "type": "ThisExpression", "start": 18140, "end": 18144, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 80 } } }, "property": { "type": "Identifier", "start": 18145, "end": 18152, "loc": { "start": { "line": 523, "column": 81 }, "end": { "line": 523, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18153, "end": 18160, "loc": { "start": { "line": 523, "column": 89 }, "end": { "line": 523, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 18162, "end": 18187, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 123 } }, "object": { "type": "MemberExpression", "start": 18162, "end": 18174, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 110 } }, "object": { "type": "ThisExpression", "start": 18162, "end": 18166, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 102 } } }, "property": { "type": "Identifier", "start": 18167, "end": 18174, "loc": { "start": { "line": 523, "column": 103 }, "end": { "line": 523, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18175, "end": 18187, "loc": { "start": { "line": 523, "column": 111 }, "end": { "line": 523, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18201, "end": 18245, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18255, "end": 18301, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18259, "end": 18300, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 53 } }, "id": { "type": "Identifier", "start": 18259, "end": 18268, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 18271, "end": 18300, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 18271, "end": 18293, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 46 } }, "object": { "type": "Identifier", "start": 18271, "end": 18279, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18280, "end": 18293, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18294, "end": 18299, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18201, "end": 18245, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18311, "end": 18408, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 18311, "end": 18407, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 18311, "end": 18330, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 27 } }, "object": { "type": "Identifier", "start": 18311, "end": 18320, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18321, "end": 18330, "loc": { "start": { "line": 529, "column": 18 }, "end": { "line": 529, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 18334, "end": 18407, "loc": { "start": { "line": 529, "column": 31 }, "end": { "line": 529, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 18347, "end": 18358, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 529, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 18361, "end": 18405, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 102 } }, "test": { "type": "Identifier", "start": 18361, "end": 18377, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 18380, "end": 18400, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 97 } }, "left": { "type": "StringLiteral", "start": 18380, "end": 18383, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 18384, "end": 18400, "loc": { "start": { "line": 529, "column": 81 }, "end": { "line": 529, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 18403, "end": 18405, "loc": { "start": { "line": 529, "column": 100 }, "end": { "line": 529, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 18335, "end": 18345, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 18359, "end": 18359, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18406, "end": 18406, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 18418, "end": 18477, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 18418, "end": 18476, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18418, "end": 18435, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 25 } }, "object": { "type": "Identifier", "start": 18418, "end": 18427, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18428, "end": 18435, "loc": { "start": { "line": 530, "column": 18 }, "end": { "line": 530, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 18438, "end": 18476, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 18444, "end": 18476, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 18444, "end": 18468, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 58 } }, "object": { "type": "ThisExpression", "start": 18444, "end": 18448, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 38 } } }, "property": { "type": "Identifier", "start": 18449, "end": 18468, "loc": { "start": { "line": 530, "column": 39 }, "end": { "line": 530, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18469, "end": 18475, "loc": { "start": { "line": 530, "column": 59 }, "end": { "line": 530, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18489, "end": 18535, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18545, "end": 18590, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 53 } }, "expression": { "type": "CallExpression", "start": 18545, "end": 18589, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 18545, "end": 18567, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 30 } }, "object": { "type": "Identifier", "start": 18545, "end": 18554, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18555, "end": 18567, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18568, "end": 18580, "loc": { "start": { "line": 535, "column": 31 }, "end": { "line": 535, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 18582, "end": 18588, "loc": { "start": { "line": 535, "column": 45 }, "end": { "line": 535, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18489, "end": 18535, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "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": 18602, "end": 18757, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18767, "end": 18833, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18771, "end": 18832, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 73 } }, "id": { "type": "Identifier", "start": 18771, "end": 18780, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 18783, "end": 18832, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 541, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 18786, "end": 18809, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 50 } }, "object": { "type": "MemberExpression", "start": 18786, "end": 18798, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 39 } }, "object": { "type": "ThisExpression", "start": 18786, "end": 18790, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 31 } } }, "property": { "type": "Identifier", "start": 18791, "end": 18798, "loc": { "start": { "line": 541, "column": 32 }, "end": { "line": 541, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18799, "end": 18809, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 18814, "end": 18820, "loc": { "start": { "line": 541, "column": 55 }, "end": { "line": 541, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 18824, "end": 18830, "loc": { "start": { "line": 541, "column": 65 }, "end": { "line": 541, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 18784, "end": 18784, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18810, "end": 18812, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 18821, "end": 18822, "loc": { "start": { "line": 541, "column": 62 }, "end": { "line": 541, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 18831, "end": 18831, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "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": 18602, "end": 18757, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18843, "end": 18894, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 59 } }, "expression": { "type": "CallExpression", "start": 18843, "end": 18893, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 18843, "end": 18865, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 30 } }, "object": { "type": "Identifier", "start": 18843, "end": 18852, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18853, "end": 18865, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18866, "end": 18881, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 18883, "end": 18892, "loc": { "start": { "line": 542, "column": 48 }, "end": { "line": 542, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18906, "end": 18955, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18965, "end": 19028, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 71 } }, "expression": { "type": "CallExpression", "start": 18965, "end": 19027, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 18965, "end": 18987, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 30 } }, "object": { "type": "Identifier", "start": 18965, "end": 18974, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18975, "end": 18987, "loc": { "start": { "line": 547, "column": 18 }, "end": { "line": 547, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18988, "end": 19007, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 547, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 19009, "end": 19026, "loc": { "start": { "line": 547, "column": 52 }, "end": { "line": 547, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18906, "end": 18955, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19040, "end": 19098, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 19108, "end": 19159, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19112, "end": 19158, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 58 } }, "id": { "type": "Identifier", "start": 19112, "end": 19125, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19128, "end": 19158, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 19128, "end": 19150, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 50 } }, "object": { "type": "Identifier", "start": 19128, "end": 19136, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 19137, "end": 19150, "loc": { "start": { "line": 552, "column": 37 }, "end": { "line": 552, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19151, "end": 19157, "loc": { "start": { "line": 552, "column": 51 }, "end": { "line": 552, "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": 19040, "end": 19098, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19169, "end": 19213, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 19169, "end": 19212, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19169, "end": 19192, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 31 } }, "object": { "type": "Identifier", "start": 19169, "end": 19182, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 19183, "end": 19192, "loc": { "start": { "line": 553, "column": 22 }, "end": { "line": 553, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 19195, "end": 19212, "loc": { "start": { "line": 553, "column": 34 }, "end": { "line": 553, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 19223, "end": 19260, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 45 } }, "expression": { "type": "CallExpression", "start": 19223, "end": 19259, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 19223, "end": 19244, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 29 } }, "object": { "type": "Identifier", "start": 19223, "end": 19232, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 19233, "end": 19244, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19245, "end": 19258, "loc": { "start": { "line": 554, "column": 30 }, "end": { "line": 554, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19272, "end": 19325, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "IfStatement", "start": 19335, "end": 19412, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 560, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 19338, "end": 19366, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19339, "end": 19366, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 39 } }, "object": { "type": "MemberExpression", "start": 19339, "end": 19358, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 31 } }, "object": { "type": "ThisExpression", "start": 19339, "end": 19343, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19344, "end": 19358, "loc": { "start": { "line": 559, "column": 17 }, "end": { "line": 559, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19359, "end": 19365, "loc": { "start": { "line": 559, "column": 32 }, "end": { "line": 559, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 19379, "end": 19412, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 19379, "end": 19411, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19379, "end": 19406, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 37 } }, "object": { "type": "MemberExpression", "start": 19379, "end": 19398, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19379, "end": 19383, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, "property": { "type": "Identifier", "start": 19384, "end": 19398, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19399, "end": 19405, "loc": { "start": { "line": 560, "column": 30 }, "end": { "line": 560, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 19409, "end": 19411, "loc": { "start": { "line": 560, "column": 40 }, "end": { "line": 560, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19272, "end": 19325, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19424, "end": 19468, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 52 } }, "expression": { "type": "CallExpression", "start": 19424, "end": 19467, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 19424, "end": 19456, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 40 } }, "object": { "type": "MemberExpression", "start": 19424, "end": 19451, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19424, "end": 19443, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 27 } }, "object": { "type": "ThisExpression", "start": 19424, "end": 19428, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 12 } } }, "property": { "type": "Identifier", "start": 19429, "end": 19443, "loc": { "start": { "line": 562, "column": 13 }, "end": { "line": 562, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19444, "end": 19450, "loc": { "start": { "line": 562, "column": 28 }, "end": { "line": 562, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 19452, "end": 19456, "loc": { "start": { "line": 562, "column": 36 }, "end": { "line": 562, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19457, "end": 19466, "loc": { "start": { "line": 562, "column": 41 }, "end": { "line": 562, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19480, "end": 19532, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19542, "end": 19572, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 38 } }, "expression": { "type": "CallExpression", "start": 19542, "end": 19571, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 19542, "end": 19560, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 26 } }, "object": { "type": "Identifier", "start": 19542, "end": 19548, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 19549, "end": 19560, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19561, "end": 19570, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19480, "end": 19532, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17829, "end": 17890, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19595, "end": 19645, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19653, "end": 19690, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 43 } }, "expression": { "type": "CallExpression", "start": 19653, "end": 19689, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19653, "end": 19681, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19653, "end": 19669, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19653, "end": 19657, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19658, "end": 19669, "loc": { "start": { "line": 574, "column": 11 }, "end": { "line": 574, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19670, "end": 19681, "loc": { "start": { "line": 574, "column": 23 }, "end": { "line": 574, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19682, "end": 19688, "loc": { "start": { "line": 574, "column": 35 }, "end": { "line": 574, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19595, "end": 19645, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17529, "end": 17576, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19707, "end": 19744, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19750, "end": 19766, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19750, "end": 19765, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19750, "end": 19763, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19750, "end": 19754, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19755, "end": 19763, "loc": { "start": { "line": 580, "column": 9 }, "end": { "line": 580, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19707, "end": 19744, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19774, "end": 19996, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 592, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 19777, "end": 19794, "loc": { "start": { "line": 582, "column": 7 }, "end": { "line": 582, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19778, "end": 19794, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 24 } }, "object": { "type": "ThisExpression", "start": 19778, "end": 19782, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 12 } } }, "property": { "type": "Identifier", "start": 19783, "end": 19794, "loc": { "start": { "line": 582, "column": 13 }, "end": { "line": 582, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 19795, "end": 19996, "loc": { "start": { "line": 582, "column": 25 }, "end": { "line": 592, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19894, "end": 19918, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19894, "end": 19917, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19894, "end": 19910, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19894, "end": 19898, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19899, "end": 19910, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 19913, "end": 19917, "loc": { "start": { "line": 586, "column": 25 }, "end": { "line": 586, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19804, "end": 19886, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19928, "end": 19967, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19975, "end": 19989, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19975, "end": 19988, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19975, "end": 19986, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19975, "end": 19979, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19980, "end": 19986, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19928, "end": 19967, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15812, "end": 15868, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "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 * 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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "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": 7700, "end": 7819, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7960, "end": 8015, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "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": 8111, "end": 8273, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8366, "end": 8421, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "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": 8567, "end": 8727, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8863, "end": 8918, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9016, "end": 9125, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "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": 9198, "end": 9324, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 9468, "end": 9577, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "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": 9733, "end": 9938, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "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": 10323, "end": 10604, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10938, "end": 11029, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11559, "end": 11634, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "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": 11853, "end": 12193, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 12248, "end": 12328, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12457, "end": 12525, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "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": 12790, "end": 12931, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13172, "end": 13269, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "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": 13627, "end": 13830, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14114, "end": 14204, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "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": 14524, "end": 14636, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "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": 14832, "end": 14980, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "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": 15203, "end": 15323, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15422, "end": 15457, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "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": 15576, "end": 15694, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15812, "end": 15868, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15894, "end": 15929, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16140, "end": 16192, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 16699, "end": 16738, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 16788, "end": 16871, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17379, "end": 17445, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17529, "end": 17576, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17688, "end": 17731, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17829, "end": 17890, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18201, "end": 18245, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18489, "end": 18535, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "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": 18602, "end": 18757, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18906, "end": 18955, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19040, "end": 19098, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19272, "end": 19325, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19480, "end": 19532, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19595, "end": 19645, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19707, "end": 19744, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19804, "end": 19886, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19928, "end": 19967, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "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 * 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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "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": 4849, "end": 4853, "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": 4853, "end": 4854, "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": "input", "start": 4854, "end": 4859, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4860, "end": 4861, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4862, "end": 4863, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4863, "end": 4864, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4864, "end": 4865, "loc": { "start": { "line": 80, "column": 19 }, "end": { "line": 80, "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": 4871, "end": 4875, "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": 4875, "end": 4876, "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": "input", "start": 4876, "end": 4881, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4881, "end": 4882, "loc": { "start": { "line": 81, "column": 14 }, "end": { "line": 81, "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": 4882, "end": 4886, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4886, "end": 4887, "loc": { "start": { "line": 81, "column": 19 }, "end": { "line": 81, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4887, "end": 4894, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4894, "end": 4895, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4895, "end": 4904, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4904, "end": 4905, "loc": { "start": { "line": 81, "column": 37 }, "end": { "line": 81, "column": 38 } } }, { "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": 39 }, "end": { "line": 81, "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": 4908, "end": 4910, "loc": { "start": { "line": 81, "column": 41 }, "end": { "line": 81, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4910, "end": 4911, "loc": { "start": { "line": 81, "column": 43 }, "end": { "line": 81, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "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": 5034, "end": 5038, "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": 5038, "end": 5039, "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": "keyboardDOMClass", "start": 5039, "end": 5055, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5056, "end": 5057, "loc": { "start": { "line": 86, "column": 26 }, "end": { "line": 86, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 5058, "end": 5074, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5074, "end": 5075, "loc": { "start": { "line": 86, "column": 44 }, "end": { "line": 86, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 5075, "end": 5080, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5080, "end": 5081, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "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": 5081, "end": 5084, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5084, "end": 5085, "loc": { "start": { "line": 86, "column": 54 }, "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": 5085, "end": 5086, "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": "join", "start": 5086, "end": 5090, "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": 5090, "end": 5091, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "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": 5091, "end": 5093, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5093, "end": 5094, "loc": { "start": { "line": 86, "column": 63 }, "end": { "line": 86, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5094, "end": 5095, "loc": { "start": { "line": 86, "column": 64 }, "end": { "line": 86, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "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": 5254, "end": 5258, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5258, "end": 5259, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 5259, "end": 5273, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5274, "end": 5275, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5276, "end": 5277, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5277, "end": 5278, "loc": { "start": { "line": 91, "column": 27 }, "end": { "line": 91, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5278, "end": 5279, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "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": 5332, "end": 5334, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5334, "end": 5335, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "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": 5335, "end": 5339, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5339, "end": 5340, "loc": { "start": { "line": 96, "column": 11 }, "end": { "line": 96, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 5340, "end": 5351, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5351, "end": 5352, "loc": { "start": { "line": 96, "column": 23 }, "end": { "line": 96, "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": 5360, "end": 5364, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5364, "end": 5365, "loc": { "start": { "line": 97, "column": 10 }, "end": { "line": 97, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5365, "end": 5371, "loc": { "start": { "line": 97, "column": 11 }, "end": { "line": 97, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5371, "end": 5372, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5372, "end": 5373, "loc": { "start": { "line": 97, "column": 18 }, "end": { "line": 97, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5373, "end": 5374, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "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": 5380, "end": 5384, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 98, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5385, "end": 5386, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 98, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 5394, "end": 5401, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5401, "end": 5402, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 5402, "end": 5406, "loc": { "start": { "line": 99, "column": 14 }, "end": { "line": 99, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5406, "end": 5407, "loc": { "start": { "line": 99, "column": 18 }, "end": { "line": 99, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5407, "end": 5408, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "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": 5408, "end": 5409, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5409, "end": 5411, "loc": { "start": { "line": 99, "column": 21 }, "end": { "line": 99, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 5411, "end": 5427, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5427, "end": 5428, "loc": { "start": { "line": 99, "column": 39 }, "end": { "line": 99, "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": 5428, "end": 5455, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5455, "end": 5456, "loc": { "start": { "line": 99, "column": 67 }, "end": { "line": 99, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5456, "end": 5457, "loc": { "start": { "line": 99, "column": 68 }, "end": { "line": 99, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5457, "end": 5458, "loc": { "start": { "line": 99, "column": 69 }, "end": { "line": 99, "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": 5466, "end": 5471, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "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": 5472, "end": 5475, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 5476, "end": 5481, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5481, "end": 5482, "loc": { "start": { "line": 100, "column": 21 }, "end": { "line": 100, "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": 5482, "end": 5502, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5502, "end": 5503, "loc": { "start": { "line": 100, "column": 42 }, "end": { "line": 100, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5503, "end": 5504, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5510, "end": 5511, "loc": { "start": { "line": 101, "column": 4 }, "end": { "line": 101, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "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": 5638, "end": 5640, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5640, "end": 5641, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "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": 5641, "end": 5642, "loc": { "start": { "line": 107, "column": 7 }, "end": { "line": 107, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5642, "end": 5648, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5648, "end": 5649, "loc": { "start": { "line": 107, "column": 14 }, "end": { "line": 107, "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": 5649, "end": 5674, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 107, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5674, "end": 5675, "loc": { "start": { "line": 107, "column": 40 }, "end": { "line": 107, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5675, "end": 5676, "loc": { "start": { "line": 107, "column": 41 }, "end": { "line": 107, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5684, "end": 5690, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5690, "end": 5691, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "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": 5691, "end": 5716, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5716, "end": 5717, "loc": { "start": { "line": 108, "column": 38 }, "end": { "line": 108, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5718, "end": 5719, "loc": { "start": { "line": 108, "column": 40 }, "end": { "line": 108, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5720, "end": 5721, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 108, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5721, "end": 5722, "loc": { "start": { "line": 108, "column": 43 }, "end": { "line": 108, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5722, "end": 5723, "loc": { "start": { "line": 108, "column": 44 }, "end": { "line": 108, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5737, "end": 5743, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5743, "end": 5744, "loc": { "start": { "line": 110, "column": 10 }, "end": { "line": 110, "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": 5744, "end": 5769, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5769, "end": 5770, "loc": { "start": { "line": 110, "column": 36 }, "end": { "line": 110, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5770, "end": 5771, "loc": { "start": { "line": 110, "column": 37 }, "end": { "line": 110, "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": 5771, "end": 5775, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5775, "end": 5776, "loc": { "start": { "line": 110, "column": 42 }, "end": { "line": 110, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 5776, "end": 5785, "loc": { "start": { "line": 110, "column": 43 }, "end": { "line": 110, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5785, "end": 5786, "loc": { "start": { "line": 110, "column": 52 }, "end": { "line": 110, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 5786, "end": 5795, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5795, "end": 5796, "loc": { "start": { "line": 110, "column": 62 }, "end": { "line": 110, "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": 5796, "end": 5800, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5800, "end": 5801, "loc": { "start": { "line": 110, "column": 67 }, "end": { "line": 110, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 5801, "end": 5817, "loc": { "start": { "line": 110, "column": 68 }, "end": { "line": 110, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5817, "end": 5818, "loc": { "start": { "line": 110, "column": 84 }, "end": { "line": 110, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5818, "end": 5819, "loc": { "start": { "line": 110, "column": 85 }, "end": { "line": 110, "column": 86 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5820, "end": 5821, "loc": { "start": { "line": 110, "column": 87 }, "end": { "line": 110, "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": 5822, "end": 5826, "loc": { "start": { "line": 110, "column": 89 }, "end": { "line": 110, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5826, "end": 5827, "loc": { "start": { "line": 110, "column": 93 }, "end": { "line": 110, "column": 94 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "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": 5887, "end": 5891, "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": 5891, "end": 5892, "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": "physicalKeyboardInterface", "start": 5892, "end": 5917, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5918, "end": 5919, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "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": 5920, "end": 5923, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 5924, "end": 5940, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5940, "end": 5941, "loc": { "start": { "line": 115, "column": 57 }, "end": { "line": 115, "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": 5941, "end": 5945, "loc": { "start": { "line": 115, "column": 58 }, "end": { "line": 115, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5945, "end": 5946, "loc": { "start": { "line": 115, "column": 62 }, "end": { "line": 115, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5946, "end": 5947, "loc": { "start": { "line": 115, "column": 63 }, "end": { "line": 115, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5951, "end": 5952, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 116, "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 6072, "end": 6091, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6092, "end": 6093, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6094, "end": 6095, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6095, "end": 6101, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6101, "end": 6102, "loc": { "start": { "line": 121, "column": 31 }, "end": { "line": 121, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6103, "end": 6105, "loc": { "start": { "line": 121, "column": 33 }, "end": { "line": 121, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6106, "end": 6107, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 37 } } }, { "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": 6113, "end": 6116, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 6117, "end": 6122, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6123, "end": 6124, "loc": { "start": { "line": 122, "column": 14 }, "end": { "line": 122, "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": 6125, "end": 6129, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6129, "end": 6130, "loc": { "start": { "line": 122, "column": 20 }, "end": { "line": 122, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6130, "end": 6137, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6137, "end": 6138, "loc": { "start": { "line": 122, "column": 28 }, "end": { "line": 122, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 6138, "end": 6143, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6143, "end": 6144, "loc": { "start": { "line": 122, "column": 34 }, "end": { "line": 122, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "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": 6207, "end": 6209, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6209, "end": 6210, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6210, "end": 6216, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6217, "end": 6220, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "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": 6221, "end": 6227, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6227, "end": 6228, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "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": 6236, "end": 6242, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "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": 6243, "end": 6248, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6248, "end": 6249, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "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": 6302, "end": 6304, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 133, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6304, "end": 6305, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "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": 6305, "end": 6311, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "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": 6312, "end": 6316, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6316, "end": 6317, "loc": { "start": { "line": 133, "column": 18 }, "end": { "line": 133, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6317, "end": 6324, "loc": { "start": { "line": 133, "column": 19 }, "end": { "line": 133, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6324, "end": 6325, "loc": { "start": { "line": 133, "column": 26 }, "end": { "line": 133, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 6325, "end": 6335, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6336, "end": 6339, "loc": { "start": { "line": 133, "column": 38 }, "end": { "line": 133, "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": 6340, "end": 6350, "loc": { "start": { "line": 133, "column": 42 }, "end": { "line": 133, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6350, "end": 6351, "loc": { "start": { "line": 133, "column": 52 }, "end": { "line": 133, "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": 6359, "end": 6363, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6363, "end": 6364, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6364, "end": 6371, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6371, "end": 6372, "loc": { "start": { "line": 134, "column": 18 }, "end": { "line": 134, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 6372, "end": 6382, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6382, "end": 6383, "loc": { "start": { "line": 134, "column": 29 }, "end": { "line": 134, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6383, "end": 6389, "loc": { "start": { "line": 134, "column": 30 }, "end": { "line": 134, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6389, "end": 6390, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6390, "end": 6391, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "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": 6403, "end": 6405, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 136, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6405, "end": 6406, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "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": 6406, "end": 6407, "loc": { "start": { "line": 136, "column": 7 }, "end": { "line": 136, "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": 6407, "end": 6411, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6411, "end": 6412, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6412, "end": 6417, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6417, "end": 6418, "loc": { "start": { "line": 136, "column": 18 }, "end": { "line": 136, "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": 6418, "end": 6422, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6422, "end": 6423, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6423, "end": 6430, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6430, "end": 6431, "loc": { "start": { "line": 136, "column": 31 }, "end": { "line": 136, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6431, "end": 6440, "loc": { "start": { "line": 136, "column": 32 }, "end": { "line": 136, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6440, "end": 6441, "loc": { "start": { "line": 136, "column": 41 }, "end": { "line": 136, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6441, "end": 6442, "loc": { "start": { "line": 136, "column": 42 }, "end": { "line": 136, "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": 6450, "end": 6454, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6454, "end": 6455, "loc": { "start": { "line": 137, "column": 10 }, "end": { "line": 137, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6455, "end": 6460, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6460, "end": 6461, "loc": { "start": { "line": 137, "column": 16 }, "end": { "line": 137, "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": 6461, "end": 6465, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6465, "end": 6466, "loc": { "start": { "line": 137, "column": 21 }, "end": { "line": 137, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6466, "end": 6473, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6473, "end": 6474, "loc": { "start": { "line": 137, "column": 29 }, "end": { "line": 137, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6474, "end": 6483, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6483, "end": 6484, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6485, "end": 6486, "loc": { "start": { "line": 137, "column": 41 }, "end": { "line": 137, "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": 6487, "end": 6489, "loc": { "start": { "line": 137, "column": 43 }, "end": { "line": 137, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6489, "end": 6490, "loc": { "start": { "line": 137, "column": 45 }, "end": { "line": 137, "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": 6498, "end": 6501, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6502, "end": 6514, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6515, "end": 6516, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 139, "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": 6517, "end": 6521, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 27 } } }, { "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": 139, "column": 27 }, "end": { "line": 139, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 6522, "end": 6531, "loc": { "start": { "line": 139, "column": 28 }, "end": { "line": 139, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6531, "end": 6532, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 6532, "end": 6547, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6547, "end": 6548, "loc": { "start": { "line": 139, "column": 53 }, "end": { "line": 139, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6548, "end": 6554, "loc": { "start": { "line": 139, "column": 54 }, "end": { "line": 139, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6554, "end": 6555, "loc": { "start": { "line": 139, "column": 60 }, "end": { "line": 139, "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": 6556, "end": 6560, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6560, "end": 6561, "loc": { "start": { "line": 139, "column": 66 }, "end": { "line": 139, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6561, "end": 6566, "loc": { "start": { "line": 139, "column": 67 }, "end": { "line": 139, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6566, "end": 6567, "loc": { "start": { "line": 139, "column": 72 }, "end": { "line": 139, "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": 6567, "end": 6571, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6571, "end": 6572, "loc": { "start": { "line": 139, "column": 77 }, "end": { "line": 139, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6572, "end": 6579, "loc": { "start": { "line": 139, "column": 78 }, "end": { "line": 139, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6579, "end": 6580, "loc": { "start": { "line": 139, "column": 85 }, "end": { "line": 139, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6580, "end": 6589, "loc": { "start": { "line": 139, "column": 86 }, "end": { "line": 139, "column": 95 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6589, "end": 6590, "loc": { "start": { "line": 139, "column": 95 }, "end": { "line": 139, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6590, "end": 6591, "loc": { "start": { "line": 139, "column": 96 }, "end": { "line": 139, "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": 6592, "end": 6596, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6596, "end": 6597, "loc": { "start": { "line": 139, "column": 102 }, "end": { "line": 139, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6597, "end": 6604, "loc": { "start": { "line": 139, "column": 103 }, "end": { "line": 139, "column": 110 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6604, "end": 6605, "loc": { "start": { "line": 139, "column": 110 }, "end": { "line": 139, "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": 6606, "end": 6610, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 116 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6610, "end": 6611, "loc": { "start": { "line": 139, "column": 116 }, "end": { "line": 139, "column": 117 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 6611, "end": 6624, "loc": { "start": { "line": 139, "column": 117 }, "end": { "line": 139, "column": 130 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6624, "end": 6625, "loc": { "start": { "line": 139, "column": 130 }, "end": { "line": 139, "column": 131 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6625, "end": 6626, "loc": { "start": { "line": 139, "column": 131 }, "end": { "line": 139, "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": 6634, "end": 6636, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6636, "end": 6637, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "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": 6637, "end": 6641, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6641, "end": 6642, "loc": { "start": { "line": 141, "column": 11 }, "end": { "line": 141, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6642, "end": 6647, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6647, "end": 6648, "loc": { "start": { "line": 141, "column": 17 }, "end": { "line": 141, "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": 6648, "end": 6652, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6652, "end": 6653, "loc": { "start": { "line": 141, "column": 22 }, "end": { "line": 141, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6653, "end": 6660, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6660, "end": 6661, "loc": { "start": { "line": 141, "column": 30 }, "end": { "line": 141, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6661, "end": 6670, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6670, "end": 6671, "loc": { "start": { "line": 141, "column": 40 }, "end": { "line": 141, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 6672, "end": 6675, "loc": { "start": { "line": 141, "column": 42 }, "end": { "line": 141, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6676, "end": 6688, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6688, "end": 6689, "loc": { "start": { "line": 141, "column": 58 }, "end": { "line": 141, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6689, "end": 6690, "loc": { "start": { "line": 141, "column": 59 }, "end": { "line": 141, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "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": 6785, "end": 6787, "loc": { "start": { "line": 146, "column": 6 }, "end": { "line": 146, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6787, "end": 6788, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "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": 6788, "end": 6792, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6792, "end": 6793, "loc": { "start": { "line": 146, "column": 13 }, "end": { "line": 146, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6793, "end": 6800, "loc": { "start": { "line": 146, "column": 14 }, "end": { "line": 146, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6800, "end": 6801, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 6801, "end": 6810, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 6811, "end": 6813, "loc": { "start": { "line": 146, "column": 32 }, "end": { "line": 146, "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": 6814, "end": 6818, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6818, "end": 6819, "loc": { "start": { "line": 146, "column": 39 }, "end": { "line": 146, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 6819, "end": 6828, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6828, "end": 6829, "loc": { "start": { "line": 146, "column": 49 }, "end": { "line": 146, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 6829, "end": 6844, "loc": { "start": { "line": 146, "column": 50 }, "end": { "line": 146, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6844, "end": 6845, "loc": { "start": { "line": 146, "column": 65 }, "end": { "line": 146, "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": 6845, "end": 6849, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6849, "end": 6850, "loc": { "start": { "line": 146, "column": 70 }, "end": { "line": 146, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6850, "end": 6855, "loc": { "start": { "line": 146, "column": 71 }, "end": { "line": 146, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6855, "end": 6856, "loc": { "start": { "line": 146, "column": 76 }, "end": { "line": 146, "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": 6857, "end": 6861, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6861, "end": 6862, "loc": { "start": { "line": 146, "column": 82 }, "end": { "line": 146, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6862, "end": 6869, "loc": { "start": { "line": 146, "column": 83 }, "end": { "line": 146, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6869, "end": 6870, "loc": { "start": { "line": 146, "column": 90 }, "end": { "line": 146, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6871, "end": 6883, "loc": { "start": { "line": 146, "column": 92 }, "end": { "line": 146, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6883, "end": 6884, "loc": { "start": { "line": 146, "column": 104 }, "end": { "line": 146, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6884, "end": 6885, "loc": { "start": { "line": 146, "column": 105 }, "end": { "line": 146, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6885, "end": 6886, "loc": { "start": { "line": 146, "column": 106 }, "end": { "line": 146, "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": 6896, "end": 6902, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "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": 6903, "end": 6908, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6908, "end": 6909, "loc": { "start": { "line": 147, "column": 20 }, "end": { "line": 147, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6917, "end": 6918, "loc": { "start": { "line": 148, "column": 6 }, "end": { "line": 148, "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": 6928, "end": 6932, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 10 } } }, { "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": 150, "column": 10 }, "end": { "line": 150, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6933, "end": 6938, "loc": { "start": { "line": 150, "column": 11 }, "end": { "line": 150, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6938, "end": 6939, "loc": { "start": { "line": 150, "column": 16 }, "end": { "line": 150, "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": 6939, "end": 6943, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6943, "end": 6944, "loc": { "start": { "line": 150, "column": 21 }, "end": { "line": 150, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6944, "end": 6951, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6951, "end": 6952, "loc": { "start": { "line": 150, "column": 29 }, "end": { "line": 150, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6952, "end": 6961, "loc": { "start": { "line": 150, "column": 30 }, "end": { "line": 150, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6961, "end": 6962, "loc": { "start": { "line": 150, "column": 39 }, "end": { "line": 150, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6963, "end": 6964, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6965, "end": 6977, "loc": { "start": { "line": 150, "column": 43 }, "end": { "line": 150, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6977, "end": 6978, "loc": { "start": { "line": 150, "column": 55 }, "end": { "line": 150, "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": 6988, "end": 6990, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6990, "end": 6991, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 6991, "end": 6996, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6996, "end": 6997, "loc": { "start": { "line": 152, "column": 14 }, "end": { "line": 152, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 7007, "end": 7014, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7014, "end": 7015, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 7015, "end": 7018, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7018, "end": 7019, "loc": { "start": { "line": 153, "column": 19 }, "end": { "line": 153, "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": 7019, "end": 7035, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7035, "end": 7036, "loc": { "start": { "line": 153, "column": 36 }, "end": { "line": 153, "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": 7037, "end": 7041, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7041, "end": 7042, "loc": { "start": { "line": 153, "column": 42 }, "end": { "line": 153, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7042, "end": 7047, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7047, "end": 7048, "loc": { "start": { "line": 153, "column": 48 }, "end": { "line": 153, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7048, "end": 7049, "loc": { "start": { "line": 153, "column": 49 }, "end": { "line": 153, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "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": 7126, "end": 7128, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7128, "end": 7129, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "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": 7129, "end": 7133, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7133, "end": 7134, "loc": { "start": { "line": 158, "column": 13 }, "end": { "line": 158, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7134, "end": 7141, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7141, "end": 7142, "loc": { "start": { "line": 158, "column": 21 }, "end": { "line": 158, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 7142, "end": 7160, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7160, "end": 7161, "loc": { "start": { "line": 158, "column": 40 }, "end": { "line": 158, "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": 7171, "end": 7175, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7175, "end": 7176, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 7176, "end": 7194, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7194, "end": 7195, "loc": { "start": { "line": 159, "column": 31 }, "end": { "line": 159, "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": 7195, "end": 7199, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7199, "end": 7200, "loc": { "start": { "line": 159, "column": 36 }, "end": { "line": 159, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7200, "end": 7205, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7205, "end": 7206, "loc": { "start": { "line": 159, "column": 42 }, "end": { "line": 159, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7206, "end": 7207, "loc": { "start": { "line": 159, "column": 43 }, "end": { "line": 159, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "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": 7266, "end": 7268, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 164, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7268, "end": 7269, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "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": 7269, "end": 7275, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "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": 7276, "end": 7280, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7280, "end": 7281, "loc": { "start": { "line": 164, "column": 20 }, "end": { "line": 164, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7281, "end": 7288, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7288, "end": 7289, "loc": { "start": { "line": 164, "column": 28 }, "end": { "line": 164, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 7289, "end": 7297, "loc": { "start": { "line": 164, "column": 29 }, "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": 7298, "end": 7301, "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": 7302, "end": 7312, "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": 7312, "end": 7313, "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": 7323, "end": 7327, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7327, "end": 7328, "loc": { "start": { "line": 165, "column": 12 }, "end": { "line": 165, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7328, "end": 7335, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7335, "end": 7336, "loc": { "start": { "line": 165, "column": 20 }, "end": { "line": 165, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 7336, "end": 7344, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7344, "end": 7345, "loc": { "start": { "line": 165, "column": 29 }, "end": { "line": 165, "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": 7345, "end": 7349, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7349, "end": 7350, "loc": { "start": { "line": 165, "column": 34 }, "end": { "line": 165, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7350, "end": 7355, "loc": { "start": { "line": 165, "column": 35 }, "end": { "line": 165, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7355, "end": 7356, "loc": { "start": { "line": 165, "column": 40 }, "end": { "line": 165, "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": 7356, "end": 7360, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7360, "end": 7361, "loc": { "start": { "line": 165, "column": 45 }, "end": { "line": 165, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7361, "end": 7368, "loc": { "start": { "line": 165, "column": 46 }, "end": { "line": 165, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7368, "end": 7369, "loc": { "start": { "line": 165, "column": 53 }, "end": { "line": 165, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7369, "end": 7378, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7378, "end": 7379, "loc": { "start": { "line": 165, "column": 63 }, "end": { "line": 165, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7379, "end": 7380, "loc": { "start": { "line": 165, "column": 64 }, "end": { "line": 165, "column": 65 } } }, { "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": 165, "column": 65 }, "end": { "line": 165, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7387, "end": 7388, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "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": 7400, "end": 7402, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 168, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7402, "end": 7403, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7403, "end": 7408, "loc": { "start": { "line": 168, "column": 7 }, "end": { "line": 168, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7408, "end": 7409, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7409, "end": 7410, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 168, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 7418, "end": 7425, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7425, "end": 7426, "loc": { "start": { "line": 169, "column": 13 }, "end": { "line": 169, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 7426, "end": 7429, "loc": { "start": { "line": 169, "column": 14 }, "end": { "line": 169, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7429, "end": 7430, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "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": 7430, "end": 7444, "loc": { "start": { "line": 169, "column": 18 }, "end": { "line": 169, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7444, "end": 7445, "loc": { "start": { "line": 169, "column": 32 }, "end": { "line": 169, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7446, "end": 7452, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7452, "end": 7453, "loc": { "start": { "line": 169, "column": 40 }, "end": { "line": 169, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7453, "end": 7454, "loc": { "start": { "line": 169, "column": 41 }, "end": { "line": 169, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7460, "end": 7461, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7465, "end": 7466, "loc": { "start": { "line": 171, "column": 2 }, "end": { "line": 171, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 7573, "end": 7591, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 176, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7592, "end": 7593, "loc": { "start": { "line": 176, "column": 21 }, "end": { "line": 176, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7594, "end": 7595, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7595, "end": 7596, "loc": { "start": { "line": 176, "column": 24 }, "end": { "line": 176, "column": 25 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7597, "end": 7599, "loc": { "start": { "line": 176, "column": 26 }, "end": { "line": 176, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7600, "end": 7601, "loc": { "start": { "line": 176, "column": 29 }, "end": { "line": 176, "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": 7607, "end": 7611, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7611, "end": 7612, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 7612, "end": 7620, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7620, "end": 7621, "loc": { "start": { "line": 177, "column": 17 }, "end": { "line": 177, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7621, "end": 7622, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 177, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 7622, "end": 7630, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7630, "end": 7631, "loc": { "start": { "line": 177, "column": 27 }, "end": { "line": 177, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7632, "end": 7634, "loc": { "start": { "line": 177, "column": 29 }, "end": { "line": 177, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7635, "end": 7636, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 177, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 7644, "end": 7652, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7652, "end": 7653, "loc": { "start": { "line": 178, "column": 14 }, "end": { "line": 178, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 7653, "end": 7665, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7665, "end": 7666, "loc": { "start": { "line": 178, "column": 27 }, "end": { "line": 178, "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": 7666, "end": 7670, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7670, "end": 7671, "loc": { "start": { "line": 178, "column": 32 }, "end": { "line": 178, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7671, "end": 7676, "loc": { "start": { "line": 178, "column": 33 }, "end": { "line": 178, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7676, "end": 7677, "loc": { "start": { "line": 178, "column": 38 }, "end": { "line": 178, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7677, "end": 7678, "loc": { "start": { "line": 178, "column": 39 }, "end": { "line": 178, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7684, "end": 7685, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 179, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7685, "end": 7686, "loc": { "start": { "line": 179, "column": 5 }, "end": { "line": 179, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7686, "end": 7687, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7691, "end": 7692, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 180, "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": 7700, "end": 7819, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 7823, "end": 7833, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 186, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7834, "end": 7835, "loc": { "start": { "line": 186, "column": 13 }, "end": { "line": 186, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7836, "end": 7837, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 186, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7837, "end": 7846, "loc": { "start": { "line": 186, "column": 16 }, "end": { "line": 186, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7846, "end": 7847, "loc": { "start": { "line": 186, "column": 25 }, "end": { "line": 186, "column": 26 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7848, "end": 7850, "loc": { "start": { "line": 186, "column": 27 }, "end": { "line": 186, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7851, "end": 7852, "loc": { "start": { "line": 186, "column": 30 }, "end": { "line": 186, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7858, "end": 7867, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7868, "end": 7869, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7870, "end": 7879, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7880, "end": 7882, "loc": { "start": { "line": 187, "column": 26 }, "end": { "line": 187, "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": 7883, "end": 7887, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7887, "end": 7888, "loc": { "start": { "line": 187, "column": 33 }, "end": { "line": 187, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7888, "end": 7895, "loc": { "start": { "line": 187, "column": 34 }, "end": { "line": 187, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7895, "end": 7896, "loc": { "start": { "line": 187, "column": 41 }, "end": { "line": 187, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7896, "end": 7905, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7905, "end": 7906, "loc": { "start": { "line": 187, "column": 51 }, "end": { "line": 187, "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": 7912, "end": 7916, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7916, "end": 7917, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7917, "end": 7922, "loc": { "start": { "line": 188, "column": 9 }, "end": { "line": 188, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7922, "end": 7923, "loc": { "start": { "line": 188, "column": 14 }, "end": { "line": 188, "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": 7923, "end": 7927, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7927, "end": 7928, "loc": { "start": { "line": 188, "column": 19 }, "end": { "line": 188, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7928, "end": 7935, "loc": { "start": { "line": 188, "column": 20 }, "end": { "line": 188, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7935, "end": 7936, "loc": { "start": { "line": 188, "column": 27 }, "end": { "line": 188, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7936, "end": 7945, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7945, "end": 7946, "loc": { "start": { "line": 188, "column": 37 }, "end": { "line": 188, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7947, "end": 7948, "loc": { "start": { "line": 188, "column": 39 }, "end": { "line": 188, "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": 7949, "end": 7951, "loc": { "start": { "line": 188, "column": 41 }, "end": { "line": 188, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7951, "end": 7952, "loc": { "start": { "line": 188, "column": 43 }, "end": { "line": 188, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7960, "end": 8015, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "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": 8021, "end": 8023, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8023, "end": 8024, "loc": { "start": { "line": 193, "column": 6 }, "end": { "line": 193, "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": 8024, "end": 8028, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8028, "end": 8029, "loc": { "start": { "line": 193, "column": 11 }, "end": { "line": 193, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8029, "end": 8036, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8036, "end": 8037, "loc": { "start": { "line": 193, "column": 19 }, "end": { "line": 193, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8037, "end": 8055, "loc": { "start": { "line": 193, "column": 20 }, "end": { "line": 193, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8055, "end": 8056, "loc": { "start": { "line": 193, "column": 38 }, "end": { "line": 193, "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": 8064, "end": 8068, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8068, "end": 8069, "loc": { "start": { "line": 194, "column": 10 }, "end": { "line": 194, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8069, "end": 8087, "loc": { "start": { "line": 194, "column": 11 }, "end": { "line": 194, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8087, "end": 8088, "loc": { "start": { "line": 194, "column": 29 }, "end": { "line": 194, "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": 8088, "end": 8092, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8092, "end": 8093, "loc": { "start": { "line": 194, "column": 34 }, "end": { "line": 194, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8093, "end": 8098, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8098, "end": 8099, "loc": { "start": { "line": 194, "column": 40 }, "end": { "line": 194, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8099, "end": 8100, "loc": { "start": { "line": 194, "column": 41 }, "end": { "line": 194, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8104, "end": 8105, "loc": { "start": { "line": 195, "column": 2 }, "end": { "line": 195, "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": 8111, "end": 8273, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 8277, "end": 8285, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 201, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8286, "end": 8287, "loc": { "start": { "line": 201, "column": 11 }, "end": { "line": 201, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8288, "end": 8289, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 201, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8289, "end": 8298, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8298, "end": 8299, "loc": { "start": { "line": 201, "column": 23 }, "end": { "line": 201, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8300, "end": 8302, "loc": { "start": { "line": 201, "column": 25 }, "end": { "line": 201, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8303, "end": 8304, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 201, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8310, "end": 8319, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8320, "end": 8321, "loc": { "start": { "line": 202, "column": 14 }, "end": { "line": 202, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8322, "end": 8331, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8332, "end": 8334, "loc": { "start": { "line": 202, "column": 26 }, "end": { "line": 202, "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": 8335, "end": 8339, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8339, "end": 8340, "loc": { "start": { "line": 202, "column": 33 }, "end": { "line": 202, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8340, "end": 8347, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8347, "end": 8348, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8348, "end": 8357, "loc": { "start": { "line": 202, "column": 42 }, "end": { "line": 202, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8357, "end": 8358, "loc": { "start": { "line": 202, "column": 51 }, "end": { "line": 202, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8366, "end": 8421, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "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": 8427, "end": 8429, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8429, "end": 8430, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 207, "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": 8430, "end": 8434, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8434, "end": 8435, "loc": { "start": { "line": 207, "column": 11 }, "end": { "line": 207, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8435, "end": 8442, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8442, "end": 8443, "loc": { "start": { "line": 207, "column": 19 }, "end": { "line": 207, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8443, "end": 8461, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8461, "end": 8462, "loc": { "start": { "line": 207, "column": 38 }, "end": { "line": 207, "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": 8470, "end": 8474, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8474, "end": 8475, "loc": { "start": { "line": 208, "column": 10 }, "end": { "line": 208, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8475, "end": 8493, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8493, "end": 8494, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "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": 8494, "end": 8498, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8498, "end": 8499, "loc": { "start": { "line": 208, "column": 34 }, "end": { "line": 208, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8499, "end": 8504, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8504, "end": 8505, "loc": { "start": { "line": 208, "column": 40 }, "end": { "line": 208, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8505, "end": 8506, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "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": 8514, "end": 8520, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "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": 8521, "end": 8525, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 15 } } }, { "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": 210, "column": 15 }, "end": { "line": 210, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8526, "end": 8531, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8531, "end": 8532, "loc": { "start": { "line": 210, "column": 21 }, "end": { "line": 210, "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": 8532, "end": 8536, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8536, "end": 8537, "loc": { "start": { "line": 210, "column": 26 }, "end": { "line": 210, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8537, "end": 8544, "loc": { "start": { "line": 210, "column": 27 }, "end": { "line": 210, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8544, "end": 8545, "loc": { "start": { "line": 210, "column": 34 }, "end": { "line": 210, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8545, "end": 8554, "loc": { "start": { "line": 210, "column": 35 }, "end": { "line": 210, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8554, "end": 8555, "loc": { "start": { "line": 210, "column": 44 }, "end": { "line": 210, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8555, "end": 8556, "loc": { "start": { "line": 210, "column": 45 }, "end": { "line": 210, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8560, "end": 8561, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 211, "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": 8567, "end": 8727, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 8731, "end": 8739, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8740, "end": 8741, "loc": { "start": { "line": 218, "column": 11 }, "end": { "line": 218, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8742, "end": 8743, "loc": { "start": { "line": 218, "column": 13 }, "end": { "line": 218, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8743, "end": 8748, "loc": { "start": { "line": 218, "column": 14 }, "end": { "line": 218, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8748, "end": 8749, "loc": { "start": { "line": 218, "column": 19 }, "end": { "line": 218, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8750, "end": 8759, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8759, "end": 8760, "loc": { "start": { "line": 218, "column": 30 }, "end": { "line": 218, "column": 31 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8761, "end": 8763, "loc": { "start": { "line": 218, "column": 32 }, "end": { "line": 218, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8764, "end": 8765, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 218, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8771, "end": 8780, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8781, "end": 8782, "loc": { "start": { "line": 219, "column": 14 }, "end": { "line": 219, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8783, "end": 8792, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8793, "end": 8795, "loc": { "start": { "line": 219, "column": 26 }, "end": { "line": 219, "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": 8796, "end": 8800, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8800, "end": 8801, "loc": { "start": { "line": 219, "column": 33 }, "end": { "line": 219, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8801, "end": 8808, "loc": { "start": { "line": 219, "column": 34 }, "end": { "line": 219, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8808, "end": 8809, "loc": { "start": { "line": 219, "column": 41 }, "end": { "line": 219, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8809, "end": 8818, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 219, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8818, "end": 8819, "loc": { "start": { "line": 219, "column": 51 }, "end": { "line": 219, "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": 8825, "end": 8829, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8829, "end": 8830, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8830, "end": 8835, "loc": { "start": { "line": 220, "column": 9 }, "end": { "line": 220, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8835, "end": 8836, "loc": { "start": { "line": 220, "column": 14 }, "end": { "line": 220, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8836, "end": 8845, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8845, "end": 8846, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8847, "end": 8848, "loc": { "start": { "line": 220, "column": 26 }, "end": { "line": 220, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8849, "end": 8854, "loc": { "start": { "line": 220, "column": 28 }, "end": { "line": 220, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8854, "end": 8855, "loc": { "start": { "line": 220, "column": 33 }, "end": { "line": 220, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8863, "end": 8918, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "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": 8924, "end": 8926, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8926, "end": 8927, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "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": 8927, "end": 8931, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8931, "end": 8932, "loc": { "start": { "line": 225, "column": 11 }, "end": { "line": 225, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8932, "end": 8939, "loc": { "start": { "line": 225, "column": 12 }, "end": { "line": 225, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8939, "end": 8940, "loc": { "start": { "line": 225, "column": 19 }, "end": { "line": 225, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8940, "end": 8958, "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 225, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8958, "end": 8959, "loc": { "start": { "line": 225, "column": 38 }, "end": { "line": 225, "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": 8967, "end": 8971, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8971, "end": 8972, "loc": { "start": { "line": 226, "column": 10 }, "end": { "line": 226, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8972, "end": 8990, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8990, "end": 8991, "loc": { "start": { "line": 226, "column": 29 }, "end": { "line": 226, "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": 8991, "end": 8995, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8995, "end": 8996, "loc": { "start": { "line": 226, "column": 34 }, "end": { "line": 226, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8996, "end": 9001, "loc": { "start": { "line": 226, "column": 35 }, "end": { "line": 226, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9001, "end": 9002, "loc": { "start": { "line": 226, "column": 40 }, "end": { "line": 226, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9002, "end": 9003, "loc": { "start": { "line": 226, "column": 41 }, "end": { "line": 226, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9007, "end": 9008, "loc": { "start": { "line": 227, "column": 2 }, "end": { "line": 227, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9016, "end": 9125, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 9129, "end": 9141, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 233, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9142, "end": 9143, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9144, "end": 9145, "loc": { "start": { "line": 233, "column": 17 }, "end": { "line": 233, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 9145, "end": 9153, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9153, "end": 9154, "loc": { "start": { "line": 233, "column": 26 }, "end": { "line": 233, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9155, "end": 9157, "loc": { "start": { "line": 233, "column": 28 }, "end": { "line": 233, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9158, "end": 9159, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 233, "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": 9165, "end": 9169, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9169, "end": 9170, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 9170, "end": 9175, "loc": { "start": { "line": 234, "column": 9 }, "end": { "line": 234, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9176, "end": 9177, "loc": { "start": { "line": 234, "column": 15 }, "end": { "line": 234, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 9178, "end": 9186, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9186, "end": 9187, "loc": { "start": { "line": 234, "column": 25 }, "end": { "line": 234, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9191, "end": 9192, "loc": { "start": { "line": 235, "column": 2 }, "end": { "line": 235, "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": 9198, "end": 9324, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setOptions", "start": 9328, "end": 9338, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 241, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9339, "end": 9340, "loc": { "start": { "line": 241, "column": 13 }, "end": { "line": 241, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9341, "end": 9347, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9348, "end": 9350, "loc": { "start": { "line": 241, "column": 22 }, "end": { "line": 241, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9351, "end": 9352, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 241, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9358, "end": 9364, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9365, "end": 9366, "loc": { "start": { "line": 242, "column": 11 }, "end": { "line": 242, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9367, "end": 9373, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9374, "end": 9376, "loc": { "start": { "line": 242, "column": 20 }, "end": { "line": 242, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9377, "end": 9378, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9378, "end": 9379, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 242, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9379, "end": 9380, "loc": { "start": { "line": 242, "column": 25 }, "end": { "line": 242, "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": 9386, "end": 9390, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9390, "end": 9391, "loc": { "start": { "line": 243, "column": 8 }, "end": { "line": 243, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9391, "end": 9398, "loc": { "start": { "line": 243, "column": 9 }, "end": { "line": 243, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9399, "end": 9400, "loc": { "start": { "line": 243, "column": 17 }, "end": { "line": 243, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 9401, "end": 9407, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9407, "end": 9408, "loc": { "start": { "line": 243, "column": 25 }, "end": { "line": 243, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 9408, "end": 9414, "loc": { "start": { "line": 243, "column": 26 }, "end": { "line": 243, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9414, "end": 9415, "loc": { "start": { "line": 243, "column": 32 }, "end": { "line": 243, "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": 9415, "end": 9419, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9419, "end": 9420, "loc": { "start": { "line": 243, "column": 37 }, "end": { "line": 243, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9420, "end": 9427, "loc": { "start": { "line": 243, "column": 38 }, "end": { "line": 243, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9427, "end": 9428, "loc": { "start": { "line": 243, "column": 45 }, "end": { "line": 243, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9429, "end": 9435, "loc": { "start": { "line": 243, "column": 47 }, "end": { "line": 243, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9435, "end": 9436, "loc": { "start": { "line": 243, "column": 53 }, "end": { "line": 243, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9436, "end": 9437, "loc": { "start": { "line": 243, "column": 54 }, "end": { "line": 243, "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": 9443, "end": 9447, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9447, "end": 9448, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 9448, "end": 9454, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9454, "end": 9455, "loc": { "start": { "line": 244, "column": 15 }, "end": { "line": 244, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9455, "end": 9456, "loc": { "start": { "line": 244, "column": 16 }, "end": { "line": 244, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9456, "end": 9457, "loc": { "start": { "line": 244, "column": 17 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9461, "end": 9462, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 245, "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": 9468, "end": 9577, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 9581, "end": 9586, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 7 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9587, "end": 9588, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9589, "end": 9590, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9590, "end": 9591, "loc": { "start": { "line": 251, "column": 11 }, "end": { "line": 251, "column": 12 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9592, "end": 9594, "loc": { "start": { "line": 251, "column": 13 }, "end": { "line": 251, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9595, "end": 9596, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "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": 9602, "end": 9606, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9606, "end": 9607, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 9607, "end": 9618, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9618, "end": 9619, "loc": { "start": { "line": 252, "column": 20 }, "end": { "line": 252, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 9619, "end": 9628, "loc": { "start": { "line": 252, "column": 21 }, "end": { "line": 252, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9629, "end": 9630, "loc": { "start": { "line": 252, "column": 31 }, "end": { "line": 252, "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": 9631, "end": 9633, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9633, "end": 9634, "loc": { "start": { "line": 252, "column": 35 }, "end": { "line": 252, "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": 9640, "end": 9644, "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": 9644, "end": 9645, "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": "keyboardDOM", "start": 9645, "end": 9656, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9656, "end": 9657, "loc": { "start": { "line": 253, "column": 20 }, "end": { "line": 253, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 9657, "end": 9666, "loc": { "start": { "line": 253, "column": 21 }, "end": { "line": 253, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9667, "end": 9668, "loc": { "start": { "line": 253, "column": 31 }, "end": { "line": 253, "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": 9669, "end": 9673, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9673, "end": 9674, "loc": { "start": { "line": 253, "column": 37 }, "end": { "line": 253, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 9674, "end": 9690, "loc": { "start": { "line": 253, "column": 38 }, "end": { "line": 253, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9690, "end": 9691, "loc": { "start": { "line": 253, "column": 54 }, "end": { "line": 253, "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": 9697, "end": 9701, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9701, "end": 9702, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 9702, "end": 9716, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9717, "end": 9718, "loc": { "start": { "line": 254, "column": 24 }, "end": { "line": 254, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9719, "end": 9720, "loc": { "start": { "line": 254, "column": 26 }, "end": { "line": 254, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9720, "end": 9721, "loc": { "start": { "line": 254, "column": 27 }, "end": { "line": 254, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9721, "end": 9722, "loc": { "start": { "line": 254, "column": 28 }, "end": { "line": 254, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9726, "end": 9727, "loc": { "start": { "line": 255, "column": 2 }, "end": { "line": 255, "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": 9733, "end": 9938, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 9942, "end": 9950, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9951, "end": 9952, "loc": { "start": { "line": 261, "column": 11 }, "end": { "line": 261, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9953, "end": 9954, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 261, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 9954, "end": 9962, "loc": { "start": { "line": 261, "column": 14 }, "end": { "line": 261, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9962, "end": 9963, "loc": { "start": { "line": 261, "column": 22 }, "end": { "line": 261, "column": 23 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9964, "end": 9966, "loc": { "start": { "line": 261, "column": 24 }, "end": { "line": 261, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9967, "end": 9968, "loc": { "start": { "line": 261, "column": 27 }, "end": { "line": 261, "column": 28 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9974, "end": 9976, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 262, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9976, "end": 9977, "loc": { "start": { "line": 262, "column": 6 }, "end": { "line": 262, "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": 9977, "end": 9978, "loc": { "start": { "line": 262, "column": 7 }, "end": { "line": 262, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 9978, "end": 9984, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9984, "end": 9985, "loc": { "start": { "line": 262, "column": 14 }, "end": { "line": 262, "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": 9985, "end": 10010, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10010, "end": 10011, "loc": { "start": { "line": 262, "column": 40 }, "end": { "line": 262, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10011, "end": 10012, "loc": { "start": { "line": 262, "column": 41 }, "end": { "line": 262, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10012, "end": 10013, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 262, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 10021, "end": 10028, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10028, "end": 10029, "loc": { "start": { "line": 263, "column": 13 }, "end": { "line": 263, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 10029, "end": 10033, "loc": { "start": { "line": 263, "column": 14 }, "end": { "line": 263, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10033, "end": 10034, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 263, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10034, "end": 10035, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "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": 10035, "end": 10101, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "column": 86 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10101, "end": 10102, "loc": { "start": { "line": 263, "column": 86 }, "end": { "line": 263, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10102, "end": 10103, "loc": { "start": { "line": 263, "column": 87 }, "end": { "line": 263, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10103, "end": 10104, "loc": { "start": { "line": 263, "column": 88 }, "end": { "line": 263, "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": 10112, "end": 10117, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "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": 10118, "end": 10121, "loc": { "start": { "line": 264, "column": 12 }, "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": "Error", "start": 10122, "end": 10127, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10127, "end": 10128, "loc": { "start": { "line": 264, "column": 21 }, "end": { "line": 264, "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": 10128, "end": 10149, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10149, "end": 10150, "loc": { "start": { "line": 264, "column": 43 }, "end": { "line": 264, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10150, "end": 10151, "loc": { "start": { "line": 264, "column": 44 }, "end": { "line": 264, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10157, "end": 10158, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "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": 10170, "end": 10176, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 10177, "end": 10183, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10183, "end": 10184, "loc": { "start": { "line": 267, "column": 17 }, "end": { "line": 267, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 10184, "end": 10188, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 22 } } }, { "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": 267, "column": 22 }, "end": { "line": 267, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 10189, "end": 10195, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10195, "end": 10196, "loc": { "start": { "line": 267, "column": 29 }, "end": { "line": 267, "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": 10196, "end": 10221, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10221, "end": 10222, "loc": { "start": { "line": 267, "column": 55 }, "end": { "line": 267, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10222, "end": 10223, "loc": { "start": { "line": 267, "column": 56 }, "end": { "line": 267, "column": 57 } } }, { "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": 267, "column": 57 }, "end": { "line": 267, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 10224, "end": 10231, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10231, "end": 10232, "loc": { "start": { "line": 267, "column": 65 }, "end": { "line": 267, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10232, "end": 10233, "loc": { "start": { "line": 267, "column": 66 }, "end": { "line": 267, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 10233, "end": 10236, "loc": { "start": { "line": 267, "column": 67 }, "end": { "line": 267, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10236, "end": 10237, "loc": { "start": { "line": 267, "column": 70 }, "end": { "line": 267, "column": 71 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10238, "end": 10240, "loc": { "start": { "line": 267, "column": 72 }, "end": { "line": 267, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10241, "end": 10242, "loc": { "start": { "line": 267, "column": 75 }, "end": { "line": 267, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 10250, "end": 10258, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10258, "end": 10259, "loc": { "start": { "line": 268, "column": 14 }, "end": { "line": 268, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 10259, "end": 10265, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10265, "end": 10266, "loc": { "start": { "line": 268, "column": 21 }, "end": { "line": 268, "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": 10266, "end": 10291, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10291, "end": 10292, "loc": { "start": { "line": 268, "column": 47 }, "end": { "line": 268, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10292, "end": 10293, "loc": { "start": { "line": 268, "column": 48 }, "end": { "line": 268, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 10293, "end": 10296, "loc": { "start": { "line": 268, "column": 49 }, "end": { "line": 268, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10296, "end": 10297, "loc": { "start": { "line": 268, "column": 52 }, "end": { "line": 268, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10297, "end": 10298, "loc": { "start": { "line": 268, "column": 53 }, "end": { "line": 268, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 10299, "end": 10302, "loc": { "start": { "line": 268, "column": 55 }, "end": { "line": 268, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10302, "end": 10303, "loc": { "start": { "line": 268, "column": 58 }, "end": { "line": 268, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10303, "end": 10304, "loc": { "start": { "line": 268, "column": 59 }, "end": { "line": 268, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10310, "end": 10311, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 269, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10311, "end": 10312, "loc": { "start": { "line": 269, "column": 5 }, "end": { "line": 269, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10316, "end": 10317, "loc": { "start": { "line": 270, "column": 2 }, "end": { "line": 270, "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": 10323, "end": 10604, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 10608, "end": 10622, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10623, "end": 10624, "loc": { "start": { "line": 277, "column": 17 }, "end": { "line": 277, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10625, "end": 10626, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 277, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 10626, "end": 10633, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10633, "end": 10634, "loc": { "start": { "line": 277, "column": 27 }, "end": { "line": 277, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 10635, "end": 10644, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10644, "end": 10645, "loc": { "start": { "line": 277, "column": 38 }, "end": { "line": 277, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10646, "end": 10648, "loc": { "start": { "line": 277, "column": 40 }, "end": { "line": 277, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10649, "end": 10650, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 277, "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": 10656, "end": 10658, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 278, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10658, "end": 10659, "loc": { "start": { "line": 278, "column": 6 }, "end": { "line": 278, "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": 10659, "end": 10660, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 10660, "end": 10669, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10670, "end": 10672, "loc": { "start": { "line": 278, "column": 18 }, "end": { "line": 278, "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": 10673, "end": 10674, "loc": { "start": { "line": 278, "column": 21 }, "end": { "line": 278, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 10674, "end": 10681, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10681, "end": 10682, "loc": { "start": { "line": 278, "column": 29 }, "end": { "line": 278, "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": 10690, "end": 10696, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "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": 10697, "end": 10702, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10702, "end": 10703, "loc": { "start": { "line": 279, "column": 18 }, "end": { "line": 279, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 10711, "end": 10718, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10718, "end": 10719, "loc": { "start": { "line": 281, "column": 11 }, "end": { "line": 281, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 10719, "end": 10724, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10724, "end": 10725, "loc": { "start": { "line": 281, "column": 17 }, "end": { "line": 281, "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": 10725, "end": 10728, "loc": { "start": { "line": 281, "column": 18 }, "end": { "line": 281, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10728, "end": 10729, "loc": { "start": { "line": 281, "column": 21 }, "end": { "line": 281, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10729, "end": 10730, "loc": { "start": { "line": 281, "column": 22 }, "end": { "line": 281, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 10730, "end": 10737, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 281, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10737, "end": 10738, "loc": { "start": { "line": 281, "column": 30 }, "end": { "line": 281, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10738, "end": 10744, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 281, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10745, "end": 10747, "loc": { "start": { "line": 281, "column": 38 }, "end": { "line": 281, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10748, "end": 10749, "loc": { "start": { "line": 281, "column": 41 }, "end": { "line": 281, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 10757, "end": 10766, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10766, "end": 10767, "loc": { "start": { "line": 282, "column": 15 }, "end": { "line": 282, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 10767, "end": 10772, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10772, "end": 10773, "loc": { "start": { "line": 282, "column": 21 }, "end": { "line": 282, "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": 10773, "end": 10776, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10776, "end": 10777, "loc": { "start": { "line": 282, "column": 25 }, "end": { "line": 282, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10777, "end": 10778, "loc": { "start": { "line": 282, "column": 26 }, "end": { "line": 282, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 10778, "end": 10785, "loc": { "start": { "line": 282, "column": 27 }, "end": { "line": 282, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10785, "end": 10786, "loc": { "start": { "line": 282, "column": 34 }, "end": { "line": 282, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 10786, "end": 10799, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 282, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10800, "end": 10802, "loc": { "start": { "line": 282, "column": 49 }, "end": { "line": 282, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10803, "end": 10804, "loc": { "start": { "line": 282, "column": 52 }, "end": { "line": 282, "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": 10814, "end": 10816, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10816, "end": 10817, "loc": { "start": { "line": 283, "column": 10 }, "end": { "line": 283, "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": 10817, "end": 10818, "loc": { "start": { "line": 283, "column": 11 }, "end": { "line": 283, "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": 10818, "end": 10822, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10822, "end": 10823, "loc": { "start": { "line": 283, "column": 16 }, "end": { "line": 283, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10823, "end": 10830, "loc": { "start": { "line": 283, "column": 17 }, "end": { "line": 283, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10830, "end": 10831, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 10831, "end": 10842, "loc": { "start": { "line": 283, "column": 25 }, "end": { "line": 283, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10842, "end": 10843, "loc": { "start": { "line": 283, "column": 36 }, "end": { "line": 283, "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": 10855, "end": 10859, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10859, "end": 10860, "loc": { "start": { "line": 284, "column": 14 }, "end": { "line": 284, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10860, "end": 10867, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10867, "end": 10868, "loc": { "start": { "line": 284, "column": 22 }, "end": { "line": 284, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 10868, "end": 10879, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10880, "end": 10881, "loc": { "start": { "line": 284, "column": 35 }, "end": { "line": 284, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10882, "end": 10883, "loc": { "start": { "line": 284, "column": 37 }, "end": { "line": 284, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10883, "end": 10884, "loc": { "start": { "line": 284, "column": 38 }, "end": { "line": 284, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10884, "end": 10885, "loc": { "start": { "line": 284, "column": 39 }, "end": { "line": 284, "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": 10897, "end": 10900, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 10901, "end": 10915, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10916, "end": 10917, "loc": { "start": { "line": 286, "column": 27 }, "end": { "line": 286, "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": 10918, "end": 10923, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10923, "end": 10924, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 286, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10938, "end": 11029, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "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": 11039, "end": 11043, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11043, "end": 11044, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11044, "end": 11051, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 291, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11051, "end": 11052, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11052, "end": 11063, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 32 } } }, { "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": 291, "column": 32 }, "end": { "line": 291, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 11064, "end": 11067, "loc": { "start": { "line": 291, "column": 33 }, "end": { "line": 291, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11067, "end": 11068, "loc": { "start": { "line": 291, "column": 36 }, "end": { "line": 291, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11068, "end": 11079, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 291, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11080, "end": 11082, "loc": { "start": { "line": 291, "column": 49 }, "end": { "line": 291, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11083, "end": 11084, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 291, "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": 11098, "end": 11100, "loc": { "start": { "line": 293, "column": 10 }, "end": { "line": 293, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11100, "end": 11101, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11101, "end": 11112, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11112, "end": 11113, "loc": { "start": { "line": 293, "column": 24 }, "end": { "line": 293, "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": 11113, "end": 11118, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11118, "end": 11119, "loc": { "start": { "line": 293, "column": 30 }, "end": { "line": 293, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 11119, "end": 11124, "loc": { "start": { "line": 293, "column": 31 }, "end": { "line": 293, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11124, "end": 11125, "loc": { "start": { "line": 293, "column": 36 }, "end": { "line": 293, "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": 11125, "end": 11128, "loc": { "start": { "line": 293, "column": 37 }, "end": { "line": 293, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11128, "end": 11129, "loc": { "start": { "line": 293, "column": 40 }, "end": { "line": 293, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11129, "end": 11130, "loc": { "start": { "line": 293, "column": 41 }, "end": { "line": 293, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 11130, "end": 11138, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11138, "end": 11139, "loc": { "start": { "line": 293, "column": 50 }, "end": { "line": 293, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 11139, "end": 11152, "loc": { "start": { "line": 293, "column": 51 }, "end": { "line": 293, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11152, "end": 11153, "loc": { "start": { "line": 293, "column": 64 }, "end": { "line": 293, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11153, "end": 11154, "loc": { "start": { "line": 293, "column": 65 }, "end": { "line": 293, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11154, "end": 11155, "loc": { "start": { "line": 293, "column": 66 }, "end": { "line": 293, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 11169, "end": 11183, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11184, "end": 11185, "loc": { "start": { "line": 294, "column": 27 }, "end": { "line": 294, "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": 11186, "end": 11190, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11190, "end": 11191, "loc": { "start": { "line": 294, "column": 33 }, "end": { "line": 294, "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": 11219, "end": 11222, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11223, "end": 11239, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11240, "end": 11241, "loc": { "start": { "line": 296, "column": 33 }, "end": { "line": 296, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11242, "end": 11253, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11253, "end": 11254, "loc": { "start": { "line": 296, "column": 46 }, "end": { "line": 296, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11254, "end": 11261, "loc": { "start": { "line": 296, "column": 47 }, "end": { "line": 296, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11261, "end": 11262, "loc": { "start": { "line": 296, "column": 54 }, "end": { "line": 296, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 11262, "end": 11267, "loc": { "start": { "line": 296, "column": 55 }, "end": { "line": 296, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11267, "end": 11268, "loc": { "start": { "line": 296, "column": 60 }, "end": { "line": 296, "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": 11268, "end": 11271, "loc": { "start": { "line": 296, "column": 61 }, "end": { "line": 296, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11271, "end": 11272, "loc": { "start": { "line": 296, "column": 64 }, "end": { "line": 296, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11272, "end": 11273, "loc": { "start": { "line": 296, "column": 65 }, "end": { "line": 296, "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": 11287, "end": 11289, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 297, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11289, "end": 11290, "loc": { "start": { "line": 297, "column": 14 }, "end": { "line": 297, "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": 11290, "end": 11291, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11291, "end": 11307, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11307, "end": 11308, "loc": { "start": { "line": 297, "column": 32 }, "end": { "line": 297, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 11308, "end": 11316, "loc": { "start": { "line": 297, "column": 33 }, "end": { "line": 297, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11316, "end": 11317, "loc": { "start": { "line": 297, "column": 41 }, "end": { "line": 297, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 11317, "end": 11323, "loc": { "start": { "line": 297, "column": 42 }, "end": { "line": 297, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11323, "end": 11324, "loc": { "start": { "line": 297, "column": 48 }, "end": { "line": 297, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11324, "end": 11325, "loc": { "start": { "line": 297, "column": 49 }, "end": { "line": 297, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11325, "end": 11326, "loc": { "start": { "line": 297, "column": 50 }, "end": { "line": 297, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 11342, "end": 11356, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11357, "end": 11358, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "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": 11359, "end": 11363, "loc": { "start": { "line": 298, "column": 31 }, "end": { "line": 298, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11363, "end": 11364, "loc": { "start": { "line": 298, "column": 35 }, "end": { "line": 298, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11380, "end": 11396, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11396, "end": 11397, "loc": { "start": { "line": 299, "column": 30 }, "end": { "line": 299, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 11397, "end": 11401, "loc": { "start": { "line": 299, "column": 31 }, "end": { "line": 299, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11401, "end": 11402, "loc": { "start": { "line": 299, "column": 35 }, "end": { "line": 299, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 11402, "end": 11408, "loc": { "start": { "line": 299, "column": 36 }, "end": { "line": 299, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11408, "end": 11409, "loc": { "start": { "line": 299, "column": 42 }, "end": { "line": 299, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11409, "end": 11410, "loc": { "start": { "line": 299, "column": 43 }, "end": { "line": 299, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11426, "end": 11437, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11437, "end": 11438, "loc": { "start": { "line": 300, "column": 25 }, "end": { "line": 300, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11438, "end": 11445, "loc": { "start": { "line": 300, "column": 26 }, "end": { "line": 300, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11446, "end": 11447, "loc": { "start": { "line": 300, "column": 34 }, "end": { "line": 300, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11448, "end": 11464, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11464, "end": 11465, "loc": { "start": { "line": 300, "column": 52 }, "end": { "line": 300, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 11465, "end": 11469, "loc": { "start": { "line": 300, "column": 53 }, "end": { "line": 300, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11469, "end": 11470, "loc": { "start": { "line": 300, "column": 57 }, "end": { "line": 300, "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": 11470, "end": 11473, "loc": { "start": { "line": 300, "column": 58 }, "end": { "line": 300, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11473, "end": 11474, "loc": { "start": { "line": 300, "column": 61 }, "end": { "line": 300, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11474, "end": 11475, "loc": { "start": { "line": 300, "column": 62 }, "end": { "line": 300, "column": 63 } } }, { "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": 301, "column": 12 }, "end": { "line": 301, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11502, "end": 11503, "loc": { "start": { "line": 302, "column": 10 }, "end": { "line": 302, "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": 11515, "end": 11521, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11522, "end": 11533, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "column": 28 } } }, { "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": 303, "column": 28 }, "end": { "line": 303, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11544, "end": 11545, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11545, "end": 11546, "loc": { "start": { "line": 304, "column": 9 }, "end": { "line": 304, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11546, "end": 11547, "loc": { "start": { "line": 304, "column": 10 }, "end": { "line": 304, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11559, "end": 11634, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "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": 11644, "end": 11646, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11646, "end": 11647, "loc": { "start": { "line": 309, "column": 10 }, "end": { "line": 309, "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": 11647, "end": 11648, "loc": { "start": { "line": 309, "column": 11 }, "end": { "line": 309, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 11648, "end": 11662, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11662, "end": 11663, "loc": { "start": { "line": 309, "column": 26 }, "end": { "line": 309, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11663, "end": 11664, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 309, "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": 11676, "end": 11680, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11680, "end": 11681, "loc": { "start": { "line": 310, "column": 14 }, "end": { "line": 310, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11681, "end": 11688, "loc": { "start": { "line": 310, "column": 15 }, "end": { "line": 310, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11688, "end": 11689, "loc": { "start": { "line": 310, "column": 22 }, "end": { "line": 310, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11689, "end": 11700, "loc": { "start": { "line": 310, "column": 23 }, "end": { "line": 310, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11700, "end": 11701, "loc": { "start": { "line": 310, "column": 34 }, "end": { "line": 310, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 11701, "end": 11705, "loc": { "start": { "line": 310, "column": 35 }, "end": { "line": 310, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11705, "end": 11706, "loc": { "start": { "line": 310, "column": 39 }, "end": { "line": 310, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11706, "end": 11707, "loc": { "start": { "line": 310, "column": 40 }, "end": { "line": 310, "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": 11721, "end": 11726, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11726, "end": 11727, "loc": { "start": { "line": 311, "column": 17 }, "end": { "line": 311, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 11728, "end": 11741, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11741, "end": 11742, "loc": { "start": { "line": 311, "column": 32 }, "end": { "line": 311, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11756, "end": 11763, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11763, "end": 11764, "loc": { "start": { "line": 312, "column": 19 }, "end": { "line": 312, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11765, "end": 11772, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11784, "end": 11785, "loc": { "start": { "line": 313, "column": 10 }, "end": { "line": 313, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11785, "end": 11786, "loc": { "start": { "line": 313, "column": 11 }, "end": { "line": 313, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11786, "end": 11787, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11797, "end": 11798, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11808, "end": 11809, "loc": { "start": { "line": 316, "column": 6 }, "end": { "line": 316, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11809, "end": 11810, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11810, "end": 11811, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11817, "end": 11818, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11818, "end": 11819, "loc": { "start": { "line": 317, "column": 5 }, "end": { "line": 317, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11819, "end": 11820, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "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": 11828, "end": 11832, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11832, "end": 11833, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 11833, "end": 11839, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11839, "end": 11840, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11840, "end": 11841, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11841, "end": 11842, "loc": { "start": { "line": 319, "column": 17 }, "end": { "line": 319, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11846, "end": 11847, "loc": { "start": { "line": 320, "column": 2 }, "end": { "line": 320, "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": 11853, "end": 12193, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 12197, "end": 12214, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12215, "end": 12216, "loc": { "start": { "line": 327, "column": 20 }, "end": { "line": 327, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12217, "end": 12218, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 327, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12218, "end": 12225, "loc": { "start": { "line": 327, "column": 23 }, "end": { "line": 327, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12225, "end": 12226, "loc": { "start": { "line": 327, "column": 30 }, "end": { "line": 327, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12227, "end": 12236, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12236, "end": 12237, "loc": { "start": { "line": 327, "column": 41 }, "end": { "line": 327, "column": 42 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12238, "end": 12240, "loc": { "start": { "line": 327, "column": 43 }, "end": { "line": 327, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12241, "end": 12242, "loc": { "start": { "line": 327, "column": 46 }, "end": { "line": 327, "column": 47 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 12248, "end": 12328, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "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": 12334, "end": 12336, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12336, "end": 12337, "loc": { "start": { "line": 331, "column": 6 }, "end": { "line": 331, "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": 12337, "end": 12338, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12338, "end": 12345, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12346, "end": 12348, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 331, "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": 12349, "end": 12350, "loc": { "start": { "line": 331, "column": 19 }, "end": { "line": 331, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12350, "end": 12359, "loc": { "start": { "line": 331, "column": 20 }, "end": { "line": 331, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12359, "end": 12360, "loc": { "start": { "line": 331, "column": 29 }, "end": { "line": 331, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12360, "end": 12361, "loc": { "start": { "line": 331, "column": 30 }, "end": { "line": 331, "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": 12369, "end": 12373, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12373, "end": 12374, "loc": { "start": { "line": 332, "column": 10 }, "end": { "line": 332, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12374, "end": 12381, "loc": { "start": { "line": 332, "column": 11 }, "end": { "line": 332, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12381, "end": 12382, "loc": { "start": { "line": 332, "column": 18 }, "end": { "line": 332, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12382, "end": 12393, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12394, "end": 12395, "loc": { "start": { "line": 332, "column": 31 }, "end": { "line": 332, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12396, "end": 12397, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12397, "end": 12398, "loc": { "start": { "line": 332, "column": 34 }, "end": { "line": 332, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12398, "end": 12399, "loc": { "start": { "line": 332, "column": 35 }, "end": { "line": 332, "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": 12407, "end": 12411, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12411, "end": 12412, "loc": { "start": { "line": 333, "column": 10 }, "end": { "line": 333, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 12412, "end": 12418, "loc": { "start": { "line": 333, "column": 11 }, "end": { "line": 333, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12418, "end": 12419, "loc": { "start": { "line": 333, "column": 17 }, "end": { "line": 333, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12419, "end": 12420, "loc": { "start": { "line": 333, "column": 18 }, "end": { "line": 333, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12420, "end": 12421, "loc": { "start": { "line": 333, "column": 19 }, "end": { "line": 333, "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": 12429, "end": 12435, "loc": { "start": { "line": 334, "column": 6 }, "end": { "line": 334, "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": 12436, "end": 12441, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12441, "end": 12442, "loc": { "start": { "line": 334, "column": 18 }, "end": { "line": 334, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12448, "end": 12449, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12457, "end": 12525, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "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": 12531, "end": 12533, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12533, "end": 12534, "loc": { "start": { "line": 340, "column": 6 }, "end": { "line": 340, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12534, "end": 12541, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 14 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12542, "end": 12544, "loc": { "start": { "line": 340, "column": 15 }, "end": { "line": 340, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 12545, "end": 12550, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12550, "end": 12551, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 12551, "end": 12558, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12558, "end": 12559, "loc": { "start": { "line": 340, "column": 31 }, "end": { "line": 340, "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": 12559, "end": 12563, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12563, "end": 12564, "loc": { "start": { "line": 340, "column": 36 }, "end": { "line": 340, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12564, "end": 12571, "loc": { "start": { "line": 340, "column": 37 }, "end": { "line": 340, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12571, "end": 12572, "loc": { "start": { "line": 340, "column": 44 }, "end": { "line": 340, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12572, "end": 12583, "loc": { "start": { "line": 340, "column": 45 }, "end": { "line": 340, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12583, "end": 12584, "loc": { "start": { "line": 340, "column": 56 }, "end": { "line": 340, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12585, "end": 12587, "loc": { "start": { "line": 340, "column": 58 }, "end": { "line": 340, "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": 12588, "end": 12592, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12592, "end": 12593, "loc": { "start": { "line": 340, "column": 65 }, "end": { "line": 340, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12593, "end": 12600, "loc": { "start": { "line": 340, "column": 66 }, "end": { "line": 340, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12600, "end": 12601, "loc": { "start": { "line": 340, "column": 73 }, "end": { "line": 340, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12601, "end": 12612, "loc": { "start": { "line": 340, "column": 74 }, "end": { "line": 340, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12612, "end": 12613, "loc": { "start": { "line": 340, "column": 85 }, "end": { "line": 340, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12613, "end": 12619, "loc": { "start": { "line": 340, "column": 86 }, "end": { "line": 340, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12619, "end": 12620, "loc": { "start": { "line": 340, "column": 92 }, "end": { "line": 340, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12620, "end": 12621, "loc": { "start": { "line": 340, "column": 93 }, "end": { "line": 340, "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": 12629, "end": 12632, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 12633, "end": 12644, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12645, "end": 12646, "loc": { "start": { "line": 341, "column": 22 }, "end": { "line": 341, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12647, "end": 12654, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12654, "end": 12655, "loc": { "start": { "line": 341, "column": 31 }, "end": { "line": 341, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 12655, "end": 12660, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12660, "end": 12661, "loc": { "start": { "line": 341, "column": 37 }, "end": { "line": 341, "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": 12661, "end": 12664, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12664, "end": 12665, "loc": { "start": { "line": 341, "column": 41 }, "end": { "line": 341, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12665, "end": 12666, "loc": { "start": { "line": 341, "column": 42 }, "end": { "line": 341, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 12674, "end": 12685, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12685, "end": 12686, "loc": { "start": { "line": 342, "column": 17 }, "end": { "line": 342, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 12686, "end": 12693, "loc": { "start": { "line": 342, "column": 18 }, "end": { "line": 342, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12693, "end": 12694, "loc": { "start": { "line": 342, "column": 25 }, "end": { "line": 342, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12694, "end": 12695, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 342, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 12695, "end": 12701, "loc": { "start": { "line": 342, "column": 27 }, "end": { "line": 342, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12701, "end": 12702, "loc": { "start": { "line": 342, "column": 33 }, "end": { "line": 342, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12703, "end": 12706, "loc": { "start": { "line": 342, "column": 35 }, "end": { "line": 342, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12706, "end": 12707, "loc": { "start": { "line": 342, "column": 38 }, "end": { "line": 342, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12708, "end": 12710, "loc": { "start": { "line": 342, "column": 40 }, "end": { "line": 342, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12711, "end": 12712, "loc": { "start": { "line": 342, "column": 43 }, "end": { "line": 342, "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": 12722, "end": 12726, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12726, "end": 12727, "loc": { "start": { "line": 343, "column": 12 }, "end": { "line": 343, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12727, "end": 12734, "loc": { "start": { "line": 343, "column": 13 }, "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": 12734, "end": 12735, "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": "buttonTheme", "start": 12735, "end": 12746, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12746, "end": 12747, "loc": { "start": { "line": 343, "column": 32 }, "end": { "line": 343, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 12747, "end": 12750, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12750, "end": 12751, "loc": { "start": { "line": 343, "column": 36 }, "end": { "line": 343, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12751, "end": 12752, "loc": { "start": { "line": 343, "column": 37 }, "end": { "line": 343, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12752, "end": 12763, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12763, "end": 12764, "loc": { "start": { "line": 343, "column": 49 }, "end": { "line": 343, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 12765, "end": 12770, "loc": { "start": { "line": 343, "column": 51 }, "end": { "line": 343, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12770, "end": 12771, "loc": { "start": { "line": 343, "column": 56 }, "end": { "line": 343, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12772, "end": 12774, "loc": { "start": { "line": 343, "column": 58 }, "end": { "line": 343, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12775, "end": 12776, "loc": { "start": { "line": 343, "column": 61 }, "end": { "line": 343, "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": 12790, "end": 12931, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "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": 12943, "end": 12945, "loc": { "start": { "line": 349, "column": 10 }, "end": { "line": 349, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12945, "end": 12946, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12960, "end": 12961, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 350, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12961, "end": 12970, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12971, "end": 12973, "loc": { "start": { "line": 350, "column": 23 }, "end": { "line": 350, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12974, "end": 12983, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12983, "end": 12984, "loc": { "start": { "line": 350, "column": 35 }, "end": { "line": 350, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 12984, "end": 12992, "loc": { "start": { "line": 350, "column": 36 }, "end": { "line": 350, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12992, "end": 12993, "loc": { "start": { "line": 350, "column": 44 }, "end": { "line": 350, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12993, "end": 13004, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13004, "end": 13005, "loc": { "start": { "line": 350, "column": 56 }, "end": { "line": 350, "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": 13005, "end": 13010, "loc": { "start": { "line": 350, "column": 57 }, "end": { "line": 350, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13010, "end": 13011, "loc": { "start": { "line": 350, "column": 62 }, "end": { "line": 350, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13011, "end": 13012, "loc": { "start": { "line": 350, "column": 63 }, "end": { "line": 350, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 13013, "end": 13015, "loc": { "start": { "line": 350, "column": 65 }, "end": { "line": 350, "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": 13029, "end": 13030, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13030, "end": 13039, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13051, "end": 13052, "loc": { "start": { "line": 352, "column": 10 }, "end": { "line": 352, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13052, "end": 13053, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "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": 13067, "end": 13070, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 13071, "end": 13090, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13091, "end": 13092, "loc": { "start": { "line": 353, "column": 36 }, "end": { "line": 353, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13093, "end": 13104, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13104, "end": 13105, "loc": { "start": { "line": 353, "column": 49 }, "end": { "line": 353, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13105, "end": 13112, "loc": { "start": { "line": 353, "column": 50 }, "end": { "line": 353, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13112, "end": 13113, "loc": { "start": { "line": 353, "column": 57 }, "end": { "line": 353, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13113, "end": 13118, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13118, "end": 13119, "loc": { "start": { "line": 353, "column": 63 }, "end": { "line": 353, "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": 13119, "end": 13122, "loc": { "start": { "line": 353, "column": 64 }, "end": { "line": 353, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13122, "end": 13123, "loc": { "start": { "line": 353, "column": 67 }, "end": { "line": 353, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13123, "end": 13124, "loc": { "start": { "line": 353, "column": 68 }, "end": { "line": 353, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 13124, "end": 13130, "loc": { "start": { "line": 353, "column": 69 }, "end": { "line": 353, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13130, "end": 13131, "loc": { "start": { "line": 353, "column": 75 }, "end": { "line": 353, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13131, "end": 13135, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 80 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13136, "end": 13138, "loc": { "start": { "line": 353, "column": 81 }, "end": { "line": 353, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13139, "end": 13143, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 13144, "end": 13147, "loc": { "start": { "line": 353, "column": 89 }, "end": { "line": 353, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13148, "end": 13154, "loc": { "start": { "line": 353, "column": 93 }, "end": { "line": 353, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13154, "end": 13155, "loc": { "start": { "line": 353, "column": 99 }, "end": { "line": 353, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13155, "end": 13156, "loc": { "start": { "line": 353, "column": 100 }, "end": { "line": 353, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13172, "end": 13269, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "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": 13283, "end": 13285, "loc": { "start": { "line": 358, "column": 12 }, "end": { "line": 358, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13285, "end": 13286, "loc": { "start": { "line": 358, "column": 14 }, "end": { "line": 358, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 13286, "end": 13305, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13305, "end": 13306, "loc": { "start": { "line": 358, "column": 34 }, "end": { "line": 358, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 13306, "end": 13312, "loc": { "start": { "line": 358, "column": 35 }, "end": { "line": 358, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13312, "end": 13313, "loc": { "start": { "line": 358, "column": 41 }, "end": { "line": 358, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13313, "end": 13314, "loc": { "start": { "line": 358, "column": 42 }, "end": { "line": 358, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13330, "end": 13341, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13341, "end": 13342, "loc": { "start": { "line": 359, "column": 25 }, "end": { "line": 359, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13342, "end": 13349, "loc": { "start": { "line": 359, "column": 26 }, "end": { "line": 359, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13350, "end": 13351, "loc": { "start": { "line": 359, "column": 34 }, "end": { "line": 359, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 13352, "end": 13371, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13371, "end": 13372, "loc": { "start": { "line": 359, "column": 55 }, "end": { "line": 359, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 13372, "end": 13376, "loc": { "start": { "line": 359, "column": 56 }, "end": { "line": 359, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13376, "end": 13377, "loc": { "start": { "line": 359, "column": 60 }, "end": { "line": 359, "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": 13377, "end": 13380, "loc": { "start": { "line": 359, "column": 61 }, "end": { "line": 359, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13380, "end": 13381, "loc": { "start": { "line": 359, "column": 64 }, "end": { "line": 359, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13381, "end": 13382, "loc": { "start": { "line": 359, "column": 65 }, "end": { "line": 359, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13396, "end": 13397, "loc": { "start": { "line": 360, "column": 12 }, "end": { "line": 360, "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": 13398, "end": 13402, "loc": { "start": { "line": 360, "column": 14 }, "end": { "line": 360, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13403, "end": 13404, "loc": { "start": { "line": 360, "column": 19 }, "end": { "line": 360, "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": 13420, "end": 13424, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13424, "end": 13425, "loc": { "start": { "line": 361, "column": 18 }, "end": { "line": 361, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13425, "end": 13432, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13432, "end": 13433, "loc": { "start": { "line": 361, "column": 26 }, "end": { "line": 361, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13433, "end": 13444, "loc": { "start": { "line": 361, "column": 27 }, "end": { "line": 361, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13444, "end": 13445, "loc": { "start": { "line": 361, "column": 38 }, "end": { "line": 361, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 13445, "end": 13451, "loc": { "start": { "line": 361, "column": 39 }, "end": { "line": 361, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13451, "end": 13452, "loc": { "start": { "line": 361, "column": 45 }, "end": { "line": 361, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 13452, "end": 13457, "loc": { "start": { "line": 361, "column": 46 }, "end": { "line": 361, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13457, "end": 13458, "loc": { "start": { "line": 361, "column": 51 }, "end": { "line": 361, "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": 13459, "end": 13460, "loc": { "start": { "line": 361, "column": 53 }, "end": { "line": 361, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13460, "end": 13461, "loc": { "start": { "line": 361, "column": 54 }, "end": { "line": 361, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13461, "end": 13462, "loc": { "start": { "line": 361, "column": 55 }, "end": { "line": 361, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13478, "end": 13489, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13490, "end": 13491, "loc": { "start": { "line": 362, "column": 26 }, "end": { "line": 362, "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": 13492, "end": 13496, "loc": { "start": { "line": 362, "column": 28 }, "end": { "line": 362, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13496, "end": 13497, "loc": { "start": { "line": 362, "column": 32 }, "end": { "line": 362, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13511, "end": 13512, "loc": { "start": { "line": 363, "column": 12 }, "end": { "line": 363, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13527, "end": 13528, "loc": { "start": { "line": 365, "column": 10 }, "end": { "line": 365, "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": 13542, "end": 13548, "loc": { "start": { "line": 367, "column": 10 }, "end": { "line": 367, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13549, "end": 13560, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13560, "end": 13561, "loc": { "start": { "line": 367, "column": 28 }, "end": { "line": 367, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13571, "end": 13572, "loc": { "start": { "line": 368, "column": 8 }, "end": { "line": 368, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13572, "end": 13573, "loc": { "start": { "line": 368, "column": 9 }, "end": { "line": 368, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13573, "end": 13574, "loc": { "start": { "line": 368, "column": 10 }, "end": { "line": 368, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13582, "end": 13583, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13583, "end": 13584, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13584, "end": 13585, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "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": 13595, "end": 13599, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13599, "end": 13600, "loc": { "start": { "line": 371, "column": 10 }, "end": { "line": 371, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 13600, "end": 13606, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13606, "end": 13607, "loc": { "start": { "line": 371, "column": 17 }, "end": { "line": 371, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13607, "end": 13608, "loc": { "start": { "line": 371, "column": 18 }, "end": { "line": 371, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13608, "end": 13609, "loc": { "start": { "line": 371, "column": 19 }, "end": { "line": 371, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13615, "end": 13616, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13620, "end": 13621, "loc": { "start": { "line": 373, "column": 2 }, "end": { "line": 373, "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": 13627, "end": 13830, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 13834, "end": 13850, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13851, "end": 13852, "loc": { "start": { "line": 379, "column": 19 }, "end": { "line": 379, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13853, "end": 13854, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 379, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13854, "end": 13860, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13860, "end": 13861, "loc": { "start": { "line": 379, "column": 28 }, "end": { "line": 379, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13862, "end": 13864, "loc": { "start": { "line": 379, "column": 30 }, "end": { "line": 379, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13865, "end": 13866, "loc": { "start": { "line": 379, "column": 33 }, "end": { "line": 379, "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": 13872, "end": 13875, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 13876, "end": 13882, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13882, "end": 13883, "loc": { "start": { "line": 380, "column": 14 }, "end": { "line": 380, "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": 13891, "end": 13894, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 13895, "end": 13904, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13905, "end": 13906, "loc": { "start": { "line": 382, "column": 18 }, "end": { "line": 382, "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": 13907, "end": 13911, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13911, "end": 13912, "loc": { "start": { "line": 382, "column": 24 }, "end": { "line": 382, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 13912, "end": 13926, "loc": { "start": { "line": 382, "column": 25 }, "end": { "line": 382, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13926, "end": 13927, "loc": { "start": { "line": 382, "column": 39 }, "end": { "line": 382, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13927, "end": 13933, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13933, "end": 13934, "loc": { "start": { "line": 382, "column": 46 }, "end": { "line": 382, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13934, "end": 13935, "loc": { "start": { "line": 382, "column": 47 }, "end": { "line": 382, "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": 13941, "end": 13943, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 383, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13943, "end": 13944, "loc": { "start": { "line": 383, "column": 6 }, "end": { "line": 383, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 13944, "end": 13953, "loc": { "start": { "line": 383, "column": 7 }, "end": { "line": 383, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13953, "end": 13954, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13954, "end": 13955, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 383, "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": 13963, "end": 13965, "loc": { "start": { "line": 384, "column": 6 }, "end": { "line": 384, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13965, "end": 13966, "loc": { "start": { "line": 384, "column": 8 }, "end": { "line": 384, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 13966, "end": 13975, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13975, "end": 13976, "loc": { "start": { "line": 384, "column": 18 }, "end": { "line": 384, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 13976, "end": 13982, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 384, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 13983, "end": 13984, "loc": { "start": { "line": 384, "column": 26 }, "end": { "line": 384, "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": 13985, "end": 13986, "loc": { "start": { "line": 384, "column": 28 }, "end": { "line": 384, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13986, "end": 13987, "loc": { "start": { "line": 384, "column": 29 }, "end": { "line": 384, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13987, "end": 13988, "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": "output", "start": 13998, "end": 14004, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14005, "end": 14006, "loc": { "start": { "line": 385, "column": 15 }, "end": { "line": 385, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 14007, "end": 14016, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14016, "end": 14017, "loc": { "start": { "line": 385, "column": 26 }, "end": { "line": 385, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14025, "end": 14026, "loc": { "start": { "line": 386, "column": 6 }, "end": { "line": 386, "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": 14027, "end": 14031, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 386, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14032, "end": 14033, "loc": { "start": { "line": 386, "column": 13 }, "end": { "line": 386, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 14043, "end": 14049, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14050, "end": 14051, "loc": { "start": { "line": 387, "column": 15 }, "end": { "line": 387, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 14052, "end": 14061, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14061, "end": 14062, "loc": { "start": { "line": 387, "column": 26 }, "end": { "line": 387, "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": 14062, "end": 14063, "loc": { "start": { "line": 387, "column": 27 }, "end": { "line": 387, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14063, "end": 14064, "loc": { "start": { "line": 387, "column": 28 }, "end": { "line": 387, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14064, "end": 14065, "loc": { "start": { "line": 387, "column": 29 }, "end": { "line": 387, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14073, "end": 14074, "loc": { "start": { "line": 388, "column": 6 }, "end": { "line": 388, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14080, "end": 14081, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 389, "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": 14089, "end": 14095, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 14096, "end": 14102, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14102, "end": 14103, "loc": { "start": { "line": 391, "column": 17 }, "end": { "line": 391, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14107, "end": 14108, "loc": { "start": { "line": 392, "column": 2 }, "end": { "line": 392, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14114, "end": 14204, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 14208, "end": 14219, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 397, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14220, "end": 14221, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14222, "end": 14223, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 397, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14223, "end": 14224, "loc": { "start": { "line": 397, "column": 17 }, "end": { "line": 397, "column": 18 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14225, "end": 14227, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14228, "end": 14229, "loc": { "start": { "line": 397, "column": 22 }, "end": { "line": 397, "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": 14235, "end": 14237, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 398, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14237, "end": 14238, "loc": { "start": { "line": 398, "column": 6 }, "end": { "line": 398, "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": 14238, "end": 14242, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14242, "end": 14243, "loc": { "start": { "line": 398, "column": 11 }, "end": { "line": 398, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14243, "end": 14250, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 } } }, { "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": 398, "column": 19 }, "end": { "line": 398, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 14251, "end": 14256, "loc": { "start": { "line": 398, "column": 20 }, "end": { "line": 398, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14256, "end": 14257, "loc": { "start": { "line": 398, "column": 25 }, "end": { "line": 398, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14257, "end": 14258, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 14266, "end": 14273, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14273, "end": 14274, "loc": { "start": { "line": 399, "column": 13 }, "end": { "line": 399, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 14274, "end": 14277, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14277, "end": 14278, "loc": { "start": { "line": 399, "column": 17 }, "end": { "line": 399, "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": 14278, "end": 14302, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14302, "end": 14303, "loc": { "start": { "line": 399, "column": 42 }, "end": { "line": 399, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14303, "end": 14304, "loc": { "start": { "line": 399, "column": 43 }, "end": { "line": 399, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14310, "end": 14311, "loc": { "start": { "line": 400, "column": 4 }, "end": { "line": 400, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 14319, "end": 14327, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14327, "end": 14328, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 14328, "end": 14344, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14344, "end": 14345, "loc": { "start": { "line": 402, "column": 29 }, "end": { "line": 402, "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": 14345, "end": 14352, "loc": { "start": { "line": 402, "column": 30 }, "end": { "line": 402, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14352, "end": 14353, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "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": 14354, "end": 14358, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14358, "end": 14359, "loc": { "start": { "line": 402, "column": 43 }, "end": { "line": 402, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14359, "end": 14376, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14376, "end": 14377, "loc": { "start": { "line": 402, "column": 61 }, "end": { "line": 402, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14377, "end": 14378, "loc": { "start": { "line": 402, "column": 62 }, "end": { "line": 402, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 14384, "end": 14392, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14392, "end": 14393, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 14393, "end": 14409, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 29 } } }, { "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": 403, "column": 29 }, "end": { "line": 403, "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": 14410, "end": 14419, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 403, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14419, "end": 14420, "loc": { "start": { "line": 403, "column": 39 }, "end": { "line": 403, "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": 14421, "end": 14425, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14425, "end": 14426, "loc": { "start": { "line": 403, "column": 45 }, "end": { "line": 403, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14426, "end": 14443, "loc": { "start": { "line": 403, "column": 46 }, "end": { "line": 403, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14443, "end": 14444, "loc": { "start": { "line": 403, "column": 63 }, "end": { "line": 403, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14444, "end": 14445, "loc": { "start": { "line": 403, "column": 64 }, "end": { "line": 403, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 14451, "end": 14459, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14459, "end": 14460, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 14460, "end": 14476, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14476, "end": 14477, "loc": { "start": { "line": 404, "column": 29 }, "end": { "line": 404, "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": 14477, "end": 14487, "loc": { "start": { "line": 404, "column": 30 }, "end": { "line": 404, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14487, "end": 14488, "loc": { "start": { "line": 404, "column": 40 }, "end": { "line": 404, "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": 14489, "end": 14493, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14493, "end": 14494, "loc": { "start": { "line": 404, "column": 46 }, "end": { "line": 404, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14494, "end": 14511, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14511, "end": 14512, "loc": { "start": { "line": 404, "column": 64 }, "end": { "line": 404, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14512, "end": 14513, "loc": { "start": { "line": 404, "column": 65 }, "end": { "line": 404, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14517, "end": 14518, "loc": { "start": { "line": 405, "column": 2 }, "end": { "line": 405, "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": 14524, "end": 14636, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14640, "end": 14657, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 410, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14658, "end": 14659, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14660, "end": 14661, "loc": { "start": { "line": 410, "column": 22 }, "end": { "line": 410, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14661, "end": 14666, "loc": { "start": { "line": 410, "column": 23 }, "end": { "line": 410, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14666, "end": 14667, "loc": { "start": { "line": 410, "column": 28 }, "end": { "line": 410, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14668, "end": 14670, "loc": { "start": { "line": 410, "column": 30 }, "end": { "line": 410, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14671, "end": 14672, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 410, "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": 14678, "end": 14681, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 14682, "end": 14695, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14696, "end": 14697, "loc": { "start": { "line": 411, "column": 22 }, "end": { "line": 411, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14698, "end": 14703, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14703, "end": 14704, "loc": { "start": { "line": 411, "column": 29 }, "end": { "line": 411, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 14704, "end": 14710, "loc": { "start": { "line": 411, "column": 30 }, "end": { "line": 411, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14710, "end": 14711, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 14711, "end": 14718, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 411, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14718, "end": 14719, "loc": { "start": { "line": 411, "column": 44 }, "end": { "line": 411, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 14719, "end": 14730, "loc": { "start": { "line": 411, "column": 45 }, "end": { "line": 411, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14730, "end": 14731, "loc": { "start": { "line": 411, "column": 56 }, "end": { "line": 411, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14731, "end": 14732, "loc": { "start": { "line": 411, "column": 57 }, "end": { "line": 411, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14732, "end": 14733, "loc": { "start": { "line": 411, "column": 58 }, "end": { "line": 411, "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": 14741, "end": 14743, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14743, "end": 14744, "loc": { "start": { "line": 413, "column": 6 }, "end": { "line": 413, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 14752, "end": 14765, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14766, "end": 14769, "loc": { "start": { "line": 414, "column": 20 }, "end": { "line": 414, "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": 14770, "end": 14780, "loc": { "start": { "line": 414, "column": 24 }, "end": { "line": 414, "column": 34 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 14781, "end": 14783, "loc": { "start": { "line": 414, "column": 35 }, "end": { "line": 414, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 14791, "end": 14804, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14805, "end": 14808, "loc": { "start": { "line": 415, "column": 20 }, "end": { "line": 415, "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": 14809, "end": 14816, "loc": { "start": { "line": 415, "column": 24 }, "end": { "line": 415, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14822, "end": 14823, "loc": { "start": { "line": 416, "column": 4 }, "end": { "line": 416, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14823, "end": 14824, "loc": { "start": { "line": 416, "column": 5 }, "end": { "line": 416, "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": 14832, "end": 14980, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "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": 14988, "end": 14992, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14992, "end": 14993, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 14993, "end": 15006, "loc": { "start": { "line": 421, "column": 11 }, "end": { "line": 421, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15007, "end": 15008, "loc": { "start": { "line": 421, "column": 25 }, "end": { "line": 421, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15009, "end": 15014, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15014, "end": 15015, "loc": { "start": { "line": 421, "column": 32 }, "end": { "line": 421, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 15015, "end": 15021, "loc": { "start": { "line": 421, "column": 33 }, "end": { "line": 421, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15021, "end": 15022, "loc": { "start": { "line": 421, "column": 39 }, "end": { "line": 421, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 15022, "end": 15036, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15036, "end": 15037, "loc": { "start": { "line": 421, "column": 54 }, "end": { "line": 421, "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": 15047, "end": 15049, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15049, "end": 15050, "loc": { "start": { "line": 423, "column": 8 }, "end": { "line": 423, "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": 15050, "end": 15054, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15054, "end": 15055, "loc": { "start": { "line": 423, "column": 13 }, "end": { "line": 423, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15055, "end": 15062, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15062, "end": 15063, "loc": { "start": { "line": 423, "column": 21 }, "end": { "line": 423, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 15063, "end": 15068, "loc": { "start": { "line": 423, "column": 22 }, "end": { "line": 423, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15068, "end": 15069, "loc": { "start": { "line": 423, "column": 27 }, "end": { "line": 423, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15069, "end": 15070, "loc": { "start": { "line": 423, "column": 28 }, "end": { "line": 423, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 15080, "end": 15087, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15087, "end": 15088, "loc": { "start": { "line": 424, "column": 15 }, "end": { "line": 424, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 15088, "end": 15091, "loc": { "start": { "line": 424, "column": 16 }, "end": { "line": 424, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15091, "end": 15092, "loc": { "start": { "line": 424, "column": 19 }, "end": { "line": 424, "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": 15092, "end": 15104, "loc": { "start": { "line": 424, "column": 20 }, "end": { "line": 424, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15104, "end": 15105, "loc": { "start": { "line": 424, "column": 32 }, "end": { "line": 424, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15106, "end": 15111, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15111, "end": 15112, "loc": { "start": { "line": 424, "column": 39 }, "end": { "line": 424, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 15112, "end": 15118, "loc": { "start": { "line": 424, "column": 40 }, "end": { "line": 424, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15118, "end": 15119, "loc": { "start": { "line": 424, "column": 46 }, "end": { "line": 424, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 15119, "end": 15133, "loc": { "start": { "line": 424, "column": 47 }, "end": { "line": 424, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15133, "end": 15134, "loc": { "start": { "line": 424, "column": 61 }, "end": { "line": 424, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15135, "end": 15140, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15140, "end": 15141, "loc": { "start": { "line": 424, "column": 68 }, "end": { "line": 424, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 15141, "end": 15147, "loc": { "start": { "line": 424, "column": 69 }, "end": { "line": 424, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15147, "end": 15148, "loc": { "start": { "line": 424, "column": 75 }, "end": { "line": 424, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 15148, "end": 15155, "loc": { "start": { "line": 424, "column": 76 }, "end": { "line": 424, "column": 83 } } }, { "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": 424, "column": 83 }, "end": { "line": 424, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 15156, "end": 15167, "loc": { "start": { "line": 424, "column": 84 }, "end": { "line": 424, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15167, "end": 15168, "loc": { "start": { "line": 424, "column": 95 }, "end": { "line": 424, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15168, "end": 15169, "loc": { "start": { "line": 424, "column": 96 }, "end": { "line": 424, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15169, "end": 15170, "loc": { "start": { "line": 424, "column": 97 }, "end": { "line": 424, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15170, "end": 15171, "loc": { "start": { "line": 424, "column": 98 }, "end": { "line": 424, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15179, "end": 15180, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 425, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15191, "end": 15192, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15196, "end": 15197, "loc": { "start": { "line": 427, "column": 2 }, "end": { "line": 427, "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": 15203, "end": 15323, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 15327, "end": 15333, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 432, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15334, "end": 15335, "loc": { "start": { "line": 432, "column": 9 }, "end": { "line": 432, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15336, "end": 15337, "loc": { "start": { "line": 432, "column": 11 }, "end": { "line": 432, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15337, "end": 15338, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 13 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15339, "end": 15341, "loc": { "start": { "line": 432, "column": 14 }, "end": { "line": 432, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15342, "end": 15343, "loc": { "start": { "line": 432, "column": 17 }, "end": { "line": 432, "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": 15349, "end": 15351, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15351, "end": 15352, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 433, "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": 15352, "end": 15356, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15356, "end": 15357, "loc": { "start": { "line": 433, "column": 11 }, "end": { "line": 433, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15357, "end": 15364, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15364, "end": 15365, "loc": { "start": { "line": 433, "column": 19 }, "end": { "line": 433, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 15365, "end": 15370, "loc": { "start": { "line": 433, "column": 20 }, "end": { "line": 433, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15370, "end": 15371, "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": 15371, "end": 15372, "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": "console", "start": 15380, "end": 15387, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15387, "end": 15388, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 15388, "end": 15391, "loc": { "start": { "line": 434, "column": 14 }, "end": { "line": 434, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15391, "end": 15392, "loc": { "start": { "line": 434, "column": 17 }, "end": { "line": 434, "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": 15392, "end": 15405, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15405, "end": 15406, "loc": { "start": { "line": 434, "column": 31 }, "end": { "line": 434, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15406, "end": 15407, "loc": { "start": { "line": 434, "column": 32 }, "end": { "line": 434, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15413, "end": 15414, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 435, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15422, "end": 15457, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "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": 15463, "end": 15467, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15467, "end": 15468, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 15468, "end": 15479, "loc": { "start": { "line": 440, "column": 9 }, "end": { "line": 440, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15479, "end": 15480, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15480, "end": 15481, "loc": { "start": { "line": 440, "column": 21 }, "end": { "line": 440, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15481, "end": 15482, "loc": { "start": { "line": 440, "column": 22 }, "end": { "line": 440, "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": 15490, "end": 15492, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 442, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15492, "end": 15493, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "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": 15493, "end": 15499, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "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": 15500, "end": 15504, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15504, "end": 15505, "loc": { "start": { "line": 442, "column": 18 }, "end": { "line": 442, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15505, "end": 15512, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15512, "end": 15513, "loc": { "start": { "line": 442, "column": 26 }, "end": { "line": 442, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 15513, "end": 15519, "loc": { "start": { "line": 442, "column": 27 }, "end": { "line": 442, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 15520, "end": 15523, "loc": { "start": { "line": 442, "column": 34 }, "end": { "line": 442, "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": 15524, "end": 15534, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 442, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15534, "end": 15535, "loc": { "start": { "line": 442, "column": 48 }, "end": { "line": 442, "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": 15543, "end": 15547, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15547, "end": 15548, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 443, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15548, "end": 15555, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15555, "end": 15556, "loc": { "start": { "line": 443, "column": 18 }, "end": { "line": 443, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 15556, "end": 15562, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15562, "end": 15563, "loc": { "start": { "line": 443, "column": 25 }, "end": { "line": 443, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15563, "end": 15564, "loc": { "start": { "line": 443, "column": 26 }, "end": { "line": 443, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15564, "end": 15565, "loc": { "start": { "line": 443, "column": 27 }, "end": { "line": 443, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15569, "end": 15570, "loc": { "start": { "line": 444, "column": 2 }, "end": { "line": 444, "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": 15576, "end": 15694, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 15698, "end": 15706, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 449, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15707, "end": 15708, "loc": { "start": { "line": 449, "column": 11 }, "end": { "line": 449, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15709, "end": 15710, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 449, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15710, "end": 15711, "loc": { "start": { "line": 449, "column": 14 }, "end": { "line": 449, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15712, "end": 15714, "loc": { "start": { "line": 449, "column": 16 }, "end": { "line": 449, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15715, "end": 15716, "loc": { "start": { "line": 449, "column": 19 }, "end": { "line": 449, "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": 15722, "end": 15724, "loc": { "start": { "line": 450, "column": 4 }, "end": { "line": 450, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15724, "end": 15725, "loc": { "start": { "line": 450, "column": 6 }, "end": { "line": 450, "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": 15725, "end": 15731, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "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": 15732, "end": 15736, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15736, "end": 15737, "loc": { "start": { "line": 450, "column": 18 }, "end": { "line": 450, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15737, "end": 15744, "loc": { "start": { "line": 450, "column": 19 }, "end": { "line": 450, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15744, "end": 15745, "loc": { "start": { "line": 450, "column": 26 }, "end": { "line": 450, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 15745, "end": 15753, "loc": { "start": { "line": 450, "column": 27 }, "end": { "line": 450, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 15754, "end": 15757, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "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": 15758, "end": 15768, "loc": { "start": { "line": 450, "column": 40 }, "end": { "line": 450, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15768, "end": 15769, "loc": { "start": { "line": 450, "column": 50 }, "end": { "line": 450, "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": 15777, "end": 15781, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15781, "end": 15782, "loc": { "start": { "line": 451, "column": 10 }, "end": { "line": 451, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15782, "end": 15789, "loc": { "start": { "line": 451, "column": 11 }, "end": { "line": 451, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15789, "end": 15790, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 15790, "end": 15798, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 451, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15798, "end": 15799, "loc": { "start": { "line": 451, "column": 27 }, "end": { "line": 451, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15799, "end": 15800, "loc": { "start": { "line": 451, "column": 28 }, "end": { "line": 451, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15800, "end": 15801, "loc": { "start": { "line": 451, "column": 29 }, "end": { "line": 451, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15805, "end": 15806, "loc": { "start": { "line": 452, "column": 2 }, "end": { "line": 452, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15812, "end": 15868, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 15872, "end": 15878, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15879, "end": 15880, "loc": { "start": { "line": 457, "column": 9 }, "end": { "line": 457, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15881, "end": 15882, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 457, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15882, "end": 15883, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 13 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15884, "end": 15886, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15887, "end": 15888, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 457, "column": 18 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15894, "end": 15929, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "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": 15935, "end": 15939, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15939, "end": 15940, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 15940, "end": 15945, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15945, "end": 15946, "loc": { "start": { "line": 461, "column": 14 }, "end": { "line": 461, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15946, "end": 15947, "loc": { "start": { "line": 461, "column": 15 }, "end": { "line": 461, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15947, "end": 15948, "loc": { "start": { "line": 461, "column": 16 }, "end": { "line": 461, "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": 15956, "end": 15959, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 15960, "end": 15971, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15972, "end": 15973, "loc": { "start": { "line": 463, "column": 20 }, "end": { "line": 463, "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": 15974, "end": 15978, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15978, "end": 15979, "loc": { "start": { "line": 463, "column": 26 }, "end": { "line": 463, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15979, "end": 15986, "loc": { "start": { "line": 463, "column": 27 }, "end": { "line": 463, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15986, "end": 15987, "loc": { "start": { "line": 463, "column": 34 }, "end": { "line": 463, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 15987, "end": 15993, "loc": { "start": { "line": 463, "column": 35 }, "end": { "line": 463, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15994, "end": 15995, "loc": { "start": { "line": 463, "column": 42 }, "end": { "line": 463, "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": 15996, "end": 16014, "loc": { "start": { "line": 463, "column": 44 }, "end": { "line": 463, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16015, "end": 16016, "loc": { "start": { "line": 463, "column": 63 }, "end": { "line": 463, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16017, "end": 16018, "loc": { "start": { "line": 463, "column": 65 }, "end": { "line": 463, "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": 16018, "end": 16028, "loc": { "start": { "line": 463, "column": 66 }, "end": { "line": 463, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16028, "end": 16030, "loc": { "start": { "line": 463, "column": 76 }, "end": { "line": 463, "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": 16030, "end": 16034, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16034, "end": 16035, "loc": { "start": { "line": 463, "column": 82 }, "end": { "line": 463, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16035, "end": 16042, "loc": { "start": { "line": 463, "column": 83 }, "end": { "line": 463, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16042, "end": 16043, "loc": { "start": { "line": 463, "column": 90 }, "end": { "line": 463, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 16043, "end": 16053, "loc": { "start": { "line": 463, "column": 91 }, "end": { "line": 463, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16053, "end": 16054, "loc": { "start": { "line": 463, "column": 101 }, "end": { "line": 463, "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": 16054, "end": 16054, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16054, "end": 16055, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16055, "end": 16056, "loc": { "start": { "line": 463, "column": 103 }, "end": { "line": 463, "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": 16062, "end": 16065, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 16066, "end": 16072, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16073, "end": 16074, "loc": { "start": { "line": 464, "column": 15 }, "end": { "line": 464, "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": 16075, "end": 16079, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16079, "end": 16080, "loc": { "start": { "line": 464, "column": 21 }, "end": { "line": 464, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16080, "end": 16087, "loc": { "start": { "line": 464, "column": 22 }, "end": { "line": 464, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16087, "end": 16088, "loc": { "start": { "line": 464, "column": 29 }, "end": { "line": 464, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 16088, "end": 16094, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 16095, "end": 16097, "loc": { "start": { "line": 464, "column": 37 }, "end": { "line": 464, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 16098, "end": 16112, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16112, "end": 16113, "loc": { "start": { "line": 464, "column": 54 }, "end": { "line": 464, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 16113, "end": 16129, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16129, "end": 16130, "loc": { "start": { "line": 464, "column": 71 }, "end": { "line": 464, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16130, "end": 16131, "loc": { "start": { "line": 464, "column": 72 }, "end": { "line": 464, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16131, "end": 16132, "loc": { "start": { "line": 464, "column": 73 }, "end": { "line": 464, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16140, "end": 16192, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "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": 16198, "end": 16201, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 16202, "end": 16220, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16221, "end": 16222, "loc": { "start": { "line": 469, "column": 27 }, "end": { "line": 469, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16223, "end": 16224, "loc": { "start": { "line": 469, "column": 29 }, "end": { "line": 469, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16224, "end": 16225, "loc": { "start": { "line": 469, "column": 30 }, "end": { "line": 469, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16225, "end": 16226, "loc": { "start": { "line": 469, "column": 31 }, "end": { "line": 469, "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": 16232, "end": 16234, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 470, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16234, "end": 16235, "loc": { "start": { "line": 470, "column": 6 }, "end": { "line": 470, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 16235, "end": 16240, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16240, "end": 16241, "loc": { "start": { "line": 470, "column": 12 }, "end": { "line": 470, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 16241, "end": 16248, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16248, "end": 16249, "loc": { "start": { "line": 470, "column": 20 }, "end": { "line": 470, "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": 16249, "end": 16253, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16253, "end": 16254, "loc": { "start": { "line": 470, "column": 25 }, "end": { "line": 470, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16254, "end": 16261, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16261, "end": 16262, "loc": { "start": { "line": 470, "column": 33 }, "end": { "line": 470, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16262, "end": 16273, "loc": { "start": { "line": 470, "column": 34 }, "end": { "line": 470, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16273, "end": 16274, "loc": { "start": { "line": 470, "column": 45 }, "end": { "line": 470, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16274, "end": 16275, "loc": { "start": { "line": 470, "column": 46 }, "end": { "line": 470, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16275, "end": 16276, "loc": { "start": { "line": 470, "column": 47 }, "end": { "line": 470, "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": 16284, "end": 16288, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16288, "end": 16289, "loc": { "start": { "line": 471, "column": 10 }, "end": { "line": 471, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16289, "end": 16296, "loc": { "start": { "line": 471, "column": 11 }, "end": { "line": 471, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16296, "end": 16297, "loc": { "start": { "line": 471, "column": 18 }, "end": { "line": 471, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16297, "end": 16308, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 471, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16308, "end": 16309, "loc": { "start": { "line": 471, "column": 30 }, "end": { "line": 471, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 16309, "end": 16316, "loc": { "start": { "line": 471, "column": 31 }, "end": { "line": 471, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16316, "end": 16317, "loc": { "start": { "line": 471, "column": 38 }, "end": { "line": 471, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16317, "end": 16325, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 471, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16326, "end": 16328, "loc": { "start": { "line": 471, "column": 48 }, "end": { "line": 471, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16329, "end": 16330, "loc": { "start": { "line": 471, "column": 51 }, "end": { "line": 471, "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": 16340, "end": 16342, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 472, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16342, "end": 16343, "loc": { "start": { "line": 472, "column": 10 }, "end": { "line": 472, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16343, "end": 16351, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16351, "end": 16352, "loc": { "start": { "line": 472, "column": 19 }, "end": { "line": 472, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16352, "end": 16359, "loc": { "start": { "line": 472, "column": 20 }, "end": { "line": 472, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16360, "end": 16362, "loc": { "start": { "line": 472, "column": 28 }, "end": { "line": 472, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16363, "end": 16371, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16371, "end": 16372, "loc": { "start": { "line": 472, "column": 39 }, "end": { "line": 472, "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": 16372, "end": 16377, "loc": { "start": { "line": 472, "column": 40 }, "end": { "line": 472, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16377, "end": 16378, "loc": { "start": { "line": 472, "column": 45 }, "end": { "line": 472, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16378, "end": 16379, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 472, "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": 16391, "end": 16394, "loc": { "start": { "line": 473, "column": 10 }, "end": { "line": 473, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16395, "end": 16407, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16407, "end": 16408, "loc": { "start": { "line": 473, "column": 26 }, "end": { "line": 473, "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": 16422, "end": 16424, "loc": { "start": { "line": 475, "column": 10 }, "end": { "line": 475, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16424, "end": 16425, "loc": { "start": { "line": 475, "column": 12 }, "end": { "line": 475, "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": 16425, "end": 16431, "loc": { "start": { "line": 475, "column": 13 }, "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": "themeObj", "start": 16432, "end": 16440, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16440, "end": 16441, "loc": { "start": { "line": 475, "column": 28 }, "end": { "line": 475, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16441, "end": 16448, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 16449, "end": 16452, "loc": { "start": { "line": 475, "column": 37 }, "end": { "line": 475, "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": 16453, "end": 16461, "loc": { "start": { "line": 475, "column": 41 }, "end": { "line": 475, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16461, "end": 16462, "loc": { "start": { "line": 475, "column": 49 }, "end": { "line": 475, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16462, "end": 16463, "loc": { "start": { "line": 475, "column": 50 }, "end": { "line": 475, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16477, "end": 16489, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16490, "end": 16491, "loc": { "start": { "line": 476, "column": 25 }, "end": { "line": 476, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16492, "end": 16500, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16500, "end": 16501, "loc": { "start": { "line": 476, "column": 35 }, "end": { "line": 476, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16501, "end": 16508, "loc": { "start": { "line": 476, "column": 36 }, "end": { "line": 476, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16508, "end": 16509, "loc": { "start": { "line": 476, "column": 43 }, "end": { "line": 476, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 16509, "end": 16514, "loc": { "start": { "line": 476, "column": 44 }, "end": { "line": 476, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16514, "end": 16515, "loc": { "start": { "line": 476, "column": 49 }, "end": { "line": 476, "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": 16515, "end": 16518, "loc": { "start": { "line": 476, "column": 50 }, "end": { "line": 476, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16518, "end": 16519, "loc": { "start": { "line": 476, "column": 53 }, "end": { "line": 476, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16519, "end": 16520, "loc": { "start": { "line": 476, "column": 54 }, "end": { "line": 476, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16532, "end": 16533, "loc": { "start": { "line": 477, "column": 10 }, "end": { "line": 477, "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": 16547, "end": 16549, "loc": { "start": { "line": 479, "column": 10 }, "end": { "line": 479, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16549, "end": 16550, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16550, "end": 16562, "loc": { "start": { "line": 479, "column": 13 }, "end": { "line": 479, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16562, "end": 16563, "loc": { "start": { "line": 479, "column": 25 }, "end": { "line": 479, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16563, "end": 16564, "loc": { "start": { "line": 479, "column": 26 }, "end": { "line": 479, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16578, "end": 16590, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16590, "end": 16591, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 16591, "end": 16598, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16598, "end": 16599, "loc": { "start": { "line": 480, "column": 32 }, "end": { "line": 480, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 16599, "end": 16610, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16611, "end": 16613, "loc": { "start": { "line": 480, "column": 45 }, "end": { "line": 480, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16614, "end": 16615, "loc": { "start": { "line": 480, "column": 48 }, "end": { "line": 480, "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": 16631, "end": 16634, "loc": { "start": { "line": 481, "column": 14 }, "end": { "line": 481, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 16635, "end": 16646, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16647, "end": 16648, "loc": { "start": { "line": 481, "column": 30 }, "end": { "line": 481, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 16649, "end": 16667, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16667, "end": 16668, "loc": { "start": { "line": 481, "column": 50 }, "end": { "line": 481, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 16668, "end": 16679, "loc": { "start": { "line": 481, "column": 51 }, "end": { "line": 481, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16679, "end": 16680, "loc": { "start": { "line": 481, "column": 62 }, "end": { "line": 481, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16680, "end": 16681, "loc": { "start": { "line": 481, "column": 63 }, "end": { "line": 481, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 16699, "end": 16738, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "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": 16754, "end": 16756, "loc": { "start": { "line": 484, "column": 14 }, "end": { "line": 484, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16756, "end": 16757, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 16757, "end": 16768, "loc": { "start": { "line": 484, "column": 17 }, "end": { "line": 484, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16768, "end": 16769, "loc": { "start": { "line": 484, "column": 28 }, "end": { "line": 484, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16769, "end": 16770, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 484, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 16788, "end": 16871, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "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": 16889, "end": 16891, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 486, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16891, "end": 16892, "loc": { "start": { "line": 486, "column": 18 }, "end": { "line": 486, "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": 16892, "end": 16893, "loc": { "start": { "line": 486, "column": 19 }, "end": { "line": 486, "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": 16893, "end": 16897, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16897, "end": 16898, "loc": { "start": { "line": 486, "column": 24 }, "end": { "line": 486, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 16898, "end": 16907, "loc": { "start": { "line": 486, "column": 25 }, "end": { "line": 486, "column": 34 } } }, { "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": 486, "column": 34 }, "end": { "line": 486, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 16908, "end": 16920, "loc": { "start": { "line": 486, "column": 35 }, "end": { "line": 486, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16920, "end": 16921, "loc": { "start": { "line": 486, "column": 47 }, "end": { "line": 486, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 16921, "end": 16932, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16932, "end": 16933, "loc": { "start": { "line": 486, "column": 59 }, "end": { "line": 486, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 16933, "end": 16938, "loc": { "start": { "line": 486, "column": 60 }, "end": { "line": 486, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16938, "end": 16939, "loc": { "start": { "line": 486, "column": 65 }, "end": { "line": 486, "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": 16939, "end": 16942, "loc": { "start": { "line": 486, "column": 66 }, "end": { "line": 486, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16942, "end": 16943, "loc": { "start": { "line": 486, "column": 69 }, "end": { "line": 486, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16943, "end": 16944, "loc": { "start": { "line": 486, "column": 70 }, "end": { "line": 486, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16945, "end": 16953, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16953, "end": 16954, "loc": { "start": { "line": 486, "column": 80 }, "end": { "line": 486, "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": 16954, "end": 16959, "loc": { "start": { "line": 486, "column": 81 }, "end": { "line": 486, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16959, "end": 16960, "loc": { "start": { "line": 486, "column": 86 }, "end": { "line": 486, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16960, "end": 16961, "loc": { "start": { "line": 486, "column": 87 }, "end": { "line": 486, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16961, "end": 16962, "loc": { "start": { "line": 486, "column": 88 }, "end": { "line": 486, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 16982, "end": 17000, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17000, "end": 17001, "loc": { "start": { "line": 487, "column": 36 }, "end": { "line": 487, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 17001, "end": 17012, "loc": { "start": { "line": 487, "column": 37 }, "end": { "line": 487, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17012, "end": 17013, "loc": { "start": { "line": 487, "column": 48 }, "end": { "line": 487, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17014, "end": 17015, "loc": { "start": { "line": 487, "column": 50 }, "end": { "line": 487, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17016, "end": 17017, "loc": { "start": { "line": 487, "column": 52 }, "end": { "line": 487, "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": 17017, "end": 17017, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17017, "end": 17019, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 17019, "end": 17030, "loc": { "start": { "line": 487, "column": 55 }, "end": { "line": 487, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17030, "end": 17031, "loc": { "start": { "line": 487, "column": 66 }, "end": { "line": 487, "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": 17031, "end": 17032, "loc": { "start": { "line": 487, "column": 67 }, "end": { "line": 487, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17032, "end": 17034, "loc": { "start": { "line": 487, "column": 68 }, "end": { "line": 487, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 17034, "end": 17042, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 78 } } }, { "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": 487, "column": 78 }, "end": { "line": 487, "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": 17043, "end": 17048, "loc": { "start": { "line": 487, "column": 79 }, "end": { "line": 487, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17048, "end": 17049, "loc": { "start": { "line": 487, "column": 84 }, "end": { "line": 487, "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": 17049, "end": 17049, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17049, "end": 17050, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17050, "end": 17051, "loc": { "start": { "line": 487, "column": 86 }, "end": { "line": 487, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17069, "end": 17070, "loc": { "start": { "line": 488, "column": 16 }, "end": { "line": 488, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17086, "end": 17087, "loc": { "start": { "line": 489, "column": 14 }, "end": { "line": 489, "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": 17088, "end": 17092, "loc": { "start": { "line": 489, "column": 16 }, "end": { "line": 489, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17093, "end": 17094, "loc": { "start": { "line": 489, "column": 21 }, "end": { "line": 489, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 17112, "end": 17130, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17130, "end": 17131, "loc": { "start": { "line": 490, "column": 34 }, "end": { "line": 490, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 17131, "end": 17142, "loc": { "start": { "line": 490, "column": 35 }, "end": { "line": 490, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17142, "end": 17143, "loc": { "start": { "line": 490, "column": 46 }, "end": { "line": 490, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17144, "end": 17145, "loc": { "start": { "line": 490, "column": 48 }, "end": { "line": 490, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 17146, "end": 17154, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17154, "end": 17155, "loc": { "start": { "line": 490, "column": 58 }, "end": { "line": 490, "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": 17155, "end": 17160, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17160, "end": 17161, "loc": { "start": { "line": 490, "column": 64 }, "end": { "line": 490, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17177, "end": 17178, "loc": { "start": { "line": 491, "column": 14 }, "end": { "line": 491, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17192, "end": 17193, "loc": { "start": { "line": 492, "column": 12 }, "end": { "line": 492, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17193, "end": 17194, "loc": { "start": { "line": 492, "column": 13 }, "end": { "line": 492, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17194, "end": 17195, "loc": { "start": { "line": 492, "column": 14 }, "end": { "line": 492, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17207, "end": 17208, "loc": { "start": { "line": 493, "column": 10 }, "end": { "line": 493, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17218, "end": 17219, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "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": 17220, "end": 17224, "loc": { "start": { "line": 494, "column": 10 }, "end": { "line": 494, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17225, "end": 17226, "loc": { "start": { "line": 494, "column": 15 }, "end": { "line": 494, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17238, "end": 17245, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 17 } } }, { "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": 495, "column": 17 }, "end": { "line": 495, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 17246, "end": 17250, "loc": { "start": { "line": 495, "column": 18 }, "end": { "line": 495, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17250, "end": 17251, "loc": { "start": { "line": 495, "column": 22 }, "end": { "line": 495, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17251, "end": 17252, "loc": { "start": { "line": 495, "column": 23 }, "end": { "line": 495, "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": 17252, "end": 17340, "loc": { "start": { "line": 495, "column": 24 }, "end": { "line": 495, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17340, "end": 17341, "loc": { "start": { "line": 495, "column": 112 }, "end": { "line": 495, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17341, "end": 17342, "loc": { "start": { "line": 495, "column": 113 }, "end": { "line": 495, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17352, "end": 17353, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17361, "end": 17362, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17362, "end": 17363, "loc": { "start": { "line": 497, "column": 7 }, "end": { "line": 497, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17363, "end": 17364, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17370, "end": 17371, "loc": { "start": { "line": 498, "column": 4 }, "end": { "line": 498, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17379, "end": 17445, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "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": 17451, "end": 17455, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17455, "end": 17456, "loc": { "start": { "line": 503, "column": 8 }, "end": { "line": 503, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 17456, "end": 17467, "loc": { "start": { "line": 503, "column": 9 }, "end": { "line": 503, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17467, "end": 17468, "loc": { "start": { "line": 503, "column": 20 }, "end": { "line": 503, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 17468, "end": 17477, "loc": { "start": { "line": 503, "column": 21 }, "end": { "line": 503, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 17478, "end": 17480, "loc": { "start": { "line": 503, "column": 31 }, "end": { "line": 503, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17481, "end": 17482, "loc": { "start": { "line": 503, "column": 34 }, "end": { "line": 503, "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": 17482, "end": 17483, "loc": { "start": { "line": 503, "column": 35 }, "end": { "line": 503, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17483, "end": 17485, "loc": { "start": { "line": 503, "column": 36 }, "end": { "line": 503, "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": 17485, "end": 17489, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17489, "end": 17490, "loc": { "start": { "line": 503, "column": 42 }, "end": { "line": 503, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17490, "end": 17497, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17497, "end": 17498, "loc": { "start": { "line": 503, "column": 50 }, "end": { "line": 503, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 17498, "end": 17503, "loc": { "start": { "line": 503, "column": 51 }, "end": { "line": 503, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17503, "end": 17504, "loc": { "start": { "line": 503, "column": 56 }, "end": { "line": 503, "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": 17504, "end": 17505, "loc": { "start": { "line": 503, "column": 57 }, "end": { "line": 503, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17505, "end": 17507, "loc": { "start": { "line": 503, "column": 58 }, "end": { "line": 503, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 17507, "end": 17518, "loc": { "start": { "line": 503, "column": 60 }, "end": { "line": 503, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17518, "end": 17519, "loc": { "start": { "line": 503, "column": 71 }, "end": { "line": 503, "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": 17519, "end": 17519, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17519, "end": 17520, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17520, "end": 17521, "loc": { "start": { "line": 503, "column": 73 }, "end": { "line": 503, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17529, "end": 17576, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 17582, "end": 17588, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17588, "end": 17589, "loc": { "start": { "line": 508, "column": 10 }, "end": { "line": 508, "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": 17589, "end": 17593, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17593, "end": 17594, "loc": { "start": { "line": 508, "column": 15 }, "end": { "line": 508, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17594, "end": 17601, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17601, "end": 17602, "loc": { "start": { "line": 508, "column": 23 }, "end": { "line": 508, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 17602, "end": 17612, "loc": { "start": { "line": 508, "column": 24 }, "end": { "line": 508, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17612, "end": 17613, "loc": { "start": { "line": 508, "column": 34 }, "end": { "line": 508, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17613, "end": 17614, "loc": { "start": { "line": 508, "column": 35 }, "end": { "line": 508, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 17614, "end": 17621, "loc": { "start": { "line": 508, "column": 36 }, "end": { "line": 508, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17621, "end": 17622, "loc": { "start": { "line": 508, "column": 43 }, "end": { "line": 508, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17622, "end": 17623, "loc": { "start": { "line": 508, "column": 44 }, "end": { "line": 508, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 17623, "end": 17626, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17626, "end": 17627, "loc": { "start": { "line": 508, "column": 48 }, "end": { "line": 508, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 17628, "end": 17634, "loc": { "start": { "line": 508, "column": 50 }, "end": { "line": 508, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17634, "end": 17635, "loc": { "start": { "line": 508, "column": 56 }, "end": { "line": 508, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17636, "end": 17638, "loc": { "start": { "line": 508, "column": 58 }, "end": { "line": 508, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17639, "end": 17640, "loc": { "start": { "line": 508, "column": 61 }, "end": { "line": 508, "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": 17648, "end": 17651, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 17652, "end": 17660, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17661, "end": 17662, "loc": { "start": { "line": 509, "column": 19 }, "end": { "line": 509, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 17663, "end": 17666, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17666, "end": 17667, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 17667, "end": 17672, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17672, "end": 17673, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "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": 17673, "end": 17676, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17676, "end": 17677, "loc": { "start": { "line": 509, "column": 34 }, "end": { "line": 509, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17677, "end": 17678, "loc": { "start": { "line": 509, "column": 35 }, "end": { "line": 509, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17688, "end": 17731, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "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": 17739, "end": 17742, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 514, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 17743, "end": 17749, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17750, "end": 17751, "loc": { "start": { "line": 514, "column": 17 }, "end": { "line": 514, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17752, "end": 17760, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17760, "end": 17761, "loc": { "start": { "line": 514, "column": 27 }, "end": { "line": 514, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 17761, "end": 17774, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17774, "end": 17775, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "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": 17775, "end": 17780, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17780, "end": 17781, "loc": { "start": { "line": 514, "column": 47 }, "end": { "line": 514, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17781, "end": 17782, "loc": { "start": { "line": 514, "column": 48 }, "end": { "line": 514, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 17790, "end": 17796, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17796, "end": 17797, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 17797, "end": 17806, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 17807, "end": 17809, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "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": 17810, "end": 17818, "loc": { "start": { "line": 515, "column": 26 }, "end": { "line": 515, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17818, "end": 17819, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17829, "end": 17890, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 17898, "end": 17906, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17906, "end": 17907, "loc": { "start": { "line": 520, "column": 14 }, "end": { "line": 520, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 17907, "end": 17914, "loc": { "start": { "line": 520, "column": 15 }, "end": { "line": 520, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17914, "end": 17915, "loc": { "start": { "line": 520, "column": 22 }, "end": { "line": 520, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17915, "end": 17916, "loc": { "start": { "line": 520, "column": 23 }, "end": { "line": 520, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17916, "end": 17922, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17922, "end": 17923, "loc": { "start": { "line": 520, "column": 30 }, "end": { "line": 520, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 17924, "end": 17930, "loc": { "start": { "line": 520, "column": 32 }, "end": { "line": 520, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17930, "end": 17931, "loc": { "start": { "line": 520, "column": 38 }, "end": { "line": 520, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17932, "end": 17934, "loc": { "start": { "line": 520, "column": 40 }, "end": { "line": 520, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17935, "end": 17936, "loc": { "start": { "line": 520, "column": 43 }, "end": { "line": 520, "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": 17946, "end": 17949, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 17950, "end": 17961, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17962, "end": 17963, "loc": { "start": { "line": 521, "column": 24 }, "end": { "line": 521, "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": 17964, "end": 17968, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17968, "end": 17969, "loc": { "start": { "line": 521, "column": 30 }, "end": { "line": 521, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 17969, "end": 17978, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17978, "end": 17979, "loc": { "start": { "line": 521, "column": 40 }, "end": { "line": 521, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 17979, "end": 17993, "loc": { "start": { "line": 521, "column": 41 }, "end": { "line": 521, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17993, "end": 17994, "loc": { "start": { "line": 521, "column": 55 }, "end": { "line": 521, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17994, "end": 18000, "loc": { "start": { "line": 521, "column": 56 }, "end": { "line": 521, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18000, "end": 18001, "loc": { "start": { "line": 521, "column": 62 }, "end": { "line": 521, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18001, "end": 18002, "loc": { "start": { "line": 521, "column": 63 }, "end": { "line": 521, "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": 18012, "end": 18015, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 18016, "end": 18032, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18033, "end": 18034, "loc": { "start": { "line": 522, "column": 29 }, "end": { "line": 522, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 18035, "end": 18053, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18053, "end": 18054, "loc": { "start": { "line": 522, "column": 49 }, "end": { "line": 522, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18054, "end": 18060, "loc": { "start": { "line": 522, "column": 50 }, "end": { "line": 522, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18060, "end": 18061, "loc": { "start": { "line": 522, "column": 56 }, "end": { "line": 522, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18061, "end": 18062, "loc": { "start": { "line": 522, "column": 57 }, "end": { "line": 522, "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": 18072, "end": 18075, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 18076, "end": 18093, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18094, "end": 18095, "loc": { "start": { "line": 523, "column": 30 }, "end": { "line": 523, "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": 18096, "end": 18100, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18100, "end": 18101, "loc": { "start": { "line": 523, "column": 36 }, "end": { "line": 523, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 18101, "end": 18110, "loc": { "start": { "line": 523, "column": 37 }, "end": { "line": 523, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18110, "end": 18111, "loc": { "start": { "line": 523, "column": 46 }, "end": { "line": 523, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 18111, "end": 18131, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18131, "end": 18132, "loc": { "start": { "line": 523, "column": 67 }, "end": { "line": 523, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18132, "end": 18138, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18138, "end": 18139, "loc": { "start": { "line": 523, "column": 74 }, "end": { "line": 523, "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": 18140, "end": 18144, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18144, "end": 18145, "loc": { "start": { "line": 523, "column": 80 }, "end": { "line": 523, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18145, "end": 18152, "loc": { "start": { "line": 523, "column": 81 }, "end": { "line": 523, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18152, "end": 18153, "loc": { "start": { "line": 523, "column": 88 }, "end": { "line": 523, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 18153, "end": 18160, "loc": { "start": { "line": 523, "column": 89 }, "end": { "line": 523, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18160, "end": 18161, "loc": { "start": { "line": 523, "column": 96 }, "end": { "line": 523, "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": 18162, "end": 18166, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18166, "end": 18167, "loc": { "start": { "line": 523, "column": 102 }, "end": { "line": 523, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18167, "end": 18174, "loc": { "start": { "line": 523, "column": 103 }, "end": { "line": 523, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18174, "end": 18175, "loc": { "start": { "line": 523, "column": 110 }, "end": { "line": 523, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 18175, "end": 18187, "loc": { "start": { "line": 523, "column": 111 }, "end": { "line": 523, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18187, "end": 18188, "loc": { "start": { "line": 523, "column": 123 }, "end": { "line": 523, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18188, "end": 18189, "loc": { "start": { "line": 523, "column": 124 }, "end": { "line": 523, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18201, "end": 18245, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "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": 18255, "end": 18258, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18259, "end": 18268, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18269, "end": 18270, "loc": { "start": { "line": 528, "column": 22 }, "end": { "line": 528, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18271, "end": 18279, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18279, "end": 18280, "loc": { "start": { "line": 528, "column": 32 }, "end": { "line": 528, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 18280, "end": 18293, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18293, "end": 18294, "loc": { "start": { "line": 528, "column": 46 }, "end": { "line": 528, "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": 18294, "end": 18299, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18299, "end": 18300, "loc": { "start": { "line": 528, "column": 52 }, "end": { "line": 528, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18300, "end": 18301, "loc": { "start": { "line": 528, "column": 53 }, "end": { "line": 528, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18311, "end": 18320, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18320, "end": 18321, "loc": { "start": { "line": 529, "column": 17 }, "end": { "line": 529, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 18321, "end": 18330, "loc": { "start": { "line": 529, "column": 18 }, "end": { "line": 529, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 18331, "end": 18333, "loc": { "start": { "line": 529, "column": 28 }, "end": { "line": 529, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18334, "end": 18335, "loc": { "start": { "line": 529, "column": 31 }, "end": { "line": 529, "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": 18335, "end": 18345, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18345, "end": 18347, "loc": { "start": { "line": 529, "column": 42 }, "end": { "line": 529, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 18347, "end": 18358, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 529, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18358, "end": 18359, "loc": { "start": { "line": 529, "column": 55 }, "end": { "line": 529, "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": 18359, "end": 18359, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18359, "end": 18361, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 18361, "end": 18377, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18378, "end": 18379, "loc": { "start": { "line": 529, "column": 75 }, "end": { "line": 529, "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": 18380, "end": 18383, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 18383, "end": 18384, "loc": { "start": { "line": 529, "column": 80 }, "end": { "line": 529, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 18384, "end": 18400, "loc": { "start": { "line": 529, "column": 81 }, "end": { "line": 529, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18401, "end": 18402, "loc": { "start": { "line": 529, "column": 98 }, "end": { "line": 529, "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": 18403, "end": 18405, "loc": { "start": { "line": 529, "column": 100 }, "end": { "line": 529, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18405, "end": 18406, "loc": { "start": { "line": 529, "column": 102 }, "end": { "line": 529, "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": 18406, "end": 18406, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18406, "end": 18407, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18407, "end": 18408, "loc": { "start": { "line": 529, "column": 104 }, "end": { "line": 529, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18418, "end": 18427, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18427, "end": 18428, "loc": { "start": { "line": 530, "column": 17 }, "end": { "line": 530, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onclick", "start": 18428, "end": 18435, "loc": { "start": { "line": 530, "column": 18 }, "end": { "line": 530, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18436, "end": 18437, "loc": { "start": { "line": 530, "column": 26 }, "end": { "line": 530, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18438, "end": 18439, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18439, "end": 18440, "loc": { "start": { "line": 530, "column": 29 }, "end": { "line": 530, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18441, "end": 18443, "loc": { "start": { "line": 530, "column": 31 }, "end": { "line": 530, "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": 18444, "end": 18448, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18448, "end": 18449, "loc": { "start": { "line": 530, "column": 38 }, "end": { "line": 530, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 18449, "end": 18468, "loc": { "start": { "line": 530, "column": 39 }, "end": { "line": 530, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18468, "end": 18469, "loc": { "start": { "line": 530, "column": 58 }, "end": { "line": 530, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18469, "end": 18475, "loc": { "start": { "line": 530, "column": 59 }, "end": { "line": 530, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18475, "end": 18476, "loc": { "start": { "line": 530, "column": 65 }, "end": { "line": 530, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18476, "end": 18477, "loc": { "start": { "line": 530, "column": 66 }, "end": { "line": 530, "column": 67 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18489, "end": 18535, "loc": { "start": { "line": 532, "column": 8 }, "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": "buttonDOM", "start": 18545, "end": 18554, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18554, "end": 18555, "loc": { "start": { "line": 535, "column": 17 }, "end": { "line": 535, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18555, "end": 18567, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18567, "end": 18568, "loc": { "start": { "line": 535, "column": 30 }, "end": { "line": 535, "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": 18568, "end": 18580, "loc": { "start": { "line": 535, "column": 31 }, "end": { "line": 535, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18580, "end": 18581, "loc": { "start": { "line": 535, "column": 43 }, "end": { "line": 535, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18582, "end": 18588, "loc": { "start": { "line": 535, "column": 45 }, "end": { "line": 535, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18588, "end": 18589, "loc": { "start": { "line": 535, "column": 51 }, "end": { "line": 535, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18589, "end": 18590, "loc": { "start": { "line": 535, "column": 52 }, "end": { "line": 535, "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": 18602, "end": 18757, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "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": 18767, "end": 18770, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 18771, "end": 18780, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18781, "end": 18782, "loc": { "start": { "line": 541, "column": 22 }, "end": { "line": 541, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18783, "end": 18784, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 541, "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": 18784, "end": 18784, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18784, "end": 18786, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "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": 18786, "end": 18790, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18790, "end": 18791, "loc": { "start": { "line": 541, "column": 31 }, "end": { "line": 541, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18791, "end": 18798, "loc": { "start": { "line": 541, "column": 32 }, "end": { "line": 541, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18798, "end": 18799, "loc": { "start": { "line": 541, "column": 39 }, "end": { "line": 541, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 18799, "end": 18809, "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": 18809, "end": 18810, "loc": { "start": { "line": 541, "column": 50 }, "end": { "line": 541, "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": 18810, "end": 18812, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18812, "end": 18814, "loc": { "start": { "line": 541, "column": 53 }, "end": { "line": 541, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 18814, "end": 18820, "loc": { "start": { "line": 541, "column": 55 }, "end": { "line": 541, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18820, "end": 18821, "loc": { "start": { "line": 541, "column": 61 }, "end": { "line": 541, "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": 18821, "end": 18822, "loc": { "start": { "line": 541, "column": 62 }, "end": { "line": 541, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18822, "end": 18824, "loc": { "start": { "line": 541, "column": 63 }, "end": { "line": 541, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 18824, "end": 18830, "loc": { "start": { "line": 541, "column": 65 }, "end": { "line": 541, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18830, "end": 18831, "loc": { "start": { "line": 541, "column": 71 }, "end": { "line": 541, "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": 18831, "end": 18831, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18831, "end": 18832, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18832, "end": 18833, "loc": { "start": { "line": 541, "column": 73 }, "end": { "line": 541, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18843, "end": 18852, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18852, "end": 18853, "loc": { "start": { "line": 542, "column": 17 }, "end": { "line": 542, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18853, "end": 18865, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18865, "end": 18866, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 542, "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": 18866, "end": 18881, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18881, "end": 18882, "loc": { "start": { "line": 542, "column": 46 }, "end": { "line": 542, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 18883, "end": 18892, "loc": { "start": { "line": 542, "column": 48 }, "end": { "line": 542, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18892, "end": 18893, "loc": { "start": { "line": 542, "column": 57 }, "end": { "line": 542, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18893, "end": 18894, "loc": { "start": { "line": 542, "column": 58 }, "end": { "line": 542, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18906, "end": 18955, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18965, "end": 18974, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18974, "end": 18975, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18975, "end": 18987, "loc": { "start": { "line": 547, "column": 18 }, "end": { "line": 547, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18987, "end": 18988, "loc": { "start": { "line": 547, "column": 30 }, "end": { "line": 547, "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": 18988, "end": 19007, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 547, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19007, "end": 19008, "loc": { "start": { "line": 547, "column": 50 }, "end": { "line": 547, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 19009, "end": 19026, "loc": { "start": { "line": 547, "column": 52 }, "end": { "line": 547, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19026, "end": 19027, "loc": { "start": { "line": 547, "column": 69 }, "end": { "line": 547, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19027, "end": 19028, "loc": { "start": { "line": 547, "column": 70 }, "end": { "line": 547, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19040, "end": 19098, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "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": 19108, "end": 19111, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 19112, "end": 19125, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19126, "end": 19127, "loc": { "start": { "line": 552, "column": 26 }, "end": { "line": 552, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 19128, "end": 19136, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19136, "end": 19137, "loc": { "start": { "line": 552, "column": 36 }, "end": { "line": 552, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 19137, "end": 19150, "loc": { "start": { "line": 552, "column": 37 }, "end": { "line": 552, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19150, "end": 19151, "loc": { "start": { "line": 552, "column": 50 }, "end": { "line": 552, "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": 19151, "end": 19157, "loc": { "start": { "line": 552, "column": 51 }, "end": { "line": 552, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19157, "end": 19158, "loc": { "start": { "line": 552, "column": 57 }, "end": { "line": 552, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19158, "end": 19159, "loc": { "start": { "line": 552, "column": 58 }, "end": { "line": 552, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 19169, "end": 19182, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19182, "end": 19183, "loc": { "start": { "line": 553, "column": 21 }, "end": { "line": 553, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 19183, "end": 19192, "loc": { "start": { "line": 553, "column": 22 }, "end": { "line": 553, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19193, "end": 19194, "loc": { "start": { "line": 553, "column": 32 }, "end": { "line": 553, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 19195, "end": 19212, "loc": { "start": { "line": 553, "column": 34 }, "end": { "line": 553, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19212, "end": 19213, "loc": { "start": { "line": 553, "column": 51 }, "end": { "line": 553, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 19223, "end": 19232, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19232, "end": 19233, "loc": { "start": { "line": 554, "column": 17 }, "end": { "line": 554, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 19233, "end": 19244, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19244, "end": 19245, "loc": { "start": { "line": 554, "column": 29 }, "end": { "line": 554, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 19245, "end": 19258, "loc": { "start": { "line": 554, "column": 30 }, "end": { "line": 554, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19258, "end": 19259, "loc": { "start": { "line": 554, "column": 43 }, "end": { "line": 554, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19259, "end": 19260, "loc": { "start": { "line": 554, "column": 44 }, "end": { "line": 554, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19272, "end": 19325, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "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": 19335, "end": 19337, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19337, "end": 19338, "loc": { "start": { "line": 559, "column": 10 }, "end": { "line": 559, "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": 19338, "end": 19339, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "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": 19339, "end": 19343, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19343, "end": 19344, "loc": { "start": { "line": 559, "column": 16 }, "end": { "line": 559, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 19344, "end": 19358, "loc": { "start": { "line": 559, "column": 17 }, "end": { "line": 559, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19358, "end": 19359, "loc": { "start": { "line": 559, "column": 31 }, "end": { "line": 559, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 19359, "end": 19365, "loc": { "start": { "line": 559, "column": 32 }, "end": { "line": 559, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19365, "end": 19366, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19366, "end": 19367, "loc": { "start": { "line": 559, "column": 39 }, "end": { "line": 559, "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": 19379, "end": 19383, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19383, "end": 19384, "loc": { "start": { "line": 560, "column": 14 }, "end": { "line": 560, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 19384, "end": 19398, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19398, "end": 19399, "loc": { "start": { "line": 560, "column": 29 }, "end": { "line": 560, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 19399, "end": 19405, "loc": { "start": { "line": 560, "column": 30 }, "end": { "line": 560, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19405, "end": 19406, "loc": { "start": { "line": 560, "column": 36 }, "end": { "line": 560, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19407, "end": 19408, "loc": { "start": { "line": 560, "column": 38 }, "end": { "line": 560, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19409, "end": 19410, "loc": { "start": { "line": 560, "column": 40 }, "end": { "line": 560, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19410, "end": 19411, "loc": { "start": { "line": 560, "column": 41 }, "end": { "line": 560, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19411, "end": 19412, "loc": { "start": { "line": 560, "column": 42 }, "end": { "line": 560, "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": 19424, "end": 19428, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19428, "end": 19429, "loc": { "start": { "line": 562, "column": 12 }, "end": { "line": 562, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 19429, "end": 19443, "loc": { "start": { "line": 562, "column": 13 }, "end": { "line": 562, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19443, "end": 19444, "loc": { "start": { "line": 562, "column": 27 }, "end": { "line": 562, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 19444, "end": 19450, "loc": { "start": { "line": 562, "column": 28 }, "end": { "line": 562, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19450, "end": 19451, "loc": { "start": { "line": 562, "column": 34 }, "end": { "line": 562, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19451, "end": 19452, "loc": { "start": { "line": 562, "column": 35 }, "end": { "line": 562, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 19452, "end": 19456, "loc": { "start": { "line": 562, "column": 36 }, "end": { "line": 562, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19456, "end": 19457, "loc": { "start": { "line": 562, "column": 40 }, "end": { "line": 562, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 19457, "end": 19466, "loc": { "start": { "line": 562, "column": 41 }, "end": { "line": 562, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19466, "end": 19467, "loc": { "start": { "line": 562, "column": 50 }, "end": { "line": 562, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19467, "end": 19468, "loc": { "start": { "line": 562, "column": 51 }, "end": { "line": 562, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19480, "end": 19532, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 19542, "end": 19548, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19548, "end": 19549, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 19549, "end": 19560, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19560, "end": 19561, "loc": { "start": { "line": 567, "column": 26 }, "end": { "line": 567, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 19561, "end": 19570, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19570, "end": 19571, "loc": { "start": { "line": 567, "column": 36 }, "end": { "line": 567, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19571, "end": 19572, "loc": { "start": { "line": 567, "column": 37 }, "end": { "line": 567, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19582, "end": 19583, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19583, "end": 19584, "loc": { "start": { "line": 569, "column": 7 }, "end": { "line": 569, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19584, "end": 19585, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19595, "end": 19645, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "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": 19653, "end": 19657, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19657, "end": 19658, "loc": { "start": { "line": 574, "column": 10 }, "end": { "line": 574, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 19658, "end": 19669, "loc": { "start": { "line": 574, "column": 11 }, "end": { "line": 574, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19669, "end": 19670, "loc": { "start": { "line": 574, "column": 22 }, "end": { "line": 574, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 19670, "end": 19681, "loc": { "start": { "line": 574, "column": 23 }, "end": { "line": 574, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19681, "end": 19682, "loc": { "start": { "line": 574, "column": 34 }, "end": { "line": 574, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 19682, "end": 19688, "loc": { "start": { "line": 574, "column": 35 }, "end": { "line": 574, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19688, "end": 19689, "loc": { "start": { "line": 574, "column": 41 }, "end": { "line": 574, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19689, "end": 19690, "loc": { "start": { "line": 574, "column": 42 }, "end": { "line": 574, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19696, "end": 19697, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19697, "end": 19698, "loc": { "start": { "line": 575, "column": 5 }, "end": { "line": 575, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19698, "end": 19699, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19707, "end": 19744, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "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": 19750, "end": 19754, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19754, "end": 19755, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19755, "end": 19763, "loc": { "start": { "line": 580, "column": 9 }, "end": { "line": 580, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19763, "end": 19764, "loc": { "start": { "line": 580, "column": 17 }, "end": { "line": 580, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19764, "end": 19765, "loc": { "start": { "line": 580, "column": 18 }, "end": { "line": 580, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19765, "end": 19766, "loc": { "start": { "line": 580, "column": 19 }, "end": { "line": 580, "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": 19774, "end": 19776, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 582, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19776, "end": 19777, "loc": { "start": { "line": 582, "column": 6 }, "end": { "line": 582, "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": 19777, "end": 19778, "loc": { "start": { "line": 582, "column": 7 }, "end": { "line": 582, "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": 19778, "end": 19782, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19782, "end": 19783, "loc": { "start": { "line": 582, "column": 12 }, "end": { "line": 582, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 19783, "end": 19794, "loc": { "start": { "line": 582, "column": 13 }, "end": { "line": 582, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19794, "end": 19795, "loc": { "start": { "line": 582, "column": 24 }, "end": { "line": 582, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19795, "end": 19796, "loc": { "start": { "line": 582, "column": 25 }, "end": { "line": 582, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19804, "end": 19886, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "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": 19894, "end": 19898, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19898, "end": 19899, "loc": { "start": { "line": 586, "column": 10 }, "end": { "line": 586, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 19899, "end": 19910, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19911, "end": 19912, "loc": { "start": { "line": 586, "column": 23 }, "end": { "line": 586, "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": 19913, "end": 19917, "loc": { "start": { "line": 586, "column": 25 }, "end": { "line": 586, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19917, "end": 19918, "loc": { "start": { "line": 586, "column": 29 }, "end": { "line": 586, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19928, "end": 19967, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "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": 19975, "end": 19979, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19979, "end": 19980, "loc": { "start": { "line": 591, "column": 10 }, "end": { "line": 591, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 19980, "end": 19986, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19986, "end": 19987, "loc": { "start": { "line": 591, "column": 17 }, "end": { "line": 591, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19987, "end": 19988, "loc": { "start": { "line": 591, "column": 18 }, "end": { "line": 591, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19988, "end": 19989, "loc": { "start": { "line": 591, "column": 19 }, "end": { "line": 591, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19995, "end": 19996, "loc": { "start": { "line": 592, "column": 4 }, "end": { "line": 592, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20000, "end": 20001, "loc": { "start": { "line": 593, "column": 2 }, "end": { "line": 593, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20003, "end": 20004, "loc": { "start": { "line": 594, "column": 0 }, "end": { "line": 594, "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": 20008, "end": 20014, "loc": { "start": { "line": 596, "column": 0 }, "end": { "line": 596, "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": 20015, "end": 20022, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 20023, "end": 20037, "loc": { "start": { "line": 596, "column": 15 }, "end": { "line": 596, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20037, "end": 20038, "loc": { "start": { "line": 596, "column": 29 }, "end": { "line": 596, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20040, "end": 20040, "loc": { "start": { "line": 597, "column": 0 }, "end": { "line": 597, "column": 0 } } } ] }