UNPKG

rizzo-next

Version:

The next generation of Lonely Planet's style guide and pattern library.

781 lines 25.4 kB
{ "type": "Program", "start": 0, "end": 209, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 12, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 39, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 39 } }, "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": "Arkham" } } ], "importKind": "value", "source": { "type": "Literal", "start": 19, "end": 38, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 38 } }, "value": "../../core/arkham", "rawValue": "../../core/arkham", "raw": "\"../../core/arkham\"" } }, { "type": "Identifier", "start": 41, "end": 171, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 9, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 45, "end": 170, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 9, "column": 1 } }, "id": { "type": "Identifier", "start": 45, "end": 64, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 23 } }, "name": "SearchServerActions" }, "init": { "type": "ObjectExpression", "start": 67, "end": 170, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 9, "column": 1 } }, "properties": [ { "type": "Property", "start": 71, "end": 168, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 8, "column": 3 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 71, "end": 78, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 9 } }, "name": "fetched" }, "value": { "type": "ArrowFunctionExpression", "start": 80, "end": 168, "loc": { "start": { "line": 4, "column": 11 }, "end": { "line": 8, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 81, "end": 88, "loc": { "start": { "line": 4, "column": 12 }, "end": { "line": 4, "column": 19 } }, "name": "results" } ], "body": { "type": "BlockStatement", "start": 93, "end": 168, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 8, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 99, "end": 164, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 7 } }, "expression": { "type": "CallExpression", "start": 99, "end": 163, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 99, "end": 113, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 18 } }, "object": { "type": "Identifier", "start": 99, "end": 105, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 10 } }, "name": "Arkham" }, "property": { "type": "Identifier", "start": 106, "end": 113, "loc": { "start": { "line": 5, "column": 11 }, "end": { "line": 5, "column": 18 } }, "name": "trigger" }, "computed": false }, "arguments": [ { "type": "Literal", "start": 114, "end": 130, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 35 } }, "value": "search.fetched", "rawValue": "search.fetched", "raw": "\"search.fetched\"" }, { "type": "ObjectExpression", "start": 132, "end": 162, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 7, "column": 5 } }, "properties": [ { "type": "Property", "start": 140, "end": 156, "loc": { "start": { "line": 6, "column": 6 }, "end": { "line": 6, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 140, "end": 147, "loc": { "start": { "line": 6, "column": 6 }, "end": { "line": 6, "column": 13 } }, "name": "results" }, "value": { "type": "Identifier", "start": 149, "end": 156, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 22 } }, "name": "results" }, "kind": "init" } ] } ] } } ] } }, "kind": "init" } ] } } ], "kind": "let", "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "Identifier", "start": 173, "end": 208, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 35 } }, "declaration": { "type": "Identifier", "start": 188, "end": 207, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 34 } }, "name": "SearchServerActions" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 173, "end": 208, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 35 } }, "declaration": { "type": "VariableDeclaration", "start": 41, "end": 171, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 9, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 45, "end": 170, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 9, "column": 1 } }, "id": { "type": "Identifier", "start": 45, "end": 64, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 23 } }, "name": "SearchServerActions" }, "init": { "type": "ObjectExpression", "start": 67, "end": 170, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 9, "column": 1 } }, "properties": [ { "type": "Property", "start": 71, "end": 168, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 8, "column": 3 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 71, "end": 78, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 9 } }, "name": "fetched" }, "value": { "type": "ArrowFunctionExpression", "start": 80, "end": 168, "loc": { "start": { "line": 4, "column": 11 }, "end": { "line": 8, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 81, "end": 88, "loc": { "start": { "line": 4, "column": 12 }, "end": { "line": 4, "column": 19 } }, "name": "results" } ], "body": { "type": "BlockStatement", "start": 93, "end": 168, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 8, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 99, "end": 164, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 7 } }, "expression": { "type": "CallExpression", "start": 99, "end": 163, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 99, "end": 113, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 18 } }, "object": { "type": "Identifier", "start": 99, "end": 105, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 10 } }, "name": "Arkham" }, "property": { "type": "Identifier", "start": 106, "end": 113, "loc": { "start": { "line": 5, "column": 11 }, "end": { "line": 5, "column": 18 } }, "name": "trigger" }, "computed": false }, "arguments": [ { "type": "Literal", "start": 114, "end": 130, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 35 } }, "value": "search.fetched", "rawValue": "search.fetched", "raw": "\"search.fetched\"" }, { "type": "ObjectExpression", "start": 132, "end": 162, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 7, "column": 5 } }, "properties": [ { "type": "Property", "start": 140, "end": 156, "loc": { "start": { "line": 6, "column": 6 }, "end": { "line": 6, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 140, "end": 147, "loc": { "start": { "line": 6, "column": 6 }, "end": { "line": 6, "column": 13 } }, "name": "results" }, "value": { "type": "Identifier", "start": 149, "end": 156, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 22 } }, "name": "results" }, "kind": "init" } ] } ] } } ] } }, "kind": "init" } ] } } ], "kind": "let", "leadingComments": [], "trailingComments": [] } } ] }