UNPKG

soocrate-core

Version:

this is the core of soocrate application

1,169 lines (1,168 loc) 1.17 MB
{ "type": "File", "start": 0, "end": 4562, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 137, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 4562, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 137, "column": 0 } }, "sourceType": "module", "body": [ { "type": "Identifier", "start": 2, "end": 2621, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 70, "column": 1 } }, "id": { "type": "Identifier", "start": 11, "end": 19, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "LinkView" }, "name": "LinkView" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20, "end": 29, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 27 }, "identifierName": "container" }, "name": "container" }, { "type": "Identifier", "start": 31, "end": 33, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 31 }, "identifierName": "id" }, "name": "id" } ], "body": { "type": "BlockStatement", "start": 34, "end": 2621, "loc": { "start": { "line": 2, "column": 32 }, "end": { "line": 70, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 43, "end": 312, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 11, "column": 16 } }, "expression": { "type": "AssignmentExpression", "start": 43, "end": 311, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 11, "column": 15 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 43, "end": 61, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 22 } }, "object": { "type": "ThisExpression", "start": 43, "end": 47, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 8 } } }, "property": { "type": "Identifier", "start": 48, "end": 61, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 }, "identifierName": "linkContainer" }, "name": "linkContainer" }, "computed": false }, "right": { "type": "CallExpression", "start": 64, "end": 311, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 11, "column": 15 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 309, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 11, "column": 13 } }, "object": { "type": "CallExpression", "start": 64, "end": 294, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 10, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 272, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 10, "column": 13 } }, "object": { "type": "CallExpression", "start": 64, "end": 257, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 9, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 239, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 9, "column": 12 } }, "object": { "type": "CallExpression", "start": 64, "end": 225, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 8, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 209, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 8, "column": 12 } }, "object": { "type": "CallExpression", "start": 64, "end": 195, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 7, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 179, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 7, "column": 12 } }, "object": { "type": "CallExpression", "start": 64, "end": 165, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 6, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 151, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 6, "column": 12 } }, "object": { "type": "CallExpression", "start": 64, "end": 137, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 5, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 113, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 5, "column": 12 } }, "object": { "type": "CallExpression", "start": 64, "end": 99, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 64, "end": 88, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 49 } }, "object": { "type": "CallExpression", "start": 64, "end": 79, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 40 } }, "callee": { "type": "Identifier", "start": 64, "end": 70, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 31 }, "identifierName": "jQuery" }, "name": "jQuery" }, "arguments": [ { "type": "StringLiteral", "start": 71, "end": 78, "loc": { "start": { "line": 4, "column": 32 }, "end": { "line": 4, "column": 39 } }, "extra": { "rawValue": "<div>", "raw": "'<div>'" }, "value": "<div>" } ] }, "property": { "type": "Identifier", "start": 80, "end": 88, "loc": { "start": { "line": 4, "column": 41 }, "end": { "line": 4, "column": 49 }, "identifierName": "appendTo" }, "name": "appendTo" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 89, "end": 98, "loc": { "start": { "line": 4, "column": 50 }, "end": { "line": 4, "column": 59 }, "identifierName": "container" }, "name": "container" } ] }, "property": { "type": "Identifier", "start": 110, "end": 113, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 12 }, "identifierName": "css" }, "name": "css" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 114, "end": 124, "loc": { "start": { "line": 5, "column": 13 }, "end": { "line": 5, "column": 23 } }, "extra": { "rawValue": "position", "raw": "'position'" }, "value": "position" }, { "type": "StringLiteral", "start": 126, "end": 136, "loc": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 35 } }, "extra": { "rawValue": "relative", "raw": "'relative'" }, "value": "relative" } ] }, "property": { "type": "Identifier", "start": 148, "end": 151, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 12 }, "identifierName": "css" }, "name": "css" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 152, "end": 157, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 18 } }, "extra": { "rawValue": "top", "raw": "'top'" }, "value": "top" }, { "type": "StringLiteral", "start": 159, "end": 164, "loc": { "start": { "line": 6, "column": 20 }, "end": { "line": 6, "column": 25 } }, "extra": { "rawValue": "0px", "raw": "'0px'" }, "value": "0px" } ] }, "property": { "type": "Identifier", "start": 176, "end": 179, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 12 }, "identifierName": "css" }, "name": "css" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 180, "end": 187, "loc": { "start": { "line": 7, "column": 13 }, "end": { "line": 7, "column": 20 } }, "extra": { "rawValue": "width", "raw": "'width'" }, "value": "width" }, { "type": "StringLiteral", "start": 189, "end": 194, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 27 } }, "extra": { "rawValue": "60%", "raw": "'60%'" }, "value": "60%" } ] }, "property": { "type": "Identifier", "start": 206, "end": 209, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 12 }, "identifierName": "css" }, "name": "css" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 210, "end": 219, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 22 } }, "extra": { "rawValue": "z-index", "raw": "'z-index'" }, "value": "z-index" }, { "type": "StringLiteral", "start": 221, "end": 224, "loc": { "start": { "line": 8, "column": 24 }, "end": { "line": 8, "column": 27 } }, "extra": { "rawValue": "0", "raw": "'0'" }, "value": "0" } ] }, "property": { "type": "Identifier", "start": 236, "end": 239, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 12 }, "identifierName": "css" }, "name": "css" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 240, "end": 249, "loc": { "start": { "line": 9, "column": 13 }, "end": { "line": 9, "column": 22 } }, "extra": { "rawValue": "opacity", "raw": "'opacity'" }, "value": "opacity" }, { "type": "StringLiteral", "start": 251, "end": 256, "loc": { "start": { "line": 9, "column": 24 }, "end": { "line": 9, "column": 29 } }, "extra": { "rawValue": "0.9", "raw": "'0.9'" }, "value": "0.9" } ] }, "property": { "type": "Identifier", "start": 268, "end": 272, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 13 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 273, "end": 277, "loc": { "start": { "line": 10, "column": 14 }, "end": { "line": 10, "column": 18 } }, "extra": { "rawValue": "id", "raw": "'id'" }, "value": "id" }, { "type": "StringLiteral", "start": 278, "end": 293, "loc": { "start": { "line": 10, "column": 19 }, "end": { "line": 10, "column": 34 } }, "extra": { "rawValue": "linkContainer", "raw": "'linkContainer'" }, "value": "linkContainer" } ] }, "property": { "type": "Identifier", "start": 305, "end": 309, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 13 }, "identifierName": "hide" }, "name": "hide" }, "computed": false }, "arguments": [] } }, "trailingComments": [ { "type": "CommentLine", "value": " #0 qr code modal", "start": 324, "end": 343, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 23 } } } ] }, { "type": "VariableDeclaration", "start": 349, "end": 625, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 20, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 353, "end": 624, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 20, "column": 26 } }, "id": { "type": "Identifier", "start": 353, "end": 364, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 19 }, "identifierName": "qrCodeModal" }, "name": "qrCodeModal", "leadingComments": null }, "init": { "type": "CallExpression", "start": 367, "end": 624, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 20, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 367, "end": 615, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 20, "column": 17 } }, "object": { "type": "CallExpression", "start": 367, "end": 596, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 19, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 367, "end": 573, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 19, "column": 13 } }, "object": { "type": "CallExpression", "start": 367, "end": 558, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 18, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 367, "end": 520, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 18, "column": 13 } }, "object": { "type": "CallExpression", "start": 367, "end": 505, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 17, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 367, "end": 488, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 17, "column": 13 } }, "object": { "type": "CallExpression", "start": 367, "end": 473, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 16, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 367, "end": 456, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 16, "column": 13 } }, "object": { "type": "CallExpression", "start": 367, "end": 441, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 15, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 367, "end": 417, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 15, "column": 13 } }, "object": { "type": "CallExpression", "start": 367, "end": 402, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 14, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 367, "end": 391, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 14, "column": 46 } }, "object": { "type": "CallExpression", "start": 367,