1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-03 14:32:21 +02:00
TableFilter/docs/ast/source/modules/hash.js.json
koalyptus 4481fbe361 publish Docs to gh-pages (auto)
branch:       master
SHA:          c7d6de72f7
range SHA:    81f31a3106fb...c7d6de72f785
build id:     375208741
build number: 1103
2018-05-05 08:21:30 +00:00

16866 lines
424 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2981,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 127,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2981,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 127,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 43
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 14
},
"identifierName": "addEvt"
},
"name": "addEvt"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 14
},
"identifierName": "addEvt"
},
"name": "addEvt"
}
},
{
"type": "ImportSpecifier",
"start": 16,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 16,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "removeEvt"
},
"name": "removeEvt"
},
"local": {
"type": "Identifier",
"start": 16,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "removeEvt"
},
"name": "removeEvt"
}
}
],
"source": {
"type": "StringLiteral",
"start": 32,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 42
}
},
"extra": {
"rawValue": "../event",
"raw": "'../event'"
},
"value": "../event"
}
},
{
"type": "ImportDeclaration",
"start": 44,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 29
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 52,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 52,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "root"
},
"name": "root"
},
"local": {
"type": "Identifier",
"start": 52,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "root"
},
"name": "root"
}
}
],
"source": {
"type": "StringLiteral",
"start": 63,
"end": 72,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 28
}
},
"extra": {
"rawValue": "../root",
"raw": "'../root'"
},
"value": "../root"
}
},
{
"type": "VariableDeclaration",
"start": 75,
"end": 98,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 81,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 81,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 10
},
"identifierName": "JSON"
},
"name": "JSON"
},
"init": {
"type": "MemberExpression",
"start": 88,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 88,
"end": 92,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 93,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 22
},
"identifierName": "JSON"
},
"name": "JSON"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 99,
"end": 130,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 105,
"end": 129,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 105,
"end": 113,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 14
},
"identifierName": "location"
},
"name": "location"
},
"init": {
"type": "MemberExpression",
"start": 116,
"end": 129,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 116,
"end": 120,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 121,
"end": 129,
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 30
},
"identifierName": "location"
},
"name": "location"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 131,
"end": 182,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 137,
"end": 181,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 137,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 24
},
"identifierName": "decodeURIComponent"
},
"name": "decodeURIComponent"
},
"init": {
"type": "MemberExpression",
"start": 158,
"end": 181,
"loc": {
"start": {
"line": 6,
"column": 27
},
"end": {
"line": 6,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 158,
"end": 162,
"loc": {
"start": {
"line": 6,
"column": 27
},
"end": {
"line": 6,
"column": 31
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 163,
"end": 181,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 50
},
"identifierName": "decodeURIComponent"
},
"name": "decodeURIComponent"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 183,
"end": 234,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 189,
"end": 233,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 189,
"end": 207,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "encodeURIComponent"
},
"name": "encodeURIComponent"
},
"init": {
"type": "MemberExpression",
"start": 210,
"end": 233,
"loc": {
"start": {
"line": 7,
"column": 27
},
"end": {
"line": 7,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 210,
"end": 214,
"loc": {
"start": {
"line": 7,
"column": 27
},
"end": {
"line": 7,
"column": 31
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 215,
"end": 233,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 50
},
"identifierName": "encodeURIComponent"
},
"name": "encodeURIComponent"
},
"computed": false
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Checks if browser has onhashchange event\n ",
"start": 236,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 288,
"end": 443,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 15,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 295,
"end": 443,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 15,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 301,
"end": 442,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 15,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 301,
"end": 314,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 26
},
"identifierName": "hasHashChange"
},
"name": "hasHashChange",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 317,
"end": 442,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 15,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 301,
"end": 314,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 26
},
"identifierName": "hasHashChange"
},
"name": "hasHashChange",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 323,
"end": 442,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 15,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 329,
"end": 361,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 333,
"end": 360,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 333,
"end": 340,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "docMode"
},
"name": "docMode"
},
"init": {
"type": "MemberExpression",
"start": 343,
"end": 360,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 343,
"end": 347,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 22
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 348,
"end": 360,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 35
},
"identifierName": "documentMode"
},
"name": "documentMode"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "ReturnStatement",
"start": 366,
"end": 440,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 78
}
},
"argument": {
"type": "LogicalExpression",
"start": 373,
"end": 439,
"loc": {
"start": {
"line": 14,
"column": 11
},
"end": {
"line": 14,
"column": 77
}
},
"left": {
"type": "BinaryExpression",
"start": 374,
"end": 396,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 34
}
},
"left": {
"type": "StringLiteral",
"start": 374,
"end": 388,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 26
}
},
"extra": {
"rawValue": "onhashchange",
"raw": "'onhashchange'"
},
"value": "onhashchange"
},
"operator": "in",
"right": {
"type": "Identifier",
"start": 392,
"end": 396,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 34
},
"identifierName": "root"
},
"name": "root"
},
"extra": {
"parenthesized": true,
"parenStart": 373
}
},
"operator": "&&",
"right": {
"type": "LogicalExpression",
"start": 402,
"end": 438,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 76
}
},
"left": {
"type": "BinaryExpression",
"start": 402,
"end": 423,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 61
}
},
"left": {
"type": "Identifier",
"start": 402,
"end": 409,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 47
},
"identifierName": "docMode"
},
"name": "docMode"
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 414,
"end": 423,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 14,
"column": 61
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 427,
"end": 438,
"loc": {
"start": {
"line": 14,
"column": 65
},
"end": {
"line": 14,
"column": 76
}
},
"left": {
"type": "Identifier",
"start": 427,
"end": 434,
"loc": {
"start": {
"line": 14,
"column": 65
},
"end": {
"line": 14,
"column": 72
},
"identifierName": "docMode"
},
"name": "docMode"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 437,
"end": 438,
"loc": {
"start": {
"line": 14,
"column": 75
},
"end": {
"line": 14,
"column": 76
}
},
"extra": {
"rawValue": 7,
"raw": "7"
},
"value": 7
}
},
"extra": {
"parenthesized": true,
"parenStart": 401
}
}
}
}
],
"directives": []
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Checks if browser has onhashchange event\n ",
"start": 236,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ",
"start": 445,
"end": 519,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 22,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Checks if browser has onhashchange event\n ",
"start": 236,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ",
"start": 445,
"end": 519,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 22,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 520,
"end": 2980,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 126,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 527,
"end": 2980,
"loc": {
"start": {
"line": 23,
"column": 7
},
"end": {
"line": 126,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 533,
"end": 537,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 17
},
"identifierName": "Hash"
},
"name": "Hash",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 538,
"end": 2980,
"loc": {
"start": {
"line": 23,
"column": 18
},
"end": {
"line": 126,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 649,
"end": 1173,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 55,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 649,
"end": 660,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 661,
"end": 666,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 21
},
"identifierName": "state"
},
"name": "state"
}
],
"body": {
"type": "BlockStatement",
"start": 668,
"end": 1173,
"loc": {
"start": {
"line": 30,
"column": 23
},
"end": {
"line": 55,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 751,
"end": 770,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 751,
"end": 769,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 751,
"end": 761,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 751,
"end": 755,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 756,
"end": 761,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 18
},
"identifierName": "state"
},
"name": "state"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 764,
"end": 769,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 26
},
"identifierName": "state"
},
"name": "state"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * State object\n * @type {State}\n ",
"start": 678,
"end": 742,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Cached URL hash\n * @type {String} Hash string\n * @private\n ",
"start": 780,
"end": 880,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 41,
"column": 11
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 889,
"end": 910,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 889,
"end": 909,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 889,
"end": 902,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 889,
"end": 893,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 894,
"end": 902,
"loc": {
"start": {
"line": 42,
"column": 13
},
"end": {
"line": 42,
"column": 21
},
"identifierName": "lastHash"
},
"name": "lastHash"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 905,
"end": 909,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 28
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Cached URL hash\n * @type {String} Hash string\n * @private\n ",
"start": 780,
"end": 880,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 41,
"column": 11
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Application event emitter instance\n * @type {Emitter}\n ",
"start": 920,
"end": 1008,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 47,
"column": 11
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1017,
"end": 1046,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1017,
"end": 1045,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1017,
"end": 1029,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1017,
"end": 1021,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1022,
"end": 1029,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 20
},
"identifierName": "emitter"
},
"name": "emitter"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 1032,
"end": 1045,
"loc": {
"start": {
"line": 48,
"column": 23
},
"end": {
"line": 48,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1032,
"end": 1037,
"loc": {
"start": {
"line": 48,
"column": 23
},
"end": {
"line": 48,
"column": 28
},
"identifierName": "state"
},
"name": "state"
},
"property": {
"type": "Identifier",
"start": 1038,
"end": 1045,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 36
},
"identifierName": "emitter"
},
"name": "emitter"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Application event emitter instance\n * @type {Emitter}\n ",
"start": 920,
"end": 1008,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 47,
"column": 11
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Bound sync wrapper for future use\n * @private\n ",
"start": 1056,
"end": 1136,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 53,
"column": 11
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1145,
"end": 1167,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1145,
"end": 1166,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1145,
"end": 1159,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1145,
"end": 1149,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1150,
"end": 1159,
"loc": {
"start": {
"line": 54,
"column": 13
},
"end": {
"line": 54,
"column": 22
},
"identifierName": "boundSync"
},
"name": "boundSync"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1162,
"end": 1166,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 29
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Bound sync wrapper for future use\n * @private\n ",
"start": 1056,
"end": 1136,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 53,
"column": 11
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n ",
"start": 545,
"end": 644,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Initializes the Hash object\n ",
"start": 1179,
"end": 1225,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1230,
"end": 1619,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 71,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1230,
"end": 1234,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 8
},
"identifierName": "init"
},
"name": "init",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1237,
"end": 1619,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 71,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1247,
"end": 1300,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 63,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 1251,
"end": 1267,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 28
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1252,
"end": 1267,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 28
}
},
"callee": {
"type": "Identifier",
"start": 1252,
"end": 1265,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 26
},
"identifierName": "hasHashChange"
},
"name": "hasHashChange"
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1269,
"end": 1300,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 63,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1283,
"end": 1290,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1310,
"end": 1340,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1310,
"end": 1339,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1310,
"end": 1323,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1310,
"end": 1314,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1315,
"end": 1323,
"loc": {
"start": {
"line": 65,
"column": 13
},
"end": {
"line": 65,
"column": 21
},
"identifierName": "lastHash"
},
"name": "lastHash"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 1326,
"end": 1339,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 1326,
"end": 1334,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 32
},
"identifierName": "location"
},
"name": "location"
},
"property": {
"type": "Identifier",
"start": 1335,
"end": 1339,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 37
},
"identifierName": "hash"
},
"name": "hash"
},
"computed": false
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": "Store a bound sync wrapper",
"start": 1349,
"end": 1377,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 36
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1386,
"end": 1424,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1386,
"end": 1423,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1386,
"end": 1400,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1386,
"end": 1390,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1391,
"end": 1400,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 22
},
"identifierName": "boundSync"
},
"name": "boundSync"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 1403,
"end": 1423,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 1403,
"end": 1417,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 1403,
"end": 1412,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1403,
"end": 1407,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 1408,
"end": 1412,
"loc": {
"start": {
"line": 67,
"column": 30
},
"end": {
"line": 67,
"column": 34
},
"identifierName": "sync"
},
"name": "sync"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1413,
"end": 1417,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 39
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1418,
"end": 1422,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 44
}
}
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": "Store a bound sync wrapper",
"start": 1349,
"end": 1377,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 36
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1433,
"end": 1503,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 78
}
},
"expression": {
"type": "CallExpression",
"start": 1433,
"end": 1502,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 1433,
"end": 1448,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 23
}
},
"object": {
"type": "MemberExpression",
"start": 1433,
"end": 1445,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1433,
"end": 1437,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1438,
"end": 1445,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 20
},
"identifierName": "emitter"
},
"name": "emitter"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1446,
"end": 1448,
"loc": {
"start": {
"line": 68,
"column": 21
},
"end": {
"line": 68,
"column": 23
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 1449,
"end": 1466,
"loc": {
"start": {
"line": 68,
"column": 24
},
"end": {
"line": 68,
"column": 41
}
},
"elements": [
{
"type": "StringLiteral",
"start": 1450,
"end": 1465,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 40
}
},
"extra": {
"rawValue": "state-changed",
"raw": "'state-changed'"
},
"value": "state-changed"
}
]
},
{
"type": "ArrowFunctionExpression",
"start": 1468,
"end": 1501,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 76
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1469,
"end": 1471,
"loc": {
"start": {
"line": 68,
"column": 44
},
"end": {
"line": 68,
"column": 46
},
"identifierName": "tf"
},
"name": "tf"
},
{
"type": "Identifier",
"start": 1473,
"end": 1478,
"loc": {
"start": {
"line": 68,
"column": 48
},
"end": {
"line": 68,
"column": 53
},
"identifierName": "state"
},
"name": "state"
}
],
"body": {
"type": "CallExpression",
"start": 1483,
"end": 1501,
"loc": {
"start": {
"line": 68,
"column": 58
},
"end": {
"line": 68,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 1483,
"end": 1494,
"loc": {
"start": {
"line": 68,
"column": 58
},
"end": {
"line": 68,
"column": 69
}
},
"object": {
"type": "ThisExpression",
"start": 1483,
"end": 1487,
"loc": {
"start": {
"line": 68,
"column": 58
},
"end": {
"line": 68,
"column": 62
}
}
},
"property": {
"type": "Identifier",
"start": 1488,
"end": 1494,
"loc": {
"start": {
"line": 68,
"column": 63
},
"end": {
"line": 68,
"column": 69
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1495,
"end": 1500,
"loc": {
"start": {
"line": 68,
"column": 70
},
"end": {
"line": 68,
"column": 75
},
"identifierName": "state"
},
"name": "state"
}
]
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1512,
"end": 1561,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 1512,
"end": 1560,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1512,
"end": 1527,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 23
}
},
"object": {
"type": "MemberExpression",
"start": 1512,
"end": 1524,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1512,
"end": 1516,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1517,
"end": 1524,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 20
},
"identifierName": "emitter"
},
"name": "emitter"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1525,
"end": 1527,
"loc": {
"start": {
"line": 69,
"column": 21
},
"end": {
"line": 69,
"column": 23
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 1528,
"end": 1543,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 39
}
},
"elements": [
{
"type": "StringLiteral",
"start": 1529,
"end": 1542,
"loc": {
"start": {
"line": 69,
"column": 25
},
"end": {
"line": 69,
"column": 38
}
},
"extra": {
"rawValue": "initialized",
"raw": "'initialized'"
},
"value": "initialized"
}
]
},
{
"type": "MemberExpression",
"start": 1545,
"end": 1559,
"loc": {
"start": {
"line": 69,
"column": 41
},
"end": {
"line": 69,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 1545,
"end": 1549,
"loc": {
"start": {
"line": 69,
"column": 41
},
"end": {
"line": 69,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 1550,
"end": 1559,
"loc": {
"start": {
"line": 69,
"column": 46
},
"end": {
"line": 69,
"column": 55
},
"identifierName": "boundSync"
},
"name": "boundSync"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1570,
"end": 1613,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 1570,
"end": 1612,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 1570,
"end": 1576,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 14
},
"identifierName": "addEvt"
},
"name": "addEvt"
},
"arguments": [
{
"type": "Identifier",
"start": 1577,
"end": 1581,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 19
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "StringLiteral",
"start": 1583,
"end": 1595,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 33
}
},
"extra": {
"rawValue": "hashchange",
"raw": "'hashchange'"
},
"value": "hashchange"
},
{
"type": "MemberExpression",
"start": 1597,
"end": 1611,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 49
}
},
"object": {
"type": "ThisExpression",
"start": 1597,
"end": 1601,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 1602,
"end": 1611,
"loc": {
"start": {
"line": 70,
"column": 40
},
"end": {
"line": 70,
"column": 49
},
"identifierName": "boundSync"
},
"name": "boundSync"
},
"computed": false
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Initializes the Hash object\n ",
"start": 1179,
"end": 1225,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n ",
"start": 1625,
"end": 1741,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 77,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1746,
"end": 1964,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 86,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1746,
"end": 1752,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 78,
"column": 10
},
"identifierName": "update"
},
"name": "update",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1753,
"end": 1758,
"loc": {
"start": {
"line": 78,
"column": 11
},
"end": {
"line": 78,
"column": 16
},
"identifierName": "state"
},
"name": "state"
}
],
"body": {
"type": "BlockStatement",
"start": 1760,
"end": 1964,
"loc": {
"start": {
"line": 78,
"column": 18
},
"end": {
"line": 86,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1770,
"end": 1829,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1774,
"end": 1828,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 1774,
"end": 1778,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 16
},
"identifierName": "hash"
},
"name": "hash"
},
"init": {
"type": "TemplateLiteral",
"start": 1781,
"end": 1828,
"loc": {
"start": {
"line": 79,
"column": 19
},
"end": {
"line": 79,
"column": 66
}
},
"expressions": [
{
"type": "CallExpression",
"start": 1785,
"end": 1826,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 64
}
},
"callee": {
"type": "Identifier",
"start": 1785,
"end": 1803,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 41
},
"identifierName": "encodeURIComponent"
},
"name": "encodeURIComponent"
},
"arguments": [
{
"type": "CallExpression",
"start": 1804,
"end": 1825,
"loc": {
"start": {
"line": 79,
"column": 42
},
"end": {
"line": 79,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 1804,
"end": 1818,
"loc": {
"start": {
"line": 79,
"column": 42
},
"end": {
"line": 79,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 1804,
"end": 1808,
"loc": {
"start": {
"line": 79,
"column": 42
},
"end": {
"line": 79,
"column": 46
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 1809,
"end": 1818,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 56
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1819,
"end": 1824,
"loc": {
"start": {
"line": 79,
"column": 57
},
"end": {
"line": 79,
"column": 62
},
"identifierName": "state"
},
"name": "state"
}
]
}
]
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 1782,
"end": 1783,
"loc": {
"start": {
"line": 79,
"column": 20
},
"end": {
"line": 79,
"column": 21
}
},
"value": {
"raw": "#",
"cooked": "#"
},
"tail": false
},
{
"type": "TemplateElement",
"start": 1827,
"end": 1827,
"loc": {
"start": {
"line": 79,
"column": 65
},
"end": {
"line": 79,
"column": 65
}
},
"value": {
"raw": "",
"cooked": ""
},
"tail": true
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 1838,
"end": 1897,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 82,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 1842,
"end": 1864,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 1842,
"end": 1855,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 1842,
"end": 1846,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1847,
"end": 1855,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 25
},
"identifierName": "lastHash"
},
"name": "lastHash"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1860,
"end": 1864,
"loc": {
"start": {
"line": 80,
"column": 30
},
"end": {
"line": 80,
"column": 34
},
"identifierName": "hash"
},
"name": "hash"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1866,
"end": 1897,
"loc": {
"start": {
"line": 80,
"column": 36
},
"end": {
"line": 82,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1880,
"end": 1887,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1907,
"end": 1928,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1907,
"end": 1927,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1907,
"end": 1920,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1907,
"end": 1915,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 16
},
"identifierName": "location"
},
"name": "location"
},
"property": {
"type": "Identifier",
"start": 1916,
"end": 1920,
"loc": {
"start": {
"line": 84,
"column": 17
},
"end": {
"line": 84,
"column": 21
},
"identifierName": "hash"
},
"name": "hash"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1923,
"end": 1927,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 28
},
"identifierName": "hash"
},
"name": "hash"
}
}
},
{
"type": "ExpressionStatement",
"start": 1937,
"end": 1958,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1937,
"end": 1957,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1937,
"end": 1950,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1937,
"end": 1941,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1942,
"end": 1950,
"loc": {
"start": {
"line": 85,
"column": 13
},
"end": {
"line": 85,
"column": 21
},
"identifierName": "lastHash"
},
"name": "lastHash"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1953,
"end": 1957,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 28
},
"identifierName": "hash"
},
"name": "hash"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n ",
"start": 1625,
"end": 1741,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 77,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n ",
"start": 1970,
"end": 2123,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 93,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2128,
"end": 2306,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 100,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2128,
"end": 2133,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 9
},
"identifierName": "parse"
},
"name": "parse",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2134,
"end": 2138,
"loc": {
"start": {
"line": 94,
"column": 10
},
"end": {
"line": 94,
"column": 14
},
"identifierName": "hash"
},
"name": "hash"
}
],
"body": {
"type": "BlockStatement",
"start": 2140,
"end": 2306,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 100,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2150,
"end": 2216,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 97,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2154,
"end": 2178,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 36
}
},
"left": {
"type": "CallExpression",
"start": 2154,
"end": 2171,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 2154,
"end": 2166,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2154,
"end": 2158,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
},
"identifierName": "hash"
},
"name": "hash"
},
"property": {
"type": "Identifier",
"start": 2159,
"end": 2166,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 24
},
"identifierName": "indexOf"
},
"name": "indexOf"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2167,
"end": 2170,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 28
}
},
"extra": {
"rawValue": "#",
"raw": "'#'"
},
"value": "#"
}
]
},
"operator": "===",
"right": {
"type": "UnaryExpression",
"start": 2176,
"end": 2178,
"loc": {
"start": {
"line": 95,
"column": 34
},
"end": {
"line": 95,
"column": 36
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 2177,
"end": 2178,
"loc": {
"start": {
"line": 95,
"column": 35
},
"end": {
"line": 95,
"column": 36
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2180,
"end": 2216,
"loc": {
"start": {
"line": 95,
"column": 38
},
"end": {
"line": 97,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2194,
"end": 2206,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 2201,
"end": 2205,
"loc": {
"start": {
"line": 96,
"column": 19
},
"end": {
"line": 96,
"column": 23
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2225,
"end": 2247,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2225,
"end": 2246,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2225,
"end": 2229,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 12
},
"identifierName": "hash"
},
"name": "hash"
},
"right": {
"type": "CallExpression",
"start": 2232,
"end": 2246,
"loc": {
"start": {
"line": 98,
"column": 15
},
"end": {
"line": 98,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 2232,
"end": 2243,
"loc": {
"start": {
"line": 98,
"column": 15
},
"end": {
"line": 98,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 2232,
"end": 2236,
"loc": {
"start": {
"line": 98,
"column": 15
},
"end": {
"line": 98,
"column": 19
},
"identifierName": "hash"
},
"name": "hash"
},
"property": {
"type": "Identifier",
"start": 2237,
"end": 2243,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 26
},
"identifierName": "substr"
},
"name": "substr"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 98,
"column": 27
},
"end": {
"line": 98,
"column": 28
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
},
{
"type": "ReturnStatement",
"start": 2256,
"end": 2300,
"loc": {
"start": {
"line": 99,
"column": 8
},
"end": {
"line": 99,
"column": 52
}
},
"argument": {
"type": "CallExpression",
"start": 2263,
"end": 2299,
"loc": {
"start": {
"line": 99,
"column": 15
},
"end": {
"line": 99,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 2263,
"end": 2273,
"loc": {
"start": {
"line": 99,
"column": 15
},
"end": {
"line": 99,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2263,
"end": 2267,
"loc": {
"start": {
"line": 99,
"column": 15
},
"end": {
"line": 99,
"column": 19
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 2268,
"end": 2273,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 25
},
"identifierName": "parse"
},
"name": "parse"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 2274,
"end": 2298,
"loc": {
"start": {
"line": 99,
"column": 26
},
"end": {
"line": 99,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 2274,
"end": 2292,
"loc": {
"start": {
"line": 99,
"column": 26
},
"end": {
"line": 99,
"column": 44
},
"identifierName": "decodeURIComponent"
},
"name": "decodeURIComponent"
},
"arguments": [
{
"type": "Identifier",
"start": 2293,
"end": 2297,
"loc": {
"start": {
"line": 99,
"column": 45
},
"end": {
"line": 99,
"column": 49
},
"identifierName": "hash"
},
"name": "hash"
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n ",
"start": 1970,
"end": 2123,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 93,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Applies current hash state to features\n ",
"start": 2312,
"end": 2369,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2374,
"end": 2601,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 112,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2374,
"end": 2378,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 8
},
"identifierName": "sync"
},
"name": "sync",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2381,
"end": 2601,
"loc": {
"start": {
"line": 105,
"column": 11
},
"end": {
"line": 112,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2391,
"end": 2429,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2395,
"end": 2428,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 2395,
"end": 2400,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 17
},
"identifierName": "state"
},
"name": "state"
},
"init": {
"type": "CallExpression",
"start": 2403,
"end": 2428,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 2403,
"end": 2413,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 2403,
"end": 2407,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 2408,
"end": 2413,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 106,
"column": 30
},
"identifierName": "parse"
},
"name": "parse"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2414,
"end": 2427,
"loc": {
"start": {
"line": 106,
"column": 31
},
"end": {
"line": 106,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 2414,
"end": 2422,
"loc": {
"start": {
"line": 106,
"column": 31
},
"end": {
"line": 106,
"column": 39
},
"identifierName": "location"
},
"name": "location"
},
"property": {
"type": "Identifier",
"start": 2423,
"end": 2427,
"loc": {
"start": {
"line": 106,
"column": 40
},
"end": {
"line": 106,
"column": 44
},
"identifierName": "hash"
},
"name": "hash"
},
"computed": false
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 2438,
"end": 2481,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 109,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 2442,
"end": 2448,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 18
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2443,
"end": 2448,
"loc": {
"start": {
"line": 107,
"column": 13
},
"end": {
"line": 107,
"column": 18
},
"identifierName": "state"
},
"name": "state"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2450,
"end": 2481,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 109,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2464,
"end": 2471,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 19
}
},
"argument": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " override current state with persisted one and sync features",
"start": 2490,
"end": 2552,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 70
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2561,
"end": 2595,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 2561,
"end": 2594,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 2561,
"end": 2587,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 2561,
"end": 2571,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 2561,
"end": 2565,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2566,
"end": 2571,
"loc": {
"start": {
"line": 111,
"column": 13
},
"end": {
"line": 111,
"column": 18
},
"identifierName": "state"
},
"name": "state"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2572,
"end": 2587,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 34
},
"identifierName": "overrideAndSync"
},
"name": "overrideAndSync"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 2588,
"end": 2593,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 40
},
"identifierName": "state"
},
"name": "state"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " override current state with persisted one and sync features",
"start": 2490,
"end": 2552,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 70
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Applies current hash state to features\n ",
"start": 2312,
"end": 2369,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Release Hash event subscriptions and clear fields\n ",
"start": 2607,
"end": 2675,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2680,
"end": 2978,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 125,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2680,
"end": 2687,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 11
},
"identifierName": "destroy"
},
"name": "destroy",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2690,
"end": 2978,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 125,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2700,
"end": 2771,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 79
}
},
"expression": {
"type": "CallExpression",
"start": 2700,
"end": 2770,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 2700,
"end": 2716,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 2700,
"end": 2712,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 2700,
"end": 2704,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2705,
"end": 2712,
"loc": {
"start": {
"line": 118,
"column": 13
},
"end": {
"line": 118,
"column": 20
},
"identifierName": "emitter"
},
"name": "emitter"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2713,
"end": 2716,
"loc": {
"start": {
"line": 118,
"column": 21
},
"end": {
"line": 118,
"column": 24
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 2717,
"end": 2734,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 42
}
},
"elements": [
{
"type": "StringLiteral",
"start": 2718,
"end": 2733,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 41
}
},
"extra": {
"rawValue": "state-changed",
"raw": "'state-changed'"
},
"value": "state-changed"
}
]
},
{
"type": "ArrowFunctionExpression",
"start": 2736,
"end": 2769,
"loc": {
"start": {
"line": 118,
"column": 44
},
"end": {
"line": 118,
"column": 77
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2737,
"end": 2739,
"loc": {
"start": {
"line": 118,
"column": 45
},
"end": {
"line": 118,
"column": 47
},
"identifierName": "tf"
},
"name": "tf"
},
{
"type": "Identifier",
"start": 2741,
"end": 2746,
"loc": {
"start": {
"line": 118,
"column": 49
},
"end": {
"line": 118,
"column": 54
},
"identifierName": "state"
},
"name": "state"
}
],
"body": {
"type": "CallExpression",
"start": 2751,
"end": 2769,
"loc": {
"start": {
"line": 118,
"column": 59
},
"end": {
"line": 118,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 2751,
"end": 2762,
"loc": {
"start": {
"line": 118,
"column": 59
},
"end": {
"line": 118,
"column": 70
}
},
"object": {
"type": "ThisExpression",
"start": 2751,
"end": 2755,
"loc": {
"start": {
"line": 118,
"column": 59
},
"end": {
"line": 118,
"column": 63
}
}
},
"property": {
"type": "Identifier",
"start": 2756,
"end": 2762,
"loc": {
"start": {
"line": 118,
"column": 64
},
"end": {
"line": 118,
"column": 70
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2763,
"end": 2768,
"loc": {
"start": {
"line": 118,
"column": 71
},
"end": {
"line": 118,
"column": 76
},
"identifierName": "state"
},
"name": "state"
}
]
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2780,
"end": 2830,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 2780,
"end": 2829,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 2780,
"end": 2796,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 2780,
"end": 2792,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 2780,
"end": 2784,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2785,
"end": 2792,
"loc": {
"start": {
"line": 119,
"column": 13
},
"end": {
"line": 119,
"column": 20
},
"identifierName": "emitter"
},
"name": "emitter"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2793,
"end": 2796,
"loc": {
"start": {
"line": 119,
"column": 21
},
"end": {
"line": 119,
"column": 24
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 2797,
"end": 2812,
"loc": {
"start": {
"line": 119,
"column": 25
},
"end": {
"line": 119,
"column": 40
}
},
"elements": [
{
"type": "StringLiteral",
"start": 2798,
"end": 2811,
"loc": {
"start": {
"line": 119,
"column": 26
},
"end": {
"line": 119,
"column": 39
}
},
"extra": {
"rawValue": "initialized",
"raw": "'initialized'"
},
"value": "initialized"
}
]
},
{
"type": "MemberExpression",
"start": 2814,
"end": 2828,
"loc": {
"start": {
"line": 119,
"column": 42
},
"end": {
"line": 119,
"column": 56
}
},
"object": {
"type": "ThisExpression",
"start": 2814,
"end": 2818,
"loc": {
"start": {
"line": 119,
"column": 42
},
"end": {
"line": 119,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 2819,
"end": 2828,
"loc": {
"start": {
"line": 119,
"column": 47
},
"end": {
"line": 119,
"column": 56
},
"identifierName": "boundSync"
},
"name": "boundSync"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2839,
"end": 2885,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 2839,
"end": 2884,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 53
}
},
"callee": {
"type": "Identifier",
"start": 2839,
"end": 2848,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 17
},
"identifierName": "removeEvt"
},
"name": "removeEvt"
},
"arguments": [
{
"type": "Identifier",
"start": 2849,
"end": 2853,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 22
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "StringLiteral",
"start": 2855,
"end": 2867,
"loc": {
"start": {
"line": 120,
"column": 24
},
"end": {
"line": 120,
"column": 36
}
},
"extra": {
"rawValue": "hashchange",
"raw": "'hashchange'"
},
"value": "hashchange"
},
{
"type": "MemberExpression",
"start": 2869,
"end": 2883,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 2869,
"end": 2873,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2874,
"end": 2883,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 52
},
"identifierName": "boundSync"
},
"name": "boundSync"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2895,
"end": 2913,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2895,
"end": 2912,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2895,
"end": 2905,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 2895,
"end": 2899,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2900,
"end": 2905,
"loc": {
"start": {
"line": 122,
"column": 13
},
"end": {
"line": 122,
"column": 18
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 2908,
"end": 2912,
"loc": {
"start": {
"line": 122,
"column": 21
},
"end": {
"line": 122,
"column": 25
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2922,
"end": 2943,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2922,
"end": 2942,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2922,
"end": 2935,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 2922,
"end": 2926,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2927,
"end": 2935,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 21
},
"identifierName": "lastHash"
},
"name": "lastHash"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 2938,
"end": 2942,
"loc": {
"start": {
"line": 123,
"column": 24
},
"end": {
"line": 123,
"column": 28
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2952,
"end": 2972,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 28
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2952,
"end": 2971,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 27
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2952,
"end": 2964,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 2952,
"end": 2956,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2957,
"end": 2964,
"loc": {
"start": {
"line": 124,
"column": 13
},
"end": {
"line": 124,
"column": 20
},
"identifierName": "emitter"
},
"name": "emitter"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 2967,
"end": 2971,
"loc": {
"start": {
"line": 124,
"column": 23
},
"end": {
"line": 124,
"column": 27
}
}
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Release Hash event subscriptions and clear fields\n ",
"start": 2607,
"end": 2675,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ",
"start": 445,
"end": 519,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 22,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ",
"start": 445,
"end": 519,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 22,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Checks if browser has onhashchange event\n ",
"start": 236,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ",
"start": 445,
"end": 519,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 22,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n ",
"start": 545,
"end": 644,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * State object\n * @type {State}\n ",
"start": 678,
"end": 742,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Cached URL hash\n * @type {String} Hash string\n * @private\n ",
"start": 780,
"end": 880,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 41,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Application event emitter instance\n * @type {Emitter}\n ",
"start": 920,
"end": 1008,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 47,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Bound sync wrapper for future use\n * @private\n ",
"start": 1056,
"end": 1136,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 53,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Initializes the Hash object\n ",
"start": 1179,
"end": 1225,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": "Store a bound sync wrapper",
"start": 1349,
"end": 1377,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n ",
"start": 1625,
"end": 1741,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 77,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n ",
"start": 1970,
"end": 2123,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 93,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Applies current hash state to features\n ",
"start": 2312,
"end": 2369,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " override current state with persisted one and sync features",
"start": 2490,
"end": 2552,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 70
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Release Hash event subscriptions and clear fields\n ",
"start": 2607,
"end": 2675,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
}
],
"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": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEvt",
"start": 8,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeEvt",
"start": 16,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 25,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 27,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../event",
"start": 32,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 42,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"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": 44,
"end": 50,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 51,
"end": 52,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 52,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 56,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 58,
"end": 62,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../root",
"start": 63,
"end": 72,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 29
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 75,
"end": 80,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 81,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 86,
"end": 87,
"loc": {
"start": {
"line": 4,
"column": 11
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 88,
"end": 92,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 92,
"end": 93,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 93,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 97,
"end": 98,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 99,
"end": 104,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "location",
"start": 105,
"end": 113,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 114,
"end": 115,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 116,
"end": 120,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 120,
"end": 121,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "location",
"start": 121,
"end": 129,
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 129,
"end": 130,
"loc": {
"start": {
"line": 5,
"column": 30
},
"end": {
"line": 5,
"column": 31
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 131,
"end": 136,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decodeURIComponent",
"start": 137,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 156,
"end": 157,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 158,
"end": 162,
"loc": {
"start": {
"line": 6,
"column": 27
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 162,
"end": 163,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decodeURIComponent",
"start": 163,
"end": 181,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 181,
"end": 182,
"loc": {
"start": {
"line": 6,
"column": 50
},
"end": {
"line": 6,
"column": 51
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 183,
"end": 188,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encodeURIComponent",
"start": 189,
"end": 207,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 210,
"end": 214,
"loc": {
"start": {
"line": 7,
"column": 27
},
"end": {
"line": 7,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 214,
"end": 215,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encodeURIComponent",
"start": 215,
"end": 233,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 7,
"column": 50
},
"end": {
"line": 7,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Checks if browser has onhashchange event\n ",
"start": 236,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
},
{
"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": 288,
"end": 294,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 295,
"end": 300,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasHashChange",
"start": 301,
"end": 314,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 315,
"end": 316,
"loc": {
"start": {
"line": 12,
"column": 27
},
"end": {
"line": 12,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 317,
"end": 318,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 12,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 318,
"end": 319,
"loc": {
"start": {
"line": 12,
"column": 30
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 320,
"end": 322,
"loc": {
"start": {
"line": 12,
"column": 32
},
"end": {
"line": 12,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 323,
"end": 324,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 12,
"column": 36
}
}
},
{
"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": 329,
"end": 332,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "docMode",
"start": 333,
"end": 340,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 343,
"end": 347,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "documentMode",
"start": 348,
"end": 360,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 360,
"end": 361,
"loc": {
"start": {
"line": 13,
"column": 35
},
"end": {
"line": 13,
"column": 36
}
}
},
{
"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": 366,
"end": 372,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 373,
"end": 374,
"loc": {
"start": {
"line": 14,
"column": 11
},
"end": {
"line": 14,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "onhashchange",
"start": 374,
"end": 388,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 26
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 389,
"end": 391,
"loc": {
"start": {
"line": 14,
"column": 27
},
"end": {
"line": 14,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 392,
"end": 396,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 396,
"end": 397,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 35
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 398,
"end": 400,
"loc": {
"start": {
"line": 14,
"column": 36
},
"end": {
"line": 14,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 401,
"end": 402,
"loc": {
"start": {
"line": 14,
"column": 39
},
"end": {
"line": 14,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "docMode",
"start": 402,
"end": 409,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 47
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 410,
"end": 413,
"loc": {
"start": {
"line": 14,
"column": 48
},
"end": {
"line": 14,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 414,
"end": 423,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 14,
"column": 61
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 424,
"end": 426,
"loc": {
"start": {
"line": 14,
"column": 62
},
"end": {
"line": 14,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "docMode",
"start": 427,
"end": 434,
"loc": {
"start": {
"line": 14,
"column": 65
},
"end": {
"line": 14,
"column": 72
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 435,
"end": 436,
"loc": {
"start": {
"line": 14,
"column": 73
},
"end": {
"line": 14,
"column": 74
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 7,
"start": 437,
"end": 438,
"loc": {
"start": {
"line": 14,
"column": 75
},
"end": {
"line": 14,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 438,
"end": 439,
"loc": {
"start": {
"line": 14,
"column": 76
},
"end": {
"line": 14,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 439,
"end": 440,
"loc": {
"start": {
"line": 14,
"column": 77
},
"end": {
"line": 14,
"column": 78
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 441,
"end": 442,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 442,
"end": 443,
"loc": {
"start": {
"line": 15,
"column": 1
},
"end": {
"line": 15,
"column": 2
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ",
"start": 445,
"end": 519,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 22,
"column": 3
}
}
},
{
"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": 520,
"end": 526,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"column": 6
}
}
},
{
"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": 527,
"end": 532,
"loc": {
"start": {
"line": 23,
"column": 7
},
"end": {
"line": 23,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Hash",
"start": 533,
"end": 537,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 538,
"end": 539,
"loc": {
"start": {
"line": 23,
"column": 18
},
"end": {
"line": 23,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n ",
"start": 545,
"end": 644,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 649,
"end": 660,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 661,
"end": 666,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 666,
"end": 667,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 30,
"column": 23
},
"end": {
"line": 30,
"column": 24
}
}
},
{
"type": "CommentBlock",
"value": "*\n * State object\n * @type {State}\n ",
"start": 678,
"end": 742,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 34,
"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": 751,
"end": 755,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 755,
"end": 756,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 756,
"end": 761,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 762,
"end": 763,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 764,
"end": 769,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 769,
"end": 770,
"loc": {
"start": {
"line": 35,
"column": 26
},
"end": {
"line": 35,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Cached URL hash\n * @type {String} Hash string\n * @private\n ",
"start": 780,
"end": 880,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 41,
"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": 889,
"end": 893,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 893,
"end": 894,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastHash",
"start": 894,
"end": 902,
"loc": {
"start": {
"line": 42,
"column": 13
},
"end": {
"line": 42,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 42,
"column": 22
},
"end": {
"line": 42,
"column": 23
}
}
},
{
"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": 905,
"end": 909,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 909,
"end": 910,
"loc": {
"start": {
"line": 42,
"column": 28
},
"end": {
"line": 42,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Application event emitter instance\n * @type {Emitter}\n ",
"start": 920,
"end": 1008,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 47,
"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": 1017,
"end": 1021,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1021,
"end": 1022,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emitter",
"start": 1022,
"end": 1029,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1030,
"end": 1031,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1032,
"end": 1037,
"loc": {
"start": {
"line": 48,
"column": 23
},
"end": {
"line": 48,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emitter",
"start": 1038,
"end": 1045,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1045,
"end": 1046,
"loc": {
"start": {
"line": 48,
"column": 36
},
"end": {
"line": 48,
"column": 37
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Bound sync wrapper for future use\n * @private\n ",
"start": 1056,
"end": 1136,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 53,
"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": 1145,
"end": 1149,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1149,
"end": 1150,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundSync",
"start": 1150,
"end": 1159,
"loc": {
"start": {
"line": 54,
"column": 13
},
"end": {
"line": 54,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1160,
"end": 1161,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 54,
"column": 24
}
}
},
{
"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": 1162,
"end": 1166,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1166,
"end": 1167,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 54,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Initializes the Hash object\n ",
"start": 1179,
"end": 1225,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "init",
"start": 1230,
"end": 1234,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1234,
"end": 1235,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1235,
"end": 1236,
"loc": {
"start": {
"line": 60,
"column": 9
},
"end": {
"line": 60,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1237,
"end": 1238,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"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": 1247,
"end": 1249,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1250,
"end": 1251,
"loc": {
"start": {
"line": 61,
"column": 11
},
"end": {
"line": 61,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1251,
"end": 1252,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasHashChange",
"start": 1252,
"end": 1265,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1265,
"end": 1266,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1266,
"end": 1267,
"loc": {
"start": {
"line": 61,
"column": 27
},
"end": {
"line": 61,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1267,
"end": 1268,
"loc": {
"start": {
"line": 61,
"column": 28
},
"end": {
"line": 61,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1269,
"end": 1270,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 31
}
}
},
{
"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": 1283,
"end": 1289,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1289,
"end": 1290,
"loc": {
"start": {
"line": 62,
"column": 18
},
"end": {
"line": 62,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1299,
"end": 1300,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"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": 1310,
"end": 1314,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1314,
"end": 1315,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastHash",
"start": 1315,
"end": 1323,
"loc": {
"start": {
"line": 65,
"column": 13
},
"end": {
"line": 65,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1324,
"end": 1325,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "location",
"start": 1326,
"end": 1334,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1334,
"end": 1335,
"loc": {
"start": {
"line": 65,
"column": 32
},
"end": {
"line": 65,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 1335,
"end": 1339,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1339,
"end": 1340,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 38
}
}
},
{
"type": "CommentLine",
"value": "Store a bound sync wrapper",
"start": 1349,
"end": 1377,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"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": 1386,
"end": 1390,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundSync",
"start": 1391,
"end": 1400,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1401,
"end": 1402,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"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": 1403,
"end": 1407,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 67,
"column": 29
},
"end": {
"line": 67,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sync",
"start": 1408,
"end": 1412,
"loc": {
"start": {
"line": 67,
"column": 30
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1412,
"end": 1413,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1413,
"end": 1417,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1417,
"end": 1418,
"loc": {
"start": {
"line": 67,
"column": 39
},
"end": {
"line": 67,
"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": 1418,
"end": 1422,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1422,
"end": 1423,
"loc": {
"start": {
"line": 67,
"column": 44
},
"end": {
"line": 67,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1423,
"end": 1424,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1433,
"end": 1437,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1437,
"end": 1438,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emitter",
"start": 1438,
"end": 1445,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1445,
"end": 1446,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1446,
"end": 1448,
"loc": {
"start": {
"line": 68,
"column": 21
},
"end": {
"line": 68,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1448,
"end": 1449,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 68,
"column": 24
},
"end": {
"line": 68,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "state-changed",
"start": 1450,
"end": 1465,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1465,
"end": 1466,
"loc": {
"start": {
"line": 68,
"column": 40
},
"end": {
"line": 68,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1466,
"end": 1467,
"loc": {
"start": {
"line": 68,
"column": 41
},
"end": {
"line": 68,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1468,
"end": 1469,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tf",
"start": 1469,
"end": 1471,
"loc": {
"start": {
"line": 68,
"column": 44
},
"end": {
"line": 68,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1471,
"end": 1472,
"loc": {
"start": {
"line": 68,
"column": 46
},
"end": {
"line": 68,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1473,
"end": 1478,
"loc": {
"start": {
"line": 68,
"column": 48
},
"end": {
"line": 68,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1478,
"end": 1479,
"loc": {
"start": {
"line": 68,
"column": 53
},
"end": {
"line": 68,
"column": 54
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1480,
"end": 1482,
"loc": {
"start": {
"line": 68,
"column": 55
},
"end": {
"line": 68,
"column": 57
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1483,
"end": 1487,
"loc": {
"start": {
"line": 68,
"column": 58
},
"end": {
"line": 68,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1487,
"end": 1488,
"loc": {
"start": {
"line": 68,
"column": 62
},
"end": {
"line": 68,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 1488,
"end": 1494,
"loc": {
"start": {
"line": 68,
"column": 63
},
"end": {
"line": 68,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1494,
"end": 1495,
"loc": {
"start": {
"line": 68,
"column": 69
},
"end": {
"line": 68,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1495,
"end": 1500,
"loc": {
"start": {
"line": 68,
"column": 70
},
"end": {
"line": 68,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1500,
"end": 1501,
"loc": {
"start": {
"line": 68,
"column": 75
},
"end": {
"line": 68,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1501,
"end": 1502,
"loc": {
"start": {
"line": 68,
"column": 76
},
"end": {
"line": 68,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1502,
"end": 1503,
"loc": {
"start": {
"line": 68,
"column": 77
},
"end": {
"line": 68,
"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": 1512,
"end": 1516,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1516,
"end": 1517,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emitter",
"start": 1517,
"end": 1524,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1524,
"end": 1525,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1525,
"end": 1527,
"loc": {
"start": {
"line": 69,
"column": 21
},
"end": {
"line": 69,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1527,
"end": 1528,
"loc": {
"start": {
"line": 69,
"column": 23
},
"end": {
"line": 69,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1528,
"end": 1529,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "initialized",
"start": 1529,
"end": 1542,
"loc": {
"start": {
"line": 69,
"column": 25
},
"end": {
"line": 69,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1542,
"end": 1543,
"loc": {
"start": {
"line": 69,
"column": 38
},
"end": {
"line": 69,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1543,
"end": 1544,
"loc": {
"start": {
"line": 69,
"column": 39
},
"end": {
"line": 69,
"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": 1545,
"end": 1549,
"loc": {
"start": {
"line": 69,
"column": 41
},
"end": {
"line": 69,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1549,
"end": 1550,
"loc": {
"start": {
"line": 69,
"column": 45
},
"end": {
"line": 69,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundSync",
"start": 1550,
"end": 1559,
"loc": {
"start": {
"line": 69,
"column": 46
},
"end": {
"line": 69,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1559,
"end": 1560,
"loc": {
"start": {
"line": 69,
"column": 55
},
"end": {
"line": 69,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1560,
"end": 1561,
"loc": {
"start": {
"line": 69,
"column": 56
},
"end": {
"line": 69,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEvt",
"start": 1570,
"end": 1576,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1576,
"end": 1577,
"loc": {
"start": {
"line": 70,
"column": 14
},
"end": {
"line": 70,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1577,
"end": 1581,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1581,
"end": 1582,
"loc": {
"start": {
"line": 70,
"column": 19
},
"end": {
"line": 70,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hashchange",
"start": 1583,
"end": 1595,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1595,
"end": 1596,
"loc": {
"start": {
"line": 70,
"column": 33
},
"end": {
"line": 70,
"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": 1597,
"end": 1601,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1601,
"end": 1602,
"loc": {
"start": {
"line": 70,
"column": 39
},
"end": {
"line": 70,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundSync",
"start": 1602,
"end": 1611,
"loc": {
"start": {
"line": 70,
"column": 40
},
"end": {
"line": 70,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1611,
"end": 1612,
"loc": {
"start": {
"line": 70,
"column": 49
},
"end": {
"line": 70,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1612,
"end": 1613,
"loc": {
"start": {
"line": 70,
"column": 50
},
"end": {
"line": 70,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1618,
"end": 1619,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 71,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n ",
"start": 1625,
"end": 1741,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 77,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 1746,
"end": 1752,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 78,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1752,
"end": 1753,
"loc": {
"start": {
"line": 78,
"column": 10
},
"end": {
"line": 78,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1753,
"end": 1758,
"loc": {
"start": {
"line": 78,
"column": 11
},
"end": {
"line": 78,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1758,
"end": 1759,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1760,
"end": 1761,
"loc": {
"start": {
"line": 78,
"column": 18
},
"end": {
"line": 78,
"column": 19
}
}
},
{
"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": 1770,
"end": 1773,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 1774,
"end": 1778,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1779,
"end": 1780,
"loc": {
"start": {
"line": 79,
"column": 17
},
"end": {
"line": 79,
"column": 18
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1781,
"end": 1782,
"loc": {
"start": {
"line": 79,
"column": 19
},
"end": {
"line": 79,
"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": 1782,
"end": 1783,
"loc": {
"start": {
"line": 79,
"column": 20
},
"end": {
"line": 79,
"column": 21
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1783,
"end": 1785,
"loc": {
"start": {
"line": 79,
"column": 21
},
"end": {
"line": 79,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encodeURIComponent",
"start": 1785,
"end": 1803,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1803,
"end": 1804,
"loc": {
"start": {
"line": 79,
"column": 41
},
"end": {
"line": 79,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 1804,
"end": 1808,
"loc": {
"start": {
"line": 79,
"column": 42
},
"end": {
"line": 79,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1808,
"end": 1809,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 1809,
"end": 1818,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1818,
"end": 1819,
"loc": {
"start": {
"line": 79,
"column": 56
},
"end": {
"line": 79,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1819,
"end": 1824,
"loc": {
"start": {
"line": 79,
"column": 57
},
"end": {
"line": 79,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1824,
"end": 1825,
"loc": {
"start": {
"line": 79,
"column": 62
},
"end": {
"line": 79,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1825,
"end": 1826,
"loc": {
"start": {
"line": 79,
"column": 63
},
"end": {
"line": 79,
"column": 64
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1826,
"end": 1827,
"loc": {
"start": {
"line": 79,
"column": 64
},
"end": {
"line": 79,
"column": 65
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 1827,
"end": 1827,
"loc": {
"start": {
"line": 79,
"column": 65
},
"end": {
"line": 79,
"column": 65
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1827,
"end": 1828,
"loc": {
"start": {
"line": 79,
"column": 65
},
"end": {
"line": 79,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1828,
"end": 1829,
"loc": {
"start": {
"line": 79,
"column": 66
},
"end": {
"line": 79,
"column": 67
}
}
},
{
"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": 1838,
"end": 1840,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1841,
"end": 1842,
"loc": {
"start": {
"line": 80,
"column": 11
},
"end": {
"line": 80,
"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": 1842,
"end": 1846,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1846,
"end": 1847,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastHash",
"start": 1847,
"end": 1855,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 25
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1856,
"end": 1859,
"loc": {
"start": {
"line": 80,
"column": 26
},
"end": {
"line": 80,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 1860,
"end": 1864,
"loc": {
"start": {
"line": 80,
"column": 30
},
"end": {
"line": 80,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1864,
"end": 1865,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1866,
"end": 1867,
"loc": {
"start": {
"line": 80,
"column": 36
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"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": 1880,
"end": 1886,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1886,
"end": 1887,
"loc": {
"start": {
"line": 81,
"column": 18
},
"end": {
"line": 81,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1896,
"end": 1897,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "location",
"start": 1907,
"end": 1915,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 1916,
"end": 1920,
"loc": {
"start": {
"line": 84,
"column": 17
},
"end": {
"line": 84,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1921,
"end": 1922,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 1923,
"end": 1927,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1927,
"end": 1928,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"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": 1937,
"end": 1941,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1941,
"end": 1942,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastHash",
"start": 1942,
"end": 1950,
"loc": {
"start": {
"line": 85,
"column": 13
},
"end": {
"line": 85,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1951,
"end": 1952,
"loc": {
"start": {
"line": 85,
"column": 22
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 1953,
"end": 1957,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1957,
"end": 1958,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1963,
"end": 1964,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 86,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n ",
"start": 1970,
"end": 2123,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 93,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parse",
"start": 2128,
"end": 2133,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2133,
"end": 2134,
"loc": {
"start": {
"line": 94,
"column": 9
},
"end": {
"line": 94,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 2134,
"end": 2138,
"loc": {
"start": {
"line": 94,
"column": 10
},
"end": {
"line": 94,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2138,
"end": 2139,
"loc": {
"start": {
"line": 94,
"column": 14
},
"end": {
"line": 94,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2140,
"end": 2141,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 17
}
}
},
{
"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": 2150,
"end": 2152,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2153,
"end": 2154,
"loc": {
"start": {
"line": 95,
"column": 11
},
"end": {
"line": 95,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 2154,
"end": 2158,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2158,
"end": 2159,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "indexOf",
"start": 2159,
"end": 2166,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2166,
"end": 2167,
"loc": {
"start": {
"line": 95,
"column": 24
},
"end": {
"line": 95,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#",
"start": 2167,
"end": 2170,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2170,
"end": 2171,
"loc": {
"start": {
"line": 95,
"column": 28
},
"end": {
"line": 95,
"column": 29
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 2172,
"end": 2175,
"loc": {
"start": {
"line": 95,
"column": 30
},
"end": {
"line": 95,
"column": 33
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2176,
"end": 2177,
"loc": {
"start": {
"line": 95,
"column": 34
},
"end": {
"line": 95,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2177,
"end": 2178,
"loc": {
"start": {
"line": 95,
"column": 35
},
"end": {
"line": 95,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2178,
"end": 2179,
"loc": {
"start": {
"line": 95,
"column": 36
},
"end": {
"line": 95,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2180,
"end": 2181,
"loc": {
"start": {
"line": 95,
"column": 38
},
"end": {
"line": 95,
"column": 39
}
}
},
{
"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": 2194,
"end": 2200,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 18
}
}
},
{
"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": 2201,
"end": 2205,
"loc": {
"start": {
"line": 96,
"column": 19
},
"end": {
"line": 96,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2205,
"end": 2206,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2215,
"end": 2216,
"loc": {
"start": {
"line": 97,
"column": 8
},
"end": {
"line": 97,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 2225,
"end": 2229,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2230,
"end": 2231,
"loc": {
"start": {
"line": 98,
"column": 13
},
"end": {
"line": 98,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 2232,
"end": 2236,
"loc": {
"start": {
"line": 98,
"column": 15
},
"end": {
"line": 98,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 98,
"column": 19
},
"end": {
"line": 98,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "substr",
"start": 2237,
"end": 2243,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2243,
"end": 2244,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"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": 2244,
"end": 2245,
"loc": {
"start": {
"line": 98,
"column": 27
},
"end": {
"line": 98,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2245,
"end": 2246,
"loc": {
"start": {
"line": 98,
"column": 28
},
"end": {
"line": 98,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 98,
"column": 29
},
"end": {
"line": 98,
"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": 2256,
"end": 2262,
"loc": {
"start": {
"line": 99,
"column": 8
},
"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": "JSON",
"start": 2263,
"end": 2267,
"loc": {
"start": {
"line": 99,
"column": 15
},
"end": {
"line": 99,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2267,
"end": 2268,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parse",
"start": 2268,
"end": 2273,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2273,
"end": 2274,
"loc": {
"start": {
"line": 99,
"column": 25
},
"end": {
"line": 99,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decodeURIComponent",
"start": 2274,
"end": 2292,
"loc": {
"start": {
"line": 99,
"column": 26
},
"end": {
"line": 99,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2292,
"end": 2293,
"loc": {
"start": {
"line": 99,
"column": 44
},
"end": {
"line": 99,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 2293,
"end": 2297,
"loc": {
"start": {
"line": 99,
"column": 45
},
"end": {
"line": 99,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2297,
"end": 2298,
"loc": {
"start": {
"line": 99,
"column": 49
},
"end": {
"line": 99,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2298,
"end": 2299,
"loc": {
"start": {
"line": 99,
"column": 50
},
"end": {
"line": 99,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2299,
"end": 2300,
"loc": {
"start": {
"line": 99,
"column": 51
},
"end": {
"line": 99,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2305,
"end": 2306,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Applies current hash state to features\n ",
"start": 2312,
"end": 2369,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sync",
"start": 2374,
"end": 2378,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2378,
"end": 2379,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2379,
"end": 2380,
"loc": {
"start": {
"line": 105,
"column": 9
},
"end": {
"line": 105,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2381,
"end": 2382,
"loc": {
"start": {
"line": 105,
"column": 11
},
"end": {
"line": 105,
"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": 2391,
"end": 2394,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 2395,
"end": 2400,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2401,
"end": 2402,
"loc": {
"start": {
"line": 106,
"column": 18
},
"end": {
"line": 106,
"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": 2403,
"end": 2407,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2407,
"end": 2408,
"loc": {
"start": {
"line": 106,
"column": 24
},
"end": {
"line": 106,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parse",
"start": 2408,
"end": 2413,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 106,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2413,
"end": 2414,
"loc": {
"start": {
"line": 106,
"column": 30
},
"end": {
"line": 106,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "location",
"start": 2414,
"end": 2422,
"loc": {
"start": {
"line": 106,
"column": 31
},
"end": {
"line": 106,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2422,
"end": 2423,
"loc": {
"start": {
"line": 106,
"column": 39
},
"end": {
"line": 106,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hash",
"start": 2423,
"end": 2427,
"loc": {
"start": {
"line": 106,
"column": 40
},
"end": {
"line": 106,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2427,
"end": 2428,
"loc": {
"start": {
"line": 106,
"column": 44
},
"end": {
"line": 106,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2428,
"end": 2429,
"loc": {
"start": {
"line": 106,
"column": 45
},
"end": {
"line": 106,
"column": 46
}
}
},
{
"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": 2438,
"end": 2440,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2441,
"end": 2442,
"loc": {
"start": {
"line": 107,
"column": 11
},
"end": {
"line": 107,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2442,
"end": 2443,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 2443,
"end": 2448,
"loc": {
"start": {
"line": 107,
"column": 13
},
"end": {
"line": 107,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 107,
"column": 18
},
"end": {
"line": 107,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2450,
"end": 2451,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"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": 2464,
"end": 2470,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2470,
"end": 2471,
"loc": {
"start": {
"line": 108,
"column": 18
},
"end": {
"line": 108,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2480,
"end": 2481,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " override current state with persisted one and sync features",
"start": 2490,
"end": 2552,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 70
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2561,
"end": 2565,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2565,
"end": 2566,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 2566,
"end": 2571,
"loc": {
"start": {
"line": 111,
"column": 13
},
"end": {
"line": 111,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2571,
"end": 2572,
"loc": {
"start": {
"line": 111,
"column": 18
},
"end": {
"line": 111,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overrideAndSync",
"start": 2572,
"end": 2587,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2587,
"end": 2588,
"loc": {
"start": {
"line": 111,
"column": 34
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 2588,
"end": 2593,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2593,
"end": 2594,
"loc": {
"start": {
"line": 111,
"column": 40
},
"end": {
"line": 111,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2594,
"end": 2595,
"loc": {
"start": {
"line": 111,
"column": 41
},
"end": {
"line": 111,
"column": 42
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2600,
"end": 2601,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 112,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Release Hash event subscriptions and clear fields\n ",
"start": 2607,
"end": 2675,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 2680,
"end": 2687,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2687,
"end": 2688,
"loc": {
"start": {
"line": 117,
"column": 11
},
"end": {
"line": 117,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2690,
"end": 2691,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"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": 2700,
"end": 2704,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2704,
"end": 2705,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emitter",
"start": 2705,
"end": 2712,
"loc": {
"start": {
"line": 118,
"column": 13
},
"end": {
"line": 118,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2712,
"end": 2713,
"loc": {
"start": {
"line": 118,
"column": 20
},
"end": {
"line": 118,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 2713,
"end": 2716,
"loc": {
"start": {
"line": 118,
"column": 21
},
"end": {
"line": 118,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2716,
"end": 2717,
"loc": {
"start": {
"line": 118,
"column": 24
},
"end": {
"line": 118,
"column": 25
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2717,
"end": 2718,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "state-changed",
"start": 2718,
"end": 2733,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 41
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2733,
"end": 2734,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2734,
"end": 2735,
"loc": {
"start": {
"line": 118,
"column": 42
},
"end": {
"line": 118,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2736,
"end": 2737,
"loc": {
"start": {
"line": 118,
"column": 44
},
"end": {
"line": 118,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tf",
"start": 2737,
"end": 2739,
"loc": {
"start": {
"line": 118,
"column": 45
},
"end": {
"line": 118,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2739,
"end": 2740,
"loc": {
"start": {
"line": 118,
"column": 47
},
"end": {
"line": 118,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 2741,
"end": 2746,
"loc": {
"start": {
"line": 118,
"column": 49
},
"end": {
"line": 118,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2746,
"end": 2747,
"loc": {
"start": {
"line": 118,
"column": 54
},
"end": {
"line": 118,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2748,
"end": 2750,
"loc": {
"start": {
"line": 118,
"column": 56
},
"end": {
"line": 118,
"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": 2751,
"end": 2755,
"loc": {
"start": {
"line": 118,
"column": 59
},
"end": {
"line": 118,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2755,
"end": 2756,
"loc": {
"start": {
"line": 118,
"column": 63
},
"end": {
"line": 118,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 2756,
"end": 2762,
"loc": {
"start": {
"line": 118,
"column": 64
},
"end": {
"line": 118,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2762,
"end": 2763,
"loc": {
"start": {
"line": 118,
"column": 70
},
"end": {
"line": 118,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 2763,
"end": 2768,
"loc": {
"start": {
"line": 118,
"column": 71
},
"end": {
"line": 118,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2768,
"end": 2769,
"loc": {
"start": {
"line": 118,
"column": 76
},
"end": {
"line": 118,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 118,
"column": 77
},
"end": {
"line": 118,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2770,
"end": 2771,
"loc": {
"start": {
"line": 118,
"column": 78
},
"end": {
"line": 118,
"column": 79
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2780,
"end": 2784,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2784,
"end": 2785,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emitter",
"start": 2785,
"end": 2792,
"loc": {
"start": {
"line": 119,
"column": 13
},
"end": {
"line": 119,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2792,
"end": 2793,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 2793,
"end": 2796,
"loc": {
"start": {
"line": 119,
"column": 21
},
"end": {
"line": 119,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2796,
"end": 2797,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 25
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2797,
"end": 2798,
"loc": {
"start": {
"line": 119,
"column": 25
},
"end": {
"line": 119,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "initialized",
"start": 2798,
"end": 2811,
"loc": {
"start": {
"line": 119,
"column": 26
},
"end": {
"line": 119,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2811,
"end": 2812,
"loc": {
"start": {
"line": 119,
"column": 39
},
"end": {
"line": 119,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2812,
"end": 2813,
"loc": {
"start": {
"line": 119,
"column": 40
},
"end": {
"line": 119,
"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": 2814,
"end": 2818,
"loc": {
"start": {
"line": 119,
"column": 42
},
"end": {
"line": 119,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2818,
"end": 2819,
"loc": {
"start": {
"line": 119,
"column": 46
},
"end": {
"line": 119,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundSync",
"start": 2819,
"end": 2828,
"loc": {
"start": {
"line": 119,
"column": 47
},
"end": {
"line": 119,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2828,
"end": 2829,
"loc": {
"start": {
"line": 119,
"column": 56
},
"end": {
"line": 119,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2829,
"end": 2830,
"loc": {
"start": {
"line": 119,
"column": 57
},
"end": {
"line": 119,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeEvt",
"start": 2839,
"end": 2848,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2848,
"end": 2849,
"loc": {
"start": {
"line": 120,
"column": 17
},
"end": {
"line": 120,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2849,
"end": 2853,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2853,
"end": 2854,
"loc": {
"start": {
"line": 120,
"column": 22
},
"end": {
"line": 120,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hashchange",
"start": 2855,
"end": 2867,
"loc": {
"start": {
"line": 120,
"column": 24
},
"end": {
"line": 120,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2867,
"end": 2868,
"loc": {
"start": {
"line": 120,
"column": 36
},
"end": {
"line": 120,
"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": 2869,
"end": 2873,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2873,
"end": 2874,
"loc": {
"start": {
"line": 120,
"column": 42
},
"end": {
"line": 120,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundSync",
"start": 2874,
"end": 2883,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2883,
"end": 2884,
"loc": {
"start": {
"line": 120,
"column": 52
},
"end": {
"line": 120,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2884,
"end": 2885,
"loc": {
"start": {
"line": 120,
"column": 53
},
"end": {
"line": 120,
"column": 54
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2895,
"end": 2899,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2899,
"end": 2900,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 2900,
"end": 2905,
"loc": {
"start": {
"line": 122,
"column": 13
},
"end": {
"line": 122,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2906,
"end": 2907,
"loc": {
"start": {
"line": 122,
"column": 19
},
"end": {
"line": 122,
"column": 20
}
}
},
{
"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": 2908,
"end": 2912,
"loc": {
"start": {
"line": 122,
"column": 21
},
"end": {
"line": 122,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2912,
"end": 2913,
"loc": {
"start": {
"line": 122,
"column": 25
},
"end": {
"line": 122,
"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": 2922,
"end": 2926,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2926,
"end": 2927,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastHash",
"start": 2927,
"end": 2935,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2936,
"end": 2937,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 23
}
}
},
{
"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": 2938,
"end": 2942,
"loc": {
"start": {
"line": 123,
"column": 24
},
"end": {
"line": 123,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2942,
"end": 2943,
"loc": {
"start": {
"line": 123,
"column": 28
},
"end": {
"line": 123,
"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": 2952,
"end": 2956,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2956,
"end": 2957,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emitter",
"start": 2957,
"end": 2964,
"loc": {
"start": {
"line": 124,
"column": 13
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2965,
"end": 2966,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 22
}
}
},
{
"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": 2967,
"end": 2971,
"loc": {
"start": {
"line": 124,
"column": 23
},
"end": {
"line": 124,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2971,
"end": 2972,
"loc": {
"start": {
"line": 124,
"column": 27
},
"end": {
"line": 124,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2977,
"end": 2978,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 125,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2979,
"end": 2980,
"loc": {
"start": {
"line": 126,
"column": 0
},
"end": {
"line": 126,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2981,
"end": 2981,
"loc": {
"start": {
"line": 127,
"column": 0
},
"end": {
"line": 127,
"column": 0
}
}
}
]
}