UNPKG

skypager-project

Version:
1,841 lines (1,819 loc) 315 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 = 133); /******/ }) /************************************************************************/ /******/ ({ /***/ 133: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(42); /***/ }, /***/ 42: /***/ function(module, exports) { module.exports = { "path": "/Users/jonathan/Skypager/packages/skypager-project/src/document-types/page-config.js", "ast": { "type": "File", "start": 0, "end": 1558, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 67, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 1558, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 67, "column": 1 } }, "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", "name": "markdownPageConfig", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "formatId", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "javascriptPageConfig", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "Identifier", "name": "undefined", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/helpers/extends", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_extends2" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_assign" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/core-js/object/assign", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_assign2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_assign" } ] } } ] }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireDefault" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "name": "obj" } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "Identifier", "name": "obj" }, "operator": "&&", "right": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "obj" }, "property": { "type": "Identifier", "name": "__esModule" }, "computed": false } }, "consequent": { "type": "Identifier", "name": "obj" }, "alternate": { "type": "ObjectExpression", "properties": [ { "type": "ObjectProperty", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "default" }, "value": { "type": "Identifier", "name": "obj" } } ] } } } ], "directives": [] }, "extra": { "parenthesized": true, "parenStart": 3 } }, { "type": "VariableDeclaration", "start": 0, "end": 46, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6, "end": 46, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 46 } }, "id": { "type": "Identifier", "start": 6, "end": 18, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 18 }, "identifierName": "pathToRegexp" }, "name": "pathToRegexp" }, "init": { "type": "CallExpression", "start": 21, "end": 46, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 46 } }, "callee": { "type": "Identifier", "start": 21, "end": 28, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 28 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 29, "end": 45, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 45 } }, "extra": { "rawValue": "path-to-regexp", "raw": "'path-to-regexp'" }, "value": "path-to-regexp" } ] } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 55, "end": 233, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 8, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 61, "end": 233, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 8, "column": 1 } }, "id": { "type": "Identifier", "start": 61, "end": 73, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 25 }, "identifierName": "testDocument" }, "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 61, "end": 73, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 25 }, "identifierName": "testDocument" }, "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 76, "end": 233, "loc": { "start": { "line": 3, "column": 28 }, "end": { "line": 8, "column": 1 } }, "id": { "type": "Identifier", "start": 61, "end": 73, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 25 }, "identifierName": "testDocument" }, "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 77, "end": 80, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 32 }, "identifierName": "doc" }, "name": "doc" } ], "body": { "type": "BlockStatement", "start": 85, "end": 233, "loc": { "start": { "line": 3, "column": 37 }, "end": { "line": 8, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 97, "end": 104, "loc": { "start": { "line": 4, "column": 10 }, "end": { "line": 4, "column": 17 }, "identifierName": "project" }, "name": "project" }, "init": { "type": "MemberExpression", "object": { "type": "Identifier", "start": 109, "end": 112, "loc": { "start": { "line": 4, "column": 22 }, "end": { "line": 4, "column": 25 }, "identifierName": "doc" }, "name": "doc" }, "property": { "type": "Identifier", "start": 97, "end": 104, "loc": { "start": { "line": 4, "column": 10 }, "end": { "line": 4, "column": 17 }, "identifierName": "project" }, "name": "project" }, "computed": false } } ], "leadingComments": [], "trailingComments": [] }, { "type": "VariableDeclaration", "start": 115, "end": 181, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 121, "end": 181, "loc": { "start": { "line": 5, "column": 8 }, "end": { "line": 5, "column": 68 } }, "id": { "type": "Identifier", "start": 121, "end": 133, "loc": { "start": { "line": 5, "column": 8 }, "end": { "line": 5, "column": 20 }, "identifierName": "pagesPattern" }, "name": "pagesPattern" }, "init": { "type": "CallExpression", "start": 136, "end": 181, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 136, "end": 153, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 40 } }, "object": { "type": "Identifier", "start": 136, "end": 143, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 30 }, "identifierName": "project" }, "name": "project" }, "property": { "type": "Identifier", "start": 144, "end": 153, "loc": { "start": { "line": 5, "column": 31 }, "end": { "line": 5, "column": 40 }, "identifierName": "getOption" }, "name": "getOption" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 154, "end": 169, "loc": { "start": { "line": 5, "column": 41 }, "end": { "line": 5, "column": 56 } }, "extra": { "rawValue": "patterns.page", "raw": "'patterns.page'" }, "value": "patterns.page" }, { "type": "StringLiteral", "start": 171, "end": 180, "loc": { "start": { "line": 5, "column": 58 }, "end": { "line": 5, "column": 67 } }, "extra": { "rawValue": "*pages*", "raw": "'*pages*'" }, "value": "*pages*" } ] } } ], "kind": "var" }, { "type": "ReturnStatement", "start": 185, "end": 231, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 7, "column": 48 } }, "argument": { "type": "CallExpression", "start": 192, "end": 231, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 192, "end": 223, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 40 } }, "object": { "type": "CallExpression", "start": 192, "end": 218, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 35 } }, "callee": { "type": "Identifier", "start": 192, "end": 204, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 21 }, "identifierName": "pathToRegexp" }, "name": "pathToRegexp" }, "arguments": [ { "type": "Identifier", "start": 205, "end": 217, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 34 }, "identifierName": "pagesPattern" }, "name": "pagesPattern" } ] }, "property": { "type": "Identifier", "start": 219, "end": 223, "loc": { "start": { "line": 7, "column": 36 }, "end": { "line": 7, "column": 40 }, "identifierName": "test" }, "name": "test" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 224, "end": 230, "loc": { "start": { "line": 7, "column": 41 }, "end": { "line": 7, "column": 47 } }, "object": { "type": "Identifier", "start": 224, "end": 227, "loc": { "start": { "line": 7, "column": 41 }, "end": { "line": 7, "column": 44 }, "identifierName": "doc" }, "name": "doc" }, "property": { "type": "Identifier", "start": 228, "end": 230, "loc": { "start": { "line": 7, "column": 45 }, "end": { "line": 7, "column": 47 }, "identifierName": "id" }, "name": "id" }, "computed": false } ] } } ], "directives": [] }, "shadow": true }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "VariableDeclaration", "start": 242, "end": 533, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 23, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 248, "end": 533, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 23, "column": 1 } }, "id": { "type": "Identifier", "start": 248, "end": 256, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "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": 248, "end": 256, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 259, "end": 533, "loc": { "start": { "line": 10, "column": 24 }, "end": { "line": 23, "column": 1 } }, "id": { "type": "Identifier", "start": 248, "end": 256, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 260, "end": 263, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 10, "column": 28 }, "identifierName": "doc" }, "name": "doc" } ], "body": { "type": "BlockStatement", "start": 268, "end": 533, "loc": { "start": { "line": 10, "column": 33 }, "end": { "line": 23, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 273, "end": 517, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 20, "column": 4 } }, "expression": { "type": "CallExpression", "start": 273, "end": 517, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 20, "column": 4 } }, "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_assign2" }, "property": { "type": "Identifier", "name": "default" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "Identifier", "start": 287, "end": 290, "loc": { "start": { "line": 12, "column": 16 }, "end": { "line": 12, "column": 19 }, "identifierName": "doc" }, "name": "doc" }, { "type": "ObjectExpression", "start": 292, "end": 516, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 20, "column": 3 } }, "properties": [ { "type": "ObjectProperty", "key": { "type": "Identifier", "start": 298, "end": 313, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 19 }, "identifierName": "buildPageConfig" }, "name": "buildPageConfig" }, "value": { "type": "FunctionExpression", "id": { "type": "Identifier", "name": "buildPageConfig" }, "params": [], "body": { "type": "BlockStatement", "start": 328, "end": 512, "loc": { "start": { "line": 13, "column": 34 }, "end": { "line": 19, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 314, "end": 321, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 27 }, "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": 324, "end": 326, "loc": { "start": { "line": 13, "column": 30 }, "end": { "line": 13, "column": 32 } }, "properties": [], "trailingComments": [], "leadingComments": [], "innerComments": [] } } } ], "kind": "var" }, { "type": "IfStatement", "start": 336, "end": 502, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 18, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 340, "end": 365, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 35 } }, "left": { "type": "MemberExpression", "start": 340, "end": 355, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 25 } }, "object": { "type": "Identifier", "start": 340, "end": 343, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 13 }, "identifierName": "doc" }, "name": "doc" }, "property": { "type": "Identifier", "start": 344, "end": 355, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 25 }, "identifierName": "fileExtname" }, "name": "fileExtname" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 360, "end": 365, "loc": { "start": { "line": 14, "column": 30 }, "end": { "line": 14, "column": 35 } }, "extra": { "rawValue": ".md", "raw": "'.md'" }, "value": ".md" } }, "consequent": { "type": "BlockStatement", "start": 367, "end": 415, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 16, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 377, "end": 407, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 38 } }, "argument": { "type": "CallExpression", "start": 384, "end": 407, "loc": { "start": { "line": 15, "column": 15 }, "end": { "line": 15, "column": 38 } }, "callee": { "type": "Identifier", "start": 384, "end": 402, "loc": { "start": { "line": 15, "column": 15 }, "end": { "line": 15, "column": 33 }, "identifierName": "markdownPageConfig" }, "name": "markdownPageConfig" }, "arguments": [ { "type": "Identifier", "start": 403, "end": 406, "loc": { "start": { "line": 15, "column": 34 }, "end": { "line": 15, "column": 37 }, "identifierName": "doc" }, "name": "doc" } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 421, "end": 502, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 18, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 425, "end": 450, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 42 } }, "left": { "type": "MemberExpression", "start": 425, "end": 440, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 32 } }, "object": { "type": "Identifier", "start": 425, "end": 428, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 20 }, "identifierName": "doc" }, "name": "doc" }, "property": { "type": "Identifier", "start": 429, "end": 440, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 32 }, "identifierName": "fileExtname" }, "name": "fileExtname" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 445, "end": 450, "loc": { "start": { "line": 16, "column": 37 }, "end": { "line": 16, "column": 42 } }, "extra": { "rawValue": ".js", "raw": "'.js'" }, "value": ".js" } }, "consequent": { "type": "BlockStatement", "start": 452, "end": 502, "loc": { "start": { "line": 16, "column": 44 }, "end": { "line": 18, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 462, "end": 494, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 40 } },