rizzo-next
Version:
The next generation of Lonely Planet's style guide and pattern library.
1,913 lines (1,912 loc) • 93.5 kB
JSON
{
"type": "Program",
"start": 0,
"end": 1251,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 60,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 42
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 13
}
},
"name": "assign"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 19,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 41
}
},
"value": "lodash/object/assign",
"rawValue": "lodash/object/assign",
"raw": "\"lodash/object/assign\""
}
},
{
"type": "ImportDeclaration",
"start": 43,
"end": 82,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 39
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 50,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 50,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 13
}
},
"name": "Arkham"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 62,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 38
}
},
"value": "../../core/arkham",
"rawValue": "../../core/arkham",
"raw": "\"../../core/arkham\""
}
},
{
"type": "ImportDeclaration",
"start": 83,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 46
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 90,
"end": 96,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 90,
"end": 96,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Events"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 102,
"end": 128,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 45
}
},
"value": "../../core/mixins/events",
"rawValue": "../../core/mixins/events",
"raw": "\"../../core/mixins/events\""
}
},
{
"type": "VariableDeclaration",
"start": 131,
"end": 232,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 11,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 135,
"end": 231,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 11,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 135,
"end": 140,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 9
}
},
"name": "state"
},
"init": {
"type": "ObjectExpression",
"start": 143,
"end": 231,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 11,
"column": 1
}
},
"properties": [
{
"type": "Property",
"start": 147,
"end": 162,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 147,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 10
}
},
"name": "isActive"
},
"value": {
"type": "Literal",
"start": 157,
"end": 162,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 17
}
},
"value": false,
"rawValue": false,
"raw": "false"
},
"kind": "init"
},
{
"type": "Property",
"start": 166,
"end": 181,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 166,
"end": 174,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 10
}
},
"name": "isTyping"
},
"value": {
"type": "Literal",
"start": 176,
"end": 181,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 17
}
},
"value": false,
"rawValue": false,
"raw": "false"
},
"kind": "init"
},
{
"type": "Property",
"start": 185,
"end": 201,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 185,
"end": 194,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 11
}
},
"name": "isFocused"
},
"value": {
"type": "Literal",
"start": 196,
"end": 201,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 18
}
},
"value": false,
"rawValue": false,
"raw": "false"
},
"kind": "init"
},
{
"type": "Property",
"start": 205,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 205,
"end": 212,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 9
}
},
"name": "results"
},
"value": {
"type": "ArrayExpression",
"start": 214,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 11
},
"end": {
"line": 9,
"column": 13
}
},
"elements": []
},
"kind": "init"
},
{
"type": "Property",
"start": 220,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 11
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 220,
"end": 225,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 7
}
},
"name": "query"
},
"value": {
"type": "Literal",
"start": 227,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 11
}
},
"value": "",
"rawValue": "",
"raw": "\"\""
},
"kind": "init"
}
]
}
}
],
"kind": "let"
},
{
"type": "Identifier",
"start": 234,
"end": 255,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 21
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 238,
"end": 254,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 20
}
},
"id": {
"type": "Identifier",
"start": 238,
"end": 249,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 15
}
},
"name": "SearchState"
},
"init": {
"type": "ObjectExpression",
"start": 252,
"end": 254,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 20
}
},
"properties": []
}
}
],
"kind": "let",
"trailingComments": [],
"name": "_",
"leadingComments": []
},
{
"type": "ExpressionStatement",
"start": 378,
"end": 406,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 378,
"end": 405,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 27
}
},
"callee": {
"type": "Identifier",
"start": 378,
"end": 384,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 6
}
},
"name": "assign",
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 385,
"end": 396,
"loc": {
"start": {
"line": 18,
"column": 7
},
"end": {
"line": 18,
"column": 18
}
},
"name": "SearchState"
},
{
"type": "Identifier",
"start": 398,
"end": 404,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 26
}
},
"name": "Events"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Mixin Pattern",
"start": 257,
"end": 273,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 16
}
},
"range": [
257,
273
]
},
{
"type": "CommentLine",
"value": " merge { } with { on, off, trigger }",
"start": 274,
"end": 312,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 38
}
},
"range": [
274,
312
]
},
{
"type": "CommentLine",
"value": " SearchState.on, SearchState.off, SearchState.trigger etc.....",
"start": 313,
"end": 377,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 64
}
},
"range": [
313,
377
]
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": "Arkham.on('overlay:click', () => {",
"start": 408,
"end": 444,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 36
}
},
"range": [
408,
444
]
},
{
"type": "CommentLine",
"value": " state.isActive = false;",
"start": 445,
"end": 472,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"column": 27
}
},
"range": [
445,
472
]
},
{
"type": "CommentLine",
"value": "",
"start": 473,
"end": 475,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 22,
"column": 2
}
},
"range": [
473,
475
]
},
{
"type": "CommentLine",
"value": " SearchState.trigger(\"change:isActive\", state);",
"start": 476,
"end": 526,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"column": 50
}
},
"range": [
476,
526
]
},
{
"type": "CommentLine",
"value": "});",
"start": 527,
"end": 532,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 24,
"column": 5
}
},
"range": [
527,
532
]
}
]
},
{
"type": "ExpressionStatement",
"start": 534,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
"line": 30,
"column": 3
}
},
"expression": {
"type": "CallExpression",
"start": 534,
"end": 645,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
"line": 30,
"column": 2
}
},
"callee": {
"type": "MemberExpression",
"start": 534,
"end": 543,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
"line": 26,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 534,
"end": 540,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
"line": 26,
"column": 6
}
},
"name": "Arkham",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 541,
"end": 543,
"loc": {
"start": {
"line": 26,
"column": 7
},
"end": {
"line": 26,
"column": 9
}
},
"name": "on"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Literal",
"start": 544,
"end": 558,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 24
}
},
"value": "search.start",
"rawValue": "search.start",
"raw": "\"search.start\""
},
{
"type": "ArrowFunctionExpression",
"start": 560,
"end": 644,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 30,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 566,
"end": 644,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 30,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 570,
"end": 592,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 570,
"end": 591,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 570,
"end": 584,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 570,
"end": 575,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 7
}
},
"name": "state"
},
"property": {
"type": "Identifier",
"start": 576,
"end": 584,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 16
}
},
"name": "isActive"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 587,
"end": 591,
"loc": {
"start": {
"line": 27,
"column": 19
},
"end": {
"line": 27,
"column": 23
}
},
"value": true,
"rawValue": true,
"raw": "true"
}
}
},
{
"type": "ExpressionStatement",
"start": 596,
"end": 642,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 596,
"end": 641,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 596,
"end": 615,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 596,
"end": 607,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 13
}
},
"name": "SearchState"
},
"property": {
"type": "Identifier",
"start": 608,
"end": 615,
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 21
}
},
"name": "trigger"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 616,
"end": 633,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 39
}
},
"value": "change:isActive",
"rawValue": "change:isActive",
"raw": "\"change:isActive\""
},
{
"type": "Identifier",
"start": 635,
"end": 640,
"loc": {
"start": {
"line": 29,
"column": 41
},
"end": {
"line": 29,
"column": 46
}
},
"name": "state"
}
]
}
}
]
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": "Arkham.on('overlay:click', () => {",
"start": 408,
"end": 444,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 36
}
},
"range": [
408,
444
]
},
{
"type": "CommentLine",
"value": " state.isActive = false;",
"start": 445,
"end": 472,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"column": 27
}
},
"range": [
445,
472
]
},
{
"type": "CommentLine",
"value": "",
"start": 473,
"end": 475,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 22,
"column": 2
}
},
"range": [
473,
475
]
},
{
"type": "CommentLine",
"value": " SearchState.trigger(\"change:isActive\", state);",
"start": 476,
"end": 526,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"column": 50
}
},
"range": [
476,
526
]
},
{
"type": "CommentLine",
"value": "});",
"start": 527,
"end": 532,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 24,
"column": 5
}
},
"range": [
527,
532
]
}
]
},
{
"type": "ExpressionStatement",
"start": 648,
"end": 762,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 36,
"column": 3
}
},
"expression": {
"type": "CallExpression",
"start": 648,
"end": 761,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 36,
"column": 2
}
},
"callee": {
"type": "MemberExpression",
"start": 648,
"end": 657,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 32,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 648,
"end": 654,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 32,
"column": 6
}
},
"name": "Arkham"
},
"property": {
"type": "Identifier",
"start": 655,
"end": 657,
"loc": {
"start": {
"line": 32,
"column": 7
},
"end": {
"line": 32,
"column": 9
}
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 658,
"end": 672,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 24
}
},
"value": "search.start",
"rawValue": "search.start",
"raw": "\"search.start\""
},
{
"type": "ArrowFunctionExpression",
"start": 674,
"end": 760,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 36,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 680,
"end": 760,
"loc": {
"start": {
"line": 32,
"column": 32
},
"end": {
"line": 36,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 684,
"end": 707,
"loc": {
"start": {
"line": 33,
"column": 2
},
"end": {
"line": 33,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 684,
"end": 706,
"loc": {
"start": {
"line": 33,
"column": 2
},
"end": {
"line": 33,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 684,
"end": 699,
"loc": {
"start": {
"line": 33,
"column": 2
},
"end": {
"line": 33,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 684,
"end": 689,
"loc": {
"start": {
"line": 33,
"column": 2
},
"end": {
"line": 33,
"column": 7
}
},
"name": "state"
},
"property": {
"type": "Identifier",
"start": 690,
"end": 699,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 17
}
},
"name": "isFocused"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 702,
"end": 706,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 24
}
},
"value": true,
"rawValue": true,
"raw": "true"
}
}
},
{
"type": "ExpressionStatement",
"start": 711,
"end": 758,
"loc": {
"start": {
"line": 35,
"column": 2
},
"end": {
"line": 35,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 711,
"end": 757,
"loc": {
"start": {
"line": 35,
"column": 2
},
"end": {
"line": 35,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 711,
"end": 730,
"loc": {
"start": {
"line": 35,
"column": 2
},
"end": {
"line": 35,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 711,
"end": 722,
"loc": {
"start": {
"line": 35,
"column": 2
},
"end": {
"line": 35,
"column": 13
}
},
"name": "SearchState"
},
"property": {
"type": "Identifier",
"start": 723,
"end": 730,
"loc": {
"start": {
"line": 35,
"column": 14
},
"end": {
"line": 35,
"column": 21
}
},
"name": "trigger"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 731,
"end": 749,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 40
}
},
"value": "change:isFocused",
"rawValue": "change:isFocused",
"raw": "\"change:isFocused\""
},
{
"type": "Identifier",
"start": 751,
"end": 756,
"loc": {
"start": {
"line": 35,
"column": 42
},
"end": {
"line": 35,
"column": 47
}
},
"name": "state"
}
]
}
}
]
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 764,
"end": 911,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 43,
"column": 3
}
},
"expression": {
"type": "CallExpression",
"start": 764,
"end": 910,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 43,
"column": 2
}
},
"callee": {
"type": "MemberExpression",
"start": 764,
"end": 773,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 38,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 764,
"end": 770,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 38,
"column": 6
}
},
"name": "Arkham"
},
"property": {
"type": "Identifier",
"start": 771,
"end": 773,
"loc": {
"start": {
"line": 38,
"column": 7
},
"end": {
"line": 38,
"column": 9
}
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 774,
"end": 800,
"loc": {
"start": {
"line": 38,
"column": 10
},
"end": {
"line": 38,
"column": 36
}
},
"value": "search.end overlay:click",
"rawValue": "search.end overlay:click",
"raw": "\"search.end overlay:click\""
},
{
"type": "ArrowFunctionExpression",
"start": 802,
"end": 909,
"loc": {
"start": {
"line": 38,
"column": 38
},
"end": {
"line": 43,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 808,
"end": 909,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 43,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 812,
"end": 835,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 812,
"end": 834,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 812,
"end": 826,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 812,
"end": 817,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 7
}
},
"name": "state"
},
"property": {
"type": "Identifier",
"start": 818,
"end": 826,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 16
}
},
"name": "isActive"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 829,
"end": 834,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 39,
"column": 24
}
},
"value": false,
"rawValue": false,
"raw": "false"
}
}
},
{
"type": "ExpressionStatement",
"start": 838,
"end": 857,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 40,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 838,
"end": 856,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 40,
"column": 20
}
},
"operator": "=",