skypager-project
Version:
skypager project framework
2,494 lines (2,473 loc) • 70.9 kB
JavaScript
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 = 114);
/******/ })
/************************************************************************/
/******/ ({
/***/ 114:
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(23);
/***/ },
/***/ 23:
/***/ function(module, exports) {
module.exports = {
"path": "/Users/jonathan/Skypager/packages/skypager-project/src/config/features/feature.js",
"ast": {
"type": "File",
"start": 0,
"end": 253,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 17,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 253,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 17,
"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": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_defineProperty2"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"value": "babel-runtime/helpers/defineProperty",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
]
}
}
]
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_defineProperty3"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"arguments": [
{
"type": "Identifier",
"name": "_defineProperty2"
}
]
}
}
]
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_extends3"
},
"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": "_extends4"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"arguments": [
{
"type": "Identifier",
"name": "_extends3"
}
]
}
}
]
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "exports"
},
"property": {
"type": "Identifier",
"name": "default",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 24,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 31
},
"identifierName": "feature"
},
"name": "feature",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
},
{
"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": "FunctionDeclaration",
"start": 15,
"end": 252,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 16,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 24,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 31
},
"identifierName": "feature"
},
"name": "feature",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 32,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 40
},
"identifierName": "existing"
},
"name": "existing"
},
{
"type": "Identifier",
"start": 42,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 44
},
"identifierName": "id"
},
"name": "id"
}
],
"body": {
"type": "BlockStatement",
"start": 60,
"end": 252,
"loc": {
"start": {
"line": 1,
"column": 60
},
"end": {
"line": 16,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"start": 46,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 46
},
"end": {
"line": 1,
"column": 53
},
"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": 2,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arguments",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "NumericLiteral",
"value": 2,
"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": 2,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": true
},
"alternate": {
"type": "ObjectExpression",
"start": 56,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 56
},
"end": {
"line": 1,
"column": 58
}
},
"properties": [],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
}
],
"kind": "var"
},
{
"type": "IfStatement",
"start": 64,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 2
},
"end": {
"line": 4,
"column": 3
}
},
"test": {
"type": "UnaryExpression",
"start": 67,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 5
},
"end": {
"line": 2,
"column": 8
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 68,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 8
},
"identifierName": "id"
},
"name": "id"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 72,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 10
},
"end": {
"line": 4,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 78,
"end": 93,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 19
}
},
"argument": {
"type": "Identifier",
"start": 85,
"end": 93,
"loc": {
"start": {
"line": 3,
"column": 11
},
"end": {
"line": 3,
"column": 19
},
"identifierName": "existing"
},
"name": "existing"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 102,
"end": 191,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 10,
"column": 3
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 108,
"end": 191,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 10,
"column": 3
}
},
"id": {
"type": "Identifier",
"start": 108,
"end": 116,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 16
},
"identifierName": "settings"
},
"name": "settings"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "SequenceExpression",
"expressions": [
{
"type": "NumericLiteral",
"value": 0
},
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_extends4"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"arguments": [
{
"type": "ObjectExpression",
"properties": []
},
{
"type": "LogicalExpression",
"start": 129,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 40
}
},
"left": {
"type": "LogicalExpression",
"start": 130,
"end": 154,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 130,
"end": 138,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "existing"
},
"name": "existing"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 142,
"end": 154,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 142,
"end": 150,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 29
},
"identifierName": "existing"
},
"name": "existing"
},
"property": {
"type": "Identifier",
"start": 151,
"end": 153,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 32
},
"identifierName": "id"
},
"name": "id"
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 129
}
},
"operator": "||",
"right": {
"type": "ObjectExpression",
"start": 159,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 38
},
"end": {
"line": 7,
"column": 40
}
},
"properties": []
},
"extra": {
"parenthesized": true,
"parenStart": 128
}
},
{
"type": "Identifier",
"start": 171,
"end": 178,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 14
},
"identifierName": "options"
},
"name": "options"
},
{
"type": "ObjectExpression",
"properties": [
{
"type": "ObjectProperty",
"start": 184,
"end": 186,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 6
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 184,
"end": 186,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 6
},
"identifierName": "id"
},
"name": "id"
},
"value": {
"type": "Identifier",
"start": 184,
"end": 186,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 6
},
"identifierName": "id"
},
"name": "id"
},
"extra": {
"shorthand": true
}
}
]
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
],
"kind": "var"
},
{
"type": "ReturnStatement",
"start": 195,
"end": 250,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 15,
"column": 3
}
},
"argument": {
"type": "CallExpression",
"callee": {
"type": "SequenceExpression",
"expressions": [
{
"type": "NumericLiteral",
"value": 0
},
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_extends4"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"arguments": [
{
"type": "ObjectExpression",
"properties": []
},
{
"type": "LogicalExpression",
"start": 211,
"end": 225,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 211,
"end": 219,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "existing"
},
"name": "existing"
},
"operator": "||",
"right": {
"type": "ObjectExpression",
"start": 223,
"end": 225,
"loc": {
"start": {
"line": 13,
"column": 19
},
"end": {
"line": 13,
"column": 21
}
},
"properties": []
}
},
{
"type": "CallExpression",
"callee": {
"type": "SequenceExpression",
"expressions": [
{
"type": "NumericLiteral",
"value": 0
},
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_defineProperty3"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"arguments": [
{
"type": "ObjectExpression",
"properties": []
},
{
"type": "Identifier",
"start": 232,
"end": 234,
"loc": {
"start": {
"line": 14,
"column": 5
},
"end": {
"line": 14,
"column": 7
},
"identifierName": "id"
},
"name": "id"
},
{
"type": "Identifier",
"start": 237,
"end": 245,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 18
},
"identifierName": "settings"
},
"name": "settings"
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
],
"directives": []
},
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
],
"directives": [
{
"type": "Directive",
"value": {
"type": "DirectiveLiteral",
"value": "use strict"
}
}
]
},
"comments": [],
"tokens": [
{
"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": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 7,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 14
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 15,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "feature",
"start": 24,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 31,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "existing",
"start": 32,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 40,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 40
},
"end": {
"line": 1,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 42,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 44,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 44
},
"end": {
"line": 1,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "options",
"start": 46,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 46
},
"end": {
"line": 1,
"column": 53
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 54,
"end": 55,
"loc": {
"start": {
"line": 1,
"column": 54
},
"end": {
"line": 1,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 56,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 56
},
"end": {
"line": 1,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 57
},
"end": {
"line": 1,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 58,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 58
},
"end": {
"line": 1,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 60,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 60
},
"end": {
"line": 1,
"column": 61
}
}
},
{
"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": 64,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 2
},
"end": {
"line": 2,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 66,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 5
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 67,
"end": 68,
"loc": {
"start": {
"line": 2,
"column": 5
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 68,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 70,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 10
},
"end": {
"line": 2,
"column": 11
}
}
},
{
"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": 78,
"end": 84,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "existing",
"start": 85,
"end": 93,
"loc": {
"start": {
"line": 3,
"column": 11
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 96,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 3
}
}
},
{
"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": 102,
"end": 107,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "settings",
"start": 108,
"end": 116,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 117,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 119,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 19
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 125,
"end": 128,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 128,
"end": 129,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 129,
"end": 130,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "existing",
"start": 130,
"end": 138,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 139,
"end": 141,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "existing",
"start": 142,
"end": 150,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 150,
"end": 151,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 151,
"end": 153,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 153,
"end": 154,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 154,
"end": 155,
"loc": {
"start": {
"line": 7,
"column": 33
},
"end": {
"line": 7,
"column": 34
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 156,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 159,
"end": 160,
"loc": {
"start": {
"line": 7,
"column": 38
},
"end": {
"line": 7,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 160,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 39
},
"end": {
"line": 7,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 161,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 40
},
"end": {
"line": 7,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 162,
"end": 163,
"loc": {
"start": {
"line": 7,
"column": 41
},
"end": {
"line": 7,
"column": 42
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 168,
"end": 171,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "options",
"start": 171,
"end": 178,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 178,
"end": 179,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 184,
"end": 186,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 9,
"column": 6
},
"end": {
"line": 9,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 190,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 3
}
}
},
{
"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": 195,
"end": 201,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 8
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": nul