UNPKG

skypager-project

Version:
2,033 lines (2,011 loc) 173 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.l = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // identity function for calling harmory imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ // define getter function for harmory exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ }; /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 163); /******/ }) /************************************************************************/ /******/ ({ /***/ 163: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(72); /***/ }, /***/ 72: /***/ function(module, exports) { module.exports = { "path": "/Users/jonathan/Skypager/packages/skypager-project/src/project-types/website.js", "ast": { "type": "File", "start": 0, "end": 780, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 34, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 780, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 34, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "Object" }, "property": { "type": "Identifier", "name": "defineProperty" }, "computed": false }, "arguments": [ { "type": "Identifier", "name": "exports" }, { "type": "StringLiteral", "extra": { "rawValue": "__esModule", "raw": "\"__esModule\"" }, "value": "__esModule" }, { "type": "ObjectExpression", "properties": [ { "type": "ObjectProperty", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "value" }, "value": { "type": "BooleanLiteral", "value": true } } ] } ] } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 16, "end": 19, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 19 }, "identifierName": "use" }, "name": "use", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "Identifier", "start": 16, "end": 19, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 19 }, "identifierName": "use" }, "name": "use", "trailingComments": [], "leadingComments": [], "innerComments": [] } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 149, "end": 155, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 22 }, "identifierName": "attach" }, "name": "attach", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "Identifier", "start": 149, "end": 155, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 22 }, "identifierName": "attach" }, "name": "attach", "trailingComments": [], "leadingComments": [], "innerComments": [] } } }, { "type": "FunctionDeclaration", "start": 7, "end": 131, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 5, "column": 1 } }, "id": { "type": "Identifier", "start": 16, "end": 19, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 19 }, "identifierName": "use" }, "name": "use", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 55, "end": 131, "loc": { "start": { "line": 1, "column": 55 }, "end": { "line": 5, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 21, "end": 28, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 28 }, "identifierName": "options" }, "name": "options", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "value": 0, "trailingComments": [], "leadingComments": [], "innerComments": [] } }, "operator": "&&", "right": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 0, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "name": "undefined" } } }, "consequent": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 0, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "alternate": { "type": "ObjectExpression", "start": 31, "end": 33, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 33 } }, "properties": [], "trailingComments": [], "leadingComments": [], "innerComments": [] } } } ], "kind": "var" }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 35, "end": 42, "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 42 }, "identifierName": "context" }, "name": "context", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] } }, "operator": "&&", "right": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "name": "undefined" } } }, "consequent": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "alternate": { "type": "ObjectExpression", "start": 45, "end": 47, "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 47 } }, "properties": [], "trailingComments": [], "leadingComments": [], "innerComments": [] } } } ], "kind": "var" }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 49, "end": 53, "loc": { "start": { "line": 1, "column": 49 }, "end": { "line": 1, "column": 53 }, "identifierName": "next" }, "name": "next", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 2, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true } } ], "kind": "var" }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_context$project" }, "init": { "type": "MemberExpression", "object": { "type": "Identifier", "start": 86, "end": 93, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 36 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 67, "end": 74, "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 17 }, "identifierName": "project" }, "name": "project" }, "computed": false } } ], "leadingComments": [] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 67, "end": 74, "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 17 }, "identifierName": "project" }, "name": "project" }, "init": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "_context$project" }, "right": { "type": "Identifier", "name": "undefined" } }, "consequent": { "type": "ThisExpression", "start": 77, "end": 81, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 24 } } }, "alternate": { "type": "Identifier", "name": "_context$project" } } } ], "trailingComments": [] }, { "type": "ExpressionStatement", "start": 99, "end": 129, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 32 } }, "expression": { "type": "CallExpression", "start": 99, "end": 129, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 32 } }, "callee": { "type": "Identifier", "start": 99, "end": 105, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 8 }, "identifierName": "attach" }, "name": "attach" }, "arguments": [ { "type": "Identifier", "start": 106, "end": 113, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 16 }, "identifierName": "project" }, "name": "project" }, { "type": "Identifier", "start": 115, "end": 122, "loc": { "start": { "line": 4, "column": 18 }, "end": { "line": 4, "column": 25 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 124, "end": 128, "loc": { "start": { "line": 4, "column": 27 }, "end": { "line": 4, "column": 31 }, "identifierName": "next" }, "name": "next" } ] } } ], "directives": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "FunctionDeclaration", "start": 140, "end": 275, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 12, "column": 1 } }, "id": { "type": "Identifier", "start": 149, "end": 155, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 22 }, "identifierName": "attach" }, "name": "attach", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 157, "end": 164, "loc": { "start": { "line": 7, "column": 24 }, "end": { "line": 7, "column": 31 }, "identifierName": "project" }, "name": "project" } ], "body": { "type": "BlockStatement", "start": 186, "end": 275, "loc": { "start": { "line": 7, "column": 53 }, "end": { "line": 12, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 166, "end": 173, "loc": { "start": { "line": 7, "column": 33 }, "end": { "line": 7, "column": 40 }, "identifierName": "options" }, "name": "options", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] } }, "operator": "&&", "right": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "name": "undefined" } } }, "consequent": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "alternate": { "type": "ObjectExpression", "start": 176, "end": 178, "loc": { "start": { "line": 7, "column": 43 }, "end": { "line": 7, "column": 45 } }, "properties": [], "trailingComments": [], "leadingComments": [], "innerComments": [] } } } ], "kind": "var" }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 180, "end": 184, "loc": { "start": { "line": 7, "column": 47 }, "end": { "line": 7, "column": 51 }, "identifierName": "next" }, "name": "next", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 2, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true } } ], "kind": "var" }, { "type": "ExpressionStatement", "start": 190, "end": 216, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 28 } }, "expression": { "type": "CallExpression", "start": 190, "end": 216, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 28 } }, "callee": { "type": "Identifier", "start": 190, "end": 198, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 10 }, "identifierName": "decorate" }, "name": "decorate" }, "arguments": [ { "type": "Identifier", "start": 199, "end": 206, "loc": { "start": { "line": 8, "column": 11 }, "end": { "line": 8, "column": 18 }, "identifierName": "project" }, "name": "project" }, { "type": "Identifier", "start": 208, "end": 215, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 27 }, "identifierName": "options" }, "name": "options" } ] } }, { "type": "ExpressionStatement", "start": 219, "end": 255, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 38 } }, "expression": { "type": "LogicalExpression", "start": 219, "end": 255, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 38 } }, "left": { "type": "BinaryExpression", "start": 219, "end": 245, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 28 } }, "left": { "type": "UnaryExpression", "start": 219, "end": 230, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 13 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 226, "end": 230, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 13 }, "identifierName": "next" }, "name": "next" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 235, "end": 245, "loc": { "start": { "line": 9, "column": 18 }, "end": { "line": 9, "column": 28 } }, "extra": { "rawValue": "function", "raw": "'function'" }, "value": "function" } }, "operator": "&&", "right": { "type": "CallExpression", "start": 249, "end": 255, "loc": { "start": { "line": 9, "column": 32 }, "end": { "line": 9, "column": 38 } }, "callee": { "type": "Identifier", "start": 249, "end": 253, "loc": { "start": { "line": 9, "column": 32 }, "end": { "line": 9, "column": 36 }, "identifierName": "next" }, "name": "next" }, "arguments": [] } } }, { "type": "ReturnStatement", "start": 259, "end": 273, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 16 } }, "argument": { "type": "Identifier", "start": 266, "end": 273, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 16 }, "identifierName": "project" }, "name": "project" } } ], "directives": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "VariableDeclaration", "start": 284, "end": 335, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 16, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 290, "end": 335, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 16, "column": 1 } }, "id": { "type": "Identifier", "start": 290, "end": 297, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 20 }, "identifierName": "helpers" }, "name": "helpers", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 290, "end": 297, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 20 }, "identifierName": "helpers" }, "name": "helpers", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "ObjectExpression", "start": 300, "end": 335, "loc": { "start": { "line": 14, "column": 23 }, "end": { "line": 16, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 304, "end": 332, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 304, "end": 313, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 11 }, "identifierName": "selectors" }, "name": "selectors" }, "value": { "type": "StringLiteral", "start": 315, "end": 332, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 30 } }, "extra": { "rawValue": "website/sitemap", "raw": "'website/sitemap'" }, "value": "website/sitemap" } } ] }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "VariableDeclaration", "start": 344, "end": 779, "loc": { "start": { "line": 18, "column": 7 }, "end": { "line": 33, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 350, "end": 779, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 33, "column": 1 } }, "id": { "type": "Identifier", "start": 350, "end": 358, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 350, "end": 358, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 361, "end": 779, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 33, "column": 1 } }, "id": { "type": "Identifier", "start": 350, "end": 358, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 362, "end": 369, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 32 }, "identifierName": "project" }, "name": "project" } ], "body": { "type": "BlockStatement", "start": 388, "end": 779, "loc": { "start": { "line": 18, "column": 51 }, "end": { "line": 33, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 371, "end": 378, "loc": { "start": { "line": 18, "column": 34 }, "end": { "line": 18, "column": 41 }, "identifierName": "options" }, "name": "options", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] } }, "operator": "&&", "right": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "name": "undefined" } } }, "consequent": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "alternate": { "type": "ObjectExpression", "start": 381, "end": 383, "loc": { "start": { "line": 18, "column": 44 }, "end": { "line": 18, "column": 46 } }, "properties": [], "trailingComments": [], "leadingComments": [], "innerComments": [] } } } ], "kind": "var" }, { "type": "ExpressionStatement", "start": 392, "end": 759, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 30, "column": 4 } }, "expression": { "type": "CallExpression", "start": 392, "end": 759, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 30, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 392, "end": 418, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 19, "column": 28 } }, "object": { "type": "MemberExpression", "start": 392, "end": 409, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 19, "column": 19 } }, "object": { "type": "Identifier", "start": 392, "end": 399, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 19, "column": 9 }, "identifierName": "project" }, "name": "project" }, "property": { "type": "Identifier", "start": 400, "end": 409, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 19 }, "identifierName": "selectors" }, "name": "selectors" }, "computed": false }, "property": { "type": "Identifier", "start": 410, "end": 418, "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 28 }, "identifierName": "register" }, "name": "register" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 419, "end": 436, "loc": { "start": { "line": 19, "column": 29 }, "end": { "line": 19, "column": 46 } }, "extra": { "rawValue": "website/sitemap", "raw": "'website/sitemap'" }, "value": "website/sitemap" }, { "type": "FunctionExpression", "start": 438, "end": 758, "loc": { "start": { "line": 19, "column": 48 }, "end": { "line": 30, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "FunctionExpression", "start": 444, "end": 758, "loc": { "start": { "line": 19, "column": 54 }, "end": { "line": 30, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 445, "end": 450, "loc": { "start": { "line": 19, "column": 55 }, "end": { "line": 19, "column": 60 }, "identifierName": "chain" }, "name": "chain" } ], "body": { "type": "BlockStatement", "start": 469, "end": 758, "loc": { "start": { "line": 19, "column": 79 }, "end": { "line": 30, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 452, "end": 459, "loc": { "start": { "line": 19, "column": 62 }, "end": { "line": 19, "column": 69 }, "identifierName": "options" }, "name": "options", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] },