@atjson/offset-inspector
Advanced tools
Comparing version 0.12.2 to 0.12.3
@@ -1,1 +0,1 @@ | ||
{"id":"7MRa","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/attributes.ts","includedInParent":true,"mtime":1547050316193},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"./index","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/attributes.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.unprefix=t,exports.toJSON=n;var e=r(require(\"./index\"));function r(e){return e&&e.__esModule?e:{default:e}}function t(e,r,n,u=[]){if(Array.isArray(n))return n.map((n,o)=>{return t(e,r,n,u.concat(o))});if(r[u.join(\".\")]){let e=n;return new(r[u.join(\".\")])(e)}return null==n?null:\"object\"==typeof n?Object.keys(n).reduce((o,i)=>{let l=n[i];if(0===i.indexOf(`-${e}-`)&&void 0!==l){let n=i.slice(`-${e}-`.length);o[n]=t(e,r,l,u.concat(n))}else o[i]=l;return o},{}):n}function n(r,t){return Array.isArray(t)?t.map(e=>{return n(r,e)}):t instanceof e.default?t.toJSON():null==t?null:\"object\"==typeof t?Object.keys(t).reduce((e,u)=>{let o=t[u];return void 0!==o&&(\"-\"===u[0]?e[u]=n(r,o):e[`-${r}-${u}`]=n(r,o)),e},{}):t}","map":{"mappings":[{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":0}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":13}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":20}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":35}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":43}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":56}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":57}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":64}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":68}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":76}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":85}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":87}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":95}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":102}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":104}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":108}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":110}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":112}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":120}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":132}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":141}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":143}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":146}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":153}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":156}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":158}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":169}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":171}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":172}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":180}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":183}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":192}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":25},"generated":{"line":1,"column":194}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":47},"generated":{"line":1,"column":196}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":97},"generated":{"line":1,"column":198}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":114},"generated":{"line":1,"column":200}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":145},"generated":{"line":1,"column":202}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":6},"generated":{"line":1,"column":206}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":6},"generated":{"line":1,"column":209}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":215}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":20},"generated":{"line":1,"column":223}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":226}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":233}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":21},"generated":{"line":1,"column":235}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":25},"generated":{"line":1,"column":239}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":26},"generated":{"line":1,"column":240}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":1,"column":242}},{"source":"../../src/attributes.ts","name":null,"original":{"line":8,"column":13},"generated":{"line":1,"column":247}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":19},"generated":{"line":1,"column":254}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":28},"generated":{"line":1,"column":256}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":42},"generated":{"line":1,"column":258}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":56},"generated":{"line":1,"column":260}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":62},"generated":{"line":1,"column":262}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":67},"generated":{"line":1,"column":264}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":74},"generated":{"line":1,"column":271}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":277}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":280}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":26},"generated":{"line":1,"column":282}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":31},"generated":{"line":1,"column":284}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":36},"generated":{"line":1,"column":289}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":43},"generated":{"line":1,"column":295}},{"source":"../../src/attributes.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":296}},{"source":"../../src/attributes.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":300}},{"source":"../../src/attributes.ts","name":null,"original":{"line":11,"column":30},"generated":{"line":1,"column":302}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":304}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":311}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":15},"generated":{"line":1,"column":315}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":28},"generated":{"line":1,"column":317}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":33},"generated":{"line":1,"column":319}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":38},"generated":{"line":1,"column":324}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":44},"generated":{"line":1,"column":331}},{"source":"../../src/attributes.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":334}},{"source":"../../src/attributes.ts","name":null,"original":{"line":13,"column":26},"generated":{"line":1,"column":341}},{"source":"../../src/attributes.ts","name":null,"original":{"line":13,"column":13},"generated":{"line":1,"column":347}},{"source":"../../src/attributes.ts","name":null,"original":{"line":14,"column":11},"generated":{"line":1,"column":349}},{"source":"../../src/attributes.ts","name":null,"original":{"line":15,"column":34},"generated":{"line":1,"column":354}},{"source":"../../src/attributes.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":1,"column":371}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":11},"generated":{"line":1,"column":373}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":18},"generated":{"line":1,"column":380}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":23},"generated":{"line":1,"column":385}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":34},"generated":{"line":1,"column":388}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":41},"generated":{"line":1,"column":395}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":42},"generated":{"line":1,"column":396}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":67},"generated":{"line":1,"column":398}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":10},"generated":{"line":1,"column":403}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":10},"generated":{"line":1,"column":407}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":409}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":28},"generated":{"line":1,"column":411}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":414}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":47},"generated":{"line":1,"column":417}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":421}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":14},"generated":{"line":1,"column":423}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":1,"column":435}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":62},"generated":{"line":1,"column":447}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":52},"generated":{"line":1,"column":451}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":73},"generated":{"line":1,"column":453}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":12},"generated":{"line":1,"column":454}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":12},"generated":{"line":1,"column":458}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":28},"generated":{"line":1,"column":460}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":32},"generated":{"line":1,"column":462}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":42},"generated":{"line":1,"column":472}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":58},"generated":{"line":1,"column":477}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":8},"generated":{"line":1,"column":485}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":14},"generated":{"line":1,"column":487}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":31},"generated":{"line":1,"column":490}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":40},"generated":{"line":1,"column":492}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":54},"generated":{"line":1,"column":494}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":68},"generated":{"line":1,"column":496}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":75},"generated":{"line":1,"column":498}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":80},"generated":{"line":1,"column":500}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":87},"generated":{"line":1,"column":507}},{"source":"../../src/attributes.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":1,"column":516}},{"source":"../../src/attributes.ts","name":null,"original":{"line":22,"column":14},"generated":{"line":1,"column":518}},{"source":"../../src/attributes.ts","name":null,"original":{"line":22,"column":21},"generated":{"line":1,"column":521}},{"source":"../../src/attributes.ts","name":null,"original":{"line":24,"column":13},"generated":{"line":1,"column":523}},{"source":"../../src/attributes.ts","name":null,"original":{"line":24,"column":13},"generated":{"line":1,"column":530}},{"source":"../../src/attributes.ts","name":null,"original":{"line":25,"column":7},"generated":{"line":1,"column":533}},{"source":"../../src/attributes.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":1,"column":537}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":1,"column":539}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":16},"generated":{"line":1,"column":548}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":23},"generated":{"line":1,"column":550}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":45},"generated":{"line":1,"column":552}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":6},"generated":{"line":1,"column":555}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":6},"generated":{"line":1,"column":562}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":12},"generated":{"line":1,"column":568}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":20},"generated":{"line":1,"column":576}},{"source":"../../src/attributes.ts","name":null,"original":{"line":33,"column":11},"generated":{"line":1,"column":579}},{"source":"../../src/attributes.ts","name":null,"original":{"line":33,"column":21},"generated":{"line":1,"column":581}},{"source":"../../src/attributes.ts","name":null,"original":{"line":33,"column":25},"generated":{"line":1,"column":585}},{"source":"../../src/attributes.ts","name":null,"original":{"line":35,"column":13},"generated":{"line":1,"column":589}},{"source":"../../src/attributes.ts","name":null,"original":{"line":34,"column":19},"generated":{"line":1,"column":596}},{"source":"../../src/attributes.ts","name":null,"original":{"line":34,"column":26},"generated":{"line":1,"column":598}},{"source":"../../src/attributes.ts","name":null,"original":{"line":34,"column":40},"generated":{"line":1,"column":600}},{"source":"../../src/attributes.ts","name":null,"original":{"line":37,"column":13},"generated":{"line":1,"column":605}},{"source":"../../src/attributes.ts","name":null,"original":{"line":37,"column":34},"generated":{"line":1,"column":618}},{"source":"../../src/attributes.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":620}},{"source":"../../src/attributes.ts","name":null,"original":{"line":38,"column":11},"generated":{"line":1,"column":628}},{"source":"../../src/attributes.ts","name":null,"original":{"line":38,"column":21},"generated":{"line":1,"column":630}},{"source":"../../src/attributes.ts","name":null,"original":{"line":39,"column":26},"generated":{"line":1,"column":639}},{"source":"../../src/attributes.ts","name":null,"original":{"line":39,"column":13},"generated":{"line":1,"column":645}},{"source":"../../src/attributes.ts","name":null,"original":{"line":40,"column":11},"generated":{"line":1,"column":647}},{"source":"../../src/attributes.ts","name":null,"original":{"line":41,"column":34},"generated":{"line":1,"column":652}},{"source":"../../src/attributes.ts","name":null,"original":{"line":41,"column":20},"generated":{"line":1,"column":669}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":11},"generated":{"line":1,"column":671}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":678}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":23},"generated":{"line":1,"column":683}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":34},"generated":{"line":1,"column":686}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":41},"generated":{"line":1,"column":693}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":42},"generated":{"line":1,"column":694}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":60},"generated":{"line":1,"column":696}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":10},"generated":{"line":1,"column":701}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":10},"generated":{"line":1,"column":705}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":18},"generated":{"line":1,"column":707}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":28},"generated":{"line":1,"column":709}},{"source":"../../src/attributes.ts","name":null,"original":{"line":51,"column":13},"generated":{"line":1,"column":712}},{"source":"../../src/attributes.ts","name":null,"original":{"line":44,"column":20},"generated":{"line":1,"column":724}},{"source":"../../src/attributes.ts","name":null,"original":{"line":44,"column":10},"generated":{"line":1,"column":728}},{"source":"../../src/attributes.ts","name":null,"original":{"line":45,"column":23},"generated":{"line":1,"column":732}},{"source":"../../src/attributes.ts","name":null,"original":{"line":45,"column":12},"generated":{"line":1,"column":738}},{"source":"../../src/attributes.ts","name":null,"original":{"line":45,"column":16},"generated":{"line":1,"column":740}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":10},"generated":{"line":1,"column":743}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":15},"generated":{"line":1,"column":745}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":22},"generated":{"line":1,"column":748}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":29},"generated":{"line":1,"column":750}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":43},"generated":{"line":1,"column":752}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":10},"generated":{"line":1,"column":755}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":19},"generated":{"line":1,"column":761}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":35},"generated":{"line":1,"column":766}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":44},"generated":{"line":1,"column":771}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":51},"generated":{"line":1,"column":773}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":65},"generated":{"line":1,"column":775}},{"source":"../../src/attributes.ts","name":null,"original":{"line":51,"column":13},"generated":{"line":1,"column":779}},{"source":"../../src/attributes.ts","name":null,"original":{"line":52,"column":7},"generated":{"line":1,"column":782}},{"source":"../../src/attributes.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":786}}],"sources":{"../../src/attributes.ts":"import Document, { AnnotationJSON } from './index';\nimport JSON, { JSONObject } from './json';\n\nexport function unprefix(vendorPrefix: string, subdocuments: { [key: string]: typeof Document }, attribute: JSON, path: Array<string | number> = []): NonNullable<any> {\n if (Array.isArray(attribute)) {\n return attribute.map((attr, index) => {\n let result = unprefix(vendorPrefix, subdocuments, attr, path.concat(index));\n return result;\n });\n } else if (subdocuments[path.join('.')]) {\n let serializedDocument = (attribute as any) as { content: string; annotations: AnnotationJSON[] };\n return new subdocuments[path.join('.')](serializedDocument);\n } else if (attribute == null) {\n return null;\n } else if (typeof attribute === 'object') {\n return Object.keys(attribute).reduce((attrs: NonNullable<any>, key: string) => {\n let value = attribute[key];\n if (key.indexOf(`-${vendorPrefix}-`) === 0 && value !== undefined) {\n let unprefixedKey = key.slice(`-${vendorPrefix}-`.length);\n attrs[unprefixedKey] = unprefix(vendorPrefix, subdocuments, value, path.concat(unprefixedKey));\n } else {\n attrs[key] = value;\n }\n return attrs;\n }, {});\n } else {\n return attribute;\n }\n}\n\nexport function toJSON(vendorPrefix: string, attribute: NonNullable<any>): any {\n if (Array.isArray(attribute)) {\n return attribute.map(attr => {\n let result = toJSON(vendorPrefix, attr);\n return result;\n });\n } else if (attribute instanceof Document) {\n return attribute.toJSON();\n } else if (attribute == null) {\n return null;\n } else if (typeof attribute === 'object') {\n return Object.keys(attribute).reduce((copy: JSONObject, key: string) => {\n let value = attribute[key];\n if (value !== undefined) {\n if (key[0] === '-') {\n copy[key] = toJSON(vendorPrefix, value);\n } else {\n copy[`-${vendorPrefix}-${key}`] = toJSON(vendorPrefix, value);\n }\n }\n return copy;\n }, {});\n } else {\n return attribute;\n }\n}\n"},"lineCount":null}},"hash":"80919a01342658bace9a4a70c4b7d122","cacheData":{"env":{}}} | ||
{"id":"7MRa","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/attributes.ts","includedInParent":true,"mtime":1547050316193},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"./index","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/attributes.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.unprefix=t,exports.toJSON=n;var e=r(require(\"./index\"));function r(e){return e&&e.__esModule?e:{default:e}}function t(e,r,n,u=[]){if(Array.isArray(n))return n.map((n,o)=>{return t(e,r,n,u.concat(o))});if(r[u.join(\".\")]){let e=n;return new(r[u.join(\".\")])(e)}return null==n?null:\"object\"==typeof n?Object.keys(n).reduce((o,i)=>{let l=n[i];if(0===i.indexOf(`-${e}-`)&&void 0!==l){let n=i.slice(`-${e}-`.length);o[n]=t(e,r,l,u.concat(n))}else o[i]=l;return o},{}):n}function n(r,t){return Array.isArray(t)?t.map(e=>{return n(r,e)}):t instanceof e.default?t.toJSON():null==t?null:\"object\"==typeof t?Object.keys(t).reduce((e,u)=>{let o=t[u];return void 0!==o&&(\"-\"===u[0]?e[u]=n(r,o):e[`-${r}-${u}`]=n(r,o)),e},{}):t}","map":{"mappings":[{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":0}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":13}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":20}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":35}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":43}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":56}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":57}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":64}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":68}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":76}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":85}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":87}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":95}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":102}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":104}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":108}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":110}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":112}},{"source":"../../src/attributes.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":120}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":132}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":141}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":143}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":146}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":153}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":156}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":158}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":169}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":171}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":172}},{"source":"../../src/attributes.ts","name":null,"original":{"line":56,"column":1},"generated":{"line":1,"column":180}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":183}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":192}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":25},"generated":{"line":1,"column":194}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":47},"generated":{"line":1,"column":196}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":97},"generated":{"line":1,"column":198}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":114},"generated":{"line":1,"column":200}},{"source":"../../src/attributes.ts","name":null,"original":{"line":4,"column":145},"generated":{"line":1,"column":202}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":6},"generated":{"line":1,"column":206}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":6},"generated":{"line":1,"column":209}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":215}},{"source":"../../src/attributes.ts","name":null,"original":{"line":5,"column":20},"generated":{"line":1,"column":223}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":226}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":233}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":21},"generated":{"line":1,"column":235}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":25},"generated":{"line":1,"column":239}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":26},"generated":{"line":1,"column":240}},{"source":"../../src/attributes.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":1,"column":242}},{"source":"../../src/attributes.ts","name":null,"original":{"line":8,"column":13},"generated":{"line":1,"column":247}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":19},"generated":{"line":1,"column":254}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":28},"generated":{"line":1,"column":256}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":42},"generated":{"line":1,"column":258}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":56},"generated":{"line":1,"column":260}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":62},"generated":{"line":1,"column":262}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":67},"generated":{"line":1,"column":264}},{"source":"../../src/attributes.ts","name":null,"original":{"line":7,"column":74},"generated":{"line":1,"column":271}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":277}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":280}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":26},"generated":{"line":1,"column":282}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":31},"generated":{"line":1,"column":284}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":36},"generated":{"line":1,"column":289}},{"source":"../../src/attributes.ts","name":null,"original":{"line":10,"column":43},"generated":{"line":1,"column":295}},{"source":"../../src/attributes.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":296}},{"source":"../../src/attributes.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":300}},{"source":"../../src/attributes.ts","name":null,"original":{"line":11,"column":30},"generated":{"line":1,"column":302}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":304}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":311}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":15},"generated":{"line":1,"column":315}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":28},"generated":{"line":1,"column":317}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":33},"generated":{"line":1,"column":319}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":38},"generated":{"line":1,"column":324}},{"source":"../../src/attributes.ts","name":null,"original":{"line":12,"column":44},"generated":{"line":1,"column":331}},{"source":"../../src/attributes.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":334}},{"source":"../../src/attributes.ts","name":null,"original":{"line":13,"column":26},"generated":{"line":1,"column":341}},{"source":"../../src/attributes.ts","name":null,"original":{"line":13,"column":13},"generated":{"line":1,"column":347}},{"source":"../../src/attributes.ts","name":null,"original":{"line":14,"column":11},"generated":{"line":1,"column":349}},{"source":"../../src/attributes.ts","name":null,"original":{"line":15,"column":34},"generated":{"line":1,"column":354}},{"source":"../../src/attributes.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":1,"column":371}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":11},"generated":{"line":1,"column":373}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":18},"generated":{"line":1,"column":380}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":23},"generated":{"line":1,"column":385}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":34},"generated":{"line":1,"column":388}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":41},"generated":{"line":1,"column":395}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":42},"generated":{"line":1,"column":396}},{"source":"../../src/attributes.ts","name":null,"original":{"line":16,"column":67},"generated":{"line":1,"column":398}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":10},"generated":{"line":1,"column":403}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":10},"generated":{"line":1,"column":407}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":409}},{"source":"../../src/attributes.ts","name":null,"original":{"line":17,"column":28},"generated":{"line":1,"column":411}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":414}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":47},"generated":{"line":1,"column":417}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":421}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":14},"generated":{"line":1,"column":423}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":1,"column":435}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":62},"generated":{"line":1,"column":447}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":52},"generated":{"line":1,"column":451}},{"source":"../../src/attributes.ts","name":null,"original":{"line":18,"column":73},"generated":{"line":1,"column":453}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":12},"generated":{"line":1,"column":454}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":12},"generated":{"line":1,"column":458}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":28},"generated":{"line":1,"column":460}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":32},"generated":{"line":1,"column":462}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":42},"generated":{"line":1,"column":472}},{"source":"../../src/attributes.ts","name":null,"original":{"line":19,"column":58},"generated":{"line":1,"column":477}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":8},"generated":{"line":1,"column":485}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":14},"generated":{"line":1,"column":487}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":31},"generated":{"line":1,"column":490}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":40},"generated":{"line":1,"column":492}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":54},"generated":{"line":1,"column":494}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":68},"generated":{"line":1,"column":496}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":75},"generated":{"line":1,"column":498}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":80},"generated":{"line":1,"column":500}},{"source":"../../src/attributes.ts","name":null,"original":{"line":20,"column":87},"generated":{"line":1,"column":507}},{"source":"../../src/attributes.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":1,"column":516}},{"source":"../../src/attributes.ts","name":null,"original":{"line":22,"column":14},"generated":{"line":1,"column":518}},{"source":"../../src/attributes.ts","name":null,"original":{"line":22,"column":21},"generated":{"line":1,"column":521}},{"source":"../../src/attributes.ts","name":null,"original":{"line":24,"column":13},"generated":{"line":1,"column":523}},{"source":"../../src/attributes.ts","name":null,"original":{"line":24,"column":13},"generated":{"line":1,"column":530}},{"source":"../../src/attributes.ts","name":null,"original":{"line":25,"column":7},"generated":{"line":1,"column":533}},{"source":"../../src/attributes.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":1,"column":537}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":1,"column":539}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":16},"generated":{"line":1,"column":548}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":23},"generated":{"line":1,"column":550}},{"source":"../../src/attributes.ts","name":null,"original":{"line":31,"column":45},"generated":{"line":1,"column":552}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":6},"generated":{"line":1,"column":555}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":6},"generated":{"line":1,"column":562}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":12},"generated":{"line":1,"column":568}},{"source":"../../src/attributes.ts","name":null,"original":{"line":32,"column":20},"generated":{"line":1,"column":576}},{"source":"../../src/attributes.ts","name":null,"original":{"line":33,"column":11},"generated":{"line":1,"column":579}},{"source":"../../src/attributes.ts","name":null,"original":{"line":33,"column":21},"generated":{"line":1,"column":581}},{"source":"../../src/attributes.ts","name":null,"original":{"line":33,"column":25},"generated":{"line":1,"column":585}},{"source":"../../src/attributes.ts","name":null,"original":{"line":35,"column":13},"generated":{"line":1,"column":589}},{"source":"../../src/attributes.ts","name":null,"original":{"line":34,"column":19},"generated":{"line":1,"column":596}},{"source":"../../src/attributes.ts","name":null,"original":{"line":34,"column":26},"generated":{"line":1,"column":598}},{"source":"../../src/attributes.ts","name":null,"original":{"line":34,"column":40},"generated":{"line":1,"column":600}},{"source":"../../src/attributes.ts","name":null,"original":{"line":37,"column":13},"generated":{"line":1,"column":605}},{"source":"../../src/attributes.ts","name":null,"original":{"line":37,"column":34},"generated":{"line":1,"column":618}},{"source":"../../src/attributes.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":620}},{"source":"../../src/attributes.ts","name":null,"original":{"line":38,"column":11},"generated":{"line":1,"column":628}},{"source":"../../src/attributes.ts","name":null,"original":{"line":38,"column":21},"generated":{"line":1,"column":630}},{"source":"../../src/attributes.ts","name":null,"original":{"line":39,"column":26},"generated":{"line":1,"column":639}},{"source":"../../src/attributes.ts","name":null,"original":{"line":39,"column":13},"generated":{"line":1,"column":645}},{"source":"../../src/attributes.ts","name":null,"original":{"line":40,"column":11},"generated":{"line":1,"column":647}},{"source":"../../src/attributes.ts","name":null,"original":{"line":41,"column":34},"generated":{"line":1,"column":652}},{"source":"../../src/attributes.ts","name":null,"original":{"line":41,"column":20},"generated":{"line":1,"column":669}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":11},"generated":{"line":1,"column":671}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":678}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":23},"generated":{"line":1,"column":683}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":34},"generated":{"line":1,"column":686}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":41},"generated":{"line":1,"column":693}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":42},"generated":{"line":1,"column":694}},{"source":"../../src/attributes.ts","name":null,"original":{"line":42,"column":60},"generated":{"line":1,"column":696}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":10},"generated":{"line":1,"column":701}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":10},"generated":{"line":1,"column":705}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":18},"generated":{"line":1,"column":707}},{"source":"../../src/attributes.ts","name":null,"original":{"line":43,"column":28},"generated":{"line":1,"column":709}},{"source":"../../src/attributes.ts","name":null,"original":{"line":51,"column":13},"generated":{"line":1,"column":712}},{"source":"../../src/attributes.ts","name":null,"original":{"line":44,"column":20},"generated":{"line":1,"column":724}},{"source":"../../src/attributes.ts","name":null,"original":{"line":44,"column":10},"generated":{"line":1,"column":728}},{"source":"../../src/attributes.ts","name":null,"original":{"line":45,"column":23},"generated":{"line":1,"column":732}},{"source":"../../src/attributes.ts","name":null,"original":{"line":45,"column":12},"generated":{"line":1,"column":738}},{"source":"../../src/attributes.ts","name":null,"original":{"line":45,"column":16},"generated":{"line":1,"column":740}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":10},"generated":{"line":1,"column":743}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":15},"generated":{"line":1,"column":745}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":22},"generated":{"line":1,"column":748}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":29},"generated":{"line":1,"column":750}},{"source":"../../src/attributes.ts","name":null,"original":{"line":46,"column":43},"generated":{"line":1,"column":752}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":10},"generated":{"line":1,"column":755}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":19},"generated":{"line":1,"column":761}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":35},"generated":{"line":1,"column":766}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":44},"generated":{"line":1,"column":771}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":51},"generated":{"line":1,"column":773}},{"source":"../../src/attributes.ts","name":null,"original":{"line":48,"column":65},"generated":{"line":1,"column":775}},{"source":"../../src/attributes.ts","name":null,"original":{"line":51,"column":13},"generated":{"line":1,"column":779}},{"source":"../../src/attributes.ts","name":null,"original":{"line":52,"column":7},"generated":{"line":1,"column":782}},{"source":"../../src/attributes.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":786}}],"sources":{"../../src/attributes.ts":"import Document, { AnnotationJSON } from './index';\nimport JSON, { JSONObject } from './json';\n\nexport function unprefix(vendorPrefix: string, subdocuments: { [key: string]: typeof Document }, attribute: JSON, path: Array<string | number> = []): NonNullable<any> {\n if (Array.isArray(attribute)) {\n return attribute.map((attr, index) => {\n let result = unprefix(vendorPrefix, subdocuments, attr, path.concat(index));\n return result;\n });\n } else if (subdocuments[path.join('.')]) {\n let serializedDocument = (attribute as any) as { content: string; annotations: AnnotationJSON[] };\n return new subdocuments[path.join('.')](serializedDocument);\n } else if (attribute == null) {\n return null;\n } else if (typeof attribute === 'object') {\n return Object.keys(attribute).reduce((attrs: NonNullable<any>, key: string) => {\n let value = attribute[key];\n if (key.indexOf(`-${vendorPrefix}-`) === 0 && value !== undefined) {\n let unprefixedKey = key.slice(`-${vendorPrefix}-`.length);\n attrs[unprefixedKey] = unprefix(vendorPrefix, subdocuments, value, path.concat(unprefixedKey));\n } else {\n attrs[key] = value;\n }\n return attrs;\n }, {});\n } else {\n return attribute;\n }\n}\n\nexport function toJSON(vendorPrefix: string, attribute: NonNullable<any>): any {\n if (Array.isArray(attribute)) {\n return attribute.map(attr => {\n let result = toJSON(vendorPrefix, attr);\n return result;\n });\n } else if (attribute instanceof Document) {\n return attribute.toJSON();\n } else if (attribute == null) {\n return null;\n } else if (typeof attribute === 'object') {\n return Object.keys(attribute).reduce((copy: JSONObject, key: string) => {\n let value = attribute[key];\n if (value !== undefined) {\n if (key[0] === '-') {\n copy[key] = toJSON(vendorPrefix, value);\n } else {\n copy[`-${vendorPrefix}-${key}`] = toJSON(vendorPrefix, value);\n }\n }\n return copy;\n }, {});\n } else {\n return attribute;\n }\n}\n"},"lineCount":null}},"hash":"80919a01342658bace9a4a70c4b7d122","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"smzJ","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/bold.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"strong\")}}exports.default=e,e.annotationName=\"bold\";","map":{"mappings":[{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":173}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":183}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":200}}],"sources":{"../../../src/components/bold.ts":"export default class OffsetBoldElement {\n\n static annotationName = 'bold';\n\n static elementRenderer(): Element {\n return document.createElement('strong');\n }\n}\n"},"lineCount":null}},"hash":"33dfcd72b6dafb56c23317ad58843dc9","cacheData":{"env":{}}} | ||
{"id":"smzJ","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/bold.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"strong\")}}exports.default=e,e.annotationName=\"bold\";","map":{"mappings":[{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":173}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":183}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/components/bold.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":200}}],"sources":{"../../../src/components/bold.ts":"export default class OffsetBoldElement {\n\n static annotationName = 'bold';\n\n static elementRenderer(): Element {\n return document.createElement('strong');\n }\n}\n"},"lineCount":null}},"hash":"33dfcd72b6dafb56c23317ad58843dc9","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"KovG","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});class e{static get selectionButton(){let e,t,n=document.createElement(\"button\");return n.setAttribute(\"data-type\",this.annotationName),n.innerHTML=this.annotationName,n.addEventListener(\"selectionchange\",n=>{e=n.detail.start,t=n.detail.end,console.log(\"set start and end to\",{start:e,end:t})}),n.addEventListener(\"click\",a=>{n.dispatchEvent(new CustomEvent(\"addAnnotation\",{bubbles:!0,composed:!0,detail:{type:\"superscript\",start:e,end:t}}))}),n}}e.annotationName=\"superscript\",e.elementRenderer=(e=>document.createElement(\"sup\")),exports.default=e;","map":{"mappings":[{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":0}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":13}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":20}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":35}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":43}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":56}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":57}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":64}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":68}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":21},"generated":{"line":1,"column":74}},{"source":"superscript.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":76}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":105}},{"source":"superscript.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":109}},{"source":"superscript.ts","name":null,"original":{"line":14,"column":8},"generated":{"line":1,"column":111}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":113}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":115}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":22},"generated":{"line":1,"column":124}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":36},"generated":{"line":1,"column":138}},{"source":"superscript.ts","name":null,"original":{"line":33,"column":11},"generated":{"line":1,"column":148}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":4},"generated":{"line":1,"column":155}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":7},"generated":{"line":1,"column":157}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":20},"generated":{"line":1,"column":170}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":33},"generated":{"line":1,"column":182}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":38},"generated":{"line":1,"column":187}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":1,"column":203}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":205}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":19},"generated":{"line":1,"column":215}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":24},"generated":{"line":1,"column":220}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":1,"column":235}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":7},"generated":{"line":1,"column":237}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":24},"generated":{"line":1,"column":254}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":44},"generated":{"line":1,"column":272}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":276}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":16},"generated":{"line":1,"column":278}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":20},"generated":{"line":1,"column":280}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":27},"generated":{"line":1,"column":287}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":8},"generated":{"line":1,"column":293}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":14},"generated":{"line":1,"column":295}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":18},"generated":{"line":1,"column":297}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":25},"generated":{"line":1,"column":304}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":8},"generated":{"line":1,"column":308}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":16},"generated":{"line":1,"column":316}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":20},"generated":{"line":1,"column":320}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":44},"generated":{"line":1,"column":343}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":46},"generated":{"line":1,"column":344}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":46},"generated":{"line":1,"column":350}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":53},"generated":{"line":1,"column":352}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":53},"generated":{"line":1,"column":356}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":362}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":7},"generated":{"line":1,"column":364}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":24},"generated":{"line":1,"column":381}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":33},"generated":{"line":1,"column":389}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":8},"generated":{"line":1,"column":393}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":11},"generated":{"line":1,"column":395}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":1,"column":409}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":29},"generated":{"line":1,"column":413}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":1,"column":425}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":58},"generated":{"line":1,"column":441}},{"source":"superscript.ts","name":null,"original":{"line":24,"column":12},"generated":{"line":1,"column":442}},{"source":"superscript.ts","name":null,"original":{"line":24,"column":21},"generated":{"line":1,"column":451}},{"source":"superscript.ts","name":null,"original":{"line":25,"column":12},"generated":{"line":1,"column":453}},{"source":"superscript.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":1,"column":463}},{"source":"superscript.ts","name":null,"original":{"line":26,"column":12},"generated":{"line":1,"column":465}},{"source":"superscript.ts","name":null,"original":{"line":26,"column":20},"generated":{"line":1,"column":472}},{"source":"superscript.ts","name":null,"original":{"line":27,"column":16},"generated":{"line":1,"column":473}},{"source":"superscript.ts","name":null,"original":{"line":27,"column":22},"generated":{"line":1,"column":478}},{"source":"superscript.ts","name":null,"original":{"line":28,"column":16},"generated":{"line":1,"column":492}},{"source":"superscript.ts","name":null,"original":{"line":28,"column":16},"generated":{"line":1,"column":498}},{"source":"superscript.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":500}},{"source":"superscript.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":504}},{"source":"superscript.ts","name":null,"original":{"line":33,"column":11},"generated":{"line":1,"column":512}},{"source":"superscript.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":515}},{"source":"superscript.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":517}},{"source":"superscript.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":532}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":546}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":548}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":28},"generated":{"line":1,"column":564}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":28},"generated":{"line":1,"column":565}},{"source":"superscript.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":568}},{"source":"superscript.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":577}},{"source":"superscript.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":591}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":599}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":607}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":615}}],"sources":{"superscript.ts":"\r\nexport default class Superscript {\r\n static annotationName = 'superscript';\r\n\r\n static elementRenderer = (node: any): Element => {\r\n return document.createElement('sup');\r\n }\r\n\r\n static get selectionButton() {\r\n let el = document.createElement('button');\r\n el.setAttribute('data-type', this.annotationName);\r\n el.innerHTML = this.annotationName;\r\n let start;\r\n let end;\r\n\r\n el.addEventListener('selectionchange', (evt: CustomEvent) => {\r\n start = evt.detail.start;\r\n end = evt.detail.end;\r\n console.log('set start and end to', { start, end })\r\n });\r\n\r\n el.addEventListener('click', _ => {\r\n el.dispatchEvent(new CustomEvent('addAnnotation', {\r\n bubbles: true,\r\n composed: true,\r\n detail: {\r\n type: 'superscript',\r\n start,\r\n end\r\n }\r\n }));\r\n });\r\n return el;\r\n }\r\n}\r\n"},"lineCount":null}},"hash":"69d2a099c0f476f170680ce2eaa632ae","cacheData":{"env":{}}} | ||
{"id":"KovG","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});class e{static get selectionButton(){let e,t,n=document.createElement(\"button\");return n.setAttribute(\"data-type\",this.annotationName),n.innerHTML=this.annotationName,n.addEventListener(\"selectionchange\",n=>{e=n.detail.start,t=n.detail.end,console.log(\"set start and end to\",{start:e,end:t})}),n.addEventListener(\"click\",a=>{n.dispatchEvent(new CustomEvent(\"addAnnotation\",{bubbles:!0,composed:!0,detail:{type:\"superscript\",start:e,end:t}}))}),n}}e.annotationName=\"superscript\",e.elementRenderer=(e=>document.createElement(\"sup\")),exports.default=e;","map":{"mappings":[{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":0}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":13}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":20}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":35}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":43}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":56}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":57}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":64}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":68}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":21},"generated":{"line":1,"column":74}},{"source":"superscript.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":76}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":105}},{"source":"superscript.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":109}},{"source":"superscript.ts","name":null,"original":{"line":14,"column":8},"generated":{"line":1,"column":111}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":113}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":115}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":22},"generated":{"line":1,"column":124}},{"source":"superscript.ts","name":null,"original":{"line":10,"column":36},"generated":{"line":1,"column":138}},{"source":"superscript.ts","name":null,"original":{"line":33,"column":11},"generated":{"line":1,"column":148}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":4},"generated":{"line":1,"column":155}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":7},"generated":{"line":1,"column":157}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":20},"generated":{"line":1,"column":170}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":33},"generated":{"line":1,"column":182}},{"source":"superscript.ts","name":null,"original":{"line":11,"column":38},"generated":{"line":1,"column":187}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":1,"column":203}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":205}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":19},"generated":{"line":1,"column":215}},{"source":"superscript.ts","name":null,"original":{"line":12,"column":24},"generated":{"line":1,"column":220}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":1,"column":235}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":7},"generated":{"line":1,"column":237}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":24},"generated":{"line":1,"column":254}},{"source":"superscript.ts","name":null,"original":{"line":16,"column":44},"generated":{"line":1,"column":272}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":276}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":16},"generated":{"line":1,"column":278}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":20},"generated":{"line":1,"column":280}},{"source":"superscript.ts","name":null,"original":{"line":17,"column":27},"generated":{"line":1,"column":287}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":8},"generated":{"line":1,"column":293}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":14},"generated":{"line":1,"column":295}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":18},"generated":{"line":1,"column":297}},{"source":"superscript.ts","name":null,"original":{"line":18,"column":25},"generated":{"line":1,"column":304}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":8},"generated":{"line":1,"column":308}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":16},"generated":{"line":1,"column":316}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":20},"generated":{"line":1,"column":320}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":44},"generated":{"line":1,"column":343}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":46},"generated":{"line":1,"column":344}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":46},"generated":{"line":1,"column":350}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":53},"generated":{"line":1,"column":352}},{"source":"superscript.ts","name":null,"original":{"line":19,"column":53},"generated":{"line":1,"column":356}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":362}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":7},"generated":{"line":1,"column":364}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":24},"generated":{"line":1,"column":381}},{"source":"superscript.ts","name":null,"original":{"line":22,"column":33},"generated":{"line":1,"column":389}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":8},"generated":{"line":1,"column":393}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":11},"generated":{"line":1,"column":395}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":1,"column":409}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":29},"generated":{"line":1,"column":413}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":1,"column":425}},{"source":"superscript.ts","name":null,"original":{"line":23,"column":58},"generated":{"line":1,"column":441}},{"source":"superscript.ts","name":null,"original":{"line":24,"column":12},"generated":{"line":1,"column":442}},{"source":"superscript.ts","name":null,"original":{"line":24,"column":21},"generated":{"line":1,"column":451}},{"source":"superscript.ts","name":null,"original":{"line":25,"column":12},"generated":{"line":1,"column":453}},{"source":"superscript.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":1,"column":463}},{"source":"superscript.ts","name":null,"original":{"line":26,"column":12},"generated":{"line":1,"column":465}},{"source":"superscript.ts","name":null,"original":{"line":26,"column":20},"generated":{"line":1,"column":472}},{"source":"superscript.ts","name":null,"original":{"line":27,"column":16},"generated":{"line":1,"column":473}},{"source":"superscript.ts","name":null,"original":{"line":27,"column":22},"generated":{"line":1,"column":478}},{"source":"superscript.ts","name":null,"original":{"line":28,"column":16},"generated":{"line":1,"column":492}},{"source":"superscript.ts","name":null,"original":{"line":28,"column":16},"generated":{"line":1,"column":498}},{"source":"superscript.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":500}},{"source":"superscript.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":504}},{"source":"superscript.ts","name":null,"original":{"line":33,"column":11},"generated":{"line":1,"column":512}},{"source":"superscript.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":515}},{"source":"superscript.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":517}},{"source":"superscript.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":532}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":546}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":548}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":28},"generated":{"line":1,"column":564}},{"source":"superscript.ts","name":null,"original":{"line":5,"column":28},"generated":{"line":1,"column":565}},{"source":"superscript.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":568}},{"source":"superscript.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":577}},{"source":"superscript.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":591}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":599}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":607}},{"source":"superscript.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":615}}],"sources":{"superscript.ts":"\r\nexport default class Superscript {\r\n static annotationName = 'superscript';\r\n\r\n static elementRenderer = (node: any): Element => {\r\n return document.createElement('sup');\r\n }\r\n\r\n static get selectionButton() {\r\n let el = document.createElement('button');\r\n el.setAttribute('data-type', this.annotationName);\r\n el.innerHTML = this.annotationName;\r\n let start;\r\n let end;\r\n\r\n el.addEventListener('selectionchange', (evt: CustomEvent) => {\r\n start = evt.detail.start;\r\n end = evt.detail.end;\r\n console.log('set start and end to', { start, end })\r\n });\r\n\r\n el.addEventListener('click', _ => {\r\n el.dispatchEvent(new CustomEvent('addAnnotation', {\r\n bubbles: true,\r\n composed: true,\r\n detail: {\r\n type: 'superscript',\r\n start,\r\n end\r\n }\r\n }));\r\n });\r\n return el;\r\n }\r\n}\r\n"},"lineCount":null}},"hash":"69d2a099c0f476f170680ce2eaa632ae","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"Difz","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/subscript.ts","includedInParent":true,"mtime":1545342158133},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/subscript.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"subscript\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":213}}],"sources":{"../../../src/annotations/subscript.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Subscript extends InlineAnnotation {\n static type = 'subscript';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"2f2ab63dcb75251d9a9e69e68ad4cc74","cacheData":{"env":{}}} | ||
{"id":"Difz","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/subscript.ts","includedInParent":true,"mtime":1545342158133},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/subscript.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"subscript\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/subscript.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":213}}],"sources":{"../../../src/annotations/subscript.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Subscript extends InlineAnnotation {\n static type = 'subscript';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"2f2ab63dcb75251d9a9e69e68ad4cc74","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"MfpZ","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/join.ts","includedInParent":true,"mtime":1546877092688},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class t{constructor(t,e){this.leftJoin=t,this._joins=e}*[Symbol.iterator](){for(let t of this._joins)yield t}forEach(t){this._joins.forEach(t)}get length(){return this._joins.length}toJSON(){return[...this].map(t=>{let e={};return Object.keys(t).forEach(o=>{let n=t[o];return Array.isArray(n)?e[o]=n.map(t=>t.toJSON()):e[o]=n.toJSON(),e}),e})}outerJoin(e,o){if(e.document!==this.leftJoin.document)throw new Error(\"Joining annotations from two different documents is non-sensical. Refusing to continue.\");let n=new t(this.leftJoin,[]);return this._joins.forEach(t=>{let i=e.annotations.filter(e=>o(t,e));t[e.name]=i,n.push(t)}),n}join(t,e){return this.outerJoin(t,e).where(e=>e[t.name].length>0)}where(e){return new t(this.leftJoin,this._joins.filter(e))}push(t){this._joins.push(t)}update(t){this._joins.forEach(t)}}exports.default=t;","map":{"mappings":[{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":0}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":13}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":20}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":35}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":43}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":56}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":57}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":64}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":68}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":76}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":89}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":91}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":21},"generated":{"line":1,"column":97}},{"source":"../../src/join.ts","name":null,"original":{"line":82,"column":2},"generated":{"line":1,"column":99}},{"source":"../../src/join.ts","name":null,"original":{"line":82,"column":14},"generated":{"line":1,"column":111}},{"source":"../../src/join.ts","name":null,"original":{"line":82,"column":47},"generated":{"line":1,"column":113}},{"source":"../../src/join.ts","name":null,"original":{"line":83,"column":9},"generated":{"line":1,"column":116}},{"source":"../../src/join.ts","name":null,"original":{"line":83,"column":9},"generated":{"line":1,"column":121}},{"source":"../../src/join.ts","name":null,"original":{"line":83,"column":20},"generated":{"line":1,"column":130}},{"source":"../../src/join.ts","name":null,"original":{"line":84,"column":9},"generated":{"line":1,"column":132}},{"source":"../../src/join.ts","name":null,"original":{"line":84,"column":9},"generated":{"line":1,"column":137}},{"source":"../../src/join.ts","name":null,"original":{"line":84,"column":18},"generated":{"line":1,"column":144}},{"source":"../../src/join.ts","name":null,"original":{"line":87,"column":4},"generated":{"line":1,"column":146}},{"source":"../../src/join.ts","name":null,"original":{"line":87,"column":4},"generated":{"line":1,"column":148}},{"source":"../../src/join.ts","name":null,"original":{"line":87,"column":11},"generated":{"line":1,"column":155}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":1,"column":167}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":1,"column":171}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":13},"generated":{"line":1,"column":175}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":21},"generated":{"line":1,"column":180}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":26},"generated":{"line":1,"column":185}},{"source":"../../src/join.ts","name":null,"original":{"line":89,"column":12},"generated":{"line":1,"column":198}},{"source":"../../src/join.ts","name":null,"original":{"line":93,"column":2},"generated":{"line":1,"column":200}},{"source":"../../src/join.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":208}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":1,"column":211}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":1,"column":216}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":16},"generated":{"line":1,"column":223}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":24},"generated":{"line":1,"column":231}},{"source":"../../src/join.ts","name":null,"original":{"line":97,"column":6},"generated":{"line":1,"column":234}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":247}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":254}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":16},"generated":{"line":1,"column":259}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":23},"generated":{"line":1,"column":266}},{"source":"../../src/join.ts","name":null,"original":{"line":101,"column":2},"generated":{"line":1,"column":273}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":11},"generated":{"line":1,"column":282}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":11},"generated":{"line":1,"column":288}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":15},"generated":{"line":1,"column":292}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":21},"generated":{"line":1,"column":298}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":25},"generated":{"line":1,"column":302}},{"source":"../../src/join.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":306}},{"source":"../../src/join.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":310}},{"source":"../../src/join.ts","name":null,"original":{"line":103,"column":29},"generated":{"line":1,"column":312}},{"source":"../../src/join.ts","name":null,"original":{"line":113,"column":13},"generated":{"line":1,"column":315}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":6},"generated":{"line":1,"column":322}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":13},"generated":{"line":1,"column":329}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":18},"generated":{"line":1,"column":334}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":24},"generated":{"line":1,"column":337}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":32},"generated":{"line":1,"column":345}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":1,"column":349}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":1,"column":353}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":1,"column":355}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":39},"generated":{"line":1,"column":357}},{"source":"../../src/join.ts","name":null,"original":{"line":111,"column":15},"generated":{"line":1,"column":360}},{"source":"../../src/join.ts","name":null,"original":{"line":106,"column":12},"generated":{"line":1,"column":367}},{"source":"../../src/join.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":1,"column":373}},{"source":"../../src/join.ts","name":null,"original":{"line":106,"column":26},"generated":{"line":1,"column":381}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":10},"generated":{"line":1,"column":384}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":15},"generated":{"line":1,"column":386}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":22},"generated":{"line":1,"column":389}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":33},"generated":{"line":1,"column":391}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":37},"generated":{"line":1,"column":395}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":42},"generated":{"line":1,"column":398}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":44},"generated":{"line":1,"column":400}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":10},"generated":{"line":1,"column":410}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":15},"generated":{"line":1,"column":412}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":22},"generated":{"line":1,"column":415}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":33},"generated":{"line":1,"column":417}},{"source":"../../src/join.ts","name":null,"original":{"line":111,"column":15},"generated":{"line":1,"column":426}},{"source":"../../src/join.ts","name":null,"original":{"line":113,"column":13},"generated":{"line":1,"column":430}},{"source":"../../src/join.ts","name":null,"original":{"line":117,"column":2},"generated":{"line":1,"column":434}},{"source":"../../src/join.ts","name":null,"original":{"line":117,"column":30},"generated":{"line":1,"column":444}},{"source":"../../src/join.ts","name":null,"original":{"line":117,"column":67},"generated":{"line":1,"column":446}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":449}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":452}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":24},"generated":{"line":1,"column":454}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":1,"column":465}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":1,"column":470}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":51},"generated":{"line":1,"column":479}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":12},"generated":{"line":1,"column":488}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":12},"generated":{"line":1,"column":494}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":16},"generated":{"line":1,"column":498}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":22},"generated":{"line":1,"column":504}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":595}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":599}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":18},"generated":{"line":1,"column":601}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":22},"generated":{"line":1,"column":605}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":44},"generated":{"line":1,"column":607}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":49},"generated":{"line":1,"column":612}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":59},"generated":{"line":1,"column":621}},{"source":"../../src/join.ts","name":null,"original":{"line":140,"column":11},"generated":{"line":1,"column":625}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":1,"column":632}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":1,"column":637}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":16},"generated":{"line":1,"column":644}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":24},"generated":{"line":1,"column":652}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":10},"generated":{"line":1,"column":656}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":10},"generated":{"line":1,"column":660}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":28},"generated":{"line":1,"column":662}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":44},"generated":{"line":1,"column":664}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":56},"generated":{"line":1,"column":676}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":64},"generated":{"line":1,"column":683}},{"source":"../../src/join.ts","name":null,"original":{"line":129,"column":15},"generated":{"line":1,"column":686}},{"source":"../../src/join.ts","name":null,"original":{"line":129,"column":22},"generated":{"line":1,"column":688}},{"source":"../../src/join.ts","name":null,"original":{"line":129,"column":28},"generated":{"line":1,"column":690}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":7},"generated":{"line":1,"column":694}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":20},"generated":{"line":1,"column":696}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":36},"generated":{"line":1,"column":698}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":44},"generated":{"line":1,"column":704}},{"source":"../../src/join.ts","name":null,"original":{"line":137,"column":6},"generated":{"line":1,"column":706}},{"source":"../../src/join.ts","name":null,"original":{"line":137,"column":14},"generated":{"line":1,"column":708}},{"source":"../../src/join.ts","name":null,"original":{"line":137,"column":19},"generated":{"line":1,"column":713}},{"source":"../../src/join.ts","name":null,"original":{"line":140,"column":11},"generated":{"line":1,"column":718}},{"source":"../../src/join.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":720}},{"source":"../../src/join.ts","name":null,"original":{"line":143,"column":25},"generated":{"line":1,"column":725}},{"source":"../../src/join.ts","name":null,"original":{"line":143,"column":62},"generated":{"line":1,"column":727}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":11},"generated":{"line":1,"column":730}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":11},"generated":{"line":1,"column":737}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":16},"generated":{"line":1,"column":742}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":26},"generated":{"line":1,"column":752}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":43},"generated":{"line":1,"column":754}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":51},"generated":{"line":1,"column":757}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":57},"generated":{"line":1,"column":763}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":67},"generated":{"line":1,"column":766}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":74},"generated":{"line":1,"column":768}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":90},"generated":{"line":1,"column":770}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":96},"generated":{"line":1,"column":776}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":105},"generated":{"line":1,"column":783}},{"source":"../../src/join.ts","name":null,"original":{"line":147,"column":2},"generated":{"line":1,"column":786}},{"source":"../../src/join.ts","name":null,"original":{"line":147,"column":8},"generated":{"line":1,"column":792}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":11},"generated":{"line":1,"column":795}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":11},"generated":{"line":1,"column":802}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":15},"generated":{"line":1,"column":806}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":33},"generated":{"line":1,"column":808}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":38},"generated":{"line":1,"column":813}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":48},"generated":{"line":1,"column":822}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":53},"generated":{"line":1,"column":827}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":60},"generated":{"line":1,"column":834}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":67},"generated":{"line":1,"column":841}},{"source":"../../src/join.ts","name":null,"original":{"line":151,"column":2},"generated":{"line":1,"column":845}},{"source":"../../src/join.ts","name":null,"original":{"line":151,"column":7},"generated":{"line":1,"column":850}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":9},"generated":{"line":1,"column":853}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":9},"generated":{"line":1,"column":858}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":16},"generated":{"line":1,"column":865}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":21},"generated":{"line":1,"column":870}},{"source":"../../src/join.ts","name":null,"original":{"line":155,"column":2},"generated":{"line":1,"column":873}},{"source":"../../src/join.ts","name":null,"original":{"line":155,"column":9},"generated":{"line":1,"column":880}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":9},"generated":{"line":1,"column":883}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":9},"generated":{"line":1,"column":888}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":16},"generated":{"line":1,"column":895}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":24},"generated":{"line":1,"column":903}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":907}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":915}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":923}}],"sources":{"../../src/join.ts":"import Annotation from './annotation';\nimport { NamedCollection } from './collection';\nimport { JSONArray, JSONObject } from './json';\n\n/**\n * Joins are a way to identify related annotations and be able to do\n * something to them. Using joins with collections allows for targeting\n * a portion of a document to change.\n *\n * To give a good idea of how this works, below is a block of HTML that\n * we'd like to convert into a `ResponsivePhoto` annotation. The annotation\n * looks like:\n *\n * ```\n * interface ResponsivePhoto {\n * attributes: {\n * caption: string;\n * photos: string[];\n * }\n * }\n * ```\n *\n * The HTML that we'd like to transform is:\n *\n * ```\n * <figure>\n * <picture>\n * <source>\n * </source>\n * </picture>\n * <figcaption>\n * </figcaption>\n * </figure>\n * ```\n *\n * First, we convert the HTML into an annotation document:\n *\n * ```\n * let doc = new HTMLSource(html);\n * ```\n *\n * Then, we query the document for the elements we care about:\n *\n * ```\n * let figures = doc.where({ type: 'figure' }).as('figure');\n * let pictures = doc.where({ type: 'picture' }).as('pictures');\n * let sources = doc.where({ type: 'source' }).as('source');\n * let captions = doc.where({ type: 'figcaption' }).as('captions');\n * ```\n *\n * After we've collected the annotations we're interested in, we can\n * compose them into objects that we can distill into the ResponsivePhoto\n * annotation:\n *\n * ```\n * let join = figures.join(pictures, (l, r) => l.start < r.start && l.end > r.end)\n * .join(sources, (l, r) => l.start < r.start && l.end > r.end)\n * .join(captions, (l, r) => l.start < r.start && l.end > r.end)\n * ```\n *\n * This join now will allow us to update the document with the new annotation:\n *\n * ```\n * join.update(({ figure, pictures, sources, captions }) => {\n * doc.addAnnotation({\n * type: 'responsive-photo',\n * start: figure.start,\n * end: figure.end,\n * attributes: {\n * photos: sources,\n * caption: doc.content.slice(captions[0].start, captions[0].end)\n * }\n * });\n * doc.removeAnnotations(figure, ...pictures, ...sources, ...captions);\n * });\n * ```\n */\nexport default class Join<Left extends string, Right extends string> {\n private leftJoin: NamedCollection<Left>;\n private _joins: Array<Record<Left, Annotation> & Record<Right, Annotation[]>>;\n\n constructor(leftJoin: NamedCollection<Left>, joins: Array<Record<Left, Annotation> & Record<Right, Annotation[]>>) {\n this.leftJoin = leftJoin;\n this._joins = joins;\n }\n\n *[Symbol.iterator](): IterableIterator<Record<Left, Annotation> & Record<Right, Annotation[]>> {\n for (let join of this._joins) {\n yield join;\n }\n }\n\n forEach(callback: (join: Record<Left, Annotation> & Record<Right, Annotation[]>) => void) {\n this._joins.forEach(callback);\n }\n\n get length() {\n return this._joins.length;\n }\n\n toJSON(): JSONArray {\n return [...this].map(join => {\n let json: JSONObject = {};\n Object.keys(join).forEach(key => {\n let annotation = (join as any)[key] as Annotation | Annotation[];\n if (Array.isArray(annotation)) {\n json[key] = annotation.map(a => a.toJSON());\n } else {\n json[key] = annotation.toJSON();\n }\n return json;\n });\n return json;\n });\n }\n\n outerJoin<J extends string>(rightCollection: NamedCollection<J>, filter: (lhs: Record<Left, Annotation> & Record<Right, Annotation[]>, rhs: Annotation) => boolean): never | Join<Left, Right | J> {\n if (rightCollection.document !== this.leftJoin.document) {\n // n.b. there is a case that this is OK, if the right hand side's document is null,\n // then we're just joining on annotations that shouldn't have positions in\n // the document.\n throw new Error('Joining annotations from two different documents is non-sensical. Refusing to continue.');\n }\n\n let results = new Join<Left, Right | J>(this.leftJoin, []);\n\n this._joins.forEach(join => {\n let joinAnnotations = rightCollection.annotations.filter((rightAnnotation: Annotation) => {\n return filter(join, rightAnnotation);\n });\n\n type JoinItem = Record<Left, Annotation> & Record<Right | J, Annotation[]>;\n\n // TypeScript doesn't allow us to safely index this, even though\n // the type system should detect this\n (join as any)[rightCollection.name] = joinAnnotations;\n results.push(join as JoinItem);\n });\n\n return results;\n }\n\n join<J extends string>(rightCollection: NamedCollection<J>, filter: (lhs: Record<Left, Annotation> & Record<Right, Annotation[]>, rhs: Annotation) => boolean): never | Join<Left, Right | J> {\n return this.outerJoin(rightCollection, filter).where(record => record[rightCollection.name].length > 0);\n }\n\n where(filter: ((join: Record<Left, Annotation> & Record<Right, Annotation[]>) => boolean)): Join<Left, Right> {\n return new Join<Left, Right>(this.leftJoin, this._joins.filter(filter));\n }\n\n push(join: Record<Left, Annotation> & Record<Right, Annotation[]>) {\n this._joins.push(join);\n }\n\n update(callback: (join: Record<Left, Annotation> & Record<Right, Annotation[]>) => void) {\n this._joins.forEach(callback);\n }\n}\n"},"lineCount":null}},"hash":"ebbe3bdd5cb6dea0c69241500be784cf","cacheData":{"env":{}}} | ||
{"id":"MfpZ","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/join.ts","includedInParent":true,"mtime":1546877092688},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class t{constructor(t,e){this.leftJoin=t,this._joins=e}*[Symbol.iterator](){for(let t of this._joins)yield t}forEach(t){this._joins.forEach(t)}get length(){return this._joins.length}toJSON(){return[...this].map(t=>{let e={};return Object.keys(t).forEach(o=>{let n=t[o];return Array.isArray(n)?e[o]=n.map(t=>t.toJSON()):e[o]=n.toJSON(),e}),e})}outerJoin(e,o){if(e.document!==this.leftJoin.document)throw new Error(\"Joining annotations from two different documents is non-sensical. Refusing to continue.\");let n=new t(this.leftJoin,[]);return this._joins.forEach(t=>{let i=e.annotations.filter(e=>o(t,e));t[e.name]=i,n.push(t)}),n}join(t,e){return this.outerJoin(t,e).where(e=>e[t.name].length>0)}where(e){return new t(this.leftJoin,this._joins.filter(e))}push(t){this._joins.push(t)}update(t){this._joins.forEach(t)}}exports.default=t;","map":{"mappings":[{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":0}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":13}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":20}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":35}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":43}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":56}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":57}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":64}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":68}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":76}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":89}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":91}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":21},"generated":{"line":1,"column":97}},{"source":"../../src/join.ts","name":null,"original":{"line":82,"column":2},"generated":{"line":1,"column":99}},{"source":"../../src/join.ts","name":null,"original":{"line":82,"column":14},"generated":{"line":1,"column":111}},{"source":"../../src/join.ts","name":null,"original":{"line":82,"column":47},"generated":{"line":1,"column":113}},{"source":"../../src/join.ts","name":null,"original":{"line":83,"column":9},"generated":{"line":1,"column":116}},{"source":"../../src/join.ts","name":null,"original":{"line":83,"column":9},"generated":{"line":1,"column":121}},{"source":"../../src/join.ts","name":null,"original":{"line":83,"column":20},"generated":{"line":1,"column":130}},{"source":"../../src/join.ts","name":null,"original":{"line":84,"column":9},"generated":{"line":1,"column":132}},{"source":"../../src/join.ts","name":null,"original":{"line":84,"column":9},"generated":{"line":1,"column":137}},{"source":"../../src/join.ts","name":null,"original":{"line":84,"column":18},"generated":{"line":1,"column":144}},{"source":"../../src/join.ts","name":null,"original":{"line":87,"column":4},"generated":{"line":1,"column":146}},{"source":"../../src/join.ts","name":null,"original":{"line":87,"column":4},"generated":{"line":1,"column":148}},{"source":"../../src/join.ts","name":null,"original":{"line":87,"column":11},"generated":{"line":1,"column":155}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":1,"column":167}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":1,"column":171}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":13},"generated":{"line":1,"column":175}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":21},"generated":{"line":1,"column":180}},{"source":"../../src/join.ts","name":null,"original":{"line":88,"column":26},"generated":{"line":1,"column":185}},{"source":"../../src/join.ts","name":null,"original":{"line":89,"column":12},"generated":{"line":1,"column":198}},{"source":"../../src/join.ts","name":null,"original":{"line":93,"column":2},"generated":{"line":1,"column":200}},{"source":"../../src/join.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":208}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":1,"column":211}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":1,"column":216}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":16},"generated":{"line":1,"column":223}},{"source":"../../src/join.ts","name":null,"original":{"line":94,"column":24},"generated":{"line":1,"column":231}},{"source":"../../src/join.ts","name":null,"original":{"line":97,"column":6},"generated":{"line":1,"column":234}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":247}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":254}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":16},"generated":{"line":1,"column":259}},{"source":"../../src/join.ts","name":null,"original":{"line":98,"column":23},"generated":{"line":1,"column":266}},{"source":"../../src/join.ts","name":null,"original":{"line":101,"column":2},"generated":{"line":1,"column":273}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":11},"generated":{"line":1,"column":282}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":11},"generated":{"line":1,"column":288}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":15},"generated":{"line":1,"column":292}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":21},"generated":{"line":1,"column":298}},{"source":"../../src/join.ts","name":null,"original":{"line":102,"column":25},"generated":{"line":1,"column":302}},{"source":"../../src/join.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":306}},{"source":"../../src/join.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":310}},{"source":"../../src/join.ts","name":null,"original":{"line":103,"column":29},"generated":{"line":1,"column":312}},{"source":"../../src/join.ts","name":null,"original":{"line":113,"column":13},"generated":{"line":1,"column":315}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":6},"generated":{"line":1,"column":322}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":13},"generated":{"line":1,"column":329}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":18},"generated":{"line":1,"column":334}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":24},"generated":{"line":1,"column":337}},{"source":"../../src/join.ts","name":null,"original":{"line":104,"column":32},"generated":{"line":1,"column":345}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":1,"column":349}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":1,"column":353}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":1,"column":355}},{"source":"../../src/join.ts","name":null,"original":{"line":105,"column":39},"generated":{"line":1,"column":357}},{"source":"../../src/join.ts","name":null,"original":{"line":111,"column":15},"generated":{"line":1,"column":360}},{"source":"../../src/join.ts","name":null,"original":{"line":106,"column":12},"generated":{"line":1,"column":367}},{"source":"../../src/join.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":1,"column":373}},{"source":"../../src/join.ts","name":null,"original":{"line":106,"column":26},"generated":{"line":1,"column":381}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":10},"generated":{"line":1,"column":384}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":15},"generated":{"line":1,"column":386}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":22},"generated":{"line":1,"column":389}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":33},"generated":{"line":1,"column":391}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":37},"generated":{"line":1,"column":395}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":42},"generated":{"line":1,"column":398}},{"source":"../../src/join.ts","name":null,"original":{"line":107,"column":44},"generated":{"line":1,"column":400}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":10},"generated":{"line":1,"column":410}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":15},"generated":{"line":1,"column":412}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":22},"generated":{"line":1,"column":415}},{"source":"../../src/join.ts","name":null,"original":{"line":109,"column":33},"generated":{"line":1,"column":417}},{"source":"../../src/join.ts","name":null,"original":{"line":111,"column":15},"generated":{"line":1,"column":426}},{"source":"../../src/join.ts","name":null,"original":{"line":113,"column":13},"generated":{"line":1,"column":430}},{"source":"../../src/join.ts","name":null,"original":{"line":117,"column":2},"generated":{"line":1,"column":434}},{"source":"../../src/join.ts","name":null,"original":{"line":117,"column":30},"generated":{"line":1,"column":444}},{"source":"../../src/join.ts","name":null,"original":{"line":117,"column":67},"generated":{"line":1,"column":446}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":449}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":452}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":24},"generated":{"line":1,"column":454}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":1,"column":465}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":1,"column":470}},{"source":"../../src/join.ts","name":null,"original":{"line":118,"column":51},"generated":{"line":1,"column":479}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":12},"generated":{"line":1,"column":488}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":12},"generated":{"line":1,"column":494}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":16},"generated":{"line":1,"column":498}},{"source":"../../src/join.ts","name":null,"original":{"line":122,"column":22},"generated":{"line":1,"column":504}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":595}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":599}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":18},"generated":{"line":1,"column":601}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":22},"generated":{"line":1,"column":605}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":44},"generated":{"line":1,"column":607}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":49},"generated":{"line":1,"column":612}},{"source":"../../src/join.ts","name":null,"original":{"line":125,"column":59},"generated":{"line":1,"column":621}},{"source":"../../src/join.ts","name":null,"original":{"line":140,"column":11},"generated":{"line":1,"column":625}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":1,"column":632}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":1,"column":637}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":16},"generated":{"line":1,"column":644}},{"source":"../../src/join.ts","name":null,"original":{"line":127,"column":24},"generated":{"line":1,"column":652}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":10},"generated":{"line":1,"column":656}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":10},"generated":{"line":1,"column":660}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":28},"generated":{"line":1,"column":662}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":44},"generated":{"line":1,"column":664}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":56},"generated":{"line":1,"column":676}},{"source":"../../src/join.ts","name":null,"original":{"line":128,"column":64},"generated":{"line":1,"column":683}},{"source":"../../src/join.ts","name":null,"original":{"line":129,"column":15},"generated":{"line":1,"column":686}},{"source":"../../src/join.ts","name":null,"original":{"line":129,"column":22},"generated":{"line":1,"column":688}},{"source":"../../src/join.ts","name":null,"original":{"line":129,"column":28},"generated":{"line":1,"column":690}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":7},"generated":{"line":1,"column":694}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":20},"generated":{"line":1,"column":696}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":36},"generated":{"line":1,"column":698}},{"source":"../../src/join.ts","name":null,"original":{"line":136,"column":44},"generated":{"line":1,"column":704}},{"source":"../../src/join.ts","name":null,"original":{"line":137,"column":6},"generated":{"line":1,"column":706}},{"source":"../../src/join.ts","name":null,"original":{"line":137,"column":14},"generated":{"line":1,"column":708}},{"source":"../../src/join.ts","name":null,"original":{"line":137,"column":19},"generated":{"line":1,"column":713}},{"source":"../../src/join.ts","name":null,"original":{"line":140,"column":11},"generated":{"line":1,"column":718}},{"source":"../../src/join.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":720}},{"source":"../../src/join.ts","name":null,"original":{"line":143,"column":25},"generated":{"line":1,"column":725}},{"source":"../../src/join.ts","name":null,"original":{"line":143,"column":62},"generated":{"line":1,"column":727}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":11},"generated":{"line":1,"column":730}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":11},"generated":{"line":1,"column":737}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":16},"generated":{"line":1,"column":742}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":26},"generated":{"line":1,"column":752}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":43},"generated":{"line":1,"column":754}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":51},"generated":{"line":1,"column":757}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":57},"generated":{"line":1,"column":763}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":67},"generated":{"line":1,"column":766}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":74},"generated":{"line":1,"column":768}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":90},"generated":{"line":1,"column":770}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":96},"generated":{"line":1,"column":776}},{"source":"../../src/join.ts","name":null,"original":{"line":144,"column":105},"generated":{"line":1,"column":783}},{"source":"../../src/join.ts","name":null,"original":{"line":147,"column":2},"generated":{"line":1,"column":786}},{"source":"../../src/join.ts","name":null,"original":{"line":147,"column":8},"generated":{"line":1,"column":792}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":11},"generated":{"line":1,"column":795}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":11},"generated":{"line":1,"column":802}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":15},"generated":{"line":1,"column":806}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":33},"generated":{"line":1,"column":808}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":38},"generated":{"line":1,"column":813}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":48},"generated":{"line":1,"column":822}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":53},"generated":{"line":1,"column":827}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":60},"generated":{"line":1,"column":834}},{"source":"../../src/join.ts","name":null,"original":{"line":148,"column":67},"generated":{"line":1,"column":841}},{"source":"../../src/join.ts","name":null,"original":{"line":151,"column":2},"generated":{"line":1,"column":845}},{"source":"../../src/join.ts","name":null,"original":{"line":151,"column":7},"generated":{"line":1,"column":850}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":9},"generated":{"line":1,"column":853}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":9},"generated":{"line":1,"column":858}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":16},"generated":{"line":1,"column":865}},{"source":"../../src/join.ts","name":null,"original":{"line":152,"column":21},"generated":{"line":1,"column":870}},{"source":"../../src/join.ts","name":null,"original":{"line":155,"column":2},"generated":{"line":1,"column":873}},{"source":"../../src/join.ts","name":null,"original":{"line":155,"column":9},"generated":{"line":1,"column":880}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":9},"generated":{"line":1,"column":883}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":9},"generated":{"line":1,"column":888}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":16},"generated":{"line":1,"column":895}},{"source":"../../src/join.ts","name":null,"original":{"line":156,"column":24},"generated":{"line":1,"column":903}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":907}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":915}},{"source":"../../src/join.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":1,"column":923}}],"sources":{"../../src/join.ts":"import Annotation from './annotation';\nimport { NamedCollection } from './collection';\nimport { JSONArray, JSONObject } from './json';\n\n/**\n * Joins are a way to identify related annotations and be able to do\n * something to them. Using joins with collections allows for targeting\n * a portion of a document to change.\n *\n * To give a good idea of how this works, below is a block of HTML that\n * we'd like to convert into a `ResponsivePhoto` annotation. The annotation\n * looks like:\n *\n * ```\n * interface ResponsivePhoto {\n * attributes: {\n * caption: string;\n * photos: string[];\n * }\n * }\n * ```\n *\n * The HTML that we'd like to transform is:\n *\n * ```\n * <figure>\n * <picture>\n * <source>\n * </source>\n * </picture>\n * <figcaption>\n * </figcaption>\n * </figure>\n * ```\n *\n * First, we convert the HTML into an annotation document:\n *\n * ```\n * let doc = new HTMLSource(html);\n * ```\n *\n * Then, we query the document for the elements we care about:\n *\n * ```\n * let figures = doc.where({ type: 'figure' }).as('figure');\n * let pictures = doc.where({ type: 'picture' }).as('pictures');\n * let sources = doc.where({ type: 'source' }).as('source');\n * let captions = doc.where({ type: 'figcaption' }).as('captions');\n * ```\n *\n * After we've collected the annotations we're interested in, we can\n * compose them into objects that we can distill into the ResponsivePhoto\n * annotation:\n *\n * ```\n * let join = figures.join(pictures, (l, r) => l.start < r.start && l.end > r.end)\n * .join(sources, (l, r) => l.start < r.start && l.end > r.end)\n * .join(captions, (l, r) => l.start < r.start && l.end > r.end)\n * ```\n *\n * This join now will allow us to update the document with the new annotation:\n *\n * ```\n * join.update(({ figure, pictures, sources, captions }) => {\n * doc.addAnnotation({\n * type: 'responsive-photo',\n * start: figure.start,\n * end: figure.end,\n * attributes: {\n * photos: sources,\n * caption: doc.content.slice(captions[0].start, captions[0].end)\n * }\n * });\n * doc.removeAnnotations(figure, ...pictures, ...sources, ...captions);\n * });\n * ```\n */\nexport default class Join<Left extends string, Right extends string> {\n private leftJoin: NamedCollection<Left>;\n private _joins: Array<Record<Left, Annotation> & Record<Right, Annotation[]>>;\n\n constructor(leftJoin: NamedCollection<Left>, joins: Array<Record<Left, Annotation> & Record<Right, Annotation[]>>) {\n this.leftJoin = leftJoin;\n this._joins = joins;\n }\n\n *[Symbol.iterator](): IterableIterator<Record<Left, Annotation> & Record<Right, Annotation[]>> {\n for (let join of this._joins) {\n yield join;\n }\n }\n\n forEach(callback: (join: Record<Left, Annotation> & Record<Right, Annotation[]>) => void) {\n this._joins.forEach(callback);\n }\n\n get length() {\n return this._joins.length;\n }\n\n toJSON(): JSONArray {\n return [...this].map(join => {\n let json: JSONObject = {};\n Object.keys(join).forEach(key => {\n let annotation = (join as any)[key] as Annotation | Annotation[];\n if (Array.isArray(annotation)) {\n json[key] = annotation.map(a => a.toJSON());\n } else {\n json[key] = annotation.toJSON();\n }\n return json;\n });\n return json;\n });\n }\n\n outerJoin<J extends string>(rightCollection: NamedCollection<J>, filter: (lhs: Record<Left, Annotation> & Record<Right, Annotation[]>, rhs: Annotation) => boolean): never | Join<Left, Right | J> {\n if (rightCollection.document !== this.leftJoin.document) {\n // n.b. there is a case that this is OK, if the right hand side's document is null,\n // then we're just joining on annotations that shouldn't have positions in\n // the document.\n throw new Error('Joining annotations from two different documents is non-sensical. Refusing to continue.');\n }\n\n let results = new Join<Left, Right | J>(this.leftJoin, []);\n\n this._joins.forEach(join => {\n let joinAnnotations = rightCollection.annotations.filter((rightAnnotation: Annotation) => {\n return filter(join, rightAnnotation);\n });\n\n type JoinItem = Record<Left, Annotation> & Record<Right | J, Annotation[]>;\n\n // TypeScript doesn't allow us to safely index this, even though\n // the type system should detect this\n (join as any)[rightCollection.name] = joinAnnotations;\n results.push(join as JoinItem);\n });\n\n return results;\n }\n\n join<J extends string>(rightCollection: NamedCollection<J>, filter: (lhs: Record<Left, Annotation> & Record<Right, Annotation[]>, rhs: Annotation) => boolean): never | Join<Left, Right | J> {\n return this.outerJoin(rightCollection, filter).where(record => record[rightCollection.name].length > 0);\n }\n\n where(filter: ((join: Record<Left, Annotation> & Record<Right, Annotation[]>) => boolean)): Join<Left, Right> {\n return new Join<Left, Right>(this.leftJoin, this._joins.filter(filter));\n }\n\n push(join: Record<Left, Annotation> & Record<Right, Annotation[]>) {\n this._joins.push(join);\n }\n\n update(callback: (join: Record<Left, Annotation> & Record<Right, Annotation[]>) => void) {\n this._joins.forEach(callback);\n }\n}\n"},"lineCount":null}},"hash":"ebbe3bdd5cb6dea0c69241500be784cf","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"3i4e","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/blockquote.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"blockquote\")}}exports.default=e,e.annotationName=\"blockquote\";","map":{"mappings":[{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":187}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":189}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":204}}],"sources":{"../../../src/components/blockquote.ts":"export default class OffsetBlockquoteElement {\n\n static annotationName = 'blockquote';\n\n static elementRenderer(): Element {\n return document.createElement('blockquote');\n }\n}\n"},"lineCount":null}},"hash":"bc39b6f80201fe0afb7feb8423db8dde","cacheData":{"env":{}}} | ||
{"id":"3i4e","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/blockquote.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"blockquote\")}}exports.default=e,e.annotationName=\"blockquote\";","map":{"mappings":[{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":187}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":189}},{"source":"../../../src/components/blockquote.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":204}}],"sources":{"../../../src/components/blockquote.ts":"export default class OffsetBlockquoteElement {\n\n static annotationName = 'blockquote';\n\n static elementRenderer(): Element {\n return document.createElement('blockquote');\n }\n}\n"},"lineCount":null}},"hash":"bc39b6f80201fe0afb7feb8423db8dde","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"xYmh","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503},{"name":"./lib/rng","loc":{"line":1,"column":18},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v4.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/rng-browser.js"},{"name":"./lib/bytesToUuid","loc":{"line":2,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v4.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/bytesToUuid.js"}],"generated":{"js":"var r=require(\"./lib/rng\"),n=require(\"./lib/bytesToUuid\");function e(e,i,u){var a=i&&u||0;\"string\"==typeof e&&(i=\"binary\"===e?new Array(16):null,e=null);var l=(e=e||{}).random||(e.rng||r)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,i)for(var o=0;o<16;++o)i[a+o]=l[o];return i||n(l)}module.exports=e;","map":{"mappings":[{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":14}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":2,"column":0},"generated":{"line":1,"column":27}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":2,"column":0},"generated":{"line":1,"column":29}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":2,"column":0},"generated":{"line":1,"column":37}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":58}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":67}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":69}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":71}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":73}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":76}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":80}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":82}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":85}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":7,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":7,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":111}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":124}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":126}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":136}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":140}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":9,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":9,"column":0},"generated":{"line":1,"column":147}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":153}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":157}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":11,"column":0},"generated":{"line":1,"column":160}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":11,"column":0},"generated":{"line":1,"column":162}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":11,"column":0},"generated":{"line":1,"column":165}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":169}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":178}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":180}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":185}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":20,"column":0},"generated":{"line":1,"column":190}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":193}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":195}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":198}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":201}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":203}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":206}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":209}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":211}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":214}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":219}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":222}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":20,"column":0},"generated":{"line":1,"column":226}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":228}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":232}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":236}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":238}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":240}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":242}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":247}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":249}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":251}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":253}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":256}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":258}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":261}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":268}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":273}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":29,"column":0},"generated":{"line":1,"column":276}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":29,"column":0},"generated":{"line":1,"column":283}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":29,"column":0},"generated":{"line":1,"column":291}}],"sources":{"../../../../node_modules/uuid/v4.js":"var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n"},"lineCount":null}},"hash":"5e61b2a50fa47d0d3910bc716aa7c824","cacheData":{"env":{}}} | ||
{"id":"xYmh","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503},{"name":"./lib/rng","loc":{"line":1,"column":18},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v4.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/rng-browser.js"},{"name":"./lib/bytesToUuid","loc":{"line":2,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v4.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/bytesToUuid.js"}],"generated":{"js":"var r=require(\"./lib/rng\"),n=require(\"./lib/bytesToUuid\");function e(e,i,u){var a=i&&u||0;\"string\"==typeof e&&(i=\"binary\"===e?new Array(16):null,e=null);var l=(e=e||{}).random||(e.rng||r)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,i)for(var o=0;o<16;++o)i[a+o]=l[o];return i||n(l)}module.exports=e;","map":{"mappings":[{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":1,"column":0},"generated":{"line":1,"column":14}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":2,"column":0},"generated":{"line":1,"column":27}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":2,"column":0},"generated":{"line":1,"column":29}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":2,"column":0},"generated":{"line":1,"column":37}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":58}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":67}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":69}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":71}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":4,"column":0},"generated":{"line":1,"column":73}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":76}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":80}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":82}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":85}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":5,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":7,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":7,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":111}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":124}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":126}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":136}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":8,"column":0},"generated":{"line":1,"column":140}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":9,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":9,"column":0},"generated":{"line":1,"column":147}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":153}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":157}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":11,"column":0},"generated":{"line":1,"column":160}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":11,"column":0},"generated":{"line":1,"column":162}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":11,"column":0},"generated":{"line":1,"column":165}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":169}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":178}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":180}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":13,"column":0},"generated":{"line":1,"column":185}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":20,"column":0},"generated":{"line":1,"column":190}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":193}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":195}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":198}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":201}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":203}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":16,"column":0},"generated":{"line":1,"column":206}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":209}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":211}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":214}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":219}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":17,"column":0},"generated":{"line":1,"column":222}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":20,"column":0},"generated":{"line":1,"column":226}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":228}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":232}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":236}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":238}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":240}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":242}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":21,"column":0},"generated":{"line":1,"column":247}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":249}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":251}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":253}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":256}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":22,"column":0},"generated":{"line":1,"column":258}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":261}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":268}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":26,"column":0},"generated":{"line":1,"column":273}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":29,"column":0},"generated":{"line":1,"column":276}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":29,"column":0},"generated":{"line":1,"column":283}},{"source":"../../../../node_modules/uuid/v4.js","original":{"line":29,"column":0},"generated":{"line":1,"column":291}}],"sources":{"../../../../node_modules/uuid/v4.js":"var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n"},"lineCount":null}},"hash":"5e61b2a50fa47d0d3910bc716aa7c824","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"WQS6","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/link.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/link.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"link\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":208}}],"sources":{"../../../src/annotations/link.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Link extends InlineAnnotation {\n static type = 'link';\n static vendorPrefix = 'offset';\n attributes!: {\n url: string;\n title: string;\n };\n}\n"},"lineCount":null}},"hash":"04d7e659c855664613f963cb4ef0a02f","cacheData":{"env":{}}} | ||
{"id":"WQS6","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/link.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/link.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"link\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/link.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":208}}],"sources":{"../../../src/annotations/link.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Link extends InlineAnnotation {\n static type = 'link';\n static vendorPrefix = 'offset';\n attributes!: {\n url: string;\n title: string;\n };\n}\n"},"lineCount":null}},"hash":"04d7e659c855664613f963cb4ef0a02f","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"bkpR","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"../mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"},{"name":"./annotations-inspector","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts"},{"name":"./character-counter","loc":{"line":8,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/character-counter.ts"}],"generated":{"js":"\"use strict\";var n=this&&this.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=n(require(\"../mixins/component\"));require(\"./annotations-inspector\"),require(\"./character-counter\");class e extends t.default{updatePosition({start:n,end:t}){this.shadowRoot.querySelector(\".start\").textContent=n,this.shadowRoot.querySelector(\".end\").textContent=t,n===t?this.shadowRoot.querySelector(\".position\").classList.add(\"is-caret\"):this.shadowRoot.querySelector(\".position\").classList.remove(\"is-caret\")}setDocument(n){this.document=n,this.shadowRoot.querySelector(\"annotations-inspector\").setDocument(n),this.document.addEventListener(\"change\",()=>{this.deferred&&clearTimeout(this.deferred),this.deferred=setTimeout(()=>{this.shadowRoot.querySelector(\"character-counter\").setAttribute(\"content\",this.document.content)},500)})}setSelection(n){n.addEventListener(\"change\",n=>{this.selDeferred&&clearTimeout(this.selDeferred),this.selDeferred=setTimeout(t=>{let e=this.shadowRoot.querySelector(\"character-counter\");e.setAttribute(\"start\",n.detail.start),e.setAttribute(\"end\",n.detail.end),this.updatePosition(n.detail)},500)})}}e.template='\\n <div class=\"heading\"><div>AtJSON</div></div>\\n <section class=\"content\">\\n <div class=\"heading\"><div>Content</div></div>\\n <div class=\\'position\\'>\\n <span class=\\'start\\'></span>\\n <span class=\\'end\\'></span>\\n </div>\\n <div class=\"cc-container\">\\n <character-counter start=\"0\" end=\"0\" length=\"0\"></character-counter>\\n </div>\\n </section>\\n\\n <section class=\"annotations\">\\n <div class=\"heading\"><div>Annotations</div></div>\\n <annotations-inspector class=\"annotations\"></annotations-inspector>\\n </section>',e.style=\"\\n .heading {\\n font-size: 12px;\\n line-height: 15px;\\n height: 26px;\\n font-family: helvetica;\\n background-color: #f3f3f3;\\n color: #333;\\n padding: 0;\\n margin: 0;\\n font-weight: normal;\\n font-family: 'Segoe UI', Tahoma, sans-serif;\\n border-bottom: 1px solid #ccc;\\n display: flex;\\n flex-direction: row;\\n }\\n\\n .heading > div {\\n padding: 4px 1em;\\n border-bottom: 2px solid #03a9f4;\\n }\\n\\n .content {\\n margin-top: 1em;\\n }\\n\\n section > .heading {\\n border-top: 1px solid #ccc;\\n background-color: #f6f6f6;\\n }\\n\\n section > .heading > div {\\n border-bottom: none;\\n }\\n\\n .content {\\n font-family: Consolas, Lucida Console, Courier New, monospace;\\n position: relative;\\n box-sizing: border;\\n }\\n\\n .content .open, .content .close {\\n color: #333;\\n font-weight: bold\\n }\\n\\n .cc-container {\\n max-width: 100%;\\n overflow-x: auto;\\n margin: 0 6px 5px 6px;\\n }\\n\\n .position {\\n position: absolute;\\n top: 1ex;\\n right: 1ex;\\n }\\n\\n .position.is-caret .end {\\n display: none;\\n }\\n \",exports.default=e,window.customElements.get(\"inspector-gadget\")||window.customElements.define(\"inspector-gadget\",e);","map":{"mappings":[{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":194}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":202}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":229}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":237}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":260}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":21},"generated":{"line":1,"column":266}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":45},"generated":{"line":1,"column":276}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":45},"generated":{"line":1,"column":278}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":2},"generated":{"line":1,"column":286}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":17},"generated":{"line":1,"column":302}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":1,"column":308}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":17},"generated":{"line":1,"column":310}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":25},"generated":{"line":1,"column":314}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":318}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":323}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":20},"generated":{"line":1,"column":334}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":34},"generated":{"line":1,"column":348}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":44},"generated":{"line":1,"column":358}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":58},"generated":{"line":1,"column":370}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":9},"generated":{"line":1,"column":372}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":9},"generated":{"line":1,"column":377}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":20},"generated":{"line":1,"column":388}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":34},"generated":{"line":1,"column":402}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":42},"generated":{"line":1,"column":410}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":56},"generated":{"line":1,"column":422}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":1,"column":424}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":95,"column":18},"generated":{"line":1,"column":428}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":11},"generated":{"line":1,"column":430}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":11},"generated":{"line":1,"column":435}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":22},"generated":{"line":1,"column":446}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":36},"generated":{"line":1,"column":460}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":49},"generated":{"line":1,"column":473}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":59},"generated":{"line":1,"column":483}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":63},"generated":{"line":1,"column":487}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":499}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":504}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":22},"generated":{"line":1,"column":515}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":36},"generated":{"line":1,"column":529}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":49},"generated":{"line":1,"column":542}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":59},"generated":{"line":1,"column":552}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":66},"generated":{"line":1,"column":559}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":102,"column":2},"generated":{"line":1,"column":571}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":1,"column":583}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":103,"column":9},"generated":{"line":1,"column":586}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":103,"column":9},"generated":{"line":1,"column":591}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":103,"column":20},"generated":{"line":1,"column":600}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":9},"generated":{"line":1,"column":602}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":9},"generated":{"line":1,"column":607}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":20},"generated":{"line":1,"column":618}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":34},"generated":{"line":1,"column":632}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":59},"generated":{"line":1,"column":657}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":71},"generated":{"line":1,"column":669}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":9},"generated":{"line":1,"column":672}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":9},"generated":{"line":1,"column":677}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":18},"generated":{"line":1,"column":686}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":35},"generated":{"line":1,"column":703}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":46},"generated":{"line":1,"column":712}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":10},"generated":{"line":1,"column":717}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":15},"generated":{"line":1,"column":722}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":1,"column":732}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":38},"generated":{"line":1,"column":745}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":43},"generated":{"line":1,"column":750}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":11},"generated":{"line":1,"column":760}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":11},"generated":{"line":1,"column":765}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":22},"generated":{"line":1,"column":774}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":33},"generated":{"line":1,"column":785}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":26},"generated":{"line":1,"column":790}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":31},"generated":{"line":1,"column":795}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":42},"generated":{"line":1,"column":806}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":56},"generated":{"line":1,"column":820}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":20},"generated":{"line":1,"column":841}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":33},"generated":{"line":1,"column":854}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":44},"generated":{"line":1,"column":864}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":49},"generated":{"line":1,"column":869}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":58},"generated":{"line":1,"column":878}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":110,"column":9},"generated":{"line":1,"column":888}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":114,"column":2},"generated":{"line":1,"column":895}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":114,"column":15},"generated":{"line":1,"column":908}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":4},"generated":{"line":1,"column":911}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":7},"generated":{"line":1,"column":913}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":1,"column":930}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":34},"generated":{"line":1,"column":939}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":1,"column":943}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":15},"generated":{"line":1,"column":948}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":28},"generated":{"line":1,"column":961}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":41},"generated":{"line":1,"column":974}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":46},"generated":{"line":1,"column":979}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":11},"generated":{"line":1,"column":992}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":11},"generated":{"line":1,"column":997}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":25},"generated":{"line":1,"column":1009}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":36},"generated":{"line":1,"column":1020}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":12},"generated":{"line":1,"column":1024}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":12},"generated":{"line":1,"column":1028}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":26},"generated":{"line":1,"column":1030}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":1,"column":1035}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":1,"column":1046}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":56},"generated":{"line":1,"column":1060}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":8},"generated":{"line":1,"column":1081}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":20},"generated":{"line":1,"column":1083}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":33},"generated":{"line":1,"column":1096}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":42},"generated":{"line":1,"column":1104}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":46},"generated":{"line":1,"column":1106}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":53},"generated":{"line":1,"column":1113}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":8},"generated":{"line":1,"column":1120}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":20},"generated":{"line":1,"column":1122}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":33},"generated":{"line":1,"column":1135}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":40},"generated":{"line":1,"column":1141}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":44},"generated":{"line":1,"column":1143}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":51},"generated":{"line":1,"column":1150}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":13},"generated":{"line":1,"column":1155}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":13},"generated":{"line":1,"column":1160}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":28},"generated":{"line":1,"column":1175}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":32},"generated":{"line":1,"column":1177}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":122,"column":9},"generated":{"line":1,"column":1186}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1194}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1196}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":1205}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1791}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1793}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":26,"column":17},"generated":{"line":1,"column":1799}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":3011}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":3019}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":3027}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":5},"generated":{"line":1,"column":3029}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":12},"generated":{"line":1,"column":3036}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":27},"generated":{"line":1,"column":3051}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":31},"generated":{"line":1,"column":3055}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":2},"generated":{"line":1,"column":3076}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":9},"generated":{"line":1,"column":3083}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":24},"generated":{"line":1,"column":3098}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":31},"generated":{"line":1,"column":3105}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":51},"generated":{"line":1,"column":3124}}],"sources":{"../src/document-inspector/index.ts":"import Document from '@atjson/document';\nimport WebComponent from '../mixins/component';\nimport './annotations-inspector';\nimport './character-counter';\n\nexport default class InspectorGadget extends WebComponent {\n\n static template = `\n <div class=\"heading\"><div>AtJSON</div></div>\n <section class=\"content\">\n <div class=\"heading\"><div>Content</div></div>\n <div class='position'>\n <span class='start'></span>\n <span class='end'></span>\n </div>\n <div class=\"cc-container\">\n <character-counter start=\"0\" end=\"0\" length=\"0\"></character-counter>\n </div>\n </section>\n\n <section class=\"annotations\">\n <div class=\"heading\"><div>Annotations</div></div>\n <annotations-inspector class=\"annotations\"></annotations-inspector>\n </section>`;\n\n static style = `\n .heading {\n font-size: 12px;\n line-height: 15px;\n height: 26px;\n font-family: helvetica;\n background-color: #f3f3f3;\n color: #333;\n padding: 0;\n margin: 0;\n font-weight: normal;\n font-family: 'Segoe UI', Tahoma, sans-serif;\n border-bottom: 1px solid #ccc;\n display: flex;\n flex-direction: row;\n }\n\n .heading > div {\n padding: 4px 1em;\n border-bottom: 2px solid #03a9f4;\n }\n\n .content {\n margin-top: 1em;\n }\n\n section > .heading {\n border-top: 1px solid #ccc;\n background-color: #f6f6f6;\n }\n\n section > .heading > div {\n border-bottom: none;\n }\n\n .content {\n font-family: Consolas, Lucida Console, Courier New, monospace;\n position: relative;\n box-sizing: border;\n }\n\n .content .open, .content .close {\n color: #333;\n font-weight: bold\n }\n\n .cc-container {\n max-width: 100%;\n overflow-x: auto;\n margin: 0 6px 5px 6px;\n }\n\n .position {\n position: absolute;\n top: 1ex;\n right: 1ex;\n }\n\n .position.is-caret .end {\n display: none;\n }\n `;\n\n document: Document;\n\n updatePosition({start, end}) {\n this.shadowRoot.querySelector('.start').textContent = start;\n this.shadowRoot.querySelector('.end').textContent = end;\n\n if (start === end) {\n this.shadowRoot.querySelector('.position').classList.add('is-caret');\n } else {\n this.shadowRoot.querySelector('.position').classList.remove('is-caret');\n }\n }\n\n setDocument(doc) {\n this.document = doc;\n this.shadowRoot.querySelector('annotations-inspector').setDocument(doc);\n this.document.addEventListener('change', (() => {\n if (this.deferred) clearTimeout(this.deferred);\n this.deferred = setTimeout(() => {\n let charCounter = this.shadowRoot.querySelector('character-counter');\n charCounter.setAttribute('content', this.document.content);\n }, 500);\n }));\n }\n\n setSelection(el) {\n el.addEventListener('change', evt => {\n if (this.selDeferred) clearTimeout(this.selDeferred);\n this.selDeferred = setTimeout(_ => {\n let charCounter = this.shadowRoot.querySelector('character-counter');\n charCounter.setAttribute('start', evt.detail.start);\n charCounter.setAttribute('end', evt.detail.end);\n this.updatePosition(evt.detail);\n }, 500);\n });\n }\n}\n\nif (!window.customElements.get('inspector-gadget')) {\n window.customElements.define('inspector-gadget', InspectorGadget);\n}\n"},"lineCount":null}},"hash":"a0deb773bd896157748d024970272c8d","cacheData":{"env":{}}} | ||
{"id":"bkpR","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"../mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"},{"name":"./annotations-inspector","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts"},{"name":"./character-counter","loc":{"line":8,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/character-counter.ts"}],"generated":{"js":"\"use strict\";var n=this&&this.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=n(require(\"../mixins/component\"));require(\"./annotations-inspector\"),require(\"./character-counter\");class e extends t.default{updatePosition({start:n,end:t}){this.shadowRoot.querySelector(\".start\").textContent=n,this.shadowRoot.querySelector(\".end\").textContent=t,n===t?this.shadowRoot.querySelector(\".position\").classList.add(\"is-caret\"):this.shadowRoot.querySelector(\".position\").classList.remove(\"is-caret\")}setDocument(n){this.document=n,this.shadowRoot.querySelector(\"annotations-inspector\").setDocument(n),this.document.addEventListener(\"change\",()=>{this.deferred&&clearTimeout(this.deferred),this.deferred=setTimeout(()=>{this.shadowRoot.querySelector(\"character-counter\").setAttribute(\"content\",this.document.content)},500)})}setSelection(n){n.addEventListener(\"change\",n=>{this.selDeferred&&clearTimeout(this.selDeferred),this.selDeferred=setTimeout(t=>{let e=this.shadowRoot.querySelector(\"character-counter\");e.setAttribute(\"start\",n.detail.start),e.setAttribute(\"end\",n.detail.end),this.updatePosition(n.detail)},500)})}}e.template='\\n <div class=\"heading\"><div>AtJSON</div></div>\\n <section class=\"content\">\\n <div class=\"heading\"><div>Content</div></div>\\n <div class=\\'position\\'>\\n <span class=\\'start\\'></span>\\n <span class=\\'end\\'></span>\\n </div>\\n <div class=\"cc-container\">\\n <character-counter start=\"0\" end=\"0\" length=\"0\"></character-counter>\\n </div>\\n </section>\\n\\n <section class=\"annotations\">\\n <div class=\"heading\"><div>Annotations</div></div>\\n <annotations-inspector class=\"annotations\"></annotations-inspector>\\n </section>',e.style=\"\\n .heading {\\n font-size: 12px;\\n line-height: 15px;\\n height: 26px;\\n font-family: helvetica;\\n background-color: #f3f3f3;\\n color: #333;\\n padding: 0;\\n margin: 0;\\n font-weight: normal;\\n font-family: 'Segoe UI', Tahoma, sans-serif;\\n border-bottom: 1px solid #ccc;\\n display: flex;\\n flex-direction: row;\\n }\\n\\n .heading > div {\\n padding: 4px 1em;\\n border-bottom: 2px solid #03a9f4;\\n }\\n\\n .content {\\n margin-top: 1em;\\n }\\n\\n section > .heading {\\n border-top: 1px solid #ccc;\\n background-color: #f6f6f6;\\n }\\n\\n section > .heading > div {\\n border-bottom: none;\\n }\\n\\n .content {\\n font-family: Consolas, Lucida Console, Courier New, monospace;\\n position: relative;\\n box-sizing: border;\\n }\\n\\n .content .open, .content .close {\\n color: #333;\\n font-weight: bold\\n }\\n\\n .cc-container {\\n max-width: 100%;\\n overflow-x: auto;\\n margin: 0 6px 5px 6px;\\n }\\n\\n .position {\\n position: absolute;\\n top: 1ex;\\n right: 1ex;\\n }\\n\\n .position.is-caret .end {\\n display: none;\\n }\\n \",exports.default=e,window.customElements.get(\"inspector-gadget\")||window.customElements.define(\"inspector-gadget\",e);","map":{"mappings":[{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":129,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":194}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":202}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":229}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":237}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":260}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":21},"generated":{"line":1,"column":266}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":45},"generated":{"line":1,"column":276}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":45},"generated":{"line":1,"column":278}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":2},"generated":{"line":1,"column":286}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":17},"generated":{"line":1,"column":302}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":1,"column":308}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":17},"generated":{"line":1,"column":310}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":91,"column":25},"generated":{"line":1,"column":314}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":318}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":323}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":20},"generated":{"line":1,"column":334}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":34},"generated":{"line":1,"column":348}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":44},"generated":{"line":1,"column":358}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":92,"column":58},"generated":{"line":1,"column":370}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":9},"generated":{"line":1,"column":372}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":9},"generated":{"line":1,"column":377}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":20},"generated":{"line":1,"column":388}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":34},"generated":{"line":1,"column":402}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":42},"generated":{"line":1,"column":410}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":93,"column":56},"generated":{"line":1,"column":422}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":1,"column":424}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":95,"column":18},"generated":{"line":1,"column":428}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":11},"generated":{"line":1,"column":430}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":11},"generated":{"line":1,"column":435}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":22},"generated":{"line":1,"column":446}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":36},"generated":{"line":1,"column":460}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":49},"generated":{"line":1,"column":473}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":59},"generated":{"line":1,"column":483}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":96,"column":63},"generated":{"line":1,"column":487}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":499}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":11},"generated":{"line":1,"column":504}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":22},"generated":{"line":1,"column":515}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":36},"generated":{"line":1,"column":529}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":49},"generated":{"line":1,"column":542}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":59},"generated":{"line":1,"column":552}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":98,"column":66},"generated":{"line":1,"column":559}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":102,"column":2},"generated":{"line":1,"column":571}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":1,"column":583}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":103,"column":9},"generated":{"line":1,"column":586}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":103,"column":9},"generated":{"line":1,"column":591}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":103,"column":20},"generated":{"line":1,"column":600}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":9},"generated":{"line":1,"column":602}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":9},"generated":{"line":1,"column":607}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":20},"generated":{"line":1,"column":618}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":34},"generated":{"line":1,"column":632}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":59},"generated":{"line":1,"column":657}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":104,"column":71},"generated":{"line":1,"column":669}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":9},"generated":{"line":1,"column":672}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":9},"generated":{"line":1,"column":677}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":18},"generated":{"line":1,"column":686}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":35},"generated":{"line":1,"column":703}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":105,"column":46},"generated":{"line":1,"column":712}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":10},"generated":{"line":1,"column":717}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":15},"generated":{"line":1,"column":722}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":1,"column":732}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":38},"generated":{"line":1,"column":745}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":106,"column":43},"generated":{"line":1,"column":750}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":11},"generated":{"line":1,"column":760}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":11},"generated":{"line":1,"column":765}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":22},"generated":{"line":1,"column":774}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":107,"column":33},"generated":{"line":1,"column":785}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":26},"generated":{"line":1,"column":790}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":31},"generated":{"line":1,"column":795}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":42},"generated":{"line":1,"column":806}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":108,"column":56},"generated":{"line":1,"column":820}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":20},"generated":{"line":1,"column":841}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":33},"generated":{"line":1,"column":854}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":44},"generated":{"line":1,"column":864}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":49},"generated":{"line":1,"column":869}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":109,"column":58},"generated":{"line":1,"column":878}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":110,"column":9},"generated":{"line":1,"column":888}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":114,"column":2},"generated":{"line":1,"column":895}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":114,"column":15},"generated":{"line":1,"column":908}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":4},"generated":{"line":1,"column":911}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":7},"generated":{"line":1,"column":913}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":1,"column":930}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":115,"column":34},"generated":{"line":1,"column":939}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":1,"column":943}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":15},"generated":{"line":1,"column":948}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":28},"generated":{"line":1,"column":961}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":41},"generated":{"line":1,"column":974}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":116,"column":46},"generated":{"line":1,"column":979}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":11},"generated":{"line":1,"column":992}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":11},"generated":{"line":1,"column":997}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":25},"generated":{"line":1,"column":1009}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":117,"column":36},"generated":{"line":1,"column":1020}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":12},"generated":{"line":1,"column":1024}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":12},"generated":{"line":1,"column":1028}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":26},"generated":{"line":1,"column":1030}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":1,"column":1035}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":1,"column":1046}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":118,"column":56},"generated":{"line":1,"column":1060}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":8},"generated":{"line":1,"column":1081}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":20},"generated":{"line":1,"column":1083}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":33},"generated":{"line":1,"column":1096}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":42},"generated":{"line":1,"column":1104}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":46},"generated":{"line":1,"column":1106}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":119,"column":53},"generated":{"line":1,"column":1113}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":8},"generated":{"line":1,"column":1120}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":20},"generated":{"line":1,"column":1122}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":33},"generated":{"line":1,"column":1135}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":40},"generated":{"line":1,"column":1141}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":44},"generated":{"line":1,"column":1143}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":120,"column":51},"generated":{"line":1,"column":1150}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":13},"generated":{"line":1,"column":1155}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":13},"generated":{"line":1,"column":1160}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":28},"generated":{"line":1,"column":1175}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":121,"column":32},"generated":{"line":1,"column":1177}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":122,"column":9},"generated":{"line":1,"column":1186}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1194}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1196}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":1205}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1791}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1793}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":26,"column":17},"generated":{"line":1,"column":1799}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":3011}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":3019}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":3027}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":5},"generated":{"line":1,"column":3029}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":12},"generated":{"line":1,"column":3036}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":27},"generated":{"line":1,"column":3051}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":127,"column":31},"generated":{"line":1,"column":3055}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":2},"generated":{"line":1,"column":3076}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":9},"generated":{"line":1,"column":3083}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":24},"generated":{"line":1,"column":3098}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":31},"generated":{"line":1,"column":3105}},{"source":"../src/document-inspector/index.ts","name":null,"original":{"line":128,"column":51},"generated":{"line":1,"column":3124}}],"sources":{"../src/document-inspector/index.ts":"import Document from '@atjson/document';\nimport WebComponent from '../mixins/component';\nimport './annotations-inspector';\nimport './character-counter';\n\nexport default class InspectorGadget extends WebComponent {\n\n static template = `\n <div class=\"heading\"><div>AtJSON</div></div>\n <section class=\"content\">\n <div class=\"heading\"><div>Content</div></div>\n <div class='position'>\n <span class='start'></span>\n <span class='end'></span>\n </div>\n <div class=\"cc-container\">\n <character-counter start=\"0\" end=\"0\" length=\"0\"></character-counter>\n </div>\n </section>\n\n <section class=\"annotations\">\n <div class=\"heading\"><div>Annotations</div></div>\n <annotations-inspector class=\"annotations\"></annotations-inspector>\n </section>`;\n\n static style = `\n .heading {\n font-size: 12px;\n line-height: 15px;\n height: 26px;\n font-family: helvetica;\n background-color: #f3f3f3;\n color: #333;\n padding: 0;\n margin: 0;\n font-weight: normal;\n font-family: 'Segoe UI', Tahoma, sans-serif;\n border-bottom: 1px solid #ccc;\n display: flex;\n flex-direction: row;\n }\n\n .heading > div {\n padding: 4px 1em;\n border-bottom: 2px solid #03a9f4;\n }\n\n .content {\n margin-top: 1em;\n }\n\n section > .heading {\n border-top: 1px solid #ccc;\n background-color: #f6f6f6;\n }\n\n section > .heading > div {\n border-bottom: none;\n }\n\n .content {\n font-family: Consolas, Lucida Console, Courier New, monospace;\n position: relative;\n box-sizing: border;\n }\n\n .content .open, .content .close {\n color: #333;\n font-weight: bold\n }\n\n .cc-container {\n max-width: 100%;\n overflow-x: auto;\n margin: 0 6px 5px 6px;\n }\n\n .position {\n position: absolute;\n top: 1ex;\n right: 1ex;\n }\n\n .position.is-caret .end {\n display: none;\n }\n `;\n\n document: Document;\n\n updatePosition({start, end}) {\n this.shadowRoot.querySelector('.start').textContent = start;\n this.shadowRoot.querySelector('.end').textContent = end;\n\n if (start === end) {\n this.shadowRoot.querySelector('.position').classList.add('is-caret');\n } else {\n this.shadowRoot.querySelector('.position').classList.remove('is-caret');\n }\n }\n\n setDocument(doc) {\n this.document = doc;\n this.shadowRoot.querySelector('annotations-inspector').setDocument(doc);\n this.document.addEventListener('change', (() => {\n if (this.deferred) clearTimeout(this.deferred);\n this.deferred = setTimeout(() => {\n let charCounter = this.shadowRoot.querySelector('character-counter');\n charCounter.setAttribute('content', this.document.content);\n }, 500);\n }));\n }\n\n setSelection(el) {\n el.addEventListener('change', evt => {\n if (this.selDeferred) clearTimeout(this.selDeferred);\n this.selDeferred = setTimeout(_ => {\n let charCounter = this.shadowRoot.querySelector('character-counter');\n charCounter.setAttribute('start', evt.detail.start);\n charCounter.setAttribute('end', evt.detail.end);\n this.updatePosition(evt.detail);\n }, 500);\n });\n }\n}\n\nif (!window.customElements.get('inspector-gadget')) {\n window.customElements.define('inspector-gadget', InspectorGadget);\n}\n"},"lineCount":null}},"hash":"a0deb773bd896157748d024970272c8d","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"S/6X","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/index.ts","includedInParent":true,"mtime":1545342158136},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./annotations","loc":{"line":3,"column":14},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});var e={};exports.default=void 0;var t=o(require(\"@atjson/document\")),r=require(\"./annotations\");function o(e){return e&&e.__esModule?e:{default:e}}Object.keys(r).forEach(function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return r[t]}}))});class a extends t.default{}exports.default=a,a.contentType=\"application/vnd.atjson+offset\",a.schema=[r.Blockquote,r.Bold,r.Code,r.FacebookEmbed,r.GiphyEmbed,r.Heading,r.HorizontalRule,r.HTML,r.Image,r.InstagramEmbed,r.Italic,r.LineBreak,r.Link,r.List,r.ListItem,r.Paragraph,r.PinterestEmbed,r.Pullquote,r.Strikethrough,r.Subscript,r.Superscript,r.TwitterEmbed,r.Underline,r.YouTubeEmbed];","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":72}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":74}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":77}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":85}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":98}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":100}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":104}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":106}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":108}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":137}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":139}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":147}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":164}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":173}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":175}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":178}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":185}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":188}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":190}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":201}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":203}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":204}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":212}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":215}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":222}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":227}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":230}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":238}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":247}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":250}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":262}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":265}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":280}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":284}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":291}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":301}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":316}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":321}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":323}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":327}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":334}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":349}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":357}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":359}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":360}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":372}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":374}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":378}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":389}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":396}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":398}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":14},"generated":{"line":1,"column":407}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":21},"generated":{"line":1,"column":413}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":42},"generated":{"line":1,"column":423}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":14},"generated":{"line":1,"column":425}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":434}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":442}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":450}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":452}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":454}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":23},"generated":{"line":1,"column":466}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":498}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":500}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":507}},{"source":"../../src/index.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":1,"column":508}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":510}},{"source":"../../src/index.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":1,"column":521}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":523}},{"source":"../../src/index.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":1,"column":528}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":530}},{"source":"../../src/index.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":1,"column":535}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":537}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":4},"generated":{"line":1,"column":551}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":553}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":4},"generated":{"line":1,"column":564}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":566}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":4},"generated":{"line":1,"column":574}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":576}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":4},"generated":{"line":1,"column":591}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":593}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":4},"generated":{"line":1,"column":598}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":600}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":4},"generated":{"line":1,"column":606}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":608}},{"source":"../../src/index.ts","name":null,"original":{"line":44,"column":4},"generated":{"line":1,"column":623}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":625}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":1,"column":632}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":634}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":1,"column":644}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":646}},{"source":"../../src/index.ts","name":null,"original":{"line":47,"column":4},"generated":{"line":1,"column":651}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":653}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":4},"generated":{"line":1,"column":658}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":660}},{"source":"../../src/index.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":1,"column":669}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":671}},{"source":"../../src/index.ts","name":null,"original":{"line":50,"column":4},"generated":{"line":1,"column":681}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":683}},{"source":"../../src/index.ts","name":null,"original":{"line":51,"column":4},"generated":{"line":1,"column":698}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":700}},{"source":"../../src/index.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":1,"column":710}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":712}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":1,"column":726}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":728}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":738}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":740}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":4},"generated":{"line":1,"column":752}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":754}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":767}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":769}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":779}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":781}}],"sources":{"../../src/index.ts":"import Document from '@atjson/document';\nimport {\n Blockquote,\n Bold,\n Code,\n FacebookEmbed,\n GiphyEmbed,\n HTML,\n Heading,\n HorizontalRule,\n Image,\n InstagramEmbed,\n Italic,\n LineBreak,\n Link,\n List,\n ListItem,\n Paragraph,\n PinterestEmbed,\n Pullquote,\n Strikethrough,\n Subscript,\n Superscript,\n TwitterEmbed,\n Underline,\n YouTubeEmbed\n} from './annotations';\n\nexport * from './annotations';\n\nexport default class OffsetSource extends Document {\n static contentType = 'application/vnd.atjson+offset';\n static schema = [\n Blockquote,\n Bold,\n Code,\n FacebookEmbed,\n GiphyEmbed,\n Heading,\n HorizontalRule,\n HTML,\n Image,\n InstagramEmbed,\n Italic,\n LineBreak,\n Link,\n List,\n ListItem,\n Paragraph,\n PinterestEmbed,\n Pullquote,\n Strikethrough,\n Subscript,\n Superscript,\n TwitterEmbed,\n Underline,\n YouTubeEmbed\n ];\n}\n"},"lineCount":null}},"hash":"a5dc24266cc14ec0134295e3fa4a5c58","cacheData":{"env":{}}} | ||
{"id":"S/6X","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/index.ts","includedInParent":true,"mtime":1545342158136},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./annotations","loc":{"line":3,"column":14},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});var e={};exports.default=void 0;var t=o(require(\"@atjson/document\")),r=require(\"./annotations\");function o(e){return e&&e.__esModule?e:{default:e}}Object.keys(r).forEach(function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return r[t]}}))});class a extends t.default{}exports.default=a,a.contentType=\"application/vnd.atjson+offset\",a.schema=[r.Blockquote,r.Bold,r.Code,r.FacebookEmbed,r.GiphyEmbed,r.Heading,r.HorizontalRule,r.HTML,r.Image,r.InstagramEmbed,r.Italic,r.LineBreak,r.Link,r.List,r.ListItem,r.Paragraph,r.PinterestEmbed,r.Pullquote,r.Strikethrough,r.Subscript,r.Superscript,r.TwitterEmbed,r.Underline,r.YouTubeEmbed];","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":72}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":74}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":77}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":85}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":98}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":100}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":104}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":106}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":108}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":137}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":139}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":147}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":164}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":173}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":175}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":178}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":185}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":188}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":190}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":201}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":203}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":204}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":212}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":215}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":222}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":227}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":230}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":238}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":247}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":250}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":262}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":265}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":280}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":284}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":291}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":301}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":316}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":321}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":323}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":327}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":334}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":349}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":357}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":359}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":360}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":372}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":374}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":378}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":389}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":396}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":0},"generated":{"line":1,"column":398}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":14},"generated":{"line":1,"column":407}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":21},"generated":{"line":1,"column":413}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":42},"generated":{"line":1,"column":423}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":14},"generated":{"line":1,"column":425}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":434}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":442}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":450}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":452}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":454}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":23},"generated":{"line":1,"column":466}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":498}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":9},"generated":{"line":1,"column":500}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":507}},{"source":"../../src/index.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":1,"column":508}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":510}},{"source":"../../src/index.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":1,"column":521}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":523}},{"source":"../../src/index.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":1,"column":528}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":530}},{"source":"../../src/index.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":1,"column":535}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":537}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":4},"generated":{"line":1,"column":551}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":553}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":4},"generated":{"line":1,"column":564}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":566}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":4},"generated":{"line":1,"column":574}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":576}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":4},"generated":{"line":1,"column":591}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":593}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":4},"generated":{"line":1,"column":598}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":600}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":4},"generated":{"line":1,"column":606}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":608}},{"source":"../../src/index.ts","name":null,"original":{"line":44,"column":4},"generated":{"line":1,"column":623}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":625}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":1,"column":632}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":634}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":1,"column":644}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":646}},{"source":"../../src/index.ts","name":null,"original":{"line":47,"column":4},"generated":{"line":1,"column":651}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":653}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":4},"generated":{"line":1,"column":658}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":660}},{"source":"../../src/index.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":1,"column":669}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":671}},{"source":"../../src/index.ts","name":null,"original":{"line":50,"column":4},"generated":{"line":1,"column":681}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":683}},{"source":"../../src/index.ts","name":null,"original":{"line":51,"column":4},"generated":{"line":1,"column":698}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":700}},{"source":"../../src/index.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":1,"column":710}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":712}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":1,"column":726}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":728}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":738}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":740}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":4},"generated":{"line":1,"column":752}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":754}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":767}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":769}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":779}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":781}}],"sources":{"../../src/index.ts":"import Document from '@atjson/document';\nimport {\n Blockquote,\n Bold,\n Code,\n FacebookEmbed,\n GiphyEmbed,\n HTML,\n Heading,\n HorizontalRule,\n Image,\n InstagramEmbed,\n Italic,\n LineBreak,\n Link,\n List,\n ListItem,\n Paragraph,\n PinterestEmbed,\n Pullquote,\n Strikethrough,\n Subscript,\n Superscript,\n TwitterEmbed,\n Underline,\n YouTubeEmbed\n} from './annotations';\n\nexport * from './annotations';\n\nexport default class OffsetSource extends Document {\n static contentType = 'application/vnd.atjson+offset';\n static schema = [\n Blockquote,\n Bold,\n Code,\n FacebookEmbed,\n GiphyEmbed,\n Heading,\n HorizontalRule,\n HTML,\n Image,\n InstagramEmbed,\n Italic,\n LineBreak,\n Link,\n List,\n ListItem,\n Paragraph,\n PinterestEmbed,\n Pullquote,\n Strikethrough,\n Subscript,\n Superscript,\n TwitterEmbed,\n Underline,\n YouTubeEmbed\n ];\n}\n"},"lineCount":null}},"hash":"a5dc24266cc14ec0134295e3fa4a5c58","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"mHji","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/mixins/component.ts","includedInParent":true,"mtime":1545342158141},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\n\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),o=s.join(\" \");if(\"document\"===o)return{eventName:n,element:document};if(\"window\"===o)return{eventName:n,element:window};if(\"\"===o)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(o)||e.querySelector(o)}}}function t(e,t){return window.customElements.get(e)||window.customElements.define(e,t),t}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.define=t,exports.default=void 0;class n extends HTMLElement{static get compiledTemplate(){if(!this.compiledElement){this.compiledElement=document.createElement(\"template\");let e=this.style,t=this.template;e&&(t=`<style>${e}</style>${t}`),this.compiledElement.innerHTML=t}return this.compiledElement}constructor(){super(),this.eventHandlers={};let e=this.constructor;this.attachShadow({mode:\"open\"}).appendChild(e.compiledTemplate.content.cloneNode(!0))}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:o}=e(this,n),l=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof l){const t=this[l];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${l}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return l.call(this,e)}),o.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=n;","map":{"mappings":[{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":0}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":2,"column":13}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":2,"column":22}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":2,"column":24}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":2,"column":26}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":2,"column":29}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":2,"column":33}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":2,"column":38}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":2,"column":41}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":2,"column":43}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":2,"column":49}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":2,"column":54}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":2,"column":56}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":2,"column":58}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":2,"column":63}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":68}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":2,"column":71}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":84}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":86}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":92}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":93}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":103}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":2,"column":105}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":2,"column":113}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":2,"column":123}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":2,"column":126}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":2,"column":137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":139}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":145}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":2,"column":158}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":2,"column":166}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":2,"column":174}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":2,"column":177}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":2,"column":182}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":184}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":190}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":191}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":201}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":203}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":211}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":2,"column":214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":215}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":219}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":221}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":227}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":228}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":238}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":2,"column":240}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":2,"column":248}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":2,"column":250}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":2,"column":252}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":2,"column":264}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":2,"column":266}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":2,"column":277}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":2,"column":291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":2,"column":295}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":2,"column":297}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":2,"column":311}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":2,"column":316}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":2,"column":325}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":23},"generated":{"line":2,"column":327}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":2,"column":329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":332}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":7},"generated":{"line":2,"column":339}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":2,"column":346}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":2,"column":361}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":33},"generated":{"line":2,"column":365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":2,"column":369}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":11},"generated":{"line":2,"column":376}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":26},"generated":{"line":2,"column":391}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":33},"generated":{"line":2,"column":398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":39},"generated":{"line":2,"column":400}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":403}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":405}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":412}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":427}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":435}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":448}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":449}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":456}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":460}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":475}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":477}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":485}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":498}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":14},"generated":{"line":2,"column":500}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":21},"generated":{"line":2,"column":506}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":42},"generated":{"line":2,"column":516}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":2,"column":528}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":2,"column":558}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":2,"column":562}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":2,"column":567}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":31},"generated":{"line":2,"column":583}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":584}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":589}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":29},"generated":{"line":2,"column":605}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":38},"generated":{"line":2,"column":614}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":2,"column":628}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":640}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":644}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":2,"column":646}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":2,"column":651}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":2,"column":657}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":2,"column":659}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":2,"column":664}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":2,"column":673}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":2,"column":677}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":25},"generated":{"line":2,"column":689}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":48},"generated":{"line":2,"column":701}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":706}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":711}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":2,"column":727}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":39},"generated":{"line":2,"column":737}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":739}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":746}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":16},"generated":{"line":2,"column":751}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":92,"column":2},"generated":{"line":2,"column":767}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":93,"column":4},"generated":{"line":2,"column":781}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":789}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":794}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":2,"column":808}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":811}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":815}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":25},"generated":{"line":2,"column":817}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":2,"column":822}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":21},"generated":{"line":2,"column":834}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":26},"generated":{"line":2,"column":839}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":39},"generated":{"line":2,"column":852}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":41},"generated":{"line":2,"column":853}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":47},"generated":{"line":2,"column":858}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":15},"generated":{"line":2,"column":867}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":27},"generated":{"line":2,"column":879}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":42},"generated":{"line":2,"column":881}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":59},"generated":{"line":2,"column":898}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":67},"generated":{"line":2,"column":906}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":77},"generated":{"line":2,"column":917}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":2,"column":921}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":2,"column":941}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":2,"column":945}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":25},"generated":{"line":2,"column":947}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":30},"generated":{"line":2,"column":952}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":57},"generated":{"line":2,"column":964}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":67},"generated":{"line":2,"column":972}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":4},"generated":{"line":2,"column":975}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":2,"column":982}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":2,"column":987}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":24},"generated":{"line":2,"column":990}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":33},"generated":{"line":2,"column":998}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1002}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1006}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":12},"generated":{"line":2,"column":1016}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1018}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":23},"generated":{"line":2,"column":1026}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":35},"generated":{"line":2,"column":1029}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":58},"generated":{"line":2,"column":1031}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":64},"generated":{"line":2,"column":1036}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":2,"column":1039}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":2,"column":1041}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":2,"column":1043}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1046}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1051}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":2,"column":1065}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1068}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1069}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":2,"column":1073}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":30},"generated":{"line":2,"column":1076}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":2,"column":1093}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":40},"generated":{"line":2,"column":1095}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1096}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1102}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":66},"generated":{"line":2,"column":1104}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":71},"generated":{"line":2,"column":1109}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1112}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1115}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":38},"generated":{"line":2,"column":1128}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1144}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":32},"generated":{"line":2,"column":1146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":37},"generated":{"line":2,"column":1151}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":43},"generated":{"line":2,"column":1156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1159}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1165}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":22},"generated":{"line":2,"column":1169}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":36},"generated":{"line":2,"column":1183}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":2,"column":1209}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":72},"generated":{"line":2,"column":1214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1265}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1272}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":2,"column":1274}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":2,"column":1279}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":35},"generated":{"line":2,"column":1284}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":6},"generated":{"line":2,"column":1289}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":14},"generated":{"line":2,"column":1291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":2,"column":1308}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":2,"column":1310}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":47},"generated":{"line":2,"column":1315}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":61},"generated":{"line":2,"column":1329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":122,"column":2},"generated":{"line":2,"column":1335}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":4},"generated":{"line":2,"column":1358}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":11},"generated":{"line":2,"column":1365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":16},"generated":{"line":2,"column":1370}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":2,"column":1375}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":36},"generated":{"line":2,"column":1390}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":44},"generated":{"line":2,"column":1398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1402}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1406}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":12},"generated":{"line":2,"column":1416}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1418}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":23},"generated":{"line":2,"column":1426}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":35},"generated":{"line":2,"column":1429}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":58},"generated":{"line":2,"column":1431}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":64},"generated":{"line":2,"column":1436}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":2,"column":1439}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":14},"generated":{"line":2,"column":1441}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":34},"generated":{"line":2,"column":1461}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":45},"generated":{"line":2,"column":1463}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":50},"generated":{"line":2,"column":1468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":64},"generated":{"line":2,"column":1482}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1488}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1493}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":25},"generated":{"line":2,"column":1507}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1511}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1519}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1527}}],"sources":{"../../../src/mixins/component.ts":"type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\ninterface TemplateElement extends HTMLElement {\n content: Node;\n}\n\nexport function define(name: string, component: typeof HTMLElement) {\n if (!window.customElements.get(name)) {\n window.customElements.define(name, component);\n }\n return component;\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class WebComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n static template: string;\n static style: string | null;\n private static compiledElement: TemplateElement;\n\n private static get compiledTemplate(): TemplateElement {\n if (!this.compiledElement) {\n this.compiledElement = document.createElement('template');\n let scopedStyles = this.style;\n let html = this.template;\n if (scopedStyles) {\n html = `<style>${scopedStyles}</style>${html}`;\n }\n this.compiledElement.innerHTML = html;\n }\n return this.compiledElement;\n }\n\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n let ComponentClass = this.constructor as typeof WebComponent;\n let shadowRoot = this.attachShadow({ mode: 'open' });\n shadowRoot.appendChild(ComponentClass.compiledTemplate.content.cloneNode(true));\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof WebComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"f553220f09f99c1b412174d48acab7cf","cacheData":{"env":{}}} | ||
{"id":"mHji","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/mixins/component.ts","includedInParent":true,"mtime":1545342158141},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\n\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),o=s.join(\" \");if(\"document\"===o)return{eventName:n,element:document};if(\"window\"===o)return{eventName:n,element:window};if(\"\"===o)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(o)||e.querySelector(o)}}}function t(e,t){return window.customElements.get(e)||window.customElements.define(e,t),t}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.define=t,exports.default=void 0;class n extends HTMLElement{static get compiledTemplate(){if(!this.compiledElement){this.compiledElement=document.createElement(\"template\");let e=this.style,t=this.template;e&&(t=`<style>${e}</style>${t}`),this.compiledElement.innerHTML=t}return this.compiledElement}constructor(){super(),this.eventHandlers={};let e=this.constructor;this.attachShadow({mode:\"open\"}).appendChild(e.compiledTemplate.content.cloneNode(!0))}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:o}=e(this,n),l=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof l){const t=this[l];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${l}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return l.call(this,e)}),o.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=n;","map":{"mappings":[{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":0}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":2,"column":13}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":2,"column":22}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":2,"column":24}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":2,"column":26}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":2,"column":29}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":2,"column":33}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":2,"column":38}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":2,"column":41}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":2,"column":43}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":2,"column":49}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":2,"column":54}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":2,"column":56}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":2,"column":58}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":2,"column":63}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":68}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":2,"column":71}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":84}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":86}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":92}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":93}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":103}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":2,"column":105}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":2,"column":113}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":2,"column":123}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":2,"column":126}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":2,"column":137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":139}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":145}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":2,"column":158}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":2,"column":166}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":2,"column":174}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":2,"column":177}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":2,"column":182}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":184}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":190}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":191}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":201}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":203}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":211}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":2,"column":214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":215}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":219}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":221}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":227}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":228}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":238}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":2,"column":240}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":2,"column":248}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":2,"column":250}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":2,"column":252}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":2,"column":264}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":2,"column":266}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":2,"column":277}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":2,"column":291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":2,"column":295}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":2,"column":297}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":2,"column":311}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":2,"column":316}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":2,"column":325}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":23},"generated":{"line":2,"column":327}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":2,"column":329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":332}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":7},"generated":{"line":2,"column":339}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":2,"column":346}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":2,"column":361}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":33},"generated":{"line":2,"column":365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":2,"column":369}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":11},"generated":{"line":2,"column":376}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":26},"generated":{"line":2,"column":391}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":33},"generated":{"line":2,"column":398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":39},"generated":{"line":2,"column":400}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":403}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":405}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":412}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":427}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":435}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":448}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":449}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":456}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":460}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":475}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":477}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":485}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":498}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":14},"generated":{"line":2,"column":500}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":21},"generated":{"line":2,"column":506}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":42},"generated":{"line":2,"column":516}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":2,"column":528}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":2,"column":558}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":2,"column":562}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":2,"column":567}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":31},"generated":{"line":2,"column":583}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":584}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":589}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":29},"generated":{"line":2,"column":605}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":38},"generated":{"line":2,"column":614}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":2,"column":628}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":640}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":644}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":2,"column":646}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":2,"column":651}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":2,"column":657}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":2,"column":659}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":2,"column":664}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":2,"column":673}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":2,"column":677}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":25},"generated":{"line":2,"column":689}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":48},"generated":{"line":2,"column":701}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":706}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":711}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":2,"column":727}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":39},"generated":{"line":2,"column":737}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":739}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":746}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":16},"generated":{"line":2,"column":751}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":92,"column":2},"generated":{"line":2,"column":767}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":93,"column":4},"generated":{"line":2,"column":781}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":789}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":794}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":2,"column":808}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":811}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":815}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":25},"generated":{"line":2,"column":817}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":2,"column":822}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":21},"generated":{"line":2,"column":834}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":26},"generated":{"line":2,"column":839}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":39},"generated":{"line":2,"column":852}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":41},"generated":{"line":2,"column":853}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":47},"generated":{"line":2,"column":858}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":15},"generated":{"line":2,"column":867}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":27},"generated":{"line":2,"column":879}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":42},"generated":{"line":2,"column":881}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":59},"generated":{"line":2,"column":898}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":67},"generated":{"line":2,"column":906}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":77},"generated":{"line":2,"column":917}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":2,"column":921}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":2,"column":941}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":2,"column":945}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":25},"generated":{"line":2,"column":947}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":30},"generated":{"line":2,"column":952}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":57},"generated":{"line":2,"column":964}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":67},"generated":{"line":2,"column":972}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":4},"generated":{"line":2,"column":975}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":2,"column":982}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":2,"column":987}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":24},"generated":{"line":2,"column":990}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":33},"generated":{"line":2,"column":998}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1002}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1006}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":12},"generated":{"line":2,"column":1016}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1018}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":23},"generated":{"line":2,"column":1026}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":35},"generated":{"line":2,"column":1029}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":58},"generated":{"line":2,"column":1031}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":64},"generated":{"line":2,"column":1036}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":2,"column":1039}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":2,"column":1041}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":2,"column":1043}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1046}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1051}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":2,"column":1065}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1068}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1069}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":2,"column":1073}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":30},"generated":{"line":2,"column":1076}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":2,"column":1093}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":40},"generated":{"line":2,"column":1095}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1096}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1102}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":66},"generated":{"line":2,"column":1104}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":71},"generated":{"line":2,"column":1109}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1112}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1115}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":38},"generated":{"line":2,"column":1128}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1144}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":32},"generated":{"line":2,"column":1146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":37},"generated":{"line":2,"column":1151}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":43},"generated":{"line":2,"column":1156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1159}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1165}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":22},"generated":{"line":2,"column":1169}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":36},"generated":{"line":2,"column":1183}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":2,"column":1209}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":72},"generated":{"line":2,"column":1214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1265}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1272}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":2,"column":1274}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":2,"column":1279}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":35},"generated":{"line":2,"column":1284}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":6},"generated":{"line":2,"column":1289}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":14},"generated":{"line":2,"column":1291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":2,"column":1308}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":2,"column":1310}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":47},"generated":{"line":2,"column":1315}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":61},"generated":{"line":2,"column":1329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":122,"column":2},"generated":{"line":2,"column":1335}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":4},"generated":{"line":2,"column":1358}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":11},"generated":{"line":2,"column":1365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":16},"generated":{"line":2,"column":1370}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":2,"column":1375}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":36},"generated":{"line":2,"column":1390}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":44},"generated":{"line":2,"column":1398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1402}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1406}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":12},"generated":{"line":2,"column":1416}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1418}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":23},"generated":{"line":2,"column":1426}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":35},"generated":{"line":2,"column":1429}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":58},"generated":{"line":2,"column":1431}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":64},"generated":{"line":2,"column":1436}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":2,"column":1439}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":14},"generated":{"line":2,"column":1441}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":34},"generated":{"line":2,"column":1461}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":45},"generated":{"line":2,"column":1463}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":50},"generated":{"line":2,"column":1468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":64},"generated":{"line":2,"column":1482}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1488}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1493}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":25},"generated":{"line":2,"column":1507}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1511}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1519}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1527}}],"sources":{"../../../src/mixins/component.ts":"type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\ninterface TemplateElement extends HTMLElement {\n content: Node;\n}\n\nexport function define(name: string, component: typeof HTMLElement) {\n if (!window.customElements.get(name)) {\n window.customElements.define(name, component);\n }\n return component;\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class WebComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n static template: string;\n static style: string | null;\n private static compiledElement: TemplateElement;\n\n private static get compiledTemplate(): TemplateElement {\n if (!this.compiledElement) {\n this.compiledElement = document.createElement('template');\n let scopedStyles = this.style;\n let html = this.template;\n if (scopedStyles) {\n html = `<style>${scopedStyles}</style>${html}`;\n }\n this.compiledElement.innerHTML = html;\n }\n return this.compiledElement;\n }\n\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n let ComponentClass = this.constructor as typeof WebComponent;\n let shadowRoot = this.attachShadow({ mode: 'open' });\n shadowRoot.appendChild(ComponentClass.compiledTemplate.content.cloneNode(true));\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof WebComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"f553220f09f99c1b412174d48acab7cf","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"4ktt","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/heading-action-button.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading-action-button.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../mixins/component\"));function t(e){return e&&e.__esModule?e:{default:e}}class n extends e.default{getOverlappingHeading(){return this.selection.selectedAnnotations.find(e=>\"heading\"===e.type)}onSelectionChange(e){let{start:t,end:n,document:i}=e.detail,s=!1;if(t!==n){let e=i.content.slice(t,n).lastIndexOf(\"\\n\");s=-1===e||e===n-1}if(this.shadowRoot)if(s){this.selection=e.detail;let t=this.getOverlappingHeading(),n=this.shadowRoot.querySelector(\".level\"),i=this.shadowRoot.querySelector(\".toggle\");if(!n||!i)return;if(t){i.textContent=\"H\"+t.attributes.level,this.classList.add(\"active\");let e=parseInt(t.attributes.level,10)+1;e<4?(n.textContent=\"H\"+e,n.classList.remove(\"hidden\")):n.classList.add(\"hidden\")}else i.textContent=\"H1\",n.classList.add(\"hidden\"),this.classList.remove(\"active\");this.style.display=\"initial\"}else delete this.selection,e.preventDefault(),this.style.display=\"none\"}onToggleClick(){let e=this.getOverlappingHeading();if(e)this.dispatchEvent(new CustomEvent(\"deleteAnnotation\",{bubbles:!0,composed:!0,detail:{annotationId:e.id}})),this.dispatchEvent(new CustomEvent(\"addAnnotation\",{bubbles:!0,composed:!0,detail:{type:\"paragraph\",start:e.start,end:e.end}}));else{let e=this.selection.document.content,t=Math.max(0,e.lastIndexOf(\"\\n\",parseInt(this.selection.start,10))),n=e.indexOf(\"\\n\",parseInt(this.selection.end,10));-1===n&&(n=e.length),this.dispatchEvent(new CustomEvent(\"addAnnotation\",{bubbles:!0,composed:!0,detail:{type:\"heading\",start:t,end:n,attributes:{level:1}}}))}}onLevelClick(){let e=this.getOverlappingHeading(),t=parseInt(e.attributes.level,10)+1;this.dispatchEvent(new CustomEvent(\"attributechange\",{bubbles:!0,composed:!0,detail:{annotationId:e.id,attributes:Object.assign(e.attributes,{level:t})}}))}}exports.default=n,n.template='<button class=\"toggle\">H</button><button class=\"level\"></button>',n.style=\"\\n :host(.active) .toggle {\\n border-color: red;\\n font-weight: bold;\\n }\\n\\n .level {\\n display: none;\\n }\\n\\n :host(.active) .level {\\n display: initial;\\n }\\n\\n :host(.active) .level.hidden {\\n display: none;\\n }\\n \",n.events={selectionchange:\"onSelectionChange\",\"click .toggle\":\"onToggleClick\",\"click .level\":\"onLevelClick\"},window.customElements.get(\"offset-heading-action-button\")||window.customElements.define(\"offset-heading-action-button\",n);","map":{"mappings":[{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":131}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":140}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":142}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":145}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":152}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":155}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":157}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":168}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":170}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":171}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":179}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":182}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":188}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":55},"generated":{"line":1,"column":198}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":200}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":1,"column":208}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":232}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":239}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":16},"generated":{"line":1,"column":244}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":26},"generated":{"line":1,"column":254}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":46},"generated":{"line":1,"column":274}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":52},"generated":{"line":1,"column":279}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":81},"generated":{"line":1,"column":282}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":70},"generated":{"line":1,"column":294}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":72},"generated":{"line":1,"column":296}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":39,"column":2},"generated":{"line":1,"column":302}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":39,"column":20},"generated":{"line":1,"column":320}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":323}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":327}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":10},"generated":{"line":1,"column":333}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":335}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":17},"generated":{"line":1,"column":339}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":341}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":22},"generated":{"line":1,"column":350}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":35},"generated":{"line":1,"column":353}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":39},"generated":{"line":1,"column":355}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":362}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":41,"column":31},"generated":{"line":1,"column":365}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":367}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":370}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":18},"generated":{"line":1,"column":374}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":23},"generated":{"line":1,"column":376}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":10},"generated":{"line":1,"column":377}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":45,"column":10},"generated":{"line":1,"column":381}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":27},"generated":{"line":1,"column":383}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":36},"generated":{"line":1,"column":385}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":44},"generated":{"line":1,"column":393}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":50},"generated":{"line":1,"column":399}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":57},"generated":{"line":1,"column":401}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":45,"column":33},"generated":{"line":1,"column":404}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":45,"column":45},"generated":{"line":1,"column":416}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":422}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":31},"generated":{"line":1,"column":425}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":20},"generated":{"line":1,"column":429}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":36},"generated":{"line":1,"column":432}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":46},"generated":{"line":1,"column":436}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":52},"generated":{"line":1,"column":438}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":49,"column":8},"generated":{"line":1,"column":440}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":49,"column":9},"generated":{"line":1,"column":443}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":49,"column":14},"generated":{"line":1,"column":448}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":459}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":462}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":52,"column":21},"generated":{"line":1,"column":464}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":465}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":470}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":23},"generated":{"line":1,"column":480}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":27},"generated":{"line":1,"column":482}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":489}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":493}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":31},"generated":{"line":1,"column":495}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":36},"generated":{"line":1,"column":500}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":10},"generated":{"line":1,"column":524}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":24},"generated":{"line":1,"column":526}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":29},"generated":{"line":1,"column":531}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":40},"generated":{"line":1,"column":542}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":54},"generated":{"line":1,"column":556}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":1,"column":566}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":25},"generated":{"line":1,"column":568}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":30},"generated":{"line":1,"column":573}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":41},"generated":{"line":1,"column":584}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":598}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":10},"generated":{"line":1,"column":609}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":11},"generated":{"line":1,"column":613}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":27},"generated":{"line":1,"column":617}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":41},"generated":{"line":1,"column":619}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":62,"column":10},"generated":{"line":1,"column":626}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":62,"column":10},"generated":{"line":1,"column":629}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":62,"column":30},"generated":{"line":1,"column":631}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":8},"generated":{"line":1,"column":632}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":21},"generated":{"line":1,"column":634}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":35},"generated":{"line":1,"column":646}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":41},"generated":{"line":1,"column":650}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":60},"generated":{"line":1,"column":652}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":71},"generated":{"line":1,"column":663}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":13},"generated":{"line":1,"column":669}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":13},"generated":{"line":1,"column":674}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":23},"generated":{"line":1,"column":684}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":27},"generated":{"line":1,"column":688}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":12},"generated":{"line":1,"column":698}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":12},"generated":{"line":1,"column":702}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":24},"generated":{"line":1,"column":704}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":33},"generated":{"line":1,"column":713}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":52},"generated":{"line":1,"column":715}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":63},"generated":{"line":1,"column":726}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":70},"generated":{"line":1,"column":732}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":76},"generated":{"line":1,"column":736}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":66,"column":12},"generated":{"line":1,"column":738}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":66,"column":24},"generated":{"line":1,"column":740}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":1,"column":743}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":22},"generated":{"line":1,"column":745}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":1,"column":757}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":42},"generated":{"line":1,"column":761}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":1,"column":763}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":22},"generated":{"line":1,"column":765}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":32},"generated":{"line":1,"column":775}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":782}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":10},"generated":{"line":1,"column":793}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":1,"column":795}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":32},"generated":{"line":1,"column":805}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":36},"generated":{"line":1,"column":809}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":73,"column":8},"generated":{"line":1,"column":824}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":73,"column":21},"generated":{"line":1,"column":826}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":73,"column":35},"generated":{"line":1,"column":838}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":8},"generated":{"line":1,"column":843}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":20},"generated":{"line":1,"column":845}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":30},"generated":{"line":1,"column":855}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":34},"generated":{"line":1,"column":859}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":13},"generated":{"line":1,"column":869}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":13},"generated":{"line":1,"column":874}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":23},"generated":{"line":1,"column":884}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":30},"generated":{"line":1,"column":891}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":901}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":906}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":17},"generated":{"line":1,"column":912}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":27},"generated":{"line":1,"column":920}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":81,"column":13},"generated":{"line":1,"column":942}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":81,"column":18},"generated":{"line":1,"column":947}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":82,"column":6},"generated":{"line":1,"column":957}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":82,"column":10},"generated":{"line":1,"column":959}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":1,"column":976}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":1,"column":981}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":17},"generated":{"line":1,"column":987}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":1,"column":995}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":87,"column":2},"generated":{"line":1,"column":1002}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":1,"column":1018}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":1,"column":1022}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":29},"generated":{"line":1,"column":1024}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":34},"generated":{"line":1,"column":1029}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":1,"column":1053}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":1,"column":1056}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":11},"generated":{"line":1,"column":1058}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":11},"generated":{"line":1,"column":1063}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":25},"generated":{"line":1,"column":1077}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":29},"generated":{"line":1,"column":1081}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":41},"generated":{"line":1,"column":1093}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":61},"generated":{"line":1,"column":1112}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":93,"column":8},"generated":{"line":1,"column":1113}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":93,"column":17},"generated":{"line":1,"column":1122}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":94,"column":8},"generated":{"line":1,"column":1124}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":94,"column":18},"generated":{"line":1,"column":1134}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":1,"column":1136}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":95,"column":16},"generated":{"line":1,"column":1143}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":96,"column":10},"generated":{"line":1,"column":1144}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":96,"column":24},"generated":{"line":1,"column":1157}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":96,"column":43},"generated":{"line":1,"column":1159}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":11},"generated":{"line":1,"column":1166}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":11},"generated":{"line":1,"column":1171}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":25},"generated":{"line":1,"column":1185}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":29},"generated":{"line":1,"column":1189}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":41},"generated":{"line":1,"column":1201}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":58},"generated":{"line":1,"column":1217}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":100,"column":8},"generated":{"line":1,"column":1218}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":1,"column":1227}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":1,"column":1229}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":101,"column":18},"generated":{"line":1,"column":1239}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":1,"column":1241}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":102,"column":16},"generated":{"line":1,"column":1248}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":1249}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":1,"column":1254}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":1,"column":1266}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":104,"column":17},"generated":{"line":1,"column":1272}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":104,"column":36},"generated":{"line":1,"column":1274}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":1,"column":1280}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":105,"column":15},"generated":{"line":1,"column":1284}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":105,"column":34},"generated":{"line":1,"column":1286}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":1,"column":1298}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":1,"column":1299}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":1,"column":1303}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":20},"generated":{"line":1,"column":1305}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":25},"generated":{"line":1,"column":1310}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":35},"generated":{"line":1,"column":1320}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":44},"generated":{"line":1,"column":1329}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":10},"generated":{"line":1,"column":1337}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":18},"generated":{"line":1,"column":1339}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":23},"generated":{"line":1,"column":1344}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":27},"generated":{"line":1,"column":1348}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":30},"generated":{"line":1,"column":1350}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":38},"generated":{"line":1,"column":1352}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":50},"generated":{"line":1,"column":1364}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":56},"generated":{"line":1,"column":1369}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":65},"generated":{"line":1,"column":1378}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":70},"generated":{"line":1,"column":1383}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":80},"generated":{"line":1,"column":1393}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":87},"generated":{"line":1,"column":1399}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":10},"generated":{"line":1,"column":1405}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":16},"generated":{"line":1,"column":1407}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":24},"generated":{"line":1,"column":1409}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":32},"generated":{"line":1,"column":1417}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":38},"generated":{"line":1,"column":1422}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":47},"generated":{"line":1,"column":1431}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":52},"generated":{"line":1,"column":1436}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":62},"generated":{"line":1,"column":1446}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":1,"column":1450}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":19},"generated":{"line":1,"column":1456}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":10},"generated":{"line":1,"column":1460}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":22},"generated":{"line":1,"column":1464}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":1466}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":36},"generated":{"line":1,"column":1468}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":11},"generated":{"line":1,"column":1476}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":11},"generated":{"line":1,"column":1481}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":25},"generated":{"line":1,"column":1495}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":1,"column":1499}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":41},"generated":{"line":1,"column":1511}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":58},"generated":{"line":1,"column":1527}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":116,"column":8},"generated":{"line":1,"column":1528}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":116,"column":17},"generated":{"line":1,"column":1537}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":117,"column":8},"generated":{"line":1,"column":1539}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":117,"column":18},"generated":{"line":1,"column":1549}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":1551}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":118,"column":16},"generated":{"line":1,"column":1558}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":119,"column":10},"generated":{"line":1,"column":1559}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":119,"column":16},"generated":{"line":1,"column":1564}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":10},"generated":{"line":1,"column":1574}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":10},"generated":{"line":1,"column":1580}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":17},"generated":{"line":1,"column":1582}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":17},"generated":{"line":1,"column":1586}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":10},"generated":{"line":1,"column":1588}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":22},"generated":{"line":1,"column":1599}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":24},"generated":{"line":1,"column":1600}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":31},"generated":{"line":1,"column":1606}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":127,"column":2},"generated":{"line":1,"column":1614}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":1,"column":1629}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":1,"column":1633}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":29},"generated":{"line":1,"column":1635}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":34},"generated":{"line":1,"column":1640}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":8},"generated":{"line":1,"column":1664}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":16},"generated":{"line":1,"column":1666}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":25},"generated":{"line":1,"column":1675}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":44},"generated":{"line":1,"column":1677}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":55},"generated":{"line":1,"column":1688}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":62},"generated":{"line":1,"column":1694}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":68},"generated":{"line":1,"column":1698}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":9},"generated":{"line":1,"column":1700}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":9},"generated":{"line":1,"column":1705}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":23},"generated":{"line":1,"column":1719}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":27},"generated":{"line":1,"column":1723}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":39},"generated":{"line":1,"column":1735}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":58},"generated":{"line":1,"column":1753}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":134,"column":6},"generated":{"line":1,"column":1754}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":134,"column":15},"generated":{"line":1,"column":1763}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":135,"column":6},"generated":{"line":1,"column":1765}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":135,"column":16},"generated":{"line":1,"column":1775}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":136,"column":6},"generated":{"line":1,"column":1777}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":136,"column":14},"generated":{"line":1,"column":1784}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":137,"column":8},"generated":{"line":1,"column":1785}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":137,"column":22},"generated":{"line":1,"column":1798}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":137,"column":41},"generated":{"line":1,"column":1800}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":8},"generated":{"line":1,"column":1803}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":20},"generated":{"line":1,"column":1814}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":27},"generated":{"line":1,"column":1821}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":34},"generated":{"line":1,"column":1828}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":53},"generated":{"line":1,"column":1830}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":65},"generated":{"line":1,"column":1841}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":67},"generated":{"line":1,"column":1842}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":67},"generated":{"line":1,"column":1848}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":1857}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":1865}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":1873}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":1875}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":1877}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":1886}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1953}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1955}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":8,"column":17},"generated":{"line":1,"column":1961}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":27,"column":9},"generated":{"line":1,"column":2232}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":27,"column":9},"generated":{"line":1,"column":2234}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":27,"column":18},"generated":{"line":1,"column":2241}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":28,"column":23},"generated":{"line":1,"column":2242}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":28,"column":23},"generated":{"line":1,"column":2258}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":29,"column":21},"generated":{"line":1,"column":2278}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":29,"column":21},"generated":{"line":1,"column":2294}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":30,"column":20},"generated":{"line":1,"column":2310}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":30,"column":20},"generated":{"line":1,"column":2325}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":5},"generated":{"line":1,"column":2341}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":12},"generated":{"line":1,"column":2348}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":27},"generated":{"line":1,"column":2363}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":31},"generated":{"line":1,"column":2367}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":2},"generated":{"line":1,"column":2400}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":9},"generated":{"line":1,"column":2407}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":24},"generated":{"line":1,"column":2422}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":31},"generated":{"line":1,"column":2429}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":63},"generated":{"line":1,"column":2460}}],"sources":{"../../../src/components/heading-action-button.ts":"import { Annotation } from '@atjson/document';\nimport WebComponent from '../mixins/component';\n\nexport default class OffsetHeadingActionButton extends WebComponent {\n\n static template = '<button class=\"toggle\">H</button><button class=\"level\"></button>';\n\n static style = `\n :host(.active) .toggle {\n border-color: red;\n font-weight: bold;\n }\n\n .level {\n display: none;\n }\n\n :host(.active) .level {\n display: initial;\n }\n\n :host(.active) .level.hidden {\n display: none;\n }\n `;\n\n static events = {\n 'selectionchange': 'onSelectionChange',\n 'click .toggle': 'onToggleClick',\n 'click .level': 'onLevelClick'\n };\n\n selection: any;\n\n getOverlappingHeading() {\n return this.selection.selectedAnnotations.find((a: Annotation) => a.type === 'heading');\n }\n\n onSelectionChange(evt: CustomEvent) {\n let { start, end, document } = evt.detail;\n let newlineFree: boolean = false;\n\n if (start !== end) {\n let coveredContent = document.content.slice(start, end);\n let nlIdx = coveredContent.lastIndexOf('\\n');\n newlineFree = nlIdx === -1 || nlIdx === end - 1;\n }\n\n if (!this.shadowRoot) return;\n\n // Only display if the selection *does not* span multiple paragraphs.\n if (newlineFree) {\n\n this.selection = evt.detail;\n\n let overlappingHeading = this.getOverlappingHeading();\n let levelButton = this.shadowRoot.querySelector('.level');\n let toggleButton = this.shadowRoot.querySelector('.toggle');\n\n if (!levelButton || !toggleButton) return;\n\n if (overlappingHeading) {\n toggleButton.textContent = 'H' + overlappingHeading.attributes.level;\n this.classList.add('active');\n let nextLevel = parseInt(overlappingHeading.attributes.level, 10) + 1;\n if (nextLevel < 4) {\n levelButton.textContent = 'H' + nextLevel;\n levelButton.classList.remove('hidden');\n } else {\n levelButton.classList.add('hidden');\n }\n } else {\n toggleButton.textContent = 'H1';\n levelButton.classList.add('hidden');\n this.classList.remove('active');\n }\n\n this.style.display = 'initial';\n\n } else {\n delete this.selection;\n evt.preventDefault();\n this.style.display = 'none';\n }\n }\n\n onToggleClick() {\n let overlappingHeading = this.getOverlappingHeading();\n\n if (overlappingHeading) {\n // Delete (toggle) the Heading\n this.dispatchEvent(new CustomEvent('deleteAnnotation', {\n bubbles: true,\n composed: true,\n detail: {\n annotationId: overlappingHeading.id\n }\n }));\n this.dispatchEvent(new CustomEvent('addAnnotation', {\n bubbles: true,\n composed: true,\n detail: {\n type: 'paragraph',\n start: overlappingHeading.start,\n end: overlappingHeading.end\n }\n }));\n } else {\n // Create a new Heading at level 1\n let content = this.selection.document.content;\n let start = Math.max(0, content.lastIndexOf('\\n', parseInt(this.selection.start, 10)));\n let end = content.indexOf('\\n', parseInt(this.selection.end, 10));\n if (end === -1) end = content.length;\n\n this.dispatchEvent(new CustomEvent('addAnnotation', {\n bubbles: true,\n composed: true,\n detail: {\n type: 'heading',\n start, end,\n attributes: { level: 1 }\n }\n }));\n }\n }\n\n onLevelClick() {\n let overlappingHeading = this.getOverlappingHeading();\n\n let level = parseInt(overlappingHeading.attributes.level, 10) + 1;\n\n // Update the existing heading's level.\n this.dispatchEvent(new CustomEvent('attributechange', {\n bubbles: true,\n composed: true,\n detail: {\n annotationId: overlappingHeading.id,\n attributes: Object.assign(overlappingHeading.attributes, { level })\n }\n }));\n }\n}\n\nif (!window.customElements.get('offset-heading-action-button')) {\n window.customElements.define('offset-heading-action-button', OffsetHeadingActionButton);\n}\n"},"lineCount":null}},"hash":"c8237e6e3a534b087b71f439ba2f6dee","cacheData":{"env":{}}} | ||
{"id":"4ktt","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/heading-action-button.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading-action-button.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../mixins/component\"));function t(e){return e&&e.__esModule?e:{default:e}}class n extends e.default{getOverlappingHeading(){return this.selection.selectedAnnotations.find(e=>\"heading\"===e.type)}onSelectionChange(e){let{start:t,end:n,document:i}=e.detail,s=!1;if(t!==n){let e=i.content.slice(t,n).lastIndexOf(\"\\n\");s=-1===e||e===n-1}if(this.shadowRoot)if(s){this.selection=e.detail;let t=this.getOverlappingHeading(),n=this.shadowRoot.querySelector(\".level\"),i=this.shadowRoot.querySelector(\".toggle\");if(!n||!i)return;if(t){i.textContent=\"H\"+t.attributes.level,this.classList.add(\"active\");let e=parseInt(t.attributes.level,10)+1;e<4?(n.textContent=\"H\"+e,n.classList.remove(\"hidden\")):n.classList.add(\"hidden\")}else i.textContent=\"H1\",n.classList.add(\"hidden\"),this.classList.remove(\"active\");this.style.display=\"initial\"}else delete this.selection,e.preventDefault(),this.style.display=\"none\"}onToggleClick(){let e=this.getOverlappingHeading();if(e)this.dispatchEvent(new CustomEvent(\"deleteAnnotation\",{bubbles:!0,composed:!0,detail:{annotationId:e.id}})),this.dispatchEvent(new CustomEvent(\"addAnnotation\",{bubbles:!0,composed:!0,detail:{type:\"paragraph\",start:e.start,end:e.end}}));else{let e=this.selection.document.content,t=Math.max(0,e.lastIndexOf(\"\\n\",parseInt(this.selection.start,10))),n=e.indexOf(\"\\n\",parseInt(this.selection.end,10));-1===n&&(n=e.length),this.dispatchEvent(new CustomEvent(\"addAnnotation\",{bubbles:!0,composed:!0,detail:{type:\"heading\",start:t,end:n,attributes:{level:1}}}))}}onLevelClick(){let e=this.getOverlappingHeading(),t=parseInt(e.attributes.level,10)+1;this.dispatchEvent(new CustomEvent(\"attributechange\",{bubbles:!0,composed:!0,detail:{annotationId:e.id,attributes:Object.assign(e.attributes,{level:t})}}))}}exports.default=n,n.template='<button class=\"toggle\">H</button><button class=\"level\"></button>',n.style=\"\\n :host(.active) .toggle {\\n border-color: red;\\n font-weight: bold;\\n }\\n\\n .level {\\n display: none;\\n }\\n\\n :host(.active) .level {\\n display: initial;\\n }\\n\\n :host(.active) .level.hidden {\\n display: none;\\n }\\n \",n.events={selectionchange:\"onSelectionChange\",\"click .toggle\":\"onToggleClick\",\"click .level\":\"onLevelClick\"},window.customElements.get(\"offset-heading-action-button\")||window.customElements.define(\"offset-heading-action-button\",n);","map":{"mappings":[{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":131}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":140}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":142}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":145}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":152}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":155}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":157}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":168}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":170}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":171}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":179}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":182}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":188}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":55},"generated":{"line":1,"column":198}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":200}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":1,"column":208}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":232}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":239}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":16},"generated":{"line":1,"column":244}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":26},"generated":{"line":1,"column":254}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":46},"generated":{"line":1,"column":274}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":52},"generated":{"line":1,"column":279}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":81},"generated":{"line":1,"column":282}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":70},"generated":{"line":1,"column":294}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":36,"column":72},"generated":{"line":1,"column":296}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":39,"column":2},"generated":{"line":1,"column":302}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":39,"column":20},"generated":{"line":1,"column":320}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":323}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":327}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":10},"generated":{"line":1,"column":333}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":335}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":17},"generated":{"line":1,"column":339}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":341}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":22},"generated":{"line":1,"column":350}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":35},"generated":{"line":1,"column":353}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":40,"column":39},"generated":{"line":1,"column":355}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":362}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":41,"column":31},"generated":{"line":1,"column":365}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":367}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":370}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":18},"generated":{"line":1,"column":374}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":43,"column":23},"generated":{"line":1,"column":376}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":10},"generated":{"line":1,"column":377}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":45,"column":10},"generated":{"line":1,"column":381}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":27},"generated":{"line":1,"column":383}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":36},"generated":{"line":1,"column":385}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":44},"generated":{"line":1,"column":393}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":50},"generated":{"line":1,"column":399}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":44,"column":57},"generated":{"line":1,"column":401}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":45,"column":33},"generated":{"line":1,"column":404}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":45,"column":45},"generated":{"line":1,"column":416}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":422}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":31},"generated":{"line":1,"column":425}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":20},"generated":{"line":1,"column":429}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":36},"generated":{"line":1,"column":432}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":46},"generated":{"line":1,"column":436}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":46,"column":52},"generated":{"line":1,"column":438}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":49,"column":8},"generated":{"line":1,"column":440}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":49,"column":9},"generated":{"line":1,"column":443}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":49,"column":14},"generated":{"line":1,"column":448}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":459}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":462}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":52,"column":21},"generated":{"line":1,"column":464}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":465}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":470}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":23},"generated":{"line":1,"column":480}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":54,"column":27},"generated":{"line":1,"column":482}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":489}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":493}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":31},"generated":{"line":1,"column":495}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":56,"column":36},"generated":{"line":1,"column":500}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":10},"generated":{"line":1,"column":524}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":24},"generated":{"line":1,"column":526}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":29},"generated":{"line":1,"column":531}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":40},"generated":{"line":1,"column":542}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":57,"column":54},"generated":{"line":1,"column":556}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":1,"column":566}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":25},"generated":{"line":1,"column":568}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":30},"generated":{"line":1,"column":573}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":41},"generated":{"line":1,"column":584}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":598}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":10},"generated":{"line":1,"column":609}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":11},"generated":{"line":1,"column":613}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":27},"generated":{"line":1,"column":617}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":60,"column":41},"generated":{"line":1,"column":619}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":62,"column":10},"generated":{"line":1,"column":626}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":62,"column":10},"generated":{"line":1,"column":629}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":62,"column":30},"generated":{"line":1,"column":631}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":8},"generated":{"line":1,"column":632}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":21},"generated":{"line":1,"column":634}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":35},"generated":{"line":1,"column":646}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":41},"generated":{"line":1,"column":650}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":60},"generated":{"line":1,"column":652}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":63,"column":71},"generated":{"line":1,"column":663}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":13},"generated":{"line":1,"column":669}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":13},"generated":{"line":1,"column":674}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":23},"generated":{"line":1,"column":684}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":64,"column":27},"generated":{"line":1,"column":688}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":12},"generated":{"line":1,"column":698}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":12},"generated":{"line":1,"column":702}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":24},"generated":{"line":1,"column":704}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":33},"generated":{"line":1,"column":713}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":52},"generated":{"line":1,"column":715}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":63},"generated":{"line":1,"column":726}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":70},"generated":{"line":1,"column":732}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":65,"column":76},"generated":{"line":1,"column":736}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":66,"column":12},"generated":{"line":1,"column":738}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":66,"column":24},"generated":{"line":1,"column":740}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":1,"column":743}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":22},"generated":{"line":1,"column":745}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":1,"column":757}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":67,"column":42},"generated":{"line":1,"column":761}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":1,"column":763}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":22},"generated":{"line":1,"column":765}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":32},"generated":{"line":1,"column":775}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":782}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":10},"generated":{"line":1,"column":793}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":1,"column":795}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":32},"generated":{"line":1,"column":805}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":70,"column":36},"generated":{"line":1,"column":809}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":73,"column":8},"generated":{"line":1,"column":824}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":73,"column":21},"generated":{"line":1,"column":826}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":73,"column":35},"generated":{"line":1,"column":838}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":8},"generated":{"line":1,"column":843}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":20},"generated":{"line":1,"column":845}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":30},"generated":{"line":1,"column":855}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":74,"column":34},"generated":{"line":1,"column":859}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":13},"generated":{"line":1,"column":869}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":13},"generated":{"line":1,"column":874}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":23},"generated":{"line":1,"column":884}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":75,"column":30},"generated":{"line":1,"column":891}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":901}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":906}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":17},"generated":{"line":1,"column":912}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":78,"column":27},"generated":{"line":1,"column":920}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":81,"column":13},"generated":{"line":1,"column":942}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":81,"column":18},"generated":{"line":1,"column":947}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":82,"column":6},"generated":{"line":1,"column":957}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":82,"column":10},"generated":{"line":1,"column":959}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":1,"column":976}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":1,"column":981}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":17},"generated":{"line":1,"column":987}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":1,"column":995}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":87,"column":2},"generated":{"line":1,"column":1002}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":1,"column":1018}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":1,"column":1022}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":29},"generated":{"line":1,"column":1024}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":88,"column":34},"generated":{"line":1,"column":1029}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":1,"column":1053}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":1,"column":1056}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":11},"generated":{"line":1,"column":1058}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":11},"generated":{"line":1,"column":1063}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":25},"generated":{"line":1,"column":1077}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":29},"generated":{"line":1,"column":1081}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":41},"generated":{"line":1,"column":1093}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":92,"column":61},"generated":{"line":1,"column":1112}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":93,"column":8},"generated":{"line":1,"column":1113}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":93,"column":17},"generated":{"line":1,"column":1122}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":94,"column":8},"generated":{"line":1,"column":1124}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":94,"column":18},"generated":{"line":1,"column":1134}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":1,"column":1136}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":95,"column":16},"generated":{"line":1,"column":1143}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":96,"column":10},"generated":{"line":1,"column":1144}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":96,"column":24},"generated":{"line":1,"column":1157}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":96,"column":43},"generated":{"line":1,"column":1159}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":11},"generated":{"line":1,"column":1166}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":11},"generated":{"line":1,"column":1171}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":25},"generated":{"line":1,"column":1185}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":29},"generated":{"line":1,"column":1189}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":41},"generated":{"line":1,"column":1201}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":99,"column":58},"generated":{"line":1,"column":1217}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":100,"column":8},"generated":{"line":1,"column":1218}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":1,"column":1227}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":1,"column":1229}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":101,"column":18},"generated":{"line":1,"column":1239}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":1,"column":1241}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":102,"column":16},"generated":{"line":1,"column":1248}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":1249}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":1,"column":1254}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":1,"column":1266}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":104,"column":17},"generated":{"line":1,"column":1272}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":104,"column":36},"generated":{"line":1,"column":1274}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":1,"column":1280}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":105,"column":15},"generated":{"line":1,"column":1284}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":105,"column":34},"generated":{"line":1,"column":1286}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":1,"column":1298}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":1,"column":1299}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":1,"column":1303}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":20},"generated":{"line":1,"column":1305}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":25},"generated":{"line":1,"column":1310}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":35},"generated":{"line":1,"column":1320}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":110,"column":44},"generated":{"line":1,"column":1329}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":10},"generated":{"line":1,"column":1337}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":18},"generated":{"line":1,"column":1339}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":23},"generated":{"line":1,"column":1344}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":27},"generated":{"line":1,"column":1348}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":30},"generated":{"line":1,"column":1350}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":38},"generated":{"line":1,"column":1352}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":50},"generated":{"line":1,"column":1364}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":56},"generated":{"line":1,"column":1369}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":65},"generated":{"line":1,"column":1378}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":70},"generated":{"line":1,"column":1383}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":80},"generated":{"line":1,"column":1393}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":111,"column":87},"generated":{"line":1,"column":1399}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":10},"generated":{"line":1,"column":1405}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":16},"generated":{"line":1,"column":1407}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":24},"generated":{"line":1,"column":1409}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":32},"generated":{"line":1,"column":1417}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":38},"generated":{"line":1,"column":1422}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":47},"generated":{"line":1,"column":1431}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":52},"generated":{"line":1,"column":1436}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":62},"generated":{"line":1,"column":1446}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":1,"column":1450}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":19},"generated":{"line":1,"column":1456}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":10},"generated":{"line":1,"column":1460}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":22},"generated":{"line":1,"column":1464}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":1466}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":113,"column":36},"generated":{"line":1,"column":1468}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":11},"generated":{"line":1,"column":1476}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":11},"generated":{"line":1,"column":1481}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":25},"generated":{"line":1,"column":1495}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":1,"column":1499}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":41},"generated":{"line":1,"column":1511}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":115,"column":58},"generated":{"line":1,"column":1527}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":116,"column":8},"generated":{"line":1,"column":1528}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":116,"column":17},"generated":{"line":1,"column":1537}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":117,"column":8},"generated":{"line":1,"column":1539}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":117,"column":18},"generated":{"line":1,"column":1549}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":1551}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":118,"column":16},"generated":{"line":1,"column":1558}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":119,"column":10},"generated":{"line":1,"column":1559}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":119,"column":16},"generated":{"line":1,"column":1564}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":10},"generated":{"line":1,"column":1574}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":10},"generated":{"line":1,"column":1580}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":17},"generated":{"line":1,"column":1582}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":120,"column":17},"generated":{"line":1,"column":1586}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":10},"generated":{"line":1,"column":1588}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":22},"generated":{"line":1,"column":1599}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":24},"generated":{"line":1,"column":1600}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":121,"column":31},"generated":{"line":1,"column":1606}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":127,"column":2},"generated":{"line":1,"column":1614}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":1,"column":1629}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":1,"column":1633}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":29},"generated":{"line":1,"column":1635}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":128,"column":34},"generated":{"line":1,"column":1640}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":8},"generated":{"line":1,"column":1664}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":16},"generated":{"line":1,"column":1666}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":25},"generated":{"line":1,"column":1675}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":44},"generated":{"line":1,"column":1677}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":55},"generated":{"line":1,"column":1688}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":62},"generated":{"line":1,"column":1694}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":130,"column":68},"generated":{"line":1,"column":1698}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":9},"generated":{"line":1,"column":1700}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":9},"generated":{"line":1,"column":1705}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":23},"generated":{"line":1,"column":1719}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":27},"generated":{"line":1,"column":1723}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":39},"generated":{"line":1,"column":1735}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":133,"column":58},"generated":{"line":1,"column":1753}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":134,"column":6},"generated":{"line":1,"column":1754}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":134,"column":15},"generated":{"line":1,"column":1763}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":135,"column":6},"generated":{"line":1,"column":1765}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":135,"column":16},"generated":{"line":1,"column":1775}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":136,"column":6},"generated":{"line":1,"column":1777}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":136,"column":14},"generated":{"line":1,"column":1784}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":137,"column":8},"generated":{"line":1,"column":1785}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":137,"column":22},"generated":{"line":1,"column":1798}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":137,"column":41},"generated":{"line":1,"column":1800}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":8},"generated":{"line":1,"column":1803}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":20},"generated":{"line":1,"column":1814}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":27},"generated":{"line":1,"column":1821}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":34},"generated":{"line":1,"column":1828}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":53},"generated":{"line":1,"column":1830}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":65},"generated":{"line":1,"column":1841}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":67},"generated":{"line":1,"column":1842}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":138,"column":67},"generated":{"line":1,"column":1848}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":1857}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":1865}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":146,"column":1},"generated":{"line":1,"column":1873}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":1875}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":1877}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":1886}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1953}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1955}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":8,"column":17},"generated":{"line":1,"column":1961}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":27,"column":9},"generated":{"line":1,"column":2232}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":27,"column":9},"generated":{"line":1,"column":2234}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":27,"column":18},"generated":{"line":1,"column":2241}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":28,"column":23},"generated":{"line":1,"column":2242}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":28,"column":23},"generated":{"line":1,"column":2258}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":29,"column":21},"generated":{"line":1,"column":2278}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":29,"column":21},"generated":{"line":1,"column":2294}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":30,"column":20},"generated":{"line":1,"column":2310}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":30,"column":20},"generated":{"line":1,"column":2325}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":5},"generated":{"line":1,"column":2341}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":12},"generated":{"line":1,"column":2348}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":27},"generated":{"line":1,"column":2363}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":144,"column":31},"generated":{"line":1,"column":2367}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":2},"generated":{"line":1,"column":2400}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":9},"generated":{"line":1,"column":2407}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":24},"generated":{"line":1,"column":2422}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":31},"generated":{"line":1,"column":2429}},{"source":"../../../src/components/heading-action-button.ts","name":null,"original":{"line":145,"column":63},"generated":{"line":1,"column":2460}}],"sources":{"../../../src/components/heading-action-button.ts":"import { Annotation } from '@atjson/document';\nimport WebComponent from '../mixins/component';\n\nexport default class OffsetHeadingActionButton extends WebComponent {\n\n static template = '<button class=\"toggle\">H</button><button class=\"level\"></button>';\n\n static style = `\n :host(.active) .toggle {\n border-color: red;\n font-weight: bold;\n }\n\n .level {\n display: none;\n }\n\n :host(.active) .level {\n display: initial;\n }\n\n :host(.active) .level.hidden {\n display: none;\n }\n `;\n\n static events = {\n 'selectionchange': 'onSelectionChange',\n 'click .toggle': 'onToggleClick',\n 'click .level': 'onLevelClick'\n };\n\n selection: any;\n\n getOverlappingHeading() {\n return this.selection.selectedAnnotations.find((a: Annotation) => a.type === 'heading');\n }\n\n onSelectionChange(evt: CustomEvent) {\n let { start, end, document } = evt.detail;\n let newlineFree: boolean = false;\n\n if (start !== end) {\n let coveredContent = document.content.slice(start, end);\n let nlIdx = coveredContent.lastIndexOf('\\n');\n newlineFree = nlIdx === -1 || nlIdx === end - 1;\n }\n\n if (!this.shadowRoot) return;\n\n // Only display if the selection *does not* span multiple paragraphs.\n if (newlineFree) {\n\n this.selection = evt.detail;\n\n let overlappingHeading = this.getOverlappingHeading();\n let levelButton = this.shadowRoot.querySelector('.level');\n let toggleButton = this.shadowRoot.querySelector('.toggle');\n\n if (!levelButton || !toggleButton) return;\n\n if (overlappingHeading) {\n toggleButton.textContent = 'H' + overlappingHeading.attributes.level;\n this.classList.add('active');\n let nextLevel = parseInt(overlappingHeading.attributes.level, 10) + 1;\n if (nextLevel < 4) {\n levelButton.textContent = 'H' + nextLevel;\n levelButton.classList.remove('hidden');\n } else {\n levelButton.classList.add('hidden');\n }\n } else {\n toggleButton.textContent = 'H1';\n levelButton.classList.add('hidden');\n this.classList.remove('active');\n }\n\n this.style.display = 'initial';\n\n } else {\n delete this.selection;\n evt.preventDefault();\n this.style.display = 'none';\n }\n }\n\n onToggleClick() {\n let overlappingHeading = this.getOverlappingHeading();\n\n if (overlappingHeading) {\n // Delete (toggle) the Heading\n this.dispatchEvent(new CustomEvent('deleteAnnotation', {\n bubbles: true,\n composed: true,\n detail: {\n annotationId: overlappingHeading.id\n }\n }));\n this.dispatchEvent(new CustomEvent('addAnnotation', {\n bubbles: true,\n composed: true,\n detail: {\n type: 'paragraph',\n start: overlappingHeading.start,\n end: overlappingHeading.end\n }\n }));\n } else {\n // Create a new Heading at level 1\n let content = this.selection.document.content;\n let start = Math.max(0, content.lastIndexOf('\\n', parseInt(this.selection.start, 10)));\n let end = content.indexOf('\\n', parseInt(this.selection.end, 10));\n if (end === -1) end = content.length;\n\n this.dispatchEvent(new CustomEvent('addAnnotation', {\n bubbles: true,\n composed: true,\n detail: {\n type: 'heading',\n start, end,\n attributes: { level: 1 }\n }\n }));\n }\n }\n\n onLevelClick() {\n let overlappingHeading = this.getOverlappingHeading();\n\n let level = parseInt(overlappingHeading.attributes.level, 10) + 1;\n\n // Update the existing heading's level.\n this.dispatchEvent(new CustomEvent('attributechange', {\n bubbles: true,\n composed: true,\n detail: {\n annotationId: overlappingHeading.id,\n attributes: Object.assign(overlappingHeading.attributes, { level })\n }\n }));\n }\n}\n\nif (!window.customElements.get('offset-heading-action-button')) {\n window.customElements.define('offset-heading-action-button', OffsetHeadingActionButton);\n}\n"},"lineCount":null}},"hash":"c8237e6e3a534b087b71f439ba2f6dee","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"a6fY","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/blockquote.ts","includedInParent":true,"mtime":1545342158128},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/blockquote.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.type=\"blockquote\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":40},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":213}}],"sources":{"../../../src/annotations/blockquote.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Blockquote extends BlockAnnotation {\n static type = 'blockquote';\n static vendorPrefix = 'offset';\n attributes!: {\n attribution: string;\n accreditation: string;\n };\n}\n"},"lineCount":null}},"hash":"2e8bce231569c45af35376b83a389b62","cacheData":{"env":{}}} | ||
{"id":"a6fY","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/blockquote.ts","includedInParent":true,"mtime":1545342158128},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/blockquote.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.type=\"blockquote\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":40},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/blockquote.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":213}}],"sources":{"../../../src/annotations/blockquote.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Blockquote extends BlockAnnotation {\n static type = 'blockquote';\n static vendorPrefix = 'offset';\n attributes!: {\n attribution: string;\n accreditation: string;\n };\n}\n"},"lineCount":null}},"hash":"2e8bce231569c45af35376b83a389b62","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"Ucoi","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503}],"generated":{"js":"for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);function t(o,t){var n=t||0,u=r;return[u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]]].join(\"\")}module.exports=t;","map":{"mappings":[{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":5,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":5,"column":0},"generated":{"line":1,"column":8}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":5,"column":0},"generated":{"line":1,"column":10}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":15}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":17}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":19}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":25}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":27}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":29}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":33}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":35}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":40}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":49}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":53}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":60}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":63}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":72}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":74}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":76}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":79}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":83}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":85}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":12,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":12,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":100}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":101}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":103}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":111}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":121}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":123}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":131}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":133}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":141}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":147}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":149}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":157}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":159}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":165}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":169}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":171}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":173}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":179}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":181}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":183}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":189}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":193}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":195}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":197}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":203}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":213}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":219}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":221}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":227}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":229}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":231}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":237}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":239}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":241}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":247}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":249}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":251}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":257}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":259}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":261}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":267}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":269}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":278}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":283}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":24,"column":0},"generated":{"line":1,"column":287}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":24,"column":0},"generated":{"line":1,"column":294}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":24,"column":0},"generated":{"line":1,"column":302}}],"sources":{"../../../../node_modules/uuid/lib/bytesToUuid.js":"/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n"},"lineCount":null}},"hash":"ec79efd6cd4521698920e83edd55b4d4","cacheData":{"env":{}}} | ||
{"id":"Ucoi","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503}],"generated":{"js":"for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);function t(o,t){var n=t||0,u=r;return[u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],\"-\",u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]],u[o[n++]]].join(\"\")}module.exports=t;","map":{"mappings":[{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":5,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":5,"column":0},"generated":{"line":1,"column":8}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":5,"column":0},"generated":{"line":1,"column":10}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":15}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":17}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":19}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":6,"column":0},"generated":{"line":1,"column":25}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":27}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":29}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":33}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":35}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":40}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":49}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":53}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":7,"column":0},"generated":{"line":1,"column":60}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":63}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":72}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":74}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":10,"column":0},"generated":{"line":1,"column":76}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":79}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":83}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":85}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":11,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":12,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":12,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":100}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":101}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":103}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":111}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":14,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":121}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":123}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":131}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":133}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":15,"column":0},"generated":{"line":1,"column":141}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":147}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":149}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":157}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":159}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":16,"column":0},"generated":{"line":1,"column":165}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":169}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":171}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":173}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":179}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":181}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":183}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":17,"column":0},"generated":{"line":1,"column":189}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":193}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":195}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":197}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":203}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":18,"column":0},"generated":{"line":1,"column":213}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":219}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":221}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":227}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":229}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":19,"column":0},"generated":{"line":1,"column":231}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":237}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":239}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":241}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":247}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":249}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":20,"column":0},"generated":{"line":1,"column":251}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":257}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":259}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":261}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":267}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":269}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":278}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":21,"column":0},"generated":{"line":1,"column":283}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":24,"column":0},"generated":{"line":1,"column":287}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":24,"column":0},"generated":{"line":1,"column":294}},{"source":"../../../../node_modules/uuid/lib/bytesToUuid.js","original":{"line":24,"column":0},"generated":{"line":1,"column":302}}],"sources":{"../../../../node_modules/uuid/lib/bytesToUuid.js":"/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n"},"lineCount":null}},"hash":"ec79efd6cd4521698920e83edd55b4d4","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"0ll8","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-commonmark/src/lib/punctuation.ts","includedInParent":true,"mtime":1548366955045},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-commonmark/package.json","includedInParent":true,"mtime":1550104714762}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.ENDING_WHITESPACE_PUNCTUATION=exports.BEGINNING_WHITESPACE_PUNCTUATION=exports.WHITESPACE_PUNCTUATION=exports.UNICODE_PUNCTUATION=exports.UNICODE_OPEN_PUNCTUATION=exports.UNICODE_OTHER_PUNCTUATION=exports.UNICODE_INITIAL_PUNCTUATION=exports.UNICODE_FINAL_PUNCTUATION=exports.UNICODE_CLOSE_PUNCTUATION=exports.UNICODE_DASH_PUNCTUATION=exports.UNICODE_CONNECTOR_PUNCTUATION=exports.ASCII_PUNCTUATION=void 0;const u=/[!-\\/:-@\\[-`{-~]/;exports.ASCII_PUNCTUATION=u;const e=/\\u005f\\u203f\\u2040\\u2054\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff3f/u;exports.UNICODE_CONNECTOR_PUNCTUATION=e;const f=/\\u002d\\u058a\\u05be\\u1400\\u1806\\u2010-\\u2015\\u2e17\\u2e1a\\u301c\\u3030\\u30a0\\ufe31\\ufe32\\ufe58\\ufe63\\uff0d/u;exports.UNICODE_DASH_PUNCTUATION=f;const N=/\\u0029\\u005d\\u007d\\u0f3b\\u0f3d\\u169c\\u2046\\u207e\\u208e\\u232a\\u2769\\u276b\\u276d\\u276f\\u2771\\u2773\\u2775\\u27c6\\u27e7\\u27e9\\u27eb\\u27ed\\u27ef\\u2984\\u2986\\u2988\\u298a\\u298c\\u298e\\u2990\\u2992\\u2994\\u2996\\u2998\\u29d9\\u29db\\u29fd\\u2e23\\u2e25\\u2e27\\u2e29\\u3009\\u300b\\u300d\\u300f\\u3011\\u3015\\u3017\\u3019\\u301b\\u301e\\u301f\\ufd3f\\ufe18\\ufe36\\ufe38\\ufe3a\\ufe3c\\ufe3e\\ufe40\\ufe42\\ufe44\\ufe48\\ufe5a\\ufe5c\\ufe5e\\uff09\\uff3d\\uff5d\\uff60\\uff63/u;exports.UNICODE_CLOSE_PUNCTUATION=N;const a=/\\u00bb\\u2019\\u201d\\u203a\\u2e03\\u2e05\\u2e0a\\u2e0d\\u2e1d\\u2e21/u;exports.UNICODE_FINAL_PUNCTUATION=a;const I=/\\u00ab\\u2018\\u201b\\u201c\\u201f\\u2039\\u2e02\\u2e04\\u2e09\\u2e0c\\u2e1c\\u2e20/u;exports.UNICODE_INITIAL_PUNCTUATION=I;const U=/\\u0021-\\u0023\\u0025-\\u0027\\u002a\\u002c\\u002e\\u002f\\u003a\\u003b\\u003f\\u0040\\u005c\\u00a1\\u00b7\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589\\u05c0\\u05c3\\u05c6\\u05f3\\u05f4\\u0609\\u060a\\u060c\\u060d\\u061b\\u061e\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964\\u0965\\u0970\\u0df4\\u0e4f\\u0e5a\\u0e5b\\u0f04-\\u0f12\\u0f85\\u0fd0-\\u0fd4\\u0fd9\\u0fda\\u104a-\\u104f\\u10fb\\u1361-\\u1368\\u166d\\u166e\\u16eb-\\u16ed\\u1735\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u1805\\u1807-\\u180a\\u1944\\u1945\\u1a1e\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e\\u1c7f\\u1cd3\\u2016\\u2017\\u2020-\\u2027\\u2030-\\u2038\\u203b-\\u203e\\u2041-\\u2043\\u2047-\\u2051\\u2053\\u2055-\\u205e\\u2cf9-\\u2cfc\\u2cfe\\u2cff\\u2d70\\u2e00\\u2e01\\u2e06-\\u2e08\\u2e0b\\u2e0e-\\u2e16\\u2e18\\u2e19\\u2e1b\\u2e1e\\u2e1f\\u2e2a-\\u2e2e\\u2e30\\u2e31\\u3001-\\u3003\\u303d\\u30fb\\ua4fe\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce\\ua8cf\\ua8f8-\\ua8fa\\ua92e\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de\\ua9df\\uaa5c-\\uaa5f\\uaade\\uaadf\\uabeb\\ufe10-\\ufe16\\ufe19\\ufe30\\ufe45\\ufe46\\ufe49-\\ufe4c\\ufe50-\\ufe52\\ufe54-\\ufe57\\ufe5f-\\ufe61\\ufe68\\ufe6a\\ufe6b\\uff01-\\uff03\\uff05-\\uff07\\uff0a\\uff0c\\uff0e\\uff0f\\uff1a\\uff1b\\uff1f\\uff20\\uff3c\\uff61\\uff64\\uff65/u;exports.UNICODE_OTHER_PUNCTUATION=U;const T=/\\u0028\\u005b\\u007b\\u0f3a\\u0f3c\\u169b\\u201a\\u201e\\u2045\\u207d\\u208d\\u2329\\u2768\\u276a\\u276c\\u276e\\u2770\\u2772\\u2774\\u27c5\\u27e6\\u27e8\\u27ea\\u27ec\\u27ee\\u2983\\u2985\\u2987\\u2989\\u298b\\u298d\\u298f\\u2991\\u2993\\u2995\\u2997\\u29d8\\u29da\\u29fc\\u2e22\\u2e24\\u2e26\\u2e28\\u3008\\u300a\\u300c\\u300e\\u3010\\u3014\\u3016\\u3018\\u301a\\u301d\\ufd3e\\ufe17\\ufe35\\ufe37\\ufe39\\ufe3b\\ufe3d\\ufe3f\\ufe41\\ufe43\\ufe47\\ufe59\\ufe5b\\ufe5d\\uff08\\uff3b\\uff5b\\uff5f\\uff62/u;exports.UNICODE_OPEN_PUNCTUATION=T;const c=new RegExp(`[${[e,f,N,a,I,U,T].map(u=>u.source).join(\"\")}]`,\"u\");exports.UNICODE_PUNCTUATION=c;const d=new RegExp(`((\\\\s| ){1}|(\\\\\\\\?${u.source}|${c.source}))`);exports.WHITESPACE_PUNCTUATION=d;const C=new RegExp(`^${d.source}`);exports.BEGINNING_WHITESPACE_PUNCTUATION=C;const O=new RegExp(`${d.source}$`);exports.ENDING_WHITESPACE_PUNCTUATION=O;","map":{"mappings":[{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":0}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":13}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":20}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":35}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":43}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":56}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":57}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":64}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":68}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":76}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":106}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":114}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":147}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":155}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":178}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":186}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":206}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":214}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":239}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":247}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":273}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":281}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":309}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":317}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":343}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":351}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":377}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":385}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":410}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":418}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":448}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":456}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":479}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":481}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":487}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":14,"column":33},"generated":{"line":1,"column":489}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":508}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":516}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":534}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":17,"column":7},"generated":{"line":1,"column":536}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":542}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":17,"column":45},"generated":{"line":1,"column":544}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":603}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":611}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":641}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":20,"column":7},"generated":{"line":1,"column":643}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":20,"column":13},"generated":{"line":1,"column":649}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":20,"column":40},"generated":{"line":1,"column":651}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":758}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":766}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":791}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":1,"column":793}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":23,"column":13},"generated":{"line":1,"column":799}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":1,"column":801}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1231}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1239}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1265}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":26,"column":7},"generated":{"line":1,"column":1267}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":1273}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":26,"column":41},"generated":{"line":1,"column":1275}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1339}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1347}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1373}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":29,"column":7},"generated":{"line":1,"column":1375}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":29,"column":13},"generated":{"line":1,"column":1381}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":1,"column":1383}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1459}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1467}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1495}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":32,"column":7},"generated":{"line":1,"column":1497}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":32,"column":13},"generated":{"line":1,"column":1503}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":32,"column":41},"generated":{"line":1,"column":1505}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":2706}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":2714}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":2740}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":35,"column":7},"generated":{"line":1,"column":2742}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":35,"column":13},"generated":{"line":1,"column":2748}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":35,"column":40},"generated":{"line":1,"column":2750}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3186}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3194}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3219}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":7},"generated":{"line":1,"column":3221}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":13},"generated":{"line":1,"column":3227}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":35},"generated":{"line":1,"column":3229}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":39},"generated":{"line":1,"column":3233}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":50},"generated":{"line":1,"column":3244}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":39,"column":2},"generated":{"line":1,"column":3245}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":3247}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":41,"column":2},"generated":{"line":1,"column":3249}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":42,"column":2},"generated":{"line":1,"column":3251}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":1,"column":3253}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":44,"column":2},"generated":{"line":1,"column":3255}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":45,"column":2},"generated":{"line":1,"column":3257}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":2},"generated":{"line":1,"column":3260}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":3264}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":15},"generated":{"line":1,"column":3267}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":21},"generated":{"line":1,"column":3269}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":29},"generated":{"line":1,"column":3277}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":34},"generated":{"line":1,"column":3282}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":42},"generated":{"line":1,"column":3289}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3294}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3302}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3322}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":7},"generated":{"line":1,"column":3324}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":13},"generated":{"line":1,"column":3330}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":38},"generated":{"line":1,"column":3332}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":42},"generated":{"line":1,"column":3336}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":75},"generated":{"line":1,"column":3369}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":93},"generated":{"line":1,"column":3371}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":103},"generated":{"line":1,"column":3381}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":123},"generated":{"line":1,"column":3383}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3395}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3403}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3426}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":7},"generated":{"line":1,"column":3428}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":13},"generated":{"line":1,"column":3434}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":48},"generated":{"line":1,"column":3436}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":52},"generated":{"line":1,"column":3440}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":63},"generated":{"line":1,"column":3451}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":86},"generated":{"line":1,"column":3453}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3463}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3471}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3504}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3506}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":13},"generated":{"line":1,"column":3512}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":45},"generated":{"line":1,"column":3514}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":49},"generated":{"line":1,"column":3518}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":59},"generated":{"line":1,"column":3528}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":82},"generated":{"line":1,"column":3530}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3541}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3549}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3579}}],"sources":{"../../../src/lib/punctuation.ts":"/**\n * See https://spec.commonmark.org/0.28/#punctuation-character\n * In Markdown, a punctuation character is an ASCII punctuation character\n * or anything in the Unicode categories Pc, Pd, Pe, Pf, Pi, Po, or Ps\n * NOTE: the union of those categories is NOT the same as the unicode block\n * General Punctuation.\n * See https://http://www.unicode.org/Public/UNIDATA/UnicodeData.txt\n *\n * ES9 provides out-of-the-box support for these unicode categories\n * via Unicode Property Escapes: https://github.com/tc39/proposal-regexp-unicode-property-escapes\n * and once that is more widely supported this file can be removed.\n * */\n\nexport const ASCII_PUNCTUATION = /[!-\\/:-@\\[-`{-~]/;\n\n// ES9: /\\p{Pc}/\nexport const UNICODE_CONNECTOR_PUNCTUATION = /\\u005f\\u203f\\u2040\\u2054\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff3f/u;\n\n// ES9: /\\p{Pd}/\nexport const UNICODE_DASH_PUNCTUATION = /\\u002d\\u058a\\u05be\\u1400\\u1806\\u2010-\\u2015\\u2e17\\u2e1a\\u301c\\u3030\\u30a0\\ufe31\\ufe32\\ufe58\\ufe63\\uff0d/u;\n\n// ES9: /\\p{Pe}/\nexport const UNICODE_CLOSE_PUNCTUATION = /\\u0029\\u005d\\u007d\\u0f3b\\u0f3d\\u169c\\u2046\\u207e\\u208e\\u232a\\u2769\\u276b\\u276d\\u276f\\u2771\\u2773\\u2775\\u27c6\\u27e7\\u27e9\\u27eb\\u27ed\\u27ef\\u2984\\u2986\\u2988\\u298a\\u298c\\u298e\\u2990\\u2992\\u2994\\u2996\\u2998\\u29d9\\u29db\\u29fd\\u2e23\\u2e25\\u2e27\\u2e29\\u3009\\u300b\\u300d\\u300f\\u3011\\u3015\\u3017\\u3019\\u301b\\u301e\\u301f\\ufd3f\\ufe18\\ufe36\\ufe38\\ufe3a\\ufe3c\\ufe3e\\ufe40\\ufe42\\ufe44\\ufe48\\ufe5a\\ufe5c\\ufe5e\\uff09\\uff3d\\uff5d\\uff60\\uff63/u;\n\n// ES9: /\\p{Pf}/\nexport const UNICODE_FINAL_PUNCTUATION = /\\u00bb\\u2019\\u201d\\u203a\\u2e03\\u2e05\\u2e0a\\u2e0d\\u2e1d\\u2e21/u;\n\n// ES9: /\\p{Pi}/\nexport const UNICODE_INITIAL_PUNCTUATION = /\\u00ab\\u2018\\u201b\\u201c\\u201f\\u2039\\u2e02\\u2e04\\u2e09\\u2e0c\\u2e1c\\u2e20/u;\n\n// ES9: /\\p{Po}/\nexport const UNICODE_OTHER_PUNCTUATION = /\\u0021-\\u0023\\u0025-\\u0027\\u002a\\u002c\\u002e\\u002f\\u003a\\u003b\\u003f\\u0040\\u005c\\u00a1\\u00b7\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589\\u05c0\\u05c3\\u05c6\\u05f3\\u05f4\\u0609\\u060a\\u060c\\u060d\\u061b\\u061e\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964\\u0965\\u0970\\u0df4\\u0e4f\\u0e5a\\u0e5b\\u0f04-\\u0f12\\u0f85\\u0fd0-\\u0fd4\\u0fd9\\u0fda\\u104a-\\u104f\\u10fb\\u1361-\\u1368\\u166d\\u166e\\u16eb-\\u16ed\\u1735\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u1805\\u1807-\\u180a\\u1944\\u1945\\u1a1e\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e\\u1c7f\\u1cd3\\u2016\\u2017\\u2020-\\u2027\\u2030-\\u2038\\u203b-\\u203e\\u2041-\\u2043\\u2047-\\u2051\\u2053\\u2055-\\u205e\\u2cf9-\\u2cfc\\u2cfe\\u2cff\\u2d70\\u2e00\\u2e01\\u2e06-\\u2e08\\u2e0b\\u2e0e-\\u2e16\\u2e18\\u2e19\\u2e1b\\u2e1e\\u2e1f\\u2e2a-\\u2e2e\\u2e30\\u2e31\\u3001-\\u3003\\u303d\\u30fb\\ua4fe\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce\\ua8cf\\ua8f8-\\ua8fa\\ua92e\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de\\ua9df\\uaa5c-\\uaa5f\\uaade\\uaadf\\uabeb\\ufe10-\\ufe16\\ufe19\\ufe30\\ufe45\\ufe46\\ufe49-\\ufe4c\\ufe50-\\ufe52\\ufe54-\\ufe57\\ufe5f-\\ufe61\\ufe68\\ufe6a\\ufe6b\\uff01-\\uff03\\uff05-\\uff07\\uff0a\\uff0c\\uff0e\\uff0f\\uff1a\\uff1b\\uff1f\\uff20\\uff3c\\uff61\\uff64\\uff65/u;\n\n// ES9: /\\p{Ps}/\nexport const UNICODE_OPEN_PUNCTUATION = /\\u0028\\u005b\\u007b\\u0f3a\\u0f3c\\u169b\\u201a\\u201e\\u2045\\u207d\\u208d\\u2329\\u2768\\u276a\\u276c\\u276e\\u2770\\u2772\\u2774\\u27c5\\u27e6\\u27e8\\u27ea\\u27ec\\u27ee\\u2983\\u2985\\u2987\\u2989\\u298b\\u298d\\u298f\\u2991\\u2993\\u2995\\u2997\\u29d8\\u29da\\u29fc\\u2e22\\u2e24\\u2e26\\u2e28\\u3008\\u300a\\u300c\\u300e\\u3010\\u3014\\u3016\\u3018\\u301a\\u301d\\ufd3e\\ufe17\\ufe35\\ufe37\\ufe39\\ufe3b\\ufe3d\\ufe3f\\ufe41\\ufe43\\ufe47\\ufe59\\ufe5b\\ufe5d\\uff08\\uff3b\\uff5b\\uff5f\\uff62/u;\n\n// ES9: /\\p{P}/\nexport const UNICODE_PUNCTUATION = new RegExp(`[${[\n UNICODE_CONNECTOR_PUNCTUATION,\n UNICODE_DASH_PUNCTUATION,\n UNICODE_CLOSE_PUNCTUATION,\n UNICODE_FINAL_PUNCTUATION,\n UNICODE_INITIAL_PUNCTUATION,\n UNICODE_OTHER_PUNCTUATION,\n UNICODE_OPEN_PUNCTUATION\n].map(regex => regex.source).join('')}]`, 'u');\n\n// Whitespace or (possibly escaped) Ascii punctuation or Unicode punctuation\nexport const WHITESPACE_PUNCTUATION = new RegExp(`((\\\\s| ){1}|(\\\\\\\\?${ASCII_PUNCTUATION.source}|${UNICODE_PUNCTUATION.source}))`);\nexport const BEGINNING_WHITESPACE_PUNCTUATION = new RegExp(`^${WHITESPACE_PUNCTUATION.source}`);\nexport const ENDING_WHITESPACE_PUNCTUATION = new RegExp(`${WHITESPACE_PUNCTUATION.source}$`);\n"},"lineCount":null}},"hash":"21a1024b1a75816d14a21fbde50d34d1","cacheData":{"env":{}}} | ||
{"id":"0ll8","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-commonmark/src/lib/punctuation.ts","includedInParent":true,"mtime":1548366955045},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-commonmark/package.json","includedInParent":true,"mtime":1550111425157}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.ENDING_WHITESPACE_PUNCTUATION=exports.BEGINNING_WHITESPACE_PUNCTUATION=exports.WHITESPACE_PUNCTUATION=exports.UNICODE_PUNCTUATION=exports.UNICODE_OPEN_PUNCTUATION=exports.UNICODE_OTHER_PUNCTUATION=exports.UNICODE_INITIAL_PUNCTUATION=exports.UNICODE_FINAL_PUNCTUATION=exports.UNICODE_CLOSE_PUNCTUATION=exports.UNICODE_DASH_PUNCTUATION=exports.UNICODE_CONNECTOR_PUNCTUATION=exports.ASCII_PUNCTUATION=void 0;const u=/[!-\\/:-@\\[-`{-~]/;exports.ASCII_PUNCTUATION=u;const e=/\\u005f\\u203f\\u2040\\u2054\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff3f/u;exports.UNICODE_CONNECTOR_PUNCTUATION=e;const f=/\\u002d\\u058a\\u05be\\u1400\\u1806\\u2010-\\u2015\\u2e17\\u2e1a\\u301c\\u3030\\u30a0\\ufe31\\ufe32\\ufe58\\ufe63\\uff0d/u;exports.UNICODE_DASH_PUNCTUATION=f;const N=/\\u0029\\u005d\\u007d\\u0f3b\\u0f3d\\u169c\\u2046\\u207e\\u208e\\u232a\\u2769\\u276b\\u276d\\u276f\\u2771\\u2773\\u2775\\u27c6\\u27e7\\u27e9\\u27eb\\u27ed\\u27ef\\u2984\\u2986\\u2988\\u298a\\u298c\\u298e\\u2990\\u2992\\u2994\\u2996\\u2998\\u29d9\\u29db\\u29fd\\u2e23\\u2e25\\u2e27\\u2e29\\u3009\\u300b\\u300d\\u300f\\u3011\\u3015\\u3017\\u3019\\u301b\\u301e\\u301f\\ufd3f\\ufe18\\ufe36\\ufe38\\ufe3a\\ufe3c\\ufe3e\\ufe40\\ufe42\\ufe44\\ufe48\\ufe5a\\ufe5c\\ufe5e\\uff09\\uff3d\\uff5d\\uff60\\uff63/u;exports.UNICODE_CLOSE_PUNCTUATION=N;const a=/\\u00bb\\u2019\\u201d\\u203a\\u2e03\\u2e05\\u2e0a\\u2e0d\\u2e1d\\u2e21/u;exports.UNICODE_FINAL_PUNCTUATION=a;const I=/\\u00ab\\u2018\\u201b\\u201c\\u201f\\u2039\\u2e02\\u2e04\\u2e09\\u2e0c\\u2e1c\\u2e20/u;exports.UNICODE_INITIAL_PUNCTUATION=I;const U=/\\u0021-\\u0023\\u0025-\\u0027\\u002a\\u002c\\u002e\\u002f\\u003a\\u003b\\u003f\\u0040\\u005c\\u00a1\\u00b7\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589\\u05c0\\u05c3\\u05c6\\u05f3\\u05f4\\u0609\\u060a\\u060c\\u060d\\u061b\\u061e\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964\\u0965\\u0970\\u0df4\\u0e4f\\u0e5a\\u0e5b\\u0f04-\\u0f12\\u0f85\\u0fd0-\\u0fd4\\u0fd9\\u0fda\\u104a-\\u104f\\u10fb\\u1361-\\u1368\\u166d\\u166e\\u16eb-\\u16ed\\u1735\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u1805\\u1807-\\u180a\\u1944\\u1945\\u1a1e\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e\\u1c7f\\u1cd3\\u2016\\u2017\\u2020-\\u2027\\u2030-\\u2038\\u203b-\\u203e\\u2041-\\u2043\\u2047-\\u2051\\u2053\\u2055-\\u205e\\u2cf9-\\u2cfc\\u2cfe\\u2cff\\u2d70\\u2e00\\u2e01\\u2e06-\\u2e08\\u2e0b\\u2e0e-\\u2e16\\u2e18\\u2e19\\u2e1b\\u2e1e\\u2e1f\\u2e2a-\\u2e2e\\u2e30\\u2e31\\u3001-\\u3003\\u303d\\u30fb\\ua4fe\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce\\ua8cf\\ua8f8-\\ua8fa\\ua92e\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de\\ua9df\\uaa5c-\\uaa5f\\uaade\\uaadf\\uabeb\\ufe10-\\ufe16\\ufe19\\ufe30\\ufe45\\ufe46\\ufe49-\\ufe4c\\ufe50-\\ufe52\\ufe54-\\ufe57\\ufe5f-\\ufe61\\ufe68\\ufe6a\\ufe6b\\uff01-\\uff03\\uff05-\\uff07\\uff0a\\uff0c\\uff0e\\uff0f\\uff1a\\uff1b\\uff1f\\uff20\\uff3c\\uff61\\uff64\\uff65/u;exports.UNICODE_OTHER_PUNCTUATION=U;const T=/\\u0028\\u005b\\u007b\\u0f3a\\u0f3c\\u169b\\u201a\\u201e\\u2045\\u207d\\u208d\\u2329\\u2768\\u276a\\u276c\\u276e\\u2770\\u2772\\u2774\\u27c5\\u27e6\\u27e8\\u27ea\\u27ec\\u27ee\\u2983\\u2985\\u2987\\u2989\\u298b\\u298d\\u298f\\u2991\\u2993\\u2995\\u2997\\u29d8\\u29da\\u29fc\\u2e22\\u2e24\\u2e26\\u2e28\\u3008\\u300a\\u300c\\u300e\\u3010\\u3014\\u3016\\u3018\\u301a\\u301d\\ufd3e\\ufe17\\ufe35\\ufe37\\ufe39\\ufe3b\\ufe3d\\ufe3f\\ufe41\\ufe43\\ufe47\\ufe59\\ufe5b\\ufe5d\\uff08\\uff3b\\uff5b\\uff5f\\uff62/u;exports.UNICODE_OPEN_PUNCTUATION=T;const c=new RegExp(`[${[e,f,N,a,I,U,T].map(u=>u.source).join(\"\")}]`,\"u\");exports.UNICODE_PUNCTUATION=c;const d=new RegExp(`((\\\\s| ){1}|(\\\\\\\\?${u.source}|${c.source}))`);exports.WHITESPACE_PUNCTUATION=d;const C=new RegExp(`^${d.source}`);exports.BEGINNING_WHITESPACE_PUNCTUATION=C;const O=new RegExp(`${d.source}$`);exports.ENDING_WHITESPACE_PUNCTUATION=O;","map":{"mappings":[{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":0}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":13}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":20}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":35}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":43}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":56}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":57}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":64}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":68}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":76}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":106}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":114}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":147}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":155}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":178}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":186}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":206}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":214}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":239}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":247}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":273}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":281}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":309}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":317}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":343}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":351}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":377}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":385}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":410}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":418}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":448}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":456}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":479}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":481}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":487}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":14,"column":33},"generated":{"line":1,"column":489}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":508}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":516}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":534}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":17,"column":7},"generated":{"line":1,"column":536}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":542}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":17,"column":45},"generated":{"line":1,"column":544}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":603}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":611}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":641}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":20,"column":7},"generated":{"line":1,"column":643}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":20,"column":13},"generated":{"line":1,"column":649}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":20,"column":40},"generated":{"line":1,"column":651}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":758}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":766}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":791}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":1,"column":793}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":23,"column":13},"generated":{"line":1,"column":799}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":1,"column":801}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1231}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1239}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1265}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":26,"column":7},"generated":{"line":1,"column":1267}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":1273}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":26,"column":41},"generated":{"line":1,"column":1275}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1339}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1347}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1373}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":29,"column":7},"generated":{"line":1,"column":1375}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":29,"column":13},"generated":{"line":1,"column":1381}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":1,"column":1383}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1459}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1467}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":1495}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":32,"column":7},"generated":{"line":1,"column":1497}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":32,"column":13},"generated":{"line":1,"column":1503}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":32,"column":41},"generated":{"line":1,"column":1505}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":2706}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":2714}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":2740}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":35,"column":7},"generated":{"line":1,"column":2742}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":35,"column":13},"generated":{"line":1,"column":2748}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":35,"column":40},"generated":{"line":1,"column":2750}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3186}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3194}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3219}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":7},"generated":{"line":1,"column":3221}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":13},"generated":{"line":1,"column":3227}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":35},"generated":{"line":1,"column":3229}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":39},"generated":{"line":1,"column":3233}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":38,"column":50},"generated":{"line":1,"column":3244}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":39,"column":2},"generated":{"line":1,"column":3245}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":3247}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":41,"column":2},"generated":{"line":1,"column":3249}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":42,"column":2},"generated":{"line":1,"column":3251}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":1,"column":3253}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":44,"column":2},"generated":{"line":1,"column":3255}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":45,"column":2},"generated":{"line":1,"column":3257}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":2},"generated":{"line":1,"column":3260}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":3264}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":15},"generated":{"line":1,"column":3267}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":21},"generated":{"line":1,"column":3269}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":29},"generated":{"line":1,"column":3277}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":34},"generated":{"line":1,"column":3282}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":46,"column":42},"generated":{"line":1,"column":3289}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3294}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3302}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3322}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":7},"generated":{"line":1,"column":3324}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":13},"generated":{"line":1,"column":3330}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":38},"generated":{"line":1,"column":3332}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":42},"generated":{"line":1,"column":3336}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":75},"generated":{"line":1,"column":3369}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":93},"generated":{"line":1,"column":3371}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":103},"generated":{"line":1,"column":3381}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":49,"column":123},"generated":{"line":1,"column":3383}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3395}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3403}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3426}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":7},"generated":{"line":1,"column":3428}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":13},"generated":{"line":1,"column":3434}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":48},"generated":{"line":1,"column":3436}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":52},"generated":{"line":1,"column":3440}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":63},"generated":{"line":1,"column":3451}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":50,"column":86},"generated":{"line":1,"column":3453}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3463}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3471}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3504}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3506}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":13},"generated":{"line":1,"column":3512}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":45},"generated":{"line":1,"column":3514}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":49},"generated":{"line":1,"column":3518}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":59},"generated":{"line":1,"column":3528}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":82},"generated":{"line":1,"column":3530}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3541}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3549}},{"source":"../../../src/lib/punctuation.ts","name":null,"original":{"line":51,"column":7},"generated":{"line":1,"column":3579}}],"sources":{"../../../src/lib/punctuation.ts":"/**\n * See https://spec.commonmark.org/0.28/#punctuation-character\n * In Markdown, a punctuation character is an ASCII punctuation character\n * or anything in the Unicode categories Pc, Pd, Pe, Pf, Pi, Po, or Ps\n * NOTE: the union of those categories is NOT the same as the unicode block\n * General Punctuation.\n * See https://http://www.unicode.org/Public/UNIDATA/UnicodeData.txt\n *\n * ES9 provides out-of-the-box support for these unicode categories\n * via Unicode Property Escapes: https://github.com/tc39/proposal-regexp-unicode-property-escapes\n * and once that is more widely supported this file can be removed.\n * */\n\nexport const ASCII_PUNCTUATION = /[!-\\/:-@\\[-`{-~]/;\n\n// ES9: /\\p{Pc}/\nexport const UNICODE_CONNECTOR_PUNCTUATION = /\\u005f\\u203f\\u2040\\u2054\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff3f/u;\n\n// ES9: /\\p{Pd}/\nexport const UNICODE_DASH_PUNCTUATION = /\\u002d\\u058a\\u05be\\u1400\\u1806\\u2010-\\u2015\\u2e17\\u2e1a\\u301c\\u3030\\u30a0\\ufe31\\ufe32\\ufe58\\ufe63\\uff0d/u;\n\n// ES9: /\\p{Pe}/\nexport const UNICODE_CLOSE_PUNCTUATION = /\\u0029\\u005d\\u007d\\u0f3b\\u0f3d\\u169c\\u2046\\u207e\\u208e\\u232a\\u2769\\u276b\\u276d\\u276f\\u2771\\u2773\\u2775\\u27c6\\u27e7\\u27e9\\u27eb\\u27ed\\u27ef\\u2984\\u2986\\u2988\\u298a\\u298c\\u298e\\u2990\\u2992\\u2994\\u2996\\u2998\\u29d9\\u29db\\u29fd\\u2e23\\u2e25\\u2e27\\u2e29\\u3009\\u300b\\u300d\\u300f\\u3011\\u3015\\u3017\\u3019\\u301b\\u301e\\u301f\\ufd3f\\ufe18\\ufe36\\ufe38\\ufe3a\\ufe3c\\ufe3e\\ufe40\\ufe42\\ufe44\\ufe48\\ufe5a\\ufe5c\\ufe5e\\uff09\\uff3d\\uff5d\\uff60\\uff63/u;\n\n// ES9: /\\p{Pf}/\nexport const UNICODE_FINAL_PUNCTUATION = /\\u00bb\\u2019\\u201d\\u203a\\u2e03\\u2e05\\u2e0a\\u2e0d\\u2e1d\\u2e21/u;\n\n// ES9: /\\p{Pi}/\nexport const UNICODE_INITIAL_PUNCTUATION = /\\u00ab\\u2018\\u201b\\u201c\\u201f\\u2039\\u2e02\\u2e04\\u2e09\\u2e0c\\u2e1c\\u2e20/u;\n\n// ES9: /\\p{Po}/\nexport const UNICODE_OTHER_PUNCTUATION = /\\u0021-\\u0023\\u0025-\\u0027\\u002a\\u002c\\u002e\\u002f\\u003a\\u003b\\u003f\\u0040\\u005c\\u00a1\\u00b7\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589\\u05c0\\u05c3\\u05c6\\u05f3\\u05f4\\u0609\\u060a\\u060c\\u060d\\u061b\\u061e\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964\\u0965\\u0970\\u0df4\\u0e4f\\u0e5a\\u0e5b\\u0f04-\\u0f12\\u0f85\\u0fd0-\\u0fd4\\u0fd9\\u0fda\\u104a-\\u104f\\u10fb\\u1361-\\u1368\\u166d\\u166e\\u16eb-\\u16ed\\u1735\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u1805\\u1807-\\u180a\\u1944\\u1945\\u1a1e\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e\\u1c7f\\u1cd3\\u2016\\u2017\\u2020-\\u2027\\u2030-\\u2038\\u203b-\\u203e\\u2041-\\u2043\\u2047-\\u2051\\u2053\\u2055-\\u205e\\u2cf9-\\u2cfc\\u2cfe\\u2cff\\u2d70\\u2e00\\u2e01\\u2e06-\\u2e08\\u2e0b\\u2e0e-\\u2e16\\u2e18\\u2e19\\u2e1b\\u2e1e\\u2e1f\\u2e2a-\\u2e2e\\u2e30\\u2e31\\u3001-\\u3003\\u303d\\u30fb\\ua4fe\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce\\ua8cf\\ua8f8-\\ua8fa\\ua92e\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de\\ua9df\\uaa5c-\\uaa5f\\uaade\\uaadf\\uabeb\\ufe10-\\ufe16\\ufe19\\ufe30\\ufe45\\ufe46\\ufe49-\\ufe4c\\ufe50-\\ufe52\\ufe54-\\ufe57\\ufe5f-\\ufe61\\ufe68\\ufe6a\\ufe6b\\uff01-\\uff03\\uff05-\\uff07\\uff0a\\uff0c\\uff0e\\uff0f\\uff1a\\uff1b\\uff1f\\uff20\\uff3c\\uff61\\uff64\\uff65/u;\n\n// ES9: /\\p{Ps}/\nexport const UNICODE_OPEN_PUNCTUATION = /\\u0028\\u005b\\u007b\\u0f3a\\u0f3c\\u169b\\u201a\\u201e\\u2045\\u207d\\u208d\\u2329\\u2768\\u276a\\u276c\\u276e\\u2770\\u2772\\u2774\\u27c5\\u27e6\\u27e8\\u27ea\\u27ec\\u27ee\\u2983\\u2985\\u2987\\u2989\\u298b\\u298d\\u298f\\u2991\\u2993\\u2995\\u2997\\u29d8\\u29da\\u29fc\\u2e22\\u2e24\\u2e26\\u2e28\\u3008\\u300a\\u300c\\u300e\\u3010\\u3014\\u3016\\u3018\\u301a\\u301d\\ufd3e\\ufe17\\ufe35\\ufe37\\ufe39\\ufe3b\\ufe3d\\ufe3f\\ufe41\\ufe43\\ufe47\\ufe59\\ufe5b\\ufe5d\\uff08\\uff3b\\uff5b\\uff5f\\uff62/u;\n\n// ES9: /\\p{P}/\nexport const UNICODE_PUNCTUATION = new RegExp(`[${[\n UNICODE_CONNECTOR_PUNCTUATION,\n UNICODE_DASH_PUNCTUATION,\n UNICODE_CLOSE_PUNCTUATION,\n UNICODE_FINAL_PUNCTUATION,\n UNICODE_INITIAL_PUNCTUATION,\n UNICODE_OTHER_PUNCTUATION,\n UNICODE_OPEN_PUNCTUATION\n].map(regex => regex.source).join('')}]`, 'u');\n\n// Whitespace or (possibly escaped) Ascii punctuation or Unicode punctuation\nexport const WHITESPACE_PUNCTUATION = new RegExp(`((\\\\s| ){1}|(\\\\\\\\?${ASCII_PUNCTUATION.source}|${UNICODE_PUNCTUATION.source}))`);\nexport const BEGINNING_WHITESPACE_PUNCTUATION = new RegExp(`^${WHITESPACE_PUNCTUATION.source}`);\nexport const ENDING_WHITESPACE_PUNCTUATION = new RegExp(`${WHITESPACE_PUNCTUATION.source}$`);\n"},"lineCount":null}},"hash":"21a1024b1a75816d14a21fbde50d34d1","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"HsDP","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/inline.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/inline.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return 100}}exports.default=r;","map":{"mappings":[{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":30},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":55},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":225}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":233}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":241}}],"sources":{"../../../src/annotations/inline.ts":"import Annotation from '../annotation';\n\nexport default abstract class InlineAnnotation extends Annotation {\n get rank() {\n return 100;\n }\n}\n"},"lineCount":null}},"hash":"c12afb51a666d78aa47d88cedacf968a","cacheData":{"env":{}}} | ||
{"id":"HsDP","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/inline.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/inline.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return 100}}exports.default=r;","map":{"mappings":[{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":30},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":55},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":225}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":233}},{"source":"../../../src/annotations/inline.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":241}}],"sources":{"../../../src/annotations/inline.ts":"import Annotation from '../annotation';\n\nexport default abstract class InlineAnnotation extends Annotation {\n get rank() {\n return 100;\n }\n}\n"},"lineCount":null}},"hash":"c12afb51a666d78aa47d88cedacf968a","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"DRek","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/strikethrough.ts","includedInParent":true,"mtime":1545342158133},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/strikethrough.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"strikethrough\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":43},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":217}}],"sources":{"../../../src/annotations/strikethrough.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Strikethrough extends InlineAnnotation {\n static type = 'strikethrough';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"ee9ae59a1731c88834f4f136a88a23cb","cacheData":{"env":{}}} | ||
{"id":"DRek","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/strikethrough.ts","includedInParent":true,"mtime":1545342158133},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/strikethrough.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"strikethrough\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":43},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/strikethrough.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":217}}],"sources":{"../../../src/annotations/strikethrough.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Strikethrough extends InlineAnnotation {\n static type = 'strikethrough';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"ee9ae59a1731c88834f4f136a88a23cb","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"DKsH","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/italic.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/italic.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"italic\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":36},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/italic.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Italic extends InlineAnnotation {\n static type = 'italic';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"fe3d097364b776742afd20258481eb0d","cacheData":{"env":{}}} | ||
{"id":"DKsH","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/italic.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/italic.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"italic\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":36},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/italic.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/italic.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Italic extends InlineAnnotation {\n static type = 'italic';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"fe3d097364b776742afd20258481eb0d","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"zYOi","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/mixins/editable-component.ts","includedInParent":true,"mtime":1545342158141},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"./component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"./component\"));function e(t){return t&&t.__esModule?t:{default:t}}class n extends t.default{static get selectionButton(){let t=document.createElement(\"button\");return t.setAttribute(\"data-type\",this.annotationName),t.innerHTML=this.annotationName,t}static elementRenderer(t){let e=document.createElement(\"div\");return e.setAttribute(\"data-type\",t.type),e}cursorFocus(){this.classList.add(\"cursorfocus\")}cursorBlur(){this.classList.remove(\"cursorfocus\")}}exports.default=n,n.style=\"\\n :host {\\n position: relative;\\n outline: none;\\n }\\n\\n @keyframes showControls {\\n from { opacity: 0; }\\n to { opacity: 1; }\\n }\\n\\n .controls {\\n position: absolute;\\n top: -2.5em;\\n left: 0;\\n height: 1.5em;\\n vertical-align: baseline;\\n background-color: white;\\n padding: 3px;\\n border: 1px solid black;\\n white-space: normal;\\n }\\n\\n :host(:not(.cursorfocus)) .controls {\\n display: none;\\n }\\n\\n :host(.cursorfocus) .controls {\\n animation: showControls 200ms ease-in-out both;\\n display: flex;\\n }\",n.events={cursorfocus:\"cursorFocus\",cursorblur:\"cursorBlur\"};","map":{"mappings":[{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":123}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":132}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":144}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":147}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":163}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":171}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":174}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":180}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":47},"generated":{"line":1,"column":190}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":192}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":44,"column":13},"generated":{"line":1,"column":200}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":229}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":233}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":13},"generated":{"line":1,"column":235}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":22},"generated":{"line":1,"column":244}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":36},"generated":{"line":1,"column":258}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":268}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":1,"column":275}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":7},"generated":{"line":1,"column":277}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":20},"generated":{"line":1,"column":290}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":33},"generated":{"line":1,"column":302}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":38},"generated":{"line":1,"column":307}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":4},"generated":{"line":1,"column":323}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":7},"generated":{"line":1,"column":325}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":19},"generated":{"line":1,"column":335}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":24},"generated":{"line":1,"column":340}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":355}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":51,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":51,"column":25},"generated":{"line":1,"column":380}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":383}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":387}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":12},"generated":{"line":1,"column":389}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":21},"generated":{"line":1,"column":398}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":35},"generated":{"line":1,"column":412}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":419}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":1,"column":426}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":1,"column":428}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":19},"generated":{"line":1,"column":441}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":32},"generated":{"line":1,"column":453}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":37},"generated":{"line":1,"column":455}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":461}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":57,"column":2},"generated":{"line":1,"column":463}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":9},"generated":{"line":1,"column":477}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":9},"generated":{"line":1,"column":482}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":19},"generated":{"line":1,"column":492}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":23},"generated":{"line":1,"column":496}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":511}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":524}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":529}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":19},"generated":{"line":1,"column":539}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":26},"generated":{"line":1,"column":546}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":562}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":570}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":578}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":580}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":582}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":5,"column":17},"generated":{"line":1,"column":588}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":1208}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":1210}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":18},"generated":{"line":1,"column":1217}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":38,"column":4},"generated":{"line":1,"column":1218}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":38,"column":17},"generated":{"line":1,"column":1230}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":39,"column":4},"generated":{"line":1,"column":1244}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":39,"column":16},"generated":{"line":1,"column":1255}}],"sources":{"../../../src/mixins/editable-component.ts":"import WebComponent from './component';\n\nexport default class EditableComponent extends WebComponent {\n\n static style = `\n :host {\n position: relative;\n outline: none;\n }\n\n @keyframes showControls {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n\n .controls {\n position: absolute;\n top: -2.5em;\n left: 0;\n height: 1.5em;\n vertical-align: baseline;\n background-color: white;\n padding: 3px;\n border: 1px solid black;\n white-space: normal;\n }\n\n :host(:not(.cursorfocus)) .controls {\n display: none;\n }\n\n :host(.cursorfocus) .controls {\n animation: showControls 200ms ease-in-out both;\n display: flex;\n }`;\n\n static events = {\n cursorfocus: 'cursorFocus',\n cursorblur: 'cursorBlur'\n };\n\n static annotationName: string;\n\n static get selectionButton() {\n let el = document.createElement('button');\n el.setAttribute('data-type', this.annotationName);\n el.innerHTML = this.annotationName;\n return el;\n }\n\n static elementRenderer(node: any): Element {\n let d = document.createElement('div');\n d.setAttribute('data-type', node.type);\n return d;\n }\n\n cursorFocus() {\n this.classList.add('cursorfocus');\n }\n\n cursorBlur() {\n this.classList.remove('cursorfocus');\n }\n}\n"},"lineCount":null}},"hash":"93a67afd15387aff802a4fa282081c05","cacheData":{"env":{}}} | ||
{"id":"zYOi","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/mixins/editable-component.ts","includedInParent":true,"mtime":1545342158141},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"./component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"./component\"));function e(t){return t&&t.__esModule?t:{default:t}}class n extends t.default{static get selectionButton(){let t=document.createElement(\"button\");return t.setAttribute(\"data-type\",this.annotationName),t.innerHTML=this.annotationName,t}static elementRenderer(t){let e=document.createElement(\"div\");return e.setAttribute(\"data-type\",t.type),e}cursorFocus(){this.classList.add(\"cursorfocus\")}cursorBlur(){this.classList.remove(\"cursorfocus\")}}exports.default=n,n.style=\"\\n :host {\\n position: relative;\\n outline: none;\\n }\\n\\n @keyframes showControls {\\n from { opacity: 0; }\\n to { opacity: 1; }\\n }\\n\\n .controls {\\n position: absolute;\\n top: -2.5em;\\n left: 0;\\n height: 1.5em;\\n vertical-align: baseline;\\n background-color: white;\\n padding: 3px;\\n border: 1px solid black;\\n white-space: normal;\\n }\\n\\n :host(:not(.cursorfocus)) .controls {\\n display: none;\\n }\\n\\n :host(.cursorfocus) .controls {\\n animation: showControls 200ms ease-in-out both;\\n display: flex;\\n }\",n.events={cursorfocus:\"cursorFocus\",cursorblur:\"cursorBlur\"};","map":{"mappings":[{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":123}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":132}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":144}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":147}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":163}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":171}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":174}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":180}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":47},"generated":{"line":1,"column":190}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":192}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":44,"column":13},"generated":{"line":1,"column":200}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":229}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":233}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":13},"generated":{"line":1,"column":235}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":22},"generated":{"line":1,"column":244}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":45,"column":36},"generated":{"line":1,"column":258}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":268}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":1,"column":275}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":7},"generated":{"line":1,"column":277}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":20},"generated":{"line":1,"column":290}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":33},"generated":{"line":1,"column":302}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":46,"column":38},"generated":{"line":1,"column":307}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":4},"generated":{"line":1,"column":323}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":7},"generated":{"line":1,"column":325}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":19},"generated":{"line":1,"column":335}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":47,"column":24},"generated":{"line":1,"column":340}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":355}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":51,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":51,"column":25},"generated":{"line":1,"column":380}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":383}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":387}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":12},"generated":{"line":1,"column":389}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":21},"generated":{"line":1,"column":398}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":52,"column":35},"generated":{"line":1,"column":412}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":419}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":1,"column":426}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":1,"column":428}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":19},"generated":{"line":1,"column":441}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":32},"generated":{"line":1,"column":453}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":53,"column":37},"generated":{"line":1,"column":455}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":461}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":57,"column":2},"generated":{"line":1,"column":463}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":9},"generated":{"line":1,"column":477}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":9},"generated":{"line":1,"column":482}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":19},"generated":{"line":1,"column":492}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":58,"column":23},"generated":{"line":1,"column":496}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":511}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":524}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":529}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":19},"generated":{"line":1,"column":539}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":62,"column":26},"generated":{"line":1,"column":546}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":562}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":570}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":578}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":580}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":582}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":5,"column":17},"generated":{"line":1,"column":588}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":1208}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":1210}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":37,"column":18},"generated":{"line":1,"column":1217}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":38,"column":4},"generated":{"line":1,"column":1218}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":38,"column":17},"generated":{"line":1,"column":1230}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":39,"column":4},"generated":{"line":1,"column":1244}},{"source":"../../../src/mixins/editable-component.ts","name":null,"original":{"line":39,"column":16},"generated":{"line":1,"column":1255}}],"sources":{"../../../src/mixins/editable-component.ts":"import WebComponent from './component';\n\nexport default class EditableComponent extends WebComponent {\n\n static style = `\n :host {\n position: relative;\n outline: none;\n }\n\n @keyframes showControls {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n\n .controls {\n position: absolute;\n top: -2.5em;\n left: 0;\n height: 1.5em;\n vertical-align: baseline;\n background-color: white;\n padding: 3px;\n border: 1px solid black;\n white-space: normal;\n }\n\n :host(:not(.cursorfocus)) .controls {\n display: none;\n }\n\n :host(.cursorfocus) .controls {\n animation: showControls 200ms ease-in-out both;\n display: flex;\n }`;\n\n static events = {\n cursorfocus: 'cursorFocus',\n cursorblur: 'cursorBlur'\n };\n\n static annotationName: string;\n\n static get selectionButton() {\n let el = document.createElement('button');\n el.setAttribute('data-type', this.annotationName);\n el.innerHTML = this.annotationName;\n return el;\n }\n\n static elementRenderer(node: any): Element {\n let d = document.createElement('div');\n d.setAttribute('data-type', node.type);\n return d;\n }\n\n cursorFocus() {\n this.classList.add('cursorfocus');\n }\n\n cursorBlur() {\n this.classList.remove('cursorfocus');\n }\n}\n"},"lineCount":null}},"hash":"93a67afd15387aff802a4fa282081c05","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"uN6c","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/heading.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"./heading-action-button","loc":{"line":1,"column":7},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading-action-button.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0,require(\"./heading-action-button\");class e{static elementRenderer(e){return document.createElement(\"h\"+e.attributes.level)}static get selectionButton(){return document.createElement(\"offset-heading-action-button\")}}exports.default=e,e.annotationName=\"heading\";","map":{"mappings":[{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":126}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":132}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":7,"column":25},"generated":{"line":1,"column":157}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":160}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":167}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":176}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":34},"generated":{"line":1,"column":190}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":40},"generated":{"line":1,"column":194}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":45},"generated":{"line":1,"column":196}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":56},"generated":{"line":1,"column":207}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":11,"column":13},"generated":{"line":1,"column":214}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":243}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":250}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":20},"generated":{"line":1,"column":259}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":1,"column":273}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":306}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":314}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":322}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":324}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":326}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":26},"generated":{"line":1,"column":341}}],"sources":{"../../../src/components/heading.ts":"import './heading-action-button';\n\nexport default class OffsetHeadingElement {\n\n static annotationName = 'heading';\n\n static elementRenderer(node: any): Element {\n return document.createElement('h' + node.attributes.level);\n }\n\n static get selectionButton() {\n return document.createElement('offset-heading-action-button');\n }\n}\n"},"lineCount":null}},"hash":"480c4be48d5fc961b4d35ca6678e77cd","cacheData":{"env":{}}} | ||
{"id":"uN6c","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/heading.ts","includedInParent":true,"mtime":1545342158138},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"./heading-action-button","loc":{"line":1,"column":7},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading-action-button.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0,require(\"./heading-action-button\");class e{static elementRenderer(e){return document.createElement(\"h\"+e.attributes.level)}static get selectionButton(){return document.createElement(\"offset-heading-action-button\")}}exports.default=e,e.annotationName=\"heading\";","map":{"mappings":[{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":126}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":132}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":7,"column":25},"generated":{"line":1,"column":157}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":160}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":167}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":176}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":34},"generated":{"line":1,"column":190}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":40},"generated":{"line":1,"column":194}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":45},"generated":{"line":1,"column":196}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":8,"column":56},"generated":{"line":1,"column":207}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":11,"column":13},"generated":{"line":1,"column":214}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":243}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":250}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":20},"generated":{"line":1,"column":259}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":1,"column":273}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":306}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":314}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":322}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":324}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":326}},{"source":"../../../src/components/heading.ts","name":null,"original":{"line":5,"column":26},"generated":{"line":1,"column":341}}],"sources":{"../../../src/components/heading.ts":"import './heading-action-button';\n\nexport default class OffsetHeadingElement {\n\n static annotationName = 'heading';\n\n static elementRenderer(node: any): Element {\n return document.createElement('h' + node.attributes.level);\n }\n\n static get selectionButton() {\n return document.createElement('offset-heading-action-button');\n }\n}\n"},"lineCount":null}},"hash":"480c4be48d5fc961b4d35ca6678e77cd","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"rWzd","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/heading.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/heading.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.type=\"heading\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":37},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/heading.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Heading extends BlockAnnotation {\n static type = 'heading';\n static vendorPrefix = 'offset';\n attributes!: {\n level: 1 | 2 | 3 | 4 | 5 | 6;\n };\n}\n"},"lineCount":null}},"hash":"c76234ba79356eb009df482eafe37222","cacheData":{"env":{}}} | ||
{"id":"rWzd","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/heading.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/heading.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.type=\"heading\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":37},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/heading.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/heading.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Heading extends BlockAnnotation {\n static type = 'heading';\n static vendorPrefix = 'offset';\n attributes!: {\n level: 1 | 2 | 3 | 4 | 5 | 6;\n };\n}\n"},"lineCount":null}},"hash":"c76234ba79356eb009df482eafe37222","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"91zb","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762}],"generated":{"css":"body{margin:0}","js":"","map":{"mappings":[],"sources":{},"lineCount":null}},"hash":"54147e5f6fe85b012fc342cd62cce745","cacheData":{"env":{}}} | ||
{"id":"91zb","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157}],"generated":{"css":"body{margin:0}","js":"","map":{"mappings":[],"sources":{},"lineCount":null}},"hash":"54147e5f6fe85b012fc342cd62cce745","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"kxce","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-attribute.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"../../src/mixins/component\"));class n extends t.default{attributeChangedCallback(e){switch(e){case\"name\":this.shadowRoot.querySelector(\".name\").innerHTML=this.getAttribute(\"name\");break;case\"value\":this.shadowRoot.querySelector(\".value\").innerHTML=this.getAttribute(\"value\")}}}n.template='<div class=\"attribute\"><span class=\"name\"></span>: \"<span class=\"value\"></span>\"</div>',n.style=\"\\n .attribute {\\n padding: 0;\\n margin: 0;\\n }\\n\\n .name {\\n padding-left: 1em;\\n color: rgb(153, 69, 0);\\n }\\n\\n .value {\\n color: rgb(26, 26, 166);\\n }\\n \",n.observedAttributes=[\"name\",\"value\"],exports.default=n,window.customElements.get(\"annotation-attribute\")||window.customElements.define(\"annotation-attribute\",n);","map":{"mappings":[{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":207}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":49},"generated":{"line":1,"column":217}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":49},"generated":{"line":1,"column":219}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":1,"column":227}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":24,"column":27},"generated":{"line":1,"column":252}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":25,"column":12},"generated":{"line":1,"column":255}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":25,"column":12},"generated":{"line":1,"column":262}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":265}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":269}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":276}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":281}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":1,"column":292}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":38},"generated":{"line":1,"column":306}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":47},"generated":{"line":1,"column":315}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":59},"generated":{"line":1,"column":325}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":64},"generated":{"line":1,"column":330}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":77},"generated":{"line":1,"column":343}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":351}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":29,"column":11},"generated":{"line":1,"column":357}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":29,"column":11},"generated":{"line":1,"column":361}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":369}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":374}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":24},"generated":{"line":1,"column":385}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":38},"generated":{"line":1,"column":399}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":48},"generated":{"line":1,"column":409}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":60},"generated":{"line":1,"column":419}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":65},"generated":{"line":1,"column":424}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":78},"generated":{"line":1,"column":437}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":448}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":450}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":4,"column":20},"generated":{"line":1,"column":459}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":548}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":550}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":6,"column":17},"generated":{"line":1,"column":556}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":759}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":761}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":30},"generated":{"line":1,"column":780}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":31},"generated":{"line":1,"column":781}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":39},"generated":{"line":1,"column":788}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":797}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":805}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":813}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":5},"generated":{"line":1,"column":815}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":12},"generated":{"line":1,"column":822}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":27},"generated":{"line":1,"column":837}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":31},"generated":{"line":1,"column":841}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":2},"generated":{"line":1,"column":866}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":873}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":24},"generated":{"line":1,"column":888}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":31},"generated":{"line":1,"column":895}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":55},"generated":{"line":1,"column":918}}],"sources":{"../src/document-inspector/annotation-attribute.ts":"import WebComponent from '../../src/mixins/component';\n\nexport default class AnnotationAttribute extends WebComponent {\n static template = '<div class=\"attribute\"><span class=\"name\"></span>: \"<span class=\"value\"></span>\"</div>';\n\n static style = `\n .attribute {\n padding: 0;\n margin: 0;\n }\n\n .name {\n padding-left: 1em;\n color: rgb(153, 69, 0);\n }\n\n .value {\n color: rgb(26, 26, 166);\n }\n `;\n\n static observedAttributes = ['name', 'value'];\n\n attributeChangedCallback(attribute) {\n switch (attribute) {\n case 'name':\n this.shadowRoot.querySelector('.name').innerHTML = this.getAttribute('name');\n break;\n case 'value':\n this.shadowRoot.querySelector('.value').innerHTML = this.getAttribute('value');\n break;\n }\n }\n}\n\nif (!window.customElements.get('annotation-attribute')) {\n window.customElements.define('annotation-attribute', AnnotationAttribute);\n}\n"},"lineCount":null}},"hash":"0ee6278f461e34b7474255bd6bf0a963","cacheData":{"env":{}}} | ||
{"id":"kxce","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-attribute.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"../../src/mixins/component\"));class n extends t.default{attributeChangedCallback(e){switch(e){case\"name\":this.shadowRoot.querySelector(\".name\").innerHTML=this.getAttribute(\"name\");break;case\"value\":this.shadowRoot.querySelector(\".value\").innerHTML=this.getAttribute(\"value\")}}}n.template='<div class=\"attribute\"><span class=\"name\"></span>: \"<span class=\"value\"></span>\"</div>',n.style=\"\\n .attribute {\\n padding: 0;\\n margin: 0;\\n }\\n\\n .name {\\n padding-left: 1em;\\n color: rgb(153, 69, 0);\\n }\\n\\n .value {\\n color: rgb(26, 26, 166);\\n }\\n \",n.observedAttributes=[\"name\",\"value\"],exports.default=n,window.customElements.get(\"annotation-attribute\")||window.customElements.define(\"annotation-attribute\",n);","map":{"mappings":[{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":207}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":49},"generated":{"line":1,"column":217}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":49},"generated":{"line":1,"column":219}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":1,"column":227}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":24,"column":27},"generated":{"line":1,"column":252}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":25,"column":12},"generated":{"line":1,"column":255}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":25,"column":12},"generated":{"line":1,"column":262}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":265}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":269}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":276}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":281}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":1,"column":292}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":38},"generated":{"line":1,"column":306}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":47},"generated":{"line":1,"column":315}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":59},"generated":{"line":1,"column":325}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":64},"generated":{"line":1,"column":330}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":27,"column":77},"generated":{"line":1,"column":343}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":351}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":29,"column":11},"generated":{"line":1,"column":357}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":29,"column":11},"generated":{"line":1,"column":361}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":369}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":374}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":24},"generated":{"line":1,"column":385}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":38},"generated":{"line":1,"column":399}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":48},"generated":{"line":1,"column":409}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":60},"generated":{"line":1,"column":419}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":65},"generated":{"line":1,"column":424}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":30,"column":78},"generated":{"line":1,"column":437}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":448}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":450}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":4,"column":20},"generated":{"line":1,"column":459}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":548}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":550}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":6,"column":17},"generated":{"line":1,"column":556}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":759}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":761}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":30},"generated":{"line":1,"column":780}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":31},"generated":{"line":1,"column":781}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":22,"column":39},"generated":{"line":1,"column":788}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":797}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":805}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":813}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":5},"generated":{"line":1,"column":815}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":12},"generated":{"line":1,"column":822}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":27},"generated":{"line":1,"column":837}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":36,"column":31},"generated":{"line":1,"column":841}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":2},"generated":{"line":1,"column":866}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":873}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":24},"generated":{"line":1,"column":888}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":31},"generated":{"line":1,"column":895}},{"source":"../src/document-inspector/annotation-attribute.ts","name":null,"original":{"line":37,"column":55},"generated":{"line":1,"column":918}}],"sources":{"../src/document-inspector/annotation-attribute.ts":"import WebComponent from '../../src/mixins/component';\n\nexport default class AnnotationAttribute extends WebComponent {\n static template = '<div class=\"attribute\"><span class=\"name\"></span>: \"<span class=\"value\"></span>\"</div>';\n\n static style = `\n .attribute {\n padding: 0;\n margin: 0;\n }\n\n .name {\n padding-left: 1em;\n color: rgb(153, 69, 0);\n }\n\n .value {\n color: rgb(26, 26, 166);\n }\n `;\n\n static observedAttributes = ['name', 'value'];\n\n attributeChangedCallback(attribute) {\n switch (attribute) {\n case 'name':\n this.shadowRoot.querySelector('.name').innerHTML = this.getAttribute('name');\n break;\n case 'value':\n this.shadowRoot.querySelector('.value').innerHTML = this.getAttribute('value');\n break;\n }\n }\n}\n\nif (!window.customElements.get('annotation-attribute')) {\n window.customElements.define('annotation-attribute', AnnotationAttribute);\n}\n"},"lineCount":null}},"hash":"0ee6278f461e34b7474255bd6bf0a963","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"IiGm","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/code.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/code.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return\"inline\"===this.attributes.style?100:10}}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"code\";","map":{"mappings":[{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":1,"column":171}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":187}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":24},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":13,"column":13},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":1,"column":208}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":212}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":228}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":254}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":256}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":261}}],"sources":{"../../../src/annotations/code.ts":"import { Annotation } from '@atjson/document';\n\nexport default class Code extends Annotation {\n static vendorPrefix = 'offset';\n static type = 'code';\n attributes!: {\n style: 'block' | 'inline' | 'fence';\n info?: string;\n };\n\n get rank() {\n if (this.attributes.style === 'inline') {\n return 100;\n }\n return 10;\n }\n}\n"},"lineCount":null}},"hash":"de079545052e1665aafe8e8c66992890","cacheData":{"env":{}}} | ||
{"id":"IiGm","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/code.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/code.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return\"inline\"===this.attributes.style?100:10}}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"code\";","map":{"mappings":[{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":1,"column":171}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":187}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":12,"column":24},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":13,"column":13},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":1,"column":208}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":212}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":228}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":254}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":256}},{"source":"../../../src/annotations/code.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":261}}],"sources":{"../../../src/annotations/code.ts":"import { Annotation } from '@atjson/document';\n\nexport default class Code extends Annotation {\n static vendorPrefix = 'offset';\n static type = 'code';\n attributes!: {\n style: 'block' | 'inline' | 'fence';\n info?: string;\n };\n\n get rank() {\n if (this.attributes.style === 'inline') {\n return 100;\n }\n return 10;\n }\n}\n"},"lineCount":null}},"hash":"de079545052e1665aafe8e8c66992890","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"abps","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/block.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/block.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return 10}}exports.default=r;","map":{"mappings":[{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":30},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":54},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":224}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":240}}],"sources":{"../../../src/annotations/block.ts":"import Annotation from '../annotation';\n\nexport default abstract class BlockAnnotation extends Annotation {\n get rank() {\n return 10;\n }\n}\n"},"lineCount":null}},"hash":"4623fe21298de0182990ff90eb6bfe53","cacheData":{"env":{}}} | ||
{"id":"abps","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/block.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/block.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return 10}}exports.default=r;","map":{"mappings":[{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":30},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":54},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":224}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/block.ts","name":null,"original":{"line":3,"column":64},"generated":{"line":1,"column":240}}],"sources":{"../../../src/annotations/block.ts":"import Annotation from '../annotation';\n\nexport default abstract class BlockAnnotation extends Annotation {\n get rank() {\n return 10;\n }\n}\n"},"lineCount":null}},"hash":"4623fe21298de0182990ff90eb6bfe53","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"YIIW","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/link.ts","includedInParent":true,"mtime":1545342158139},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/editable-component","loc":{"line":1,"column":30},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js"},{"name":"./link-editor","loc":{"line":2,"column":7},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link-editor.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"../mixins/editable-component\"));function e(t){return t&&t.__esModule?t:{default:t}}require(\"./link-editor\");class o extends t.default{static elementRenderer(t){let e=document.createElement(\"offset-link\");return e.setAttribute(\"url\",t.attributes.url),t.attributes.nofollow&&e.setAttribute(\"nofollow\",\"\"),e}cancelLinkClick(t){t.preventDefault()}attributeChangedCallback(t){if(!this.shadowRoot)throw new Error(\"No shadowRoot found!\");let e=this.shadowRoot.querySelector(\"a\"),o=this.shadowRoot.querySelector(\"link-editor\");if(!e)throw new Error(\"No link (a) element found!\");if(!o)throw new Error(\"No link-editor element found\");switch(t){case\"url\":e.setAttribute(\"href\",this.getAttribute(\"url\")||\"\"),o.setAttribute(\"url\",this.getAttribute(\"url\")||\"\");break;case\"nofollow\":this.hasAttribute(\"nofollow\")?o.setAttribute(\"nofollow\",\"\"):o.removeAttribute(\"nofollow\")}}}exports.default=o,o.template='<div class=\"controls\"><link-editor></link-editor></div><a class=\"link\" target=\"_blank\"><slot></slot></a>',o.observedAttributes=[\"url\",\"nofollow\"],o.style=t.default.style+\"\\n a {\\n text-decoration: underline;\\n color: blue;\\n cursor: text;\\n }\\n \",o.events=Object.assign({\"click .link\":\"cancelLinkClick\"},t.default.events),o.annotationName=\"link\",window.customElements.get(\"offset-link\")||window.customElements.define(\"offset-link\",o);","map":{"mappings":[{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":140}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":149}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":151}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":154}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":161}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":164}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":166}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":177}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":179}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":180}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":188}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":191}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":199}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":216}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":222}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":40},"generated":{"line":1,"column":232}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":234}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":24,"column":9},"generated":{"line":1,"column":242}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":24,"column":25},"generated":{"line":1,"column":265}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":268}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":272}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":15},"generated":{"line":1,"column":274}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":24},"generated":{"line":1,"column":283}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":38},"generated":{"line":1,"column":297}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":30,"column":11},"generated":{"line":1,"column":312}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":1,"column":319}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":321}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":22},"generated":{"line":1,"column":334}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":340}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":34},"generated":{"line":1,"column":342}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":45},"generated":{"line":1,"column":353}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":358}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":360}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":1,"column":371}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":6},"generated":{"line":1,"column":381}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":11},"generated":{"line":1,"column":383}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":24},"generated":{"line":1,"column":396}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":36},"generated":{"line":1,"column":407}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":30,"column":11},"generated":{"line":1,"column":411}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":33,"column":2},"generated":{"line":1,"column":413}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":429}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":1,"column":432}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":34,"column":8},"generated":{"line":1,"column":434}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":37,"column":2},"generated":{"line":1,"column":451}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":37,"column":27},"generated":{"line":1,"column":476}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":8},"generated":{"line":1,"column":479}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":9},"generated":{"line":1,"column":483}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":14},"generated":{"line":1,"column":488}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":26},"generated":{"line":1,"column":499}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":32},"generated":{"line":1,"column":505}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":36},"generated":{"line":1,"column":509}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":42},"generated":{"line":1,"column":515}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":539}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":543}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":15},"generated":{"line":1,"column":545}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":20},"generated":{"line":1,"column":550}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":31},"generated":{"line":1,"column":561}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":45},"generated":{"line":1,"column":575}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":580}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":21},"generated":{"line":1,"column":582}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":26},"generated":{"line":1,"column":587}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":37},"generated":{"line":1,"column":598}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":51},"generated":{"line":1,"column":612}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":627}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":631}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":15},"generated":{"line":1,"column":633}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":21},"generated":{"line":1,"column":639}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":25},"generated":{"line":1,"column":643}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":31},"generated":{"line":1,"column":649}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":679}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":683}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":21},"generated":{"line":1,"column":685}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":27},"generated":{"line":1,"column":691}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":31},"generated":{"line":1,"column":695}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":37},"generated":{"line":1,"column":701}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":46,"column":12},"generated":{"line":1,"column":733}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":46,"column":12},"generated":{"line":1,"column":740}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":743}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":747}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":1,"column":753}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":755}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":24},"generated":{"line":1,"column":768}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":32},"generated":{"line":1,"column":775}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":37},"generated":{"line":1,"column":780}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":50},"generated":{"line":1,"column":793}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":60},"generated":{"line":1,"column":801}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":6},"generated":{"line":1,"column":805}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":17},"generated":{"line":1,"column":807}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":30},"generated":{"line":1,"column":820}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":37},"generated":{"line":1,"column":826}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":42},"generated":{"line":1,"column":831}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":55},"generated":{"line":1,"column":844}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":65},"generated":{"line":1,"column":852}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":50,"column":6},"generated":{"line":1,"column":856}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":51,"column":9},"generated":{"line":1,"column":862}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":51,"column":9},"generated":{"line":1,"column":866}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":52,"column":10},"generated":{"line":1,"column":877}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":52,"column":15},"generated":{"line":1,"column":882}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":52,"column":28},"generated":{"line":1,"column":895}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":8},"generated":{"line":1,"column":907}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":19},"generated":{"line":1,"column":909}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":32},"generated":{"line":1,"column":922}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":44},"generated":{"line":1,"column":933}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":55,"column":8},"generated":{"line":1,"column":937}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":55,"column":19},"generated":{"line":1,"column":939}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":55,"column":35},"generated":{"line":1,"column":955}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":969}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":977}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":985}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":987}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":989}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":998}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1105}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1107}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":30},"generated":{"line":1,"column":1126}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":31},"generated":{"line":1,"column":1127}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":38},"generated":{"line":1,"column":1133}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1145}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1147}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":17},"generated":{"line":1,"column":1153}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":35},"generated":{"line":1,"column":1155}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":35},"generated":{"line":1,"column":1163}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":43},"generated":{"line":1,"column":1169}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":1,"column":1268}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":1,"column":1270}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":18},"generated":{"line":1,"column":1277}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":25},"generated":{"line":1,"column":1284}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":32},"generated":{"line":1,"column":1291}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":19,"column":19},"generated":{"line":1,"column":1292}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":19,"column":19},"generated":{"line":1,"column":1306}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":20,"column":5},"generated":{"line":1,"column":1325}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":20,"column":23},"generated":{"line":1,"column":1327}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":20,"column":23},"generated":{"line":1,"column":1335}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":1343}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":1345}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":22,"column":26},"generated":{"line":1,"column":1360}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":1,"column":1367}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":12},"generated":{"line":1,"column":1374}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":27},"generated":{"line":1,"column":1389}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":31},"generated":{"line":1,"column":1393}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":2},"generated":{"line":1,"column":1409}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":1416}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":24},"generated":{"line":1,"column":1431}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":31},"generated":{"line":1,"column":1438}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":46},"generated":{"line":1,"column":1452}}],"sources":{"../../../src/components/link.ts":"import EditableComponent from '../mixins/editable-component';\nimport './link-editor';\n\nexport default class OffsetLink extends EditableComponent {\n\n static template = `<div class=\"controls\"><link-editor></link-editor></div><a class=\"link\" target=\"_blank\"><slot></slot></a>`;\n\n static observedAttributes = ['url', 'nofollow'];\n\n static style = EditableComponent.style + `\n a {\n text-decoration: underline;\n color: blue;\n cursor: text;\n }\n `;\n\n static events = Object.assign({\n 'click .link': 'cancelLinkClick'\n }, EditableComponent.events);\n\n static annotationName = 'link';\n\n static elementRenderer(node: any): Element {\n let link = document.createElement('offset-link');\n link.setAttribute('url', node.attributes.url);\n if (node.attributes.nofollow) {\n link.setAttribute('nofollow', '');\n }\n return link;\n }\n\n cancelLinkClick(evt: MouseEvent) {\n evt.preventDefault();\n }\n\n attributeChangedCallback(attribute: string) {\n if (!this.shadowRoot) throw new Error('No shadowRoot found!');\n\n let link = this.shadowRoot.querySelector('a');\n let linkEditor = this.shadowRoot.querySelector('link-editor');\n\n if (!link) throw new Error('No link (a) element found!');\n if (!linkEditor) throw new Error('No link-editor element found');\n\n switch (attribute) {\n case 'url':\n link.setAttribute('href', this.getAttribute('url') || '');\n linkEditor.setAttribute('url', this.getAttribute('url') || '');\n break;\n case 'nofollow':\n if (this.hasAttribute('nofollow')) {\n linkEditor.setAttribute('nofollow', '');\n } else {\n linkEditor.removeAttribute('nofollow');\n }\n break;\n }\n }\n}\n\nif (!window.customElements.get('offset-link')) {\n window.customElements.define('offset-link', OffsetLink);\n}\n"},"lineCount":null}},"hash":"99d828ac2fbddb974073edb8f93e04b6","cacheData":{"env":{}}} | ||
{"id":"YIIW","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/link.ts","includedInParent":true,"mtime":1545342158139},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/editable-component","loc":{"line":1,"column":30},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js"},{"name":"./link-editor","loc":{"line":2,"column":7},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link-editor.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"../mixins/editable-component\"));function e(t){return t&&t.__esModule?t:{default:t}}require(\"./link-editor\");class o extends t.default{static elementRenderer(t){let e=document.createElement(\"offset-link\");return e.setAttribute(\"url\",t.attributes.url),t.attributes.nofollow&&e.setAttribute(\"nofollow\",\"\"),e}cancelLinkClick(t){t.preventDefault()}attributeChangedCallback(t){if(!this.shadowRoot)throw new Error(\"No shadowRoot found!\");let e=this.shadowRoot.querySelector(\"a\"),o=this.shadowRoot.querySelector(\"link-editor\");if(!e)throw new Error(\"No link (a) element found!\");if(!o)throw new Error(\"No link-editor element found\");switch(t){case\"url\":e.setAttribute(\"href\",this.getAttribute(\"url\")||\"\"),o.setAttribute(\"url\",this.getAttribute(\"url\")||\"\");break;case\"nofollow\":this.hasAttribute(\"nofollow\")?o.setAttribute(\"nofollow\",\"\"):o.removeAttribute(\"nofollow\")}}}exports.default=o,o.template='<div class=\"controls\"><link-editor></link-editor></div><a class=\"link\" target=\"_blank\"><slot></slot></a>',o.observedAttributes=[\"url\",\"nofollow\"],o.style=t.default.style+\"\\n a {\\n text-decoration: underline;\\n color: blue;\\n cursor: text;\\n }\\n \",o.events=Object.assign({\"click .link\":\"cancelLinkClick\"},t.default.events),o.annotationName=\"link\",window.customElements.get(\"offset-link\")||window.customElements.define(\"offset-link\",o);","map":{"mappings":[{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":140}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":149}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":151}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":154}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":161}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":164}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":166}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":177}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":179}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":180}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":188}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":191}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":199}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":216}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":222}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":40},"generated":{"line":1,"column":232}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":234}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":24,"column":9},"generated":{"line":1,"column":242}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":24,"column":25},"generated":{"line":1,"column":265}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":268}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":272}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":15},"generated":{"line":1,"column":274}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":24},"generated":{"line":1,"column":283}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":25,"column":38},"generated":{"line":1,"column":297}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":30,"column":11},"generated":{"line":1,"column":312}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":1,"column":319}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":321}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":22},"generated":{"line":1,"column":334}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":340}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":34},"generated":{"line":1,"column":342}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":26,"column":45},"generated":{"line":1,"column":353}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":358}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":360}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":1,"column":371}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":6},"generated":{"line":1,"column":381}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":11},"generated":{"line":1,"column":383}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":24},"generated":{"line":1,"column":396}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":28,"column":36},"generated":{"line":1,"column":407}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":30,"column":11},"generated":{"line":1,"column":411}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":33,"column":2},"generated":{"line":1,"column":413}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":1,"column":429}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":1,"column":432}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":34,"column":8},"generated":{"line":1,"column":434}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":37,"column":2},"generated":{"line":1,"column":451}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":37,"column":27},"generated":{"line":1,"column":476}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":8},"generated":{"line":1,"column":479}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":9},"generated":{"line":1,"column":483}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":14},"generated":{"line":1,"column":488}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":26},"generated":{"line":1,"column":499}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":32},"generated":{"line":1,"column":505}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":36},"generated":{"line":1,"column":509}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":38,"column":42},"generated":{"line":1,"column":515}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":539}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":543}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":15},"generated":{"line":1,"column":545}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":20},"generated":{"line":1,"column":550}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":31},"generated":{"line":1,"column":561}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":40,"column":45},"generated":{"line":1,"column":575}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":580}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":21},"generated":{"line":1,"column":582}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":26},"generated":{"line":1,"column":587}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":37},"generated":{"line":1,"column":598}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":41,"column":51},"generated":{"line":1,"column":612}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":627}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":631}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":15},"generated":{"line":1,"column":633}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":21},"generated":{"line":1,"column":639}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":25},"generated":{"line":1,"column":643}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":43,"column":31},"generated":{"line":1,"column":649}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":679}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":683}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":21},"generated":{"line":1,"column":685}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":27},"generated":{"line":1,"column":691}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":31},"generated":{"line":1,"column":695}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":44,"column":37},"generated":{"line":1,"column":701}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":46,"column":12},"generated":{"line":1,"column":733}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":46,"column":12},"generated":{"line":1,"column":740}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":743}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":747}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":1,"column":753}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":755}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":24},"generated":{"line":1,"column":768}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":32},"generated":{"line":1,"column":775}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":37},"generated":{"line":1,"column":780}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":50},"generated":{"line":1,"column":793}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":48,"column":60},"generated":{"line":1,"column":801}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":6},"generated":{"line":1,"column":805}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":17},"generated":{"line":1,"column":807}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":30},"generated":{"line":1,"column":820}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":37},"generated":{"line":1,"column":826}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":42},"generated":{"line":1,"column":831}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":55},"generated":{"line":1,"column":844}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":49,"column":65},"generated":{"line":1,"column":852}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":50,"column":6},"generated":{"line":1,"column":856}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":51,"column":9},"generated":{"line":1,"column":862}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":51,"column":9},"generated":{"line":1,"column":866}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":52,"column":10},"generated":{"line":1,"column":877}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":52,"column":15},"generated":{"line":1,"column":882}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":52,"column":28},"generated":{"line":1,"column":895}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":8},"generated":{"line":1,"column":907}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":19},"generated":{"line":1,"column":909}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":32},"generated":{"line":1,"column":922}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":53,"column":44},"generated":{"line":1,"column":933}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":55,"column":8},"generated":{"line":1,"column":937}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":55,"column":19},"generated":{"line":1,"column":939}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":55,"column":35},"generated":{"line":1,"column":955}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":969}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":977}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":985}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":987}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":989}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":998}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1105}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1107}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":30},"generated":{"line":1,"column":1126}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":31},"generated":{"line":1,"column":1127}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":8,"column":38},"generated":{"line":1,"column":1133}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1145}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1147}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":17},"generated":{"line":1,"column":1153}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":35},"generated":{"line":1,"column":1155}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":35},"generated":{"line":1,"column":1163}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":10,"column":43},"generated":{"line":1,"column":1169}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":1,"column":1268}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":1,"column":1270}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":18},"generated":{"line":1,"column":1277}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":25},"generated":{"line":1,"column":1284}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":18,"column":32},"generated":{"line":1,"column":1291}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":19,"column":19},"generated":{"line":1,"column":1292}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":19,"column":19},"generated":{"line":1,"column":1306}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":20,"column":5},"generated":{"line":1,"column":1325}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":20,"column":23},"generated":{"line":1,"column":1327}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":20,"column":23},"generated":{"line":1,"column":1335}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":1343}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":1345}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":22,"column":26},"generated":{"line":1,"column":1360}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":1,"column":1367}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":12},"generated":{"line":1,"column":1374}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":27},"generated":{"line":1,"column":1389}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":62,"column":31},"generated":{"line":1,"column":1393}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":2},"generated":{"line":1,"column":1409}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":1416}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":24},"generated":{"line":1,"column":1431}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":31},"generated":{"line":1,"column":1438}},{"source":"../../../src/components/link.ts","name":null,"original":{"line":63,"column":46},"generated":{"line":1,"column":1452}}],"sources":{"../../../src/components/link.ts":"import EditableComponent from '../mixins/editable-component';\nimport './link-editor';\n\nexport default class OffsetLink extends EditableComponent {\n\n static template = `<div class=\"controls\"><link-editor></link-editor></div><a class=\"link\" target=\"_blank\"><slot></slot></a>`;\n\n static observedAttributes = ['url', 'nofollow'];\n\n static style = EditableComponent.style + `\n a {\n text-decoration: underline;\n color: blue;\n cursor: text;\n }\n `;\n\n static events = Object.assign({\n 'click .link': 'cancelLinkClick'\n }, EditableComponent.events);\n\n static annotationName = 'link';\n\n static elementRenderer(node: any): Element {\n let link = document.createElement('offset-link');\n link.setAttribute('url', node.attributes.url);\n if (node.attributes.nofollow) {\n link.setAttribute('nofollow', '');\n }\n return link;\n }\n\n cancelLinkClick(evt: MouseEvent) {\n evt.preventDefault();\n }\n\n attributeChangedCallback(attribute: string) {\n if (!this.shadowRoot) throw new Error('No shadowRoot found!');\n\n let link = this.shadowRoot.querySelector('a');\n let linkEditor = this.shadowRoot.querySelector('link-editor');\n\n if (!link) throw new Error('No link (a) element found!');\n if (!linkEditor) throw new Error('No link-editor element found');\n\n switch (attribute) {\n case 'url':\n link.setAttribute('href', this.getAttribute('url') || '');\n linkEditor.setAttribute('url', this.getAttribute('url') || '');\n break;\n case 'nofollow':\n if (this.hasAttribute('nofollow')) {\n linkEditor.setAttribute('nofollow', '');\n } else {\n linkEditor.removeAttribute('nofollow');\n }\n break;\n }\n }\n}\n\nif (!window.customElements.get('offset-link')) {\n window.customElements.define('offset-link', OffsetLink);\n}\n"},"lineCount":null}},"hash":"99d828ac2fbddb974073edb8f93e04b6","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"M+yY","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/superscript.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/editable-component","loc":{"line":1,"column":30},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/superscript.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../mixins/editable-component\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{}exports.default=r,r.annotationName=\"superscript\",r.elementRenderer=(()=>document.createElement(\"sup\"));","map":{"mappings":[{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":151}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":154}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":164}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":191}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":197}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":54},"generated":{"line":1,"column":207}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":209}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":218}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":226}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":234}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":236}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":5,"column":26},"generated":{"line":1,"column":253}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":267}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":269}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":27},"generated":{"line":1,"column":285}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":290}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":299}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":8,"column":34},"generated":{"line":1,"column":313}}],"sources":{"../../../src/components/superscript.ts":"import EditableComponent from '../mixins/editable-component';\n\nexport default class OffsetSuperscriptElement extends EditableComponent {\n\n static annotationName = 'superscript';\n\n static elementRenderer = (): Element => {\n return document.createElement('sup');\n }\n}\n"},"lineCount":null}},"hash":"5cfa569c98238d486667d9ffa89afe2d","cacheData":{"env":{}}} | ||
{"id":"M+yY","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/superscript.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/editable-component","loc":{"line":1,"column":30},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/superscript.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../mixins/editable-component\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{}exports.default=r,r.annotationName=\"superscript\",r.elementRenderer=(()=>document.createElement(\"sup\"));","map":{"mappings":[{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":151}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":154}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":164}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":191}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":197}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":54},"generated":{"line":1,"column":207}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":209}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":218}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":226}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":234}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":236}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":5,"column":26},"generated":{"line":1,"column":253}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":267}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":269}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":7,"column":27},"generated":{"line":1,"column":285}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":290}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":299}},{"source":"../../../src/components/superscript.ts","name":null,"original":{"line":8,"column":34},"generated":{"line":1,"column":313}}],"sources":{"../../../src/components/superscript.ts":"import EditableComponent from '../mixins/editable-component';\n\nexport default class OffsetSuperscriptElement extends EditableComponent {\n\n static annotationName = 'superscript';\n\n static elementRenderer = (): Element => {\n return document.createElement('sup');\n }\n}\n"},"lineCount":null}},"hash":"5cfa569c98238d486667d9ffa89afe2d","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"FyKV","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"},{"name":"./annotation-attribute","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-attribute.ts"},{"name":"./annotation-inspector","loc":{"line":8,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-inspector.ts"}],"generated":{"js":"\"use strict\";var t=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,\"__esModule\",{value:!0});const e=t(require(\"../../src/mixins/component\"));require(\"./annotation-attribute\"),require(\"./annotation-inspector\");class o extends e.default{updateBody(){let t={};this.document.annotations.forEach(e=>{let o=e.id.toString(),n=this.shadowRoot.querySelector(`[id=\"${o}\"]`);t[o]=n}),this.shadowRoot.childNodes.forEach(e=>{t[e.getAttribute(\"id\")]||this.shadowRoot.removeChild(e)}),this.document.annotations.sort((t,e)=>t.start-e.start).forEach(e=>{let o;t[e.id.toString()]?o=t[e.id.toString()]:((o=document.createElement(\"annotation-inspector\")).setAttribute(\"id\",e.id),this.shadowRoot.appendChild(o)),o.setAttribute(\"type\",e.type),o.setAttribute(\"start\",e.start),o.setAttribute(\"end\",e.end),e.attributes&&Object.keys(e.attributes).forEach(t=>{let n=o.querySelector(`[name=\"${t}\"]`);null===n&&((n=document.createElement(\"annotation-attribute\")).setAttribute(\"name\",t),o.appendChild(n)),n.setAttribute(\"value\",e.attributes[t])})})}setDocument(t){this.document!==t&&(this.document=t,this.document.addEventListener(\"change\",()=>{this._updateCallback||(this._updateCallback=(()=>{this.updateBody(),setTimeout(()=>{delete this._updateCallback},0)}),window.requestIdleCallback(this._updateCallback))}))}}o.template=\"\",o.style=\"\\n .container {\\n overflow-y: scroll;\\n position: relative;\\n max-height: 100%;\\n }\\n \",exports.default=o,window.customElements.get(\"annotations-inspector\")||window.customElements.define(\"annotations-inspector\",o);","map":{"mappings":[{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":209}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":235}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":243}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":269}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":21},"generated":{"line":1,"column":275}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":50},"generated":{"line":1,"column":285}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":50},"generated":{"line":1,"column":287}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":1,"column":295}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":308}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":312}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":21,"column":22},"generated":{"line":1,"column":314}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":317}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":322}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":331}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":30},"generated":{"line":1,"column":343}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":38},"generated":{"line":1,"column":351}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":10},"generated":{"line":1,"column":355}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":10},"generated":{"line":1,"column":359}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":15},"generated":{"line":1,"column":361}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":17},"generated":{"line":1,"column":363}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":20},"generated":{"line":1,"column":366}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":10},"generated":{"line":1,"column":377}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":14},"generated":{"line":1,"column":379}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":384}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":30},"generated":{"line":1,"column":395}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":52},"generated":{"line":1,"column":417}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":424}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":25,"column":18},"generated":{"line":1,"column":426}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":25,"column":24},"generated":{"line":1,"column":429}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":433}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":438}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":20},"generated":{"line":1,"column":449}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":31},"generated":{"line":1,"column":460}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":39},"generated":{"line":1,"column":468}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":11},"generated":{"line":1,"column":472}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":23},"generated":{"line":1,"column":474}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":25},"generated":{"line":1,"column":476}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":38},"generated":{"line":1,"column":489}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":46},"generated":{"line":1,"column":497}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":51},"generated":{"line":1,"column":502}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":62},"generated":{"line":1,"column":513}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":74},"generated":{"line":1,"column":525}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":530}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":535}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":18},"generated":{"line":1,"column":544}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":30},"generated":{"line":1,"column":556}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":35},"generated":{"line":1,"column":561}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":36},"generated":{"line":1,"column":562}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":39},"generated":{"line":1,"column":564}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":45},"generated":{"line":1,"column":568}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":47},"generated":{"line":1,"column":570}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":55},"generated":{"line":1,"column":576}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":57},"generated":{"line":1,"column":578}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":64},"generated":{"line":1,"column":585}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":72},"generated":{"line":1,"column":593}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":33,"column":10},"generated":{"line":1,"column":597}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":33,"column":10},"generated":{"line":1,"column":601}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":10},"generated":{"line":1,"column":603}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":22},"generated":{"line":1,"column":605}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":24},"generated":{"line":1,"column":607}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":27},"generated":{"line":1,"column":610}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":8},"generated":{"line":1,"column":622}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":21},"generated":{"line":1,"column":624}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":33},"generated":{"line":1,"column":626}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":35},"generated":{"line":1,"column":628}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":38},"generated":{"line":1,"column":631}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":645}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":21},"generated":{"line":1,"column":647}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":30},"generated":{"line":1,"column":656}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":44},"generated":{"line":1,"column":670}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":19},"generated":{"line":1,"column":695}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":32},"generated":{"line":1,"column":708}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":38},"generated":{"line":1,"column":713}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":40},"generated":{"line":1,"column":715}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":13},"generated":{"line":1,"column":719}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":13},"generated":{"line":1,"column":724}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":24},"generated":{"line":1,"column":735}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":36},"generated":{"line":1,"column":747}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":6},"generated":{"line":1,"column":751}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":17},"generated":{"line":1,"column":753}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":30},"generated":{"line":1,"column":766}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":38},"generated":{"line":1,"column":773}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":40},"generated":{"line":1,"column":775}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":6},"generated":{"line":1,"column":781}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":17},"generated":{"line":1,"column":783}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":30},"generated":{"line":1,"column":796}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":39},"generated":{"line":1,"column":804}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":41},"generated":{"line":1,"column":806}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":6},"generated":{"line":1,"column":813}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":17},"generated":{"line":1,"column":815}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":30},"generated":{"line":1,"column":828}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":37},"generated":{"line":1,"column":834}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":39},"generated":{"line":1,"column":836}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":45,"column":10},"generated":{"line":1,"column":841}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":45,"column":12},"generated":{"line":1,"column":843}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":8},"generated":{"line":1,"column":855}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":15},"generated":{"line":1,"column":862}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":20},"generated":{"line":1,"column":867}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":22},"generated":{"line":1,"column":869}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":34},"generated":{"line":1,"column":881}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":42},"generated":{"line":1,"column":889}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":14},"generated":{"line":1,"column":893}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":14},"generated":{"line":1,"column":897}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":27},"generated":{"line":1,"column":899}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":38},"generated":{"line":1,"column":901}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":62},"generated":{"line":1,"column":925}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":48,"column":29},"generated":{"line":1,"column":932}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":48,"column":14},"generated":{"line":1,"column":939}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":12},"generated":{"line":1,"column":944}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":25},"generated":{"line":1,"column":946}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":34},"generated":{"line":1,"column":955}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":48},"generated":{"line":1,"column":969}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":50,"column":23},"generated":{"line":1,"column":994}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":50,"column":36},"generated":{"line":1,"column":1007}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":50,"column":44},"generated":{"line":1,"column":1014}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":51,"column":12},"generated":{"line":1,"column":1017}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":51,"column":23},"generated":{"line":1,"column":1019}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":51,"column":35},"generated":{"line":1,"column":1031}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":10},"generated":{"line":1,"column":1035}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":21},"generated":{"line":1,"column":1037}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":34},"generated":{"line":1,"column":1050}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":43},"generated":{"line":1,"column":1058}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":45},"generated":{"line":1,"column":1060}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":56},"generated":{"line":1,"column":1071}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":1,"column":1079}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":1,"column":1091}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":61,"column":8},"generated":{"line":1,"column":1094}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":61,"column":13},"generated":{"line":1,"column":1099}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":61,"column":26},"generated":{"line":1,"column":1110}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":1114}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":1119}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":62,"column":20},"generated":{"line":1,"column":1128}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":1130}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":1135}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":18},"generated":{"line":1,"column":1144}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":35},"generated":{"line":1,"column":1161}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":45},"generated":{"line":1,"column":1170}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":64,"column":10},"generated":{"line":1,"column":1175}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":64,"column":15},"generated":{"line":1,"column":1180}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":65,"column":11},"generated":{"line":1,"column":1198}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":65,"column":11},"generated":{"line":1,"column":1203}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":65,"column":29},"generated":{"line":1,"column":1219}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":66,"column":13},"generated":{"line":1,"column":1225}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":66,"column":13},"generated":{"line":1,"column":1230}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":8},"generated":{"line":1,"column":1243}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":19},"generated":{"line":1,"column":1254}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":1,"column":1266}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":39},"generated":{"line":1,"column":1271}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":59},"generated":{"line":1,"column":1288}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":6},"generated":{"line":1,"column":1293}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":13},"generated":{"line":1,"column":1300}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":33},"generated":{"line":1,"column":1320}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":38},"generated":{"line":1,"column":1325}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1347}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1349}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":1358}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1361}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1363}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":10,"column":17},"generated":{"line":1,"column":1369}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":1480}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":1488}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":1496}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":5},"generated":{"line":1,"column":1498}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":12},"generated":{"line":1,"column":1505}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":27},"generated":{"line":1,"column":1520}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":31},"generated":{"line":1,"column":1524}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":1,"column":1550}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":9},"generated":{"line":1,"column":1557}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":24},"generated":{"line":1,"column":1572}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":31},"generated":{"line":1,"column":1579}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":56},"generated":{"line":1,"column":1603}}],"sources":{"../src/document-inspector/annotations-inspector.ts":"import Document from '@atjson/document';\nimport WebComponent from '../../src/mixins/component';\nimport './annotation-attribute';\nimport './annotation-inspector';\n\nexport default class AnnotationsInspector extends WebComponent {\n\n static template = ``;\n\n static style = `\n .container {\n overflow-y: scroll;\n position: relative;\n max-height: 100%;\n }\n `;\n\n document: Document;\n\n updateBody() {\n let aInspectors = {};\n this.document.annotations.forEach(a => {\n let id = a.id.toString();\n let b = this.shadowRoot.querySelector(`[id=\"${id}\"]`);\n aInspectors[id] = b;\n });\n\n this.shadowRoot.childNodes.forEach(c => {\n if (!aInspectors[c.getAttribute('id')]) this.shadowRoot.removeChild(c);\n });\n\n this.document.annotations.sort((a, b) => a.start - b.start).forEach(a => {\n let aInspector;\n if (aInspectors[a.id.toString()]) {\n aInspector = aInspectors[a.id.toString()];\n } else {\n aInspector = document.createElement('annotation-inspector');\n aInspector.setAttribute('id', a.id);\n this.shadowRoot.appendChild(aInspector);\n }\n aInspector.setAttribute('type', a.type);\n aInspector.setAttribute('start', a.start);\n aInspector.setAttribute('end', a.end);\n\n if (a.attributes) {\n Object.keys(a.attributes).forEach(key => {\n let aAttribute = aInspector.querySelector(`[name=\"${key}\"]`);\n if (aAttribute === null) {\n aAttribute = document.createElement('annotation-attribute');\n aAttribute.setAttribute('name', key);\n aInspector.appendChild(aAttribute);\n }\n aAttribute.setAttribute('value', a.attributes[key]);\n });\n }\n });\n }\n\n setDocument(doc) {\n // n.b. this really needs a document.removeEventListener, and probably should be refactored in general.\n if (this.document === doc) return;\n this.document = doc;\n this.document.addEventListener('change', () => {\n if (this._updateCallback) return;\n this._updateCallback = () => {\n this.updateBody();\n setTimeout(() => { delete this._updateCallback; }, 0);\n };\n window.requestIdleCallback(this._updateCallback);\n };\n }\n}\n\nif (!window.customElements.get('annotations-inspector')) {\n window.customElements.define('annotations-inspector', AnnotationsInspector);\n}\n"},"lineCount":null}},"hash":"6c3b07d12284a4f842ce4fda1d349f21","cacheData":{"env":{}}} | ||
{"id":"FyKV","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"},{"name":"./annotation-attribute","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-attribute.ts"},{"name":"./annotation-inspector","loc":{"line":8,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotations-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-inspector.ts"}],"generated":{"js":"\"use strict\";var t=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,\"__esModule\",{value:!0});const e=t(require(\"../../src/mixins/component\"));require(\"./annotation-attribute\"),require(\"./annotation-inspector\");class o extends e.default{updateBody(){let t={};this.document.annotations.forEach(e=>{let o=e.id.toString(),n=this.shadowRoot.querySelector(`[id=\"${o}\"]`);t[o]=n}),this.shadowRoot.childNodes.forEach(e=>{t[e.getAttribute(\"id\")]||this.shadowRoot.removeChild(e)}),this.document.annotations.sort((t,e)=>t.start-e.start).forEach(e=>{let o;t[e.id.toString()]?o=t[e.id.toString()]:((o=document.createElement(\"annotation-inspector\")).setAttribute(\"id\",e.id),this.shadowRoot.appendChild(o)),o.setAttribute(\"type\",e.type),o.setAttribute(\"start\",e.start),o.setAttribute(\"end\",e.end),e.attributes&&Object.keys(e.attributes).forEach(t=>{let n=o.querySelector(`[name=\"${t}\"]`);null===n&&((n=document.createElement(\"annotation-attribute\")).setAttribute(\"name\",t),o.appendChild(n)),n.setAttribute(\"value\",e.attributes[t])})})}setDocument(t){this.document!==t&&(this.document=t,this.document.addEventListener(\"change\",()=>{this._updateCallback||(this._updateCallback=(()=>{this.updateBody(),setTimeout(()=>{delete this._updateCallback},0)}),window.requestIdleCallback(this._updateCallback))}))}}o.template=\"\",o.style=\"\\n .container {\\n overflow-y: scroll;\\n position: relative;\\n max-height: 100%;\\n }\\n \",exports.default=o,window.customElements.get(\"annotations-inspector\")||window.customElements.define(\"annotations-inspector\",o);","map":{"mappings":[{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":76,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":209}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":235}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":243}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":269}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":21},"generated":{"line":1,"column":275}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":50},"generated":{"line":1,"column":285}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":50},"generated":{"line":1,"column":287}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":1,"column":295}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":308}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":312}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":21,"column":22},"generated":{"line":1,"column":314}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":317}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":322}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":331}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":30},"generated":{"line":1,"column":343}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":22,"column":38},"generated":{"line":1,"column":351}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":10},"generated":{"line":1,"column":355}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":10},"generated":{"line":1,"column":359}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":15},"generated":{"line":1,"column":361}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":17},"generated":{"line":1,"column":363}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":23,"column":20},"generated":{"line":1,"column":366}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":10},"generated":{"line":1,"column":377}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":14},"generated":{"line":1,"column":379}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":384}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":30},"generated":{"line":1,"column":395}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":24,"column":52},"generated":{"line":1,"column":417}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":424}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":25,"column":18},"generated":{"line":1,"column":426}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":25,"column":24},"generated":{"line":1,"column":429}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":433}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":438}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":20},"generated":{"line":1,"column":449}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":31},"generated":{"line":1,"column":460}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":28,"column":39},"generated":{"line":1,"column":468}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":11},"generated":{"line":1,"column":472}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":23},"generated":{"line":1,"column":474}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":25},"generated":{"line":1,"column":476}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":38},"generated":{"line":1,"column":489}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":46},"generated":{"line":1,"column":497}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":51},"generated":{"line":1,"column":502}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":62},"generated":{"line":1,"column":513}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":29,"column":74},"generated":{"line":1,"column":525}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":530}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":9},"generated":{"line":1,"column":535}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":18},"generated":{"line":1,"column":544}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":30},"generated":{"line":1,"column":556}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":35},"generated":{"line":1,"column":561}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":36},"generated":{"line":1,"column":562}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":39},"generated":{"line":1,"column":564}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":45},"generated":{"line":1,"column":568}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":47},"generated":{"line":1,"column":570}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":55},"generated":{"line":1,"column":576}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":57},"generated":{"line":1,"column":578}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":64},"generated":{"line":1,"column":585}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":32,"column":72},"generated":{"line":1,"column":593}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":33,"column":10},"generated":{"line":1,"column":597}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":33,"column":10},"generated":{"line":1,"column":601}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":10},"generated":{"line":1,"column":603}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":22},"generated":{"line":1,"column":605}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":24},"generated":{"line":1,"column":607}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":34,"column":27},"generated":{"line":1,"column":610}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":8},"generated":{"line":1,"column":622}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":21},"generated":{"line":1,"column":624}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":33},"generated":{"line":1,"column":626}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":35},"generated":{"line":1,"column":628}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":35,"column":38},"generated":{"line":1,"column":631}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":645}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":21},"generated":{"line":1,"column":647}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":30},"generated":{"line":1,"column":656}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":37,"column":44},"generated":{"line":1,"column":670}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":19},"generated":{"line":1,"column":695}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":32},"generated":{"line":1,"column":708}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":38},"generated":{"line":1,"column":713}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":38,"column":40},"generated":{"line":1,"column":715}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":13},"generated":{"line":1,"column":719}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":13},"generated":{"line":1,"column":724}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":24},"generated":{"line":1,"column":735}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":39,"column":36},"generated":{"line":1,"column":747}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":6},"generated":{"line":1,"column":751}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":17},"generated":{"line":1,"column":753}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":30},"generated":{"line":1,"column":766}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":38},"generated":{"line":1,"column":773}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":41,"column":40},"generated":{"line":1,"column":775}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":6},"generated":{"line":1,"column":781}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":17},"generated":{"line":1,"column":783}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":30},"generated":{"line":1,"column":796}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":39},"generated":{"line":1,"column":804}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":42,"column":41},"generated":{"line":1,"column":806}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":6},"generated":{"line":1,"column":813}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":17},"generated":{"line":1,"column":815}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":30},"generated":{"line":1,"column":828}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":37},"generated":{"line":1,"column":834}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":43,"column":39},"generated":{"line":1,"column":836}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":45,"column":10},"generated":{"line":1,"column":841}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":45,"column":12},"generated":{"line":1,"column":843}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":8},"generated":{"line":1,"column":855}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":15},"generated":{"line":1,"column":862}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":20},"generated":{"line":1,"column":867}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":22},"generated":{"line":1,"column":869}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":34},"generated":{"line":1,"column":881}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":46,"column":42},"generated":{"line":1,"column":889}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":14},"generated":{"line":1,"column":893}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":14},"generated":{"line":1,"column":897}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":27},"generated":{"line":1,"column":899}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":38},"generated":{"line":1,"column":901}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":47,"column":62},"generated":{"line":1,"column":925}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":48,"column":29},"generated":{"line":1,"column":932}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":48,"column":14},"generated":{"line":1,"column":939}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":12},"generated":{"line":1,"column":944}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":25},"generated":{"line":1,"column":946}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":34},"generated":{"line":1,"column":955}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":49,"column":48},"generated":{"line":1,"column":969}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":50,"column":23},"generated":{"line":1,"column":994}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":50,"column":36},"generated":{"line":1,"column":1007}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":50,"column":44},"generated":{"line":1,"column":1014}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":51,"column":12},"generated":{"line":1,"column":1017}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":51,"column":23},"generated":{"line":1,"column":1019}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":51,"column":35},"generated":{"line":1,"column":1031}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":10},"generated":{"line":1,"column":1035}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":21},"generated":{"line":1,"column":1037}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":34},"generated":{"line":1,"column":1050}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":43},"generated":{"line":1,"column":1058}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":45},"generated":{"line":1,"column":1060}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":53,"column":56},"generated":{"line":1,"column":1071}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":1,"column":1079}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":1,"column":1091}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":61,"column":8},"generated":{"line":1,"column":1094}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":61,"column":13},"generated":{"line":1,"column":1099}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":61,"column":26},"generated":{"line":1,"column":1110}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":1114}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":62,"column":9},"generated":{"line":1,"column":1119}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":62,"column":20},"generated":{"line":1,"column":1128}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":1130}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":1135}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":18},"generated":{"line":1,"column":1144}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":35},"generated":{"line":1,"column":1161}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":63,"column":45},"generated":{"line":1,"column":1170}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":64,"column":10},"generated":{"line":1,"column":1175}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":64,"column":15},"generated":{"line":1,"column":1180}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":65,"column":11},"generated":{"line":1,"column":1198}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":65,"column":11},"generated":{"line":1,"column":1203}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":65,"column":29},"generated":{"line":1,"column":1219}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":66,"column":13},"generated":{"line":1,"column":1225}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":66,"column":13},"generated":{"line":1,"column":1230}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":8},"generated":{"line":1,"column":1243}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":19},"generated":{"line":1,"column":1254}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":1,"column":1266}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":39},"generated":{"line":1,"column":1271}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":67,"column":59},"generated":{"line":1,"column":1288}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":6},"generated":{"line":1,"column":1293}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":13},"generated":{"line":1,"column":1300}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":33},"generated":{"line":1,"column":1320}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":69,"column":38},"generated":{"line":1,"column":1325}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1347}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1349}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":8,"column":20},"generated":{"line":1,"column":1358}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1361}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":1363}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":10,"column":17},"generated":{"line":1,"column":1369}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":1480}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":1488}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":1496}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":5},"generated":{"line":1,"column":1498}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":12},"generated":{"line":1,"column":1505}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":27},"generated":{"line":1,"column":1520}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":74,"column":31},"generated":{"line":1,"column":1524}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":1,"column":1550}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":9},"generated":{"line":1,"column":1557}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":24},"generated":{"line":1,"column":1572}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":31},"generated":{"line":1,"column":1579}},{"source":"../src/document-inspector/annotations-inspector.ts","name":null,"original":{"line":75,"column":56},"generated":{"line":1,"column":1603}}],"sources":{"../src/document-inspector/annotations-inspector.ts":"import Document from '@atjson/document';\nimport WebComponent from '../../src/mixins/component';\nimport './annotation-attribute';\nimport './annotation-inspector';\n\nexport default class AnnotationsInspector extends WebComponent {\n\n static template = ``;\n\n static style = `\n .container {\n overflow-y: scroll;\n position: relative;\n max-height: 100%;\n }\n `;\n\n document: Document;\n\n updateBody() {\n let aInspectors = {};\n this.document.annotations.forEach(a => {\n let id = a.id.toString();\n let b = this.shadowRoot.querySelector(`[id=\"${id}\"]`);\n aInspectors[id] = b;\n });\n\n this.shadowRoot.childNodes.forEach(c => {\n if (!aInspectors[c.getAttribute('id')]) this.shadowRoot.removeChild(c);\n });\n\n this.document.annotations.sort((a, b) => a.start - b.start).forEach(a => {\n let aInspector;\n if (aInspectors[a.id.toString()]) {\n aInspector = aInspectors[a.id.toString()];\n } else {\n aInspector = document.createElement('annotation-inspector');\n aInspector.setAttribute('id', a.id);\n this.shadowRoot.appendChild(aInspector);\n }\n aInspector.setAttribute('type', a.type);\n aInspector.setAttribute('start', a.start);\n aInspector.setAttribute('end', a.end);\n\n if (a.attributes) {\n Object.keys(a.attributes).forEach(key => {\n let aAttribute = aInspector.querySelector(`[name=\"${key}\"]`);\n if (aAttribute === null) {\n aAttribute = document.createElement('annotation-attribute');\n aAttribute.setAttribute('name', key);\n aInspector.appendChild(aAttribute);\n }\n aAttribute.setAttribute('value', a.attributes[key]);\n });\n }\n });\n }\n\n setDocument(doc) {\n // n.b. this really needs a document.removeEventListener, and probably should be refactored in general.\n if (this.document === doc) return;\n this.document = doc;\n this.document.addEventListener('change', () => {\n if (this._updateCallback) return;\n this._updateCallback = () => {\n this.updateBody();\n setTimeout(() => { delete this._updateCallback; }, 0);\n };\n window.requestIdleCallback(this._updateCallback);\n };\n }\n}\n\nif (!window.customElements.get('annotations-inspector')) {\n window.customElements.define('annotations-inspector', AnnotationsInspector);\n}\n"},"lineCount":null}},"hash":"6c3b07d12284a4f842ce4fda1d349f21","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"ENtP","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/image.ts","includedInParent":true,"mtime":1545342158130},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":43},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./bold","loc":{"line":2,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/bold.js"},{"name":"./code","loc":{"line":3,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/code.js"},{"name":"./italic","loc":{"line":4,"column":19},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/italic.js"},{"name":"./line-break","loc":{"line":5,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/line-break.js"},{"name":"./link","loc":{"line":6,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/link.js"},{"name":"./strikethrough","loc":{"line":7,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/strikethrough.js"},{"name":"./subscript","loc":{"line":8,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/subscript.js"},{"name":"./superscript","loc":{"line":9,"column":24},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/superscript.js"},{"name":"./underline","loc":{"line":10,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/underline.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=exports.ImageDescriptionSource=void 0;var e=l(require(\"@atjson/document\")),t=c(require(\"./bold\")),r=c(require(\"./code\")),i=c(require(\"./italic\")),u=c(require(\"./line-break\")),o=c(require(\"./link\")),n=c(require(\"./strikethrough\")),s=c(require(\"./subscript\")),a=c(require(\"./superscript\")),d=c(require(\"./underline\"));function c(e){return e&&e.__esModule?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};i.get||i.set?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,t}class f extends e.default{}exports.ImageDescriptionSource=f,f.contentType=\"application/vnd.atjson+offset;image.description\",f.schema=[t.default,r.default,i.default,u.default,o.default,n.default,s.default,a.default,d.default];class p extends e.ObjectAnnotation{}exports.default=p,p.vendorPrefix=\"offset\",p.type=\"image\",p.subdocuments={description:f};","map":{"mappings":[{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":84}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":92}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":120}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":122}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":128}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":138}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":163}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":171}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":184}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":209}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":234}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":242}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":259}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":261}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":263}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":282}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":284}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":286}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":294}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":314}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":316}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":318}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":326}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":346}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":354}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":372}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":374}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":376}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":384}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":400}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":414}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":424}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":426}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":437}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":440}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":448}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":451}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":460}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":462}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":468}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":471}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":473}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":484}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":491}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":493}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":497}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":499}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":502}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":505}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":511}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":513}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":517}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":521}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":526}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":528}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":531}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":538}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":548}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":563}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":568}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":570}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":573}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":574}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":578}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":580}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":587}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":603}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":610}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":635}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":642}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":667}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":669}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":672}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":675}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":677}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":682}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":684}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":688}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":695}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":710}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":712}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":714}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":717}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":719}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":722}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":724}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":727}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":734}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":736}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":744}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":746}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":748}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":754}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":44},"generated":{"line":1,"column":764}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":766}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":775}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":783}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":806}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":808}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":810}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":13,"column":23},"generated":{"line":1,"column":822}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":1,"column":872}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":1,"column":874}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":881}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":15,"column":4},"generated":{"line":1,"column":882}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":884}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":1,"column":892}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":894}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":17,"column":4},"generated":{"line":1,"column":902}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":904}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":18,"column":4},"generated":{"line":1,"column":912}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":914}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":19,"column":4},"generated":{"line":1,"column":922}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":924}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":1,"column":932}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":934}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":21,"column":4},"generated":{"line":1,"column":942}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":944}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":952}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":954}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":23,"column":4},"generated":{"line":1,"column":962}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":964}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":973}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":21},"generated":{"line":1,"column":979}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":35},"generated":{"line":1,"column":989}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":991}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1009}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1017}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1025}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":1027}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":1029}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":28,"column":24},"generated":{"line":1,"column":1042}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":1051}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":1053}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":1058}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1066}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1068}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":24},"generated":{"line":1,"column":1081}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":31,"column":4},"generated":{"line":1,"column":1082}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":31,"column":17},"generated":{"line":1,"column":1094}}],"sources":{"../../../src/annotations/image.ts":"import Document, { ObjectAnnotation } from '@atjson/document';\nimport Bold from './bold';\nimport Code from './code';\nimport Italic from './italic';\nimport LineBreak from './line-break';\nimport Link from './link';\nimport Strikethrough from './strikethrough';\nimport Subscript from './subscript';\nimport Superscript from './superscript';\nimport Underline from './underline';\n\nexport class ImageDescriptionSource extends Document {\n static contentType = 'application/vnd.atjson+offset;image.description';\n static schema = [\n Bold,\n Code,\n Italic,\n LineBreak,\n Link,\n Strikethrough,\n Subscript,\n Superscript,\n Underline\n ];\n}\n\nexport default class Image extends ObjectAnnotation {\n static vendorPrefix = 'offset';\n static type = 'image';\n static subdocuments = {\n description: ImageDescriptionSource\n };\n attributes!: {\n url: string;\n title: string;\n description: ImageDescriptionSource;\n };\n}\n"},"lineCount":null}},"hash":"6dfeba6154d8ad94ef264743b2ff441b","cacheData":{"env":{}}} | ||
{"id":"ENtP","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/image.ts","includedInParent":true,"mtime":1545342158130},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":43},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./bold","loc":{"line":2,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/bold.js"},{"name":"./code","loc":{"line":3,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/code.js"},{"name":"./italic","loc":{"line":4,"column":19},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/italic.js"},{"name":"./line-break","loc":{"line":5,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/line-break.js"},{"name":"./link","loc":{"line":6,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/link.js"},{"name":"./strikethrough","loc":{"line":7,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/strikethrough.js"},{"name":"./subscript","loc":{"line":8,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/subscript.js"},{"name":"./superscript","loc":{"line":9,"column":24},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/superscript.js"},{"name":"./underline","loc":{"line":10,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/image.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/underline.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=exports.ImageDescriptionSource=void 0;var e=l(require(\"@atjson/document\")),t=c(require(\"./bold\")),r=c(require(\"./code\")),i=c(require(\"./italic\")),u=c(require(\"./line-break\")),o=c(require(\"./link\")),n=c(require(\"./strikethrough\")),s=c(require(\"./subscript\")),a=c(require(\"./superscript\")),d=c(require(\"./underline\"));function c(e){return e&&e.__esModule?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};i.get||i.set?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,t}class f extends e.default{}exports.ImageDescriptionSource=f,f.contentType=\"application/vnd.atjson+offset;image.description\",f.schema=[t.default,r.default,i.default,u.default,o.default,n.default,s.default,a.default,d.default];class p extends e.ObjectAnnotation{}exports.default=p,p.vendorPrefix=\"offset\",p.type=\"image\",p.subdocuments={description:f};","map":{"mappings":[{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":84}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":92}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":120}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":122}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":128}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":138}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":163}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":171}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":184}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":209}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":234}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":242}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":259}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":261}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":263}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":282}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":284}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":286}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":294}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":314}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":316}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":318}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":326}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":346}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":354}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":372}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":374}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":376}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":384}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":400}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":414}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":424}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":426}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":437}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":440}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":448}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":451}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":460}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":462}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":468}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":471}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":473}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":484}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":491}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":493}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":497}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":499}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":502}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":505}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":511}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":513}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":517}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":521}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":526}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":528}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":531}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":538}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":548}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":563}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":568}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":570}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":573}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":574}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":578}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":580}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":587}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":603}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":610}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":635}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":642}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":667}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":669}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":672}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":675}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":677}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":682}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":684}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":688}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":695}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":710}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":712}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":714}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":717}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":719}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":722}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":724}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":727}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":734}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":736}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":744}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":746}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":748}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":754}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":44},"generated":{"line":1,"column":764}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":766}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":775}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":783}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":806}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":808}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":810}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":13,"column":23},"generated":{"line":1,"column":822}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":1,"column":872}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":1,"column":874}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":881}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":15,"column":4},"generated":{"line":1,"column":882}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":884}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":1,"column":892}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":894}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":17,"column":4},"generated":{"line":1,"column":902}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":904}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":18,"column":4},"generated":{"line":1,"column":912}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":914}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":19,"column":4},"generated":{"line":1,"column":922}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":924}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":1,"column":932}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":934}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":21,"column":4},"generated":{"line":1,"column":942}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":944}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":952}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":954}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":23,"column":4},"generated":{"line":1,"column":962}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":1,"column":964}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":973}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":21},"generated":{"line":1,"column":979}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":35},"generated":{"line":1,"column":989}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":991}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1009}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1017}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1025}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":1027}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":28,"column":9},"generated":{"line":1,"column":1029}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":28,"column":24},"generated":{"line":1,"column":1042}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":1051}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":1053}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":1058}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1066}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":1,"column":1068}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":30,"column":24},"generated":{"line":1,"column":1081}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":31,"column":4},"generated":{"line":1,"column":1082}},{"source":"../../../src/annotations/image.ts","name":null,"original":{"line":31,"column":17},"generated":{"line":1,"column":1094}}],"sources":{"../../../src/annotations/image.ts":"import Document, { ObjectAnnotation } from '@atjson/document';\nimport Bold from './bold';\nimport Code from './code';\nimport Italic from './italic';\nimport LineBreak from './line-break';\nimport Link from './link';\nimport Strikethrough from './strikethrough';\nimport Subscript from './subscript';\nimport Superscript from './superscript';\nimport Underline from './underline';\n\nexport class ImageDescriptionSource extends Document {\n static contentType = 'application/vnd.atjson+offset;image.description';\n static schema = [\n Bold,\n Code,\n Italic,\n LineBreak,\n Link,\n Strikethrough,\n Subscript,\n Superscript,\n Underline\n ];\n}\n\nexport default class Image extends ObjectAnnotation {\n static vendorPrefix = 'offset';\n static type = 'image';\n static subdocuments = {\n description: ImageDescriptionSource\n };\n attributes!: {\n url: string;\n title: string;\n description: ImageDescriptionSource;\n };\n}\n"},"lineCount":null}},"hash":"6dfeba6154d8ad94ef264743b2ff441b","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"fbkR","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/character-counter.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"../../src/mixins/component\"));class n extends t.default{updateContent(){const e=parseInt(this.getAttribute(\"start\"),10),t=parseInt(this.getAttribute(\"end\"),10);let n=this.shadowRoot.querySelector(\".content\"),a=\"\",r=this.getAttribute(\"content\");\"string\"==typeof r&&(a=r.replace(/\\n/g,\"¶\"));let s=document.createElement(\"span\"),i=document.createTextNode(a.substr(0,e)),d=document.createTextNode(a.substr(t)),o=document.createElement(\"span\");if(e===t){o.classList.add(\"caret-wrapper\");let e=document.createElement(\"span\");e.classList.add(\"caret\"),e.textContent=\"\",o.appendChild(e)}else{let n=document.createTextNode(a.substr(e,t-e));o.classList.add(\"highlight\"),o.appendChild(n)}s.appendChild(i),s.appendChild(o),s.appendChild(d),n.children[0]&&n.removeChild(n.children[0]),n.appendChild(s)}attributeChangedCallback(e){switch(e){case\"start\":case\"end\":case\"content\":window.requestIdleCallback(()=>{this.updateContent()})}}}n.template=\"\\n <pre class='content'></pre>\\n \",n.style=\"\\n :host {\\n position: relative;\\n }\\n\\n .content {\\n white-space: pre-wrap;\\n }\\n\\n .caret-wrapper {\\n display: inline;\\n position: relative;\\n width: 0;\\n }\\n\\n .caret {\\n background-color: rgb(96, 200, 240);\\n display: inline-block;\\n width: 2px;\\n border: 0;\\n padding: 0;\\n position: absolute;\\n left: -1px;\\n z-index: -1;\\n }\\n\\n .highlight {\\n background-color: rgb(96, 200, 240);\\n }\\n \",n.observedAttributes=[\"start\",\"end\",\"content\"],exports.default=n,window.customElements.get(\"character-counter\")||window.customElements.define(\"character-counter\",n);","map":{"mappings":[{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":207}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":46},"generated":{"line":1,"column":217}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":46},"generated":{"line":1,"column":219}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":41,"column":2},"generated":{"line":1,"column":227}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":10},"generated":{"line":1,"column":243}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":10},"generated":{"line":1,"column":249}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":251}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":27},"generated":{"line":1,"column":260}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":32},"generated":{"line":1,"column":265}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":45},"generated":{"line":1,"column":278}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":55},"generated":{"line":1,"column":287}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":10},"generated":{"line":1,"column":291}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":16},"generated":{"line":1,"column":293}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":25},"generated":{"line":1,"column":302}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":30},"generated":{"line":1,"column":307}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":43},"generated":{"line":1,"column":320}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":51},"generated":{"line":1,"column":327}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":331}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":335}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":22},"generated":{"line":1,"column":337}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":27},"generated":{"line":1,"column":342}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":38},"generated":{"line":1,"column":353}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":52},"generated":{"line":1,"column":367}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":379}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":45,"column":21},"generated":{"line":1,"column":381}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":8},"generated":{"line":1,"column":384}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":22},"generated":{"line":1,"column":386}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":27},"generated":{"line":1,"column":391}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":40},"generated":{"line":1,"column":404}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":47,"column":31},"generated":{"line":1,"column":415}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":47,"column":15},"generated":{"line":1,"column":432}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":1,"column":436}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":19},"generated":{"line":1,"column":438}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":31},"generated":{"line":1,"column":440}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":39},"generated":{"line":1,"column":448}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":46},"generated":{"line":1,"column":454}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":460}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":464}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":18},"generated":{"line":1,"column":466}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":27},"generated":{"line":1,"column":475}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":41},"generated":{"line":1,"column":489}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":497}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":23},"generated":{"line":1,"column":499}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":508}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":47},"generated":{"line":1,"column":523}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":58},"generated":{"line":1,"column":525}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":65},"generated":{"line":1,"column":532}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":68},"generated":{"line":1,"column":534}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":8},"generated":{"line":1,"column":538}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":21},"generated":{"line":1,"column":540}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":30},"generated":{"line":1,"column":549}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":45},"generated":{"line":1,"column":564}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":56},"generated":{"line":1,"column":566}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":63},"generated":{"line":1,"column":573}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":8},"generated":{"line":1,"column":577}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":20},"generated":{"line":1,"column":579}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":29},"generated":{"line":1,"column":588}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":43},"generated":{"line":1,"column":602}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":610}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":613}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":1,"column":617}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":23},"generated":{"line":1,"column":619}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":1,"column":620}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":16},"generated":{"line":1,"column":622}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":26},"generated":{"line":1,"column":632}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":30},"generated":{"line":1,"column":636}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":1,"column":653}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":1,"column":657}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":18},"generated":{"line":1,"column":659}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":27},"generated":{"line":1,"column":668}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":41},"generated":{"line":1,"column":682}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":1,"column":690}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":12},"generated":{"line":1,"column":692}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":1,"column":702}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":26},"generated":{"line":1,"column":706}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":1,"column":715}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":60,"column":12},"generated":{"line":1,"column":717}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":60,"column":26},"generated":{"line":1,"column":729}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":61,"column":6},"generated":{"line":1,"column":733}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":61,"column":16},"generated":{"line":1,"column":735}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":61,"column":28},"generated":{"line":1,"column":747}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":62,"column":12},"generated":{"line":1,"column":754}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":10},"generated":{"line":1,"column":755}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":10},"generated":{"line":1,"column":759}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":29},"generated":{"line":1,"column":761}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":38},"generated":{"line":1,"column":770}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":53},"generated":{"line":1,"column":785}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":64},"generated":{"line":1,"column":787}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":71},"generated":{"line":1,"column":794}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":78},"generated":{"line":1,"column":796}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":84},"generated":{"line":1,"column":798}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":6},"generated":{"line":1,"column":802}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":16},"generated":{"line":1,"column":804}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":26},"generated":{"line":1,"column":814}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":30},"generated":{"line":1,"column":818}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":1,"column":831}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":65,"column":16},"generated":{"line":1,"column":833}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":65,"column":28},"generated":{"line":1,"column":845}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":68,"column":4},"generated":{"line":1,"column":848}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":68,"column":12},"generated":{"line":1,"column":850}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":68,"column":24},"generated":{"line":1,"column":862}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":69,"column":4},"generated":{"line":1,"column":865}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":69,"column":12},"generated":{"line":1,"column":867}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":69,"column":24},"generated":{"line":1,"column":879}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":70,"column":4},"generated":{"line":1,"column":882}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":70,"column":12},"generated":{"line":1,"column":884}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":70,"column":24},"generated":{"line":1,"column":896}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":8},"generated":{"line":1,"column":899}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":20},"generated":{"line":1,"column":901}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":29},"generated":{"line":1,"column":910}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":33},"generated":{"line":1,"column":914}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":45},"generated":{"line":1,"column":916}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":57},"generated":{"line":1,"column":928}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":69},"generated":{"line":1,"column":930}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":78},"generated":{"line":1,"column":939}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":73,"column":4},"generated":{"line":1,"column":943}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":73,"column":16},"generated":{"line":1,"column":945}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":73,"column":28},"generated":{"line":1,"column":957}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":76,"column":2},"generated":{"line":1,"column":960}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":76,"column":27},"generated":{"line":1,"column":985}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":77,"column":12},"generated":{"line":1,"column":988}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":77,"column":12},"generated":{"line":1,"column":995}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":998}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":1002}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":79,"column":11},"generated":{"line":1,"column":1010}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":79,"column":11},"generated":{"line":1,"column":1014}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":80,"column":11},"generated":{"line":1,"column":1020}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":80,"column":11},"generated":{"line":1,"column":1024}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":1,"column":1034}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":81,"column":15},"generated":{"line":1,"column":1041}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":81,"column":35},"generated":{"line":1,"column":1061}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1066}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1071}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1091}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1093}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":4,"column":20},"generated":{"line":1,"column":1102}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1142}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1144}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":8,"column":17},"generated":{"line":1,"column":1150}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":1,"column":1648}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":1,"column":1650}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":30},"generated":{"line":1,"column":1669}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":31},"generated":{"line":1,"column":1670}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":40},"generated":{"line":1,"column":1678}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":47},"generated":{"line":1,"column":1684}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1695}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1703}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1711}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":5},"generated":{"line":1,"column":1713}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":12},"generated":{"line":1,"column":1720}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":27},"generated":{"line":1,"column":1735}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":31},"generated":{"line":1,"column":1739}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":2},"generated":{"line":1,"column":1761}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":9},"generated":{"line":1,"column":1768}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":24},"generated":{"line":1,"column":1783}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":31},"generated":{"line":1,"column":1790}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":52},"generated":{"line":1,"column":1810}}],"sources":{"../src/document-inspector/character-counter.ts":"import WebComponent from '../../src/mixins/component';\n\nexport default class CharacterCounter extends WebComponent {\n static template = `\n <pre class='content'></pre>\n `;\n\n static style = `\n :host {\n position: relative;\n }\n\n .content {\n white-space: pre-wrap;\n }\n\n .caret-wrapper {\n display: inline;\n position: relative;\n width: 0;\n }\n\n .caret {\n background-color: rgb(96, 200, 240);\n display: inline-block;\n width: 2px;\n border: 0;\n padding: 0;\n position: absolute;\n left: -1px;\n z-index: -1;\n }\n\n .highlight {\n background-color: rgb(96, 200, 240);\n }\n `;\n\n static observedAttributes = ['start', 'end', 'content'];\n\n updateContent() {\n const start = parseInt(this.getAttribute('start'), 10);\n const end = parseInt(this.getAttribute('end'), 10);\n let contentSpan = this.shadowRoot.querySelector('.content');\n let rawContent = '';\n let contentAttr = this.getAttribute('content');\n if (typeof contentAttr === 'string') {\n rawContent = contentAttr.replace(/\\n/g, '¶');\n }\n let content = document.createElement('span');\n\n let contentStart = document.createTextNode(rawContent.substr(0, start));\n let contentEnd = document.createTextNode(rawContent.substr(end));\n let highlight = document.createElement('span');\n\n if (start === end) {\n highlight.classList.add('caret-wrapper');\n let caret = document.createElement('span');\n caret.classList.add('caret');\n caret.textContent = '\\u200B';\n highlight.appendChild(caret);\n } else {\n let contentHighlight = document.createTextNode(rawContent.substr(start, end - start));\n highlight.classList.add('highlight');\n highlight.appendChild(contentHighlight);\n }\n\n content.appendChild(contentStart);\n content.appendChild(highlight);\n content.appendChild(contentEnd);\n\n if (contentSpan.children[0]) contentSpan.removeChild(contentSpan.children[0]);\n contentSpan.appendChild(content);\n }\n\n attributeChangedCallback(attribute) {\n switch (attribute) {\n case 'start':\n case 'end':\n case 'content':\n window.requestIdleCallback(() => {\n this.updateContent();\n });\n break;\n }\n }\n}\n\nif (!window.customElements.get('character-counter')) {\n window.customElements.define('character-counter', CharacterCounter);\n}\n"},"lineCount":null}},"hash":"6975fe2bf2a8c701394d5fd0eb0b4ffb","cacheData":{"env":{}}} | ||
{"id":"fbkR","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/character-counter.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"../../src/mixins/component\"));class n extends t.default{updateContent(){const e=parseInt(this.getAttribute(\"start\"),10),t=parseInt(this.getAttribute(\"end\"),10);let n=this.shadowRoot.querySelector(\".content\"),a=\"\",r=this.getAttribute(\"content\");\"string\"==typeof r&&(a=r.replace(/\\n/g,\"¶\"));let s=document.createElement(\"span\"),i=document.createTextNode(a.substr(0,e)),d=document.createTextNode(a.substr(t)),o=document.createElement(\"span\");if(e===t){o.classList.add(\"caret-wrapper\");let e=document.createElement(\"span\");e.classList.add(\"caret\"),e.textContent=\"\",o.appendChild(e)}else{let n=document.createTextNode(a.substr(e,t-e));o.classList.add(\"highlight\"),o.appendChild(n)}s.appendChild(i),s.appendChild(o),s.appendChild(d),n.children[0]&&n.removeChild(n.children[0]),n.appendChild(s)}attributeChangedCallback(e){switch(e){case\"start\":case\"end\":case\"content\":window.requestIdleCallback(()=>{this.updateContent()})}}}n.template=\"\\n <pre class='content'></pre>\\n \",n.style=\"\\n :host {\\n position: relative;\\n }\\n\\n .content {\\n white-space: pre-wrap;\\n }\\n\\n .caret-wrapper {\\n display: inline;\\n position: relative;\\n width: 0;\\n }\\n\\n .caret {\\n background-color: rgb(96, 200, 240);\\n display: inline-block;\\n width: 2px;\\n border: 0;\\n padding: 0;\\n position: absolute;\\n left: -1px;\\n z-index: -1;\\n }\\n\\n .highlight {\\n background-color: rgb(96, 200, 240);\\n }\\n \",n.observedAttributes=[\"start\",\"end\",\"content\"],exports.default=n,window.customElements.get(\"character-counter\")||window.customElements.define(\"character-counter\",n);","map":{"mappings":[{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":91,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":207}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":46},"generated":{"line":1,"column":217}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":46},"generated":{"line":1,"column":219}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":41,"column":2},"generated":{"line":1,"column":227}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":10},"generated":{"line":1,"column":243}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":10},"generated":{"line":1,"column":249}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":251}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":27},"generated":{"line":1,"column":260}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":32},"generated":{"line":1,"column":265}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":45},"generated":{"line":1,"column":278}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":42,"column":55},"generated":{"line":1,"column":287}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":10},"generated":{"line":1,"column":291}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":16},"generated":{"line":1,"column":293}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":25},"generated":{"line":1,"column":302}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":30},"generated":{"line":1,"column":307}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":43},"generated":{"line":1,"column":320}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":43,"column":51},"generated":{"line":1,"column":327}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":331}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":335}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":22},"generated":{"line":1,"column":337}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":27},"generated":{"line":1,"column":342}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":38},"generated":{"line":1,"column":353}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":44,"column":52},"generated":{"line":1,"column":367}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":379}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":45,"column":21},"generated":{"line":1,"column":381}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":8},"generated":{"line":1,"column":384}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":22},"generated":{"line":1,"column":386}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":27},"generated":{"line":1,"column":391}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":46,"column":40},"generated":{"line":1,"column":404}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":47,"column":31},"generated":{"line":1,"column":415}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":47,"column":15},"generated":{"line":1,"column":432}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":1,"column":436}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":19},"generated":{"line":1,"column":438}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":31},"generated":{"line":1,"column":440}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":39},"generated":{"line":1,"column":448}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":48,"column":46},"generated":{"line":1,"column":454}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":460}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":464}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":18},"generated":{"line":1,"column":466}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":27},"generated":{"line":1,"column":475}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":50,"column":41},"generated":{"line":1,"column":489}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":1,"column":497}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":23},"generated":{"line":1,"column":499}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":508}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":47},"generated":{"line":1,"column":523}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":58},"generated":{"line":1,"column":525}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":65},"generated":{"line":1,"column":532}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":52,"column":68},"generated":{"line":1,"column":534}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":8},"generated":{"line":1,"column":538}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":21},"generated":{"line":1,"column":540}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":30},"generated":{"line":1,"column":549}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":45},"generated":{"line":1,"column":564}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":56},"generated":{"line":1,"column":566}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":53,"column":63},"generated":{"line":1,"column":573}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":8},"generated":{"line":1,"column":577}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":20},"generated":{"line":1,"column":579}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":29},"generated":{"line":1,"column":588}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":54,"column":43},"generated":{"line":1,"column":602}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":610}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":613}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":1,"column":617}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":56,"column":23},"generated":{"line":1,"column":619}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":1,"column":620}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":16},"generated":{"line":1,"column":622}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":26},"generated":{"line":1,"column":632}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":57,"column":30},"generated":{"line":1,"column":636}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":1,"column":653}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":1,"column":657}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":18},"generated":{"line":1,"column":659}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":27},"generated":{"line":1,"column":668}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":58,"column":41},"generated":{"line":1,"column":682}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":1,"column":690}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":12},"generated":{"line":1,"column":692}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":1,"column":702}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":59,"column":26},"generated":{"line":1,"column":706}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":1,"column":715}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":60,"column":12},"generated":{"line":1,"column":717}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":60,"column":26},"generated":{"line":1,"column":729}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":61,"column":6},"generated":{"line":1,"column":733}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":61,"column":16},"generated":{"line":1,"column":735}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":61,"column":28},"generated":{"line":1,"column":747}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":62,"column":12},"generated":{"line":1,"column":754}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":10},"generated":{"line":1,"column":755}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":10},"generated":{"line":1,"column":759}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":29},"generated":{"line":1,"column":761}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":38},"generated":{"line":1,"column":770}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":53},"generated":{"line":1,"column":785}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":64},"generated":{"line":1,"column":787}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":71},"generated":{"line":1,"column":794}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":78},"generated":{"line":1,"column":796}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":63,"column":84},"generated":{"line":1,"column":798}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":6},"generated":{"line":1,"column":802}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":16},"generated":{"line":1,"column":804}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":26},"generated":{"line":1,"column":814}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":64,"column":30},"generated":{"line":1,"column":818}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":1,"column":831}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":65,"column":16},"generated":{"line":1,"column":833}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":65,"column":28},"generated":{"line":1,"column":845}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":68,"column":4},"generated":{"line":1,"column":848}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":68,"column":12},"generated":{"line":1,"column":850}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":68,"column":24},"generated":{"line":1,"column":862}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":69,"column":4},"generated":{"line":1,"column":865}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":69,"column":12},"generated":{"line":1,"column":867}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":69,"column":24},"generated":{"line":1,"column":879}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":70,"column":4},"generated":{"line":1,"column":882}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":70,"column":12},"generated":{"line":1,"column":884}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":70,"column":24},"generated":{"line":1,"column":896}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":8},"generated":{"line":1,"column":899}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":20},"generated":{"line":1,"column":901}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":29},"generated":{"line":1,"column":910}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":33},"generated":{"line":1,"column":914}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":45},"generated":{"line":1,"column":916}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":57},"generated":{"line":1,"column":928}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":69},"generated":{"line":1,"column":930}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":72,"column":78},"generated":{"line":1,"column":939}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":73,"column":4},"generated":{"line":1,"column":943}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":73,"column":16},"generated":{"line":1,"column":945}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":73,"column":28},"generated":{"line":1,"column":957}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":76,"column":2},"generated":{"line":1,"column":960}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":76,"column":27},"generated":{"line":1,"column":985}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":77,"column":12},"generated":{"line":1,"column":988}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":77,"column":12},"generated":{"line":1,"column":995}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":998}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":1002}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":79,"column":11},"generated":{"line":1,"column":1010}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":79,"column":11},"generated":{"line":1,"column":1014}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":80,"column":11},"generated":{"line":1,"column":1020}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":80,"column":11},"generated":{"line":1,"column":1024}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":1,"column":1034}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":81,"column":15},"generated":{"line":1,"column":1041}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":81,"column":35},"generated":{"line":1,"column":1061}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1066}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1071}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1091}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1093}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":4,"column":20},"generated":{"line":1,"column":1102}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1142}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":8,"column":9},"generated":{"line":1,"column":1144}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":8,"column":17},"generated":{"line":1,"column":1150}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":1,"column":1648}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":1,"column":1650}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":30},"generated":{"line":1,"column":1669}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":31},"generated":{"line":1,"column":1670}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":40},"generated":{"line":1,"column":1678}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":39,"column":47},"generated":{"line":1,"column":1684}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1695}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1703}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1711}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":5},"generated":{"line":1,"column":1713}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":12},"generated":{"line":1,"column":1720}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":27},"generated":{"line":1,"column":1735}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":89,"column":31},"generated":{"line":1,"column":1739}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":2},"generated":{"line":1,"column":1761}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":9},"generated":{"line":1,"column":1768}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":24},"generated":{"line":1,"column":1783}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":31},"generated":{"line":1,"column":1790}},{"source":"../src/document-inspector/character-counter.ts","name":null,"original":{"line":90,"column":52},"generated":{"line":1,"column":1810}}],"sources":{"../src/document-inspector/character-counter.ts":"import WebComponent from '../../src/mixins/component';\n\nexport default class CharacterCounter extends WebComponent {\n static template = `\n <pre class='content'></pre>\n `;\n\n static style = `\n :host {\n position: relative;\n }\n\n .content {\n white-space: pre-wrap;\n }\n\n .caret-wrapper {\n display: inline;\n position: relative;\n width: 0;\n }\n\n .caret {\n background-color: rgb(96, 200, 240);\n display: inline-block;\n width: 2px;\n border: 0;\n padding: 0;\n position: absolute;\n left: -1px;\n z-index: -1;\n }\n\n .highlight {\n background-color: rgb(96, 200, 240);\n }\n `;\n\n static observedAttributes = ['start', 'end', 'content'];\n\n updateContent() {\n const start = parseInt(this.getAttribute('start'), 10);\n const end = parseInt(this.getAttribute('end'), 10);\n let contentSpan = this.shadowRoot.querySelector('.content');\n let rawContent = '';\n let contentAttr = this.getAttribute('content');\n if (typeof contentAttr === 'string') {\n rawContent = contentAttr.replace(/\\n/g, '¶');\n }\n let content = document.createElement('span');\n\n let contentStart = document.createTextNode(rawContent.substr(0, start));\n let contentEnd = document.createTextNode(rawContent.substr(end));\n let highlight = document.createElement('span');\n\n if (start === end) {\n highlight.classList.add('caret-wrapper');\n let caret = document.createElement('span');\n caret.classList.add('caret');\n caret.textContent = '\\u200B';\n highlight.appendChild(caret);\n } else {\n let contentHighlight = document.createTextNode(rawContent.substr(start, end - start));\n highlight.classList.add('highlight');\n highlight.appendChild(contentHighlight);\n }\n\n content.appendChild(contentStart);\n content.appendChild(highlight);\n content.appendChild(contentEnd);\n\n if (contentSpan.children[0]) contentSpan.removeChild(contentSpan.children[0]);\n contentSpan.appendChild(content);\n }\n\n attributeChangedCallback(attribute) {\n switch (attribute) {\n case 'start':\n case 'end':\n case 'content':\n window.requestIdleCallback(() => {\n this.updateContent();\n });\n break;\n }\n }\n}\n\nif (!window.customElements.get('character-counter')) {\n window.customElements.define('character-counter', CharacterCounter);\n}\n"},"lineCount":null}},"hash":"6975fe2bf2a8c701394d5fd0eb0b4ffb","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"R5n9","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/hir.ts","includedInParent":true,"mtime":1545342158123},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"./annotations","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js"},{"name":"./hir-node","loc":{"line":2,"column":20},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir-node.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=require(\"./annotations\"),e=o(require(\"./hir-node\"));function o(t){return t&&t.__esModule?t:{default:t}}class r{constructor(o){let r=o.clone();r.annotations.filter(t=>t.start===t.end).forEach(t=>{r.insertText(t.start,\"\"),t.start=Math.max(0,t.start-1)}),this.rootNode=new e.default(new t.Root({start:0,end:r.content.length,attributes:{}})),r.annotations.sort((t,e)=>t.start===e.start?t.type===e.type?t.end-e.end:e.end-e.start-(t.end-t.start):t.start-e.start).forEach(t=>this.rootNode.insertAnnotation(t)),this.rootNode.insertText(r.content)}toJSON(){return this.rootNode.toJSON()}}exports.default=r;","map":{"mappings":[{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":0}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":13}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":20}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":35}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":43}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":56}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":57}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":64}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":68}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":76}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":89}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":122}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":124}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":126}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":134}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":149}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":158}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":160}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":163}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":170}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":173}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":175}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":186}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":188}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":189}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":197}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":14},"generated":{"line":1,"column":200}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":21},"generated":{"line":1,"column":206}},{"source":"../../src/hir.ts","name":null,"original":{"line":9,"column":2},"generated":{"line":1,"column":208}},{"source":"../../src/hir.ts","name":null,"original":{"line":9,"column":14},"generated":{"line":1,"column":220}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":223}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":227}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":229}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":231}},{"source":"../../src/hir.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":1,"column":239}},{"source":"../../src/hir.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":241}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":7},"generated":{"line":1,"column":253}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":1,"column":260}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":19},"generated":{"line":1,"column":263}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":21},"generated":{"line":1,"column":265}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":31},"generated":{"line":1,"column":273}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":33},"generated":{"line":1,"column":275}},{"source":"../../src/hir.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":280}},{"source":"../../src/hir.ts","name":null,"original":{"line":14,"column":15},"generated":{"line":1,"column":288}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":292}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":294}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":29},"generated":{"line":1,"column":305}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":31},"generated":{"line":1,"column":307}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":38},"generated":{"line":1,"column":313}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":318}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":11},"generated":{"line":1,"column":320}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":326}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":24},"generated":{"line":1,"column":331}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":28},"generated":{"line":1,"column":335}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":31},"generated":{"line":1,"column":337}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":33},"generated":{"line":1,"column":339}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":41},"generated":{"line":1,"column":345}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":350}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":355}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":20},"generated":{"line":1,"column":364}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":368}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":20},"generated":{"line":1,"column":370}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":32},"generated":{"line":1,"column":378}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":36},"generated":{"line":1,"column":382}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":32},"generated":{"line":1,"column":384}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":41},"generated":{"line":1,"column":389}},{"source":"../../src/hir.ts","name":null,"original":{"line":20,"column":6},"generated":{"line":1,"column":390}},{"source":"../../src/hir.ts","name":null,"original":{"line":20,"column":13},"generated":{"line":1,"column":396}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":6},"generated":{"line":1,"column":398}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":11},"generated":{"line":1,"column":402}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":20},"generated":{"line":1,"column":404}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":28},"generated":{"line":1,"column":412}},{"source":"../../src/hir.ts","name":null,"original":{"line":22,"column":6},"generated":{"line":1,"column":419}},{"source":"../../src/hir.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":430}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":1,"column":436}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":438}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":25},"generated":{"line":1,"column":450}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":1,"column":455}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":31},"generated":{"line":1,"column":456}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":46},"generated":{"line":1,"column":458}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":10},"generated":{"line":1,"column":462}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":12},"generated":{"line":1,"column":464}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":22},"generated":{"line":1,"column":472}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":1,"column":474}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":12},"generated":{"line":1,"column":480}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":482}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":23},"generated":{"line":1,"column":489}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":25},"generated":{"line":1,"column":491}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":17},"generated":{"line":1,"column":496}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":19},"generated":{"line":1,"column":498}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":25},"generated":{"line":1,"column":502}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":27},"generated":{"line":1,"column":504}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":18},"generated":{"line":1,"column":508}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":20},"generated":{"line":1,"column":510}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":26},"generated":{"line":1,"column":514}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":28},"generated":{"line":1,"column":516}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":38},"generated":{"line":1,"column":523}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":40},"generated":{"line":1,"column":525}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":46},"generated":{"line":1,"column":529}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":48},"generated":{"line":1,"column":531}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":15},"generated":{"line":1,"column":538}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":17},"generated":{"line":1,"column":540}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":25},"generated":{"line":1,"column":546}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":27},"generated":{"line":1,"column":548}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":7},"generated":{"line":1,"column":555}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":1,"column":563}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":43},"generated":{"line":1,"column":566}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":48},"generated":{"line":1,"column":571}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":57},"generated":{"line":1,"column":580}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":74},"generated":{"line":1,"column":597}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":601}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":606}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":18},"generated":{"line":1,"column":615}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":29},"generated":{"line":1,"column":626}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":38},"generated":{"line":1,"column":628}},{"source":"../../src/hir.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":637}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":11},"generated":{"line":1,"column":646}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":11},"generated":{"line":1,"column":653}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":16},"generated":{"line":1,"column":658}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":25},"generated":{"line":1,"column":667}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":677}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":685}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":693}}],"sources":{"../../src/hir.ts":"import Document, { Annotation, JSON } from '@atjson/document';\nimport { Root } from './annotations';\nimport HIRNode from './hir-node';\n\nexport default class HIR {\n\n rootNode: HIRNode;\n\n constructor(doc: Document) {\n let document: Document = doc.clone();\n\n document.annotations\n .filter(a => a.start === a.end)\n .forEach(a => {\n document.insertText(a.start, '\\uFFFC');\n a.start = Math.max(0, a.start - 1);\n });\n\n this.rootNode = new HIRNode(new Root({\n start: 0,\n end: document.content.length,\n attributes: {}\n }));\n\n document.annotations.sort((a: Annotation, b: Annotation) => {\n if (a.start === b.start) {\n if (a.type === b.type) {\n return a.end - b.end;\n } else {\n return (b.end - b.start) - (a.end - a.start);\n }\n } else {\n return a.start - b.start;\n }\n }).forEach((annotation: Annotation) => this.rootNode.insertAnnotation(annotation));\n\n this.rootNode.insertText(document.content);\n }\n\n toJSON(): JSON {\n return this.rootNode.toJSON();\n }\n}\n"},"lineCount":null}},"hash":"cf06b048213c90838a2cc48a78fb23dd","cacheData":{"env":{}}} | ||
{"id":"R5n9","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/hir.ts","includedInParent":true,"mtime":1545342158123},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"./annotations","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js"},{"name":"./hir-node","loc":{"line":2,"column":20},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir-node.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=require(\"./annotations\"),e=o(require(\"./hir-node\"));function o(t){return t&&t.__esModule?t:{default:t}}class r{constructor(o){let r=o.clone();r.annotations.filter(t=>t.start===t.end).forEach(t=>{r.insertText(t.start,\"\"),t.start=Math.max(0,t.start-1)}),this.rootNode=new e.default(new t.Root({start:0,end:r.content.length,attributes:{}})),r.annotations.sort((t,e)=>t.start===e.start?t.type===e.type?t.end-e.end:e.end-e.start-(t.end-t.start):t.start-e.start).forEach(t=>this.rootNode.insertAnnotation(t)),this.rootNode.insertText(r.content)}toJSON(){return this.rootNode.toJSON()}}exports.default=r;","map":{"mappings":[{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":0}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":13}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":20}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":35}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":43}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":56}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":57}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":64}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":68}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":76}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":89}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/hir.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":122}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":124}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":126}},{"source":"../../src/hir.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":134}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":149}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":158}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":160}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":163}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":170}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":173}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":175}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":186}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":188}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":189}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":197}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":14},"generated":{"line":1,"column":200}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":21},"generated":{"line":1,"column":206}},{"source":"../../src/hir.ts","name":null,"original":{"line":9,"column":2},"generated":{"line":1,"column":208}},{"source":"../../src/hir.ts","name":null,"original":{"line":9,"column":14},"generated":{"line":1,"column":220}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":223}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":8},"generated":{"line":1,"column":227}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":229}},{"source":"../../src/hir.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":231}},{"source":"../../src/hir.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":1,"column":239}},{"source":"../../src/hir.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":241}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":7},"generated":{"line":1,"column":253}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":1,"column":260}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":19},"generated":{"line":1,"column":263}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":21},"generated":{"line":1,"column":265}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":31},"generated":{"line":1,"column":273}},{"source":"../../src/hir.ts","name":null,"original":{"line":13,"column":33},"generated":{"line":1,"column":275}},{"source":"../../src/hir.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":280}},{"source":"../../src/hir.ts","name":null,"original":{"line":14,"column":15},"generated":{"line":1,"column":288}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":292}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":294}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":29},"generated":{"line":1,"column":305}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":31},"generated":{"line":1,"column":307}},{"source":"../../src/hir.ts","name":null,"original":{"line":15,"column":38},"generated":{"line":1,"column":313}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":318}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":11},"generated":{"line":1,"column":320}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":326}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":24},"generated":{"line":1,"column":331}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":28},"generated":{"line":1,"column":335}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":31},"generated":{"line":1,"column":337}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":33},"generated":{"line":1,"column":339}},{"source":"../../src/hir.ts","name":null,"original":{"line":16,"column":41},"generated":{"line":1,"column":345}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":350}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":355}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":20},"generated":{"line":1,"column":364}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":368}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":20},"generated":{"line":1,"column":370}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":32},"generated":{"line":1,"column":378}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":36},"generated":{"line":1,"column":382}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":32},"generated":{"line":1,"column":384}},{"source":"../../src/hir.ts","name":null,"original":{"line":19,"column":41},"generated":{"line":1,"column":389}},{"source":"../../src/hir.ts","name":null,"original":{"line":20,"column":6},"generated":{"line":1,"column":390}},{"source":"../../src/hir.ts","name":null,"original":{"line":20,"column":13},"generated":{"line":1,"column":396}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":6},"generated":{"line":1,"column":398}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":11},"generated":{"line":1,"column":402}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":20},"generated":{"line":1,"column":404}},{"source":"../../src/hir.ts","name":null,"original":{"line":21,"column":28},"generated":{"line":1,"column":412}},{"source":"../../src/hir.ts","name":null,"original":{"line":22,"column":6},"generated":{"line":1,"column":419}},{"source":"../../src/hir.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":430}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":1,"column":436}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":438}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":25},"generated":{"line":1,"column":450}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":1,"column":455}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":31},"generated":{"line":1,"column":456}},{"source":"../../src/hir.ts","name":null,"original":{"line":25,"column":46},"generated":{"line":1,"column":458}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":10},"generated":{"line":1,"column":462}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":12},"generated":{"line":1,"column":464}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":22},"generated":{"line":1,"column":472}},{"source":"../../src/hir.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":1,"column":474}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":12},"generated":{"line":1,"column":480}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":482}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":23},"generated":{"line":1,"column":489}},{"source":"../../src/hir.ts","name":null,"original":{"line":27,"column":25},"generated":{"line":1,"column":491}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":17},"generated":{"line":1,"column":496}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":19},"generated":{"line":1,"column":498}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":25},"generated":{"line":1,"column":502}},{"source":"../../src/hir.ts","name":null,"original":{"line":28,"column":27},"generated":{"line":1,"column":504}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":18},"generated":{"line":1,"column":508}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":20},"generated":{"line":1,"column":510}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":26},"generated":{"line":1,"column":514}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":28},"generated":{"line":1,"column":516}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":38},"generated":{"line":1,"column":523}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":40},"generated":{"line":1,"column":525}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":46},"generated":{"line":1,"column":529}},{"source":"../../src/hir.ts","name":null,"original":{"line":30,"column":48},"generated":{"line":1,"column":531}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":15},"generated":{"line":1,"column":538}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":17},"generated":{"line":1,"column":540}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":25},"generated":{"line":1,"column":546}},{"source":"../../src/hir.ts","name":null,"original":{"line":33,"column":27},"generated":{"line":1,"column":548}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":7},"generated":{"line":1,"column":555}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":1,"column":563}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":43},"generated":{"line":1,"column":566}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":48},"generated":{"line":1,"column":571}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":57},"generated":{"line":1,"column":580}},{"source":"../../src/hir.ts","name":null,"original":{"line":35,"column":74},"generated":{"line":1,"column":597}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":601}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":606}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":18},"generated":{"line":1,"column":615}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":29},"generated":{"line":1,"column":626}},{"source":"../../src/hir.ts","name":null,"original":{"line":37,"column":38},"generated":{"line":1,"column":628}},{"source":"../../src/hir.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":637}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":11},"generated":{"line":1,"column":646}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":11},"generated":{"line":1,"column":653}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":16},"generated":{"line":1,"column":658}},{"source":"../../src/hir.ts","name":null,"original":{"line":41,"column":25},"generated":{"line":1,"column":667}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":677}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":685}},{"source":"../../src/hir.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":693}}],"sources":{"../../src/hir.ts":"import Document, { Annotation, JSON } from '@atjson/document';\nimport { Root } from './annotations';\nimport HIRNode from './hir-node';\n\nexport default class HIR {\n\n rootNode: HIRNode;\n\n constructor(doc: Document) {\n let document: Document = doc.clone();\n\n document.annotations\n .filter(a => a.start === a.end)\n .forEach(a => {\n document.insertText(a.start, '\\uFFFC');\n a.start = Math.max(0, a.start - 1);\n });\n\n this.rootNode = new HIRNode(new Root({\n start: 0,\n end: document.content.length,\n attributes: {}\n }));\n\n document.annotations.sort((a: Annotation, b: Annotation) => {\n if (a.start === b.start) {\n if (a.type === b.type) {\n return a.end - b.end;\n } else {\n return (b.end - b.start) - (a.end - a.start);\n }\n } else {\n return a.start - b.start;\n }\n }).forEach((annotation: Annotation) => this.rootNode.insertAnnotation(annotation));\n\n this.rootNode.insertText(document.content);\n }\n\n toJSON(): JSON {\n return this.rootNode.toJSON();\n }\n}\n"},"lineCount":null}},"hash":"cf06b048213c90838a2cc48a78fb23dd","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"D3nd","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503}],"generated":{"js":"var e=\"undefined\"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||\"undefined\"!=typeof msCrypto&&\"function\"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var o=new Uint8Array(16);module.exports=function(){return e(o),o}}else{var r=new Array(16);module.exports=function(){for(var e,o=0;o<16;o++)0==(3&o)&&(e=4294967296*Math.random()),r[o]=e>>>((3&o)<<3)&255;return r}}","map":{"mappings":[{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":26}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":34}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":41}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":58}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":65}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":81}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":86}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":151}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":160}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":177}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":186}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":202}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":11,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":11,"column":0},"generated":{"line":1,"column":220}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":11,"column":0},"generated":{"line":1,"column":222}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":223}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":227}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":229}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":233}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":244}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":15,"column":0},"generated":{"line":1,"column":248}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":15,"column":0},"generated":{"line":1,"column":255}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":15,"column":0},"generated":{"line":1,"column":263}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":17,"column":0},"generated":{"line":1,"column":274}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":16,"column":0},"generated":{"line":1,"column":281}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":16,"column":0},"generated":{"line":1,"column":283}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":17,"column":0},"generated":{"line":1,"column":286}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":19,"column":0},"generated":{"line":1,"column":293}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":294}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":298}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":300}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":304}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":310}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":26,"column":0},"generated":{"line":1,"column":314}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":26,"column":0},"generated":{"line":1,"column":321}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":26,"column":0},"generated":{"line":1,"column":329}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":340}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":348}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":350}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":352}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":354}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":356}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":359}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":363}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":367}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":369}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":374}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":376}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":387}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":392}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":402}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":404}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":407}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":413}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":415}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":419}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":422}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":32,"column":0},"generated":{"line":1,"column":426}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":32,"column":0},"generated":{"line":1,"column":433}}],"sources":{"../../../../node_modules/uuid/lib/rng-browser.js":"// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n"},"lineCount":null}},"hash":"3fef7d332e8daeaf07907c826dc1de1f","cacheData":{"env":{}}} | ||
{"id":"D3nd","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503}],"generated":{"js":"var e=\"undefined\"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||\"undefined\"!=typeof msCrypto&&\"function\"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var o=new Uint8Array(16);module.exports=function(){return e(o),o}}else{var r=new Array(16);module.exports=function(){for(var e,o=0;o<16;o++)0==(3&o)&&(e=4294967296*Math.random()),r[o]=e>>>((3&o)<<3)&255;return r}}","map":{"mappings":[{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":26}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":34}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":41}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":58}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":65}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":81}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":8,"column":0},"generated":{"line":1,"column":86}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":151}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":160}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":177}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":186}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":202}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":9,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":11,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":11,"column":0},"generated":{"line":1,"column":220}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":11,"column":0},"generated":{"line":1,"column":222}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":223}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":227}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":229}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":233}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":13,"column":0},"generated":{"line":1,"column":244}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":15,"column":0},"generated":{"line":1,"column":248}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":15,"column":0},"generated":{"line":1,"column":255}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":15,"column":0},"generated":{"line":1,"column":263}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":17,"column":0},"generated":{"line":1,"column":274}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":16,"column":0},"generated":{"line":1,"column":281}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":16,"column":0},"generated":{"line":1,"column":283}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":17,"column":0},"generated":{"line":1,"column":286}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":19,"column":0},"generated":{"line":1,"column":293}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":294}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":298}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":300}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":304}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":24,"column":0},"generated":{"line":1,"column":310}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":26,"column":0},"generated":{"line":1,"column":314}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":26,"column":0},"generated":{"line":1,"column":321}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":26,"column":0},"generated":{"line":1,"column":329}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":340}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":348}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":350}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":352}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":354}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":356}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":27,"column":0},"generated":{"line":1,"column":359}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":363}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":367}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":369}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":374}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":376}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":387}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":28,"column":0},"generated":{"line":1,"column":392}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":402}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":404}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":407}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":413}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":415}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":419}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":29,"column":0},"generated":{"line":1,"column":422}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":32,"column":0},"generated":{"line":1,"column":426}},{"source":"../../../../node_modules/uuid/lib/rng-browser.js","original":{"line":32,"column":0},"generated":{"line":1,"column":433}}],"sources":{"../../../../node_modules/uuid/lib/rng-browser.js":"// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n"},"lineCount":null}},"hash":"3fef7d332e8daeaf07907c826dc1de1f","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"cUFz","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-webcomponent/src/index.ts","includedInParent":true,"mtime":1545342158164},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-webcomponent/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/hir","loc":{"line":1,"column":20},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-webcomponent/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/hir\");class t{constructor(e){this.document=e}text({text:e}){if(\"\\n\"===e[e.length-1]){let t=e.split(\"\\n\");\"\"===t[t.length-1]&&t.pop();let n=t.map(e=>{let t=document.createElement(\"span\");return t.style.whiteSpace=\"normal\",t.style.display=\"none\",t.contentEditable=\"false\",t.appendChild(document.createTextNode(\"\\n\")),[document.createTextNode(e),t]}).reduce((e,t)=>e.concat(t)),r=document.createElement(\"span\");return n.forEach(e=>{r.appendChild(e)}),r}return document.createTextNode(e)}render(){let t=new Map,n=new e.HIR(this.document),r=document.createElement(\"div\");return this.compile(t,n.rootNode.children()).forEach(e=>{r.appendChild(e)}),r}compile(e,t){return t.map(t=>{let n=t.children();if(n.length>0){let r;return\"function\"==typeof this[t.type]?r=this[t.type](t):(r=document.createElement(\"span\")).classList.add(\"unknown-annotation\"),t.id&&r.setAttribute(\"data-annotation-id\",t.id.toString()),e.set(r,t),this.compile(e,n).forEach(e=>{r.appendChild(e)}),r}{let n;return n=\"function\"==typeof this[t.type]?this[t.type](t):\"\",e.set(n,t),n}})}}var n=t;exports.default=n;","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":76}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":89}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":120}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":6},"generated":{"line":1,"column":126}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":1,"column":128}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":14},"generated":{"line":1,"column":140}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":143}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":148}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":20},"generated":{"line":1,"column":157}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":1,"column":159}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":7},"generated":{"line":1,"column":165}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":170}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":174}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":34},"generated":{"line":1,"column":177}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":184}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":186}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":188}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":27},"generated":{"line":1,"column":195}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":40},"generated":{"line":1,"column":198}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":199}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":203}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":28},"generated":{"line":1,"column":205}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":33},"generated":{"line":1,"column":207}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":39},"generated":{"line":1,"column":213}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":58},"generated":{"line":1,"column":219}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":10},"generated":{"line":1,"column":224}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":1,"column":226}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":42},"generated":{"line":1,"column":228}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":51},"generated":{"line":1,"column":235}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":8},"generated":{"line":1,"column":239}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":24},"generated":{"line":1,"column":241}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":247}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":251}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":21},"generated":{"line":1,"column":253}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":255}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":42},"generated":{"line":1,"column":259}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":12},"generated":{"line":1,"column":263}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":12},"generated":{"line":1,"column":267}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":19},"generated":{"line":1,"column":269}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":28},"generated":{"line":1,"column":278}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":42},"generated":{"line":1,"column":292}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":15},"generated":{"line":1,"column":300}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":307}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":13},"generated":{"line":1,"column":309}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":315}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":1,"column":326}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":335}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":337}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":19},"generated":{"line":1,"column":343}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":29},"generated":{"line":1,"column":351}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":8},"generated":{"line":1,"column":358}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":360}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":31},"generated":{"line":1,"column":376}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":384}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":386}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":25},"generated":{"line":1,"column":398}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":34},"generated":{"line":1,"column":407}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":49},"generated":{"line":1,"column":422}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":15},"generated":{"line":1,"column":429}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":16},"generated":{"line":1,"column":430}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":25},"generated":{"line":1,"column":439}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":40},"generated":{"line":1,"column":454}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":46},"generated":{"line":1,"column":457}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":462}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":469}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":17},"generated":{"line":1,"column":470}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":51},"generated":{"line":1,"column":472}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":119},"generated":{"line":1,"column":476}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":121},"generated":{"line":1,"column":478}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":128},"generated":{"line":1,"column":485}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":10},"generated":{"line":1,"column":489}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":27},"generated":{"line":1,"column":491}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":36},"generated":{"line":1,"column":500}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":50},"generated":{"line":1,"column":514}},{"source":"../../src/index.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":1,"column":522}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":6},"generated":{"line":1,"column":529}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":15},"generated":{"line":1,"column":531}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":24},"generated":{"line":1,"column":539}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":543}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":23},"generated":{"line":1,"column":545}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":557}},{"source":"../../src/index.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":1,"column":562}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":11},"generated":{"line":1,"column":564}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":11},"generated":{"line":1,"column":571}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":20},"generated":{"line":1,"column":580}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":35},"generated":{"line":1,"column":595}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":2},"generated":{"line":1,"column":598}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":8},"generated":{"line":1,"column":607}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":8},"generated":{"line":1,"column":611}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":14},"generated":{"line":1,"column":613}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":617}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":621}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":26},"generated":{"line":1,"column":623}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":30},"generated":{"line":1,"column":627}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":26},"generated":{"line":1,"column":629}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":34},"generated":{"line":1,"column":633}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":39},"generated":{"line":1,"column":638}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":648}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":22},"generated":{"line":1,"column":650}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":31},"generated":{"line":1,"column":659}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":45},"generated":{"line":1,"column":673}},{"source":"../../src/index.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":680}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":19},"generated":{"line":1,"column":687}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":24},"generated":{"line":1,"column":692}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":32},"generated":{"line":1,"column":700}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":37},"generated":{"line":1,"column":702}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":53},"generated":{"line":1,"column":704}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":62},"generated":{"line":1,"column":713}},{"source":"../../src/index.ts","name":null,"original":{"line":47,"column":13},"generated":{"line":1,"column":725}},{"source":"../../src/index.ts","name":null,"original":{"line":47,"column":22},"generated":{"line":1,"column":733}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":1,"column":737}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":18},"generated":{"line":1,"column":739}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":30},"generated":{"line":1,"column":751}},{"source":"../../src/index.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":756}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":1,"column":758}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":10},"generated":{"line":1,"column":766}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":38},"generated":{"line":1,"column":768}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":771}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":778}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":17},"generated":{"line":1,"column":780}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":22},"generated":{"line":1,"column":784}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":10},"generated":{"line":1,"column":788}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":10},"generated":{"line":1,"column":792}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":21},"generated":{"line":1,"column":794}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":26},"generated":{"line":1,"column":796}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":807}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":810}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":19},"generated":{"line":1,"column":812}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":28},"generated":{"line":1,"column":819}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":31},"generated":{"line":1,"column":821}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":12},"generated":{"line":1,"column":822}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":12},"generated":{"line":1,"column":826}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":15},"generated":{"line":1,"column":828}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":48},"generated":{"line":1,"column":834}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":20},"generated":{"line":1,"column":853}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":33},"generated":{"line":1,"column":858}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":38},"generated":{"line":1,"column":860}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":10},"generated":{"line":1,"column":866}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":20},"generated":{"line":1,"column":868}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":25},"generated":{"line":1,"column":873}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":30},"generated":{"line":1,"column":875}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":36},"generated":{"line":1,"column":881}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":10},"generated":{"line":1,"column":885}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":20},"generated":{"line":1,"column":887}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":29},"generated":{"line":1,"column":896}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":43},"generated":{"line":1,"column":910}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":18},"generated":{"line":1,"column":919}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":28},"generated":{"line":1,"column":929}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":32},"generated":{"line":1,"column":933}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":12},"generated":{"line":1,"column":955}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":17},"generated":{"line":1,"column":957}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":10},"generated":{"line":1,"column":961}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":18},"generated":{"line":1,"column":963}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":31},"generated":{"line":1,"column":976}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":53},"generated":{"line":1,"column":997}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":58},"generated":{"line":1,"column":999}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":61},"generated":{"line":1,"column":1002}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":1014}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":12},"generated":{"line":1,"column":1016}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":16},"generated":{"line":1,"column":1020}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":25},"generated":{"line":1,"column":1022}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":13},"generated":{"line":1,"column":1025}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":13},"generated":{"line":1,"column":1030}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":21},"generated":{"line":1,"column":1038}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":26},"generated":{"line":1,"column":1040}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":36},"generated":{"line":1,"column":1043}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":45},"generated":{"line":1,"column":1051}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":10},"generated":{"line":1,"column":1055}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":18},"generated":{"line":1,"column":1057}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":30},"generated":{"line":1,"column":1069}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":15},"generated":{"line":1,"column":1074}},{"source":"../../src/index.ts","name":null,"original":{"line":74,"column":13},"generated":{"line":1,"column":1076}},{"source":"../../src/index.ts","name":null,"original":{"line":75,"column":12},"generated":{"line":1,"column":1077}},{"source":"../../src/index.ts","name":null,"original":{"line":75,"column":12},"generated":{"line":1,"column":1081}},{"source":"../../src/index.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1083}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":1,"column":1090}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":48},"generated":{"line":1,"column":1092}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":20},"generated":{"line":1,"column":1111}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":33},"generated":{"line":1,"column":1116}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":38},"generated":{"line":1,"column":1118}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":17},"generated":{"line":1,"column":1124}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":22},"generated":{"line":1,"column":1129}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":27},"generated":{"line":1,"column":1131}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":33},"generated":{"line":1,"column":1137}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":1,"column":1140}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":1,"column":1143}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":12},"generated":{"line":1,"column":1145}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":1,"column":1149}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":22},"generated":{"line":1,"column":1151}},{"source":"../../src/index.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1154}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1160}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1164}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1166}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1168}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1176}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1184}}],"sources":{"../../src/index.ts":"import Document from '@atjson/document';\nimport { HIR, HIRNode } from '@atjson/hir';\n\ninterface WebComponentRenderer {\n [key: string]: any;\n}\n\nclass WebComponentRenderer {\n\n document: Document;\n\n constructor(document: Document) {\n this.document = document;\n }\n\n text({ text }: { text: string }) {\n if (text[text.length - 1] === '\\n') {\n let nonBreakStrings = text.split('\\n');\n if (nonBreakStrings[nonBreakStrings.length - 1] === '') {\n nonBreakStrings.pop();\n }\n let children = nonBreakStrings.map((str: string) => {\n let span = document.createElement('span');\n span.style.whiteSpace = 'normal';\n span.style.display = 'none';\n span.contentEditable = 'false';\n span.appendChild(document.createTextNode('\\n'));\n return [document.createTextNode(str), span];\n }).reduce((a: Array<Text | HTMLSpanElement>, b: Array<Text | HTMLSpanElement>): Array<Text | HTMLSpanElement> => a.concat(b));\n\n let textParentNode = document.createElement('span');\n children.forEach((child: Node) => {\n textParentNode.appendChild(child);\n });\n\n return textParentNode;\n }\n return document.createTextNode(text);\n }\n\n render() {\n let hir = new Map<Element, HIRNode>();\n let annotationGraph = new HIR(this.document);\n\n let placeholder = document.createElement('div');\n let children = this.compile(hir, annotationGraph.rootNode.children());\n children.forEach((element: Element) => {\n placeholder.appendChild(element);\n });\n return placeholder;\n }\n\n compile(hir: Map<Element, HIRNode>, nodes: HIRNode[]): Element[] {\n return nodes.map((node: HIRNode) => {\n let children = node.children();\n if (children.length > 0) {\n let element: Element;\n if (typeof (this as any)[node.type] === 'function') {\n element = this[node.type](node);\n } else {\n element = document.createElement('span');\n element.classList.add('unknown-annotation');\n }\n\n if (node.id) {\n element.setAttribute('data-annotation-id', node.id.toString());\n }\n\n hir.set(element, node);\n this.compile(hir, children).forEach((child: Element) => {\n element.appendChild(child);\n });\n return element;\n } else {\n let text;\n if (typeof (this as any)[node.type] === 'function') {\n text = this[node.type](node);\n } else {\n text = '';\n }\n hir.set(text, node);\n return text;\n }\n });\n }\n}\n\nexport default WebComponentRenderer;\n"},"lineCount":null}},"hash":"f85d8bc3160adbb49113f3e15e986983","cacheData":{"env":{}}} | ||
{"id":"cUFz","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-webcomponent/src/index.ts","includedInParent":true,"mtime":1545342158164},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-webcomponent/package.json","includedInParent":true,"mtime":1550104902988},{"name":"@atjson/hir","loc":{"line":1,"column":20},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-webcomponent/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/hir\");class t{constructor(e){this.document=e}text({text:e}){if(\"\\n\"===e[e.length-1]){let t=e.split(\"\\n\");\"\"===t[t.length-1]&&t.pop();let n=t.map(e=>{let t=document.createElement(\"span\");return t.style.whiteSpace=\"normal\",t.style.display=\"none\",t.contentEditable=\"false\",t.appendChild(document.createTextNode(\"\\n\")),[document.createTextNode(e),t]}).reduce((e,t)=>e.concat(t)),r=document.createElement(\"span\");return n.forEach(e=>{r.appendChild(e)}),r}return document.createTextNode(e)}render(){let t=new Map,n=new e.HIR(this.document),r=document.createElement(\"div\");return this.compile(t,n.rootNode.children()).forEach(e=>{r.appendChild(e)}),r}compile(e,t){return t.map(t=>{let n=t.children();if(n.length>0){let r;return\"function\"==typeof this[t.type]?r=this[t.type](t):(r=document.createElement(\"span\")).classList.add(\"unknown-annotation\"),t.id&&r.setAttribute(\"data-annotation-id\",t.id.toString()),e.set(r,t),this.compile(e,n).forEach(e=>{r.appendChild(e)}),r}{let n;return n=\"function\"==typeof this[t.type]?this[t.type](t):\"\",e.set(n,t),n}})}}var n=t;exports.default=n;","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":76}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":89}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":120}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":6},"generated":{"line":1,"column":126}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":1,"column":128}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":14},"generated":{"line":1,"column":140}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":143}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":9},"generated":{"line":1,"column":148}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":20},"generated":{"line":1,"column":157}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":1,"column":159}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":7},"generated":{"line":1,"column":165}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":170}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":174}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":34},"generated":{"line":1,"column":177}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":184}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":186}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":188}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":27},"generated":{"line":1,"column":195}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":40},"generated":{"line":1,"column":198}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":199}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":203}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":28},"generated":{"line":1,"column":205}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":33},"generated":{"line":1,"column":207}},{"source":"../../src/index.ts","name":null,"original":{"line":18,"column":39},"generated":{"line":1,"column":213}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":58},"generated":{"line":1,"column":219}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":10},"generated":{"line":1,"column":224}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":1,"column":226}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":42},"generated":{"line":1,"column":228}},{"source":"../../src/index.ts","name":null,"original":{"line":19,"column":51},"generated":{"line":1,"column":235}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":8},"generated":{"line":1,"column":239}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":24},"generated":{"line":1,"column":241}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":247}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":251}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":21},"generated":{"line":1,"column":253}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":255}},{"source":"../../src/index.ts","name":null,"original":{"line":22,"column":42},"generated":{"line":1,"column":259}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":12},"generated":{"line":1,"column":263}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":12},"generated":{"line":1,"column":267}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":19},"generated":{"line":1,"column":269}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":28},"generated":{"line":1,"column":278}},{"source":"../../src/index.ts","name":null,"original":{"line":23,"column":42},"generated":{"line":1,"column":292}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":15},"generated":{"line":1,"column":300}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":307}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":13},"generated":{"line":1,"column":309}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":315}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":1,"column":326}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":335}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":337}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":19},"generated":{"line":1,"column":343}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":29},"generated":{"line":1,"column":351}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":8},"generated":{"line":1,"column":358}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":360}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":31},"generated":{"line":1,"column":376}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":384}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":386}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":25},"generated":{"line":1,"column":398}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":34},"generated":{"line":1,"column":407}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":49},"generated":{"line":1,"column":422}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":15},"generated":{"line":1,"column":429}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":16},"generated":{"line":1,"column":430}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":25},"generated":{"line":1,"column":439}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":40},"generated":{"line":1,"column":454}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":46},"generated":{"line":1,"column":457}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":462}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":16},"generated":{"line":1,"column":469}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":17},"generated":{"line":1,"column":470}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":51},"generated":{"line":1,"column":472}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":119},"generated":{"line":1,"column":476}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":121},"generated":{"line":1,"column":478}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":128},"generated":{"line":1,"column":485}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":10},"generated":{"line":1,"column":489}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":27},"generated":{"line":1,"column":491}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":36},"generated":{"line":1,"column":500}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":50},"generated":{"line":1,"column":514}},{"source":"../../src/index.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":1,"column":522}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":6},"generated":{"line":1,"column":529}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":15},"generated":{"line":1,"column":531}},{"source":"../../src/index.ts","name":null,"original":{"line":32,"column":24},"generated":{"line":1,"column":539}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":543}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":23},"generated":{"line":1,"column":545}},{"source":"../../src/index.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":557}},{"source":"../../src/index.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":1,"column":562}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":11},"generated":{"line":1,"column":564}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":11},"generated":{"line":1,"column":571}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":20},"generated":{"line":1,"column":580}},{"source":"../../src/index.ts","name":null,"original":{"line":38,"column":35},"generated":{"line":1,"column":595}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":2},"generated":{"line":1,"column":598}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":8},"generated":{"line":1,"column":607}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":8},"generated":{"line":1,"column":611}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":14},"generated":{"line":1,"column":613}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":617}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":1,"column":621}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":26},"generated":{"line":1,"column":623}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":30},"generated":{"line":1,"column":627}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":26},"generated":{"line":1,"column":629}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":34},"generated":{"line":1,"column":633}},{"source":"../../src/index.ts","name":null,"original":{"line":43,"column":39},"generated":{"line":1,"column":638}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":648}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":22},"generated":{"line":1,"column":650}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":31},"generated":{"line":1,"column":659}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":45},"generated":{"line":1,"column":673}},{"source":"../../src/index.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":680}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":19},"generated":{"line":1,"column":687}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":24},"generated":{"line":1,"column":692}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":32},"generated":{"line":1,"column":700}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":37},"generated":{"line":1,"column":702}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":53},"generated":{"line":1,"column":704}},{"source":"../../src/index.ts","name":null,"original":{"line":46,"column":62},"generated":{"line":1,"column":713}},{"source":"../../src/index.ts","name":null,"original":{"line":47,"column":13},"generated":{"line":1,"column":725}},{"source":"../../src/index.ts","name":null,"original":{"line":47,"column":22},"generated":{"line":1,"column":733}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":1,"column":737}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":18},"generated":{"line":1,"column":739}},{"source":"../../src/index.ts","name":null,"original":{"line":48,"column":30},"generated":{"line":1,"column":751}},{"source":"../../src/index.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":756}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":1,"column":758}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":10},"generated":{"line":1,"column":766}},{"source":"../../src/index.ts","name":null,"original":{"line":53,"column":38},"generated":{"line":1,"column":768}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":771}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":11},"generated":{"line":1,"column":778}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":17},"generated":{"line":1,"column":780}},{"source":"../../src/index.ts","name":null,"original":{"line":54,"column":22},"generated":{"line":1,"column":784}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":10},"generated":{"line":1,"column":788}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":10},"generated":{"line":1,"column":792}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":21},"generated":{"line":1,"column":794}},{"source":"../../src/index.ts","name":null,"original":{"line":55,"column":26},"generated":{"line":1,"column":796}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":807}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":10},"generated":{"line":1,"column":810}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":19},"generated":{"line":1,"column":812}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":28},"generated":{"line":1,"column":819}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":31},"generated":{"line":1,"column":821}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":12},"generated":{"line":1,"column":822}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":12},"generated":{"line":1,"column":826}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":15},"generated":{"line":1,"column":828}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":48},"generated":{"line":1,"column":834}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":20},"generated":{"line":1,"column":853}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":33},"generated":{"line":1,"column":858}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":38},"generated":{"line":1,"column":860}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":10},"generated":{"line":1,"column":866}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":20},"generated":{"line":1,"column":868}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":25},"generated":{"line":1,"column":873}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":30},"generated":{"line":1,"column":875}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":36},"generated":{"line":1,"column":881}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":10},"generated":{"line":1,"column":885}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":20},"generated":{"line":1,"column":887}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":29},"generated":{"line":1,"column":896}},{"source":"../../src/index.ts","name":null,"original":{"line":61,"column":43},"generated":{"line":1,"column":910}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":18},"generated":{"line":1,"column":919}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":28},"generated":{"line":1,"column":929}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":32},"generated":{"line":1,"column":933}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":12},"generated":{"line":1,"column":955}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":17},"generated":{"line":1,"column":957}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":10},"generated":{"line":1,"column":961}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":18},"generated":{"line":1,"column":963}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":31},"generated":{"line":1,"column":976}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":53},"generated":{"line":1,"column":997}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":58},"generated":{"line":1,"column":999}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":61},"generated":{"line":1,"column":1002}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":1014}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":12},"generated":{"line":1,"column":1016}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":16},"generated":{"line":1,"column":1020}},{"source":"../../src/index.ts","name":null,"original":{"line":69,"column":25},"generated":{"line":1,"column":1022}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":13},"generated":{"line":1,"column":1025}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":13},"generated":{"line":1,"column":1030}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":21},"generated":{"line":1,"column":1038}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":26},"generated":{"line":1,"column":1040}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":36},"generated":{"line":1,"column":1043}},{"source":"../../src/index.ts","name":null,"original":{"line":70,"column":45},"generated":{"line":1,"column":1051}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":10},"generated":{"line":1,"column":1055}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":18},"generated":{"line":1,"column":1057}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":30},"generated":{"line":1,"column":1069}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":15},"generated":{"line":1,"column":1074}},{"source":"../../src/index.ts","name":null,"original":{"line":74,"column":13},"generated":{"line":1,"column":1076}},{"source":"../../src/index.ts","name":null,"original":{"line":75,"column":12},"generated":{"line":1,"column":1077}},{"source":"../../src/index.ts","name":null,"original":{"line":75,"column":12},"generated":{"line":1,"column":1081}},{"source":"../../src/index.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1083}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":1,"column":1090}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":48},"generated":{"line":1,"column":1092}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":20},"generated":{"line":1,"column":1111}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":33},"generated":{"line":1,"column":1116}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":38},"generated":{"line":1,"column":1118}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":17},"generated":{"line":1,"column":1124}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":22},"generated":{"line":1,"column":1129}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":27},"generated":{"line":1,"column":1131}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":33},"generated":{"line":1,"column":1137}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":1,"column":1140}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":1,"column":1143}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":12},"generated":{"line":1,"column":1145}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":1,"column":1149}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":22},"generated":{"line":1,"column":1151}},{"source":"../../src/index.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":1154}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1160}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1164}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1166}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1168}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1176}},{"source":"../../src/index.ts","name":null,"original":{"line":88,"column":15},"generated":{"line":1,"column":1184}}],"sources":{"../../src/index.ts":"import Document from '@atjson/document';\nimport { HIR, HIRNode } from '@atjson/hir';\n\ninterface WebComponentRenderer {\n [key: string]: any;\n}\n\nclass WebComponentRenderer {\n\n document: Document;\n\n constructor(document: Document) {\n this.document = document;\n }\n\n text({ text }: { text: string }) {\n if (text[text.length - 1] === '\\n') {\n let nonBreakStrings = text.split('\\n');\n if (nonBreakStrings[nonBreakStrings.length - 1] === '') {\n nonBreakStrings.pop();\n }\n let children = nonBreakStrings.map((str: string) => {\n let span = document.createElement('span');\n span.style.whiteSpace = 'normal';\n span.style.display = 'none';\n span.contentEditable = 'false';\n span.appendChild(document.createTextNode('\\n'));\n return [document.createTextNode(str), span];\n }).reduce((a: Array<Text | HTMLSpanElement>, b: Array<Text | HTMLSpanElement>): Array<Text | HTMLSpanElement> => a.concat(b));\n\n let textParentNode = document.createElement('span');\n children.forEach((child: Node) => {\n textParentNode.appendChild(child);\n });\n\n return textParentNode;\n }\n return document.createTextNode(text);\n }\n\n render() {\n let hir = new Map<Element, HIRNode>();\n let annotationGraph = new HIR(this.document);\n\n let placeholder = document.createElement('div');\n let children = this.compile(hir, annotationGraph.rootNode.children());\n children.forEach((element: Element) => {\n placeholder.appendChild(element);\n });\n return placeholder;\n }\n\n compile(hir: Map<Element, HIRNode>, nodes: HIRNode[]): Element[] {\n return nodes.map((node: HIRNode) => {\n let children = node.children();\n if (children.length > 0) {\n let element: Element;\n if (typeof (this as any)[node.type] === 'function') {\n element = this[node.type](node);\n } else {\n element = document.createElement('span');\n element.classList.add('unknown-annotation');\n }\n\n if (node.id) {\n element.setAttribute('data-annotation-id', node.id.toString());\n }\n\n hir.set(element, node);\n this.compile(hir, children).forEach((child: Element) => {\n element.appendChild(child);\n });\n return element;\n } else {\n let text;\n if (typeof (this as any)[node.type] === 'function') {\n text = this[node.type](node);\n } else {\n text = '';\n }\n hir.set(text, node);\n return text;\n }\n });\n }\n}\n\nexport default WebComponentRenderer;\n"},"lineCount":null}},"hash":"f85d8bc3160adbb49113f3e15e986983","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"s8l/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/annotations/root.ts","includedInParent":true,"mtime":1545342158121},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/root.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return 0}}exports.default=t,t.vendorPrefix=\"atjson\",t.type=\"root\";","map":{"mappings":[{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":175}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":183}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":191}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":208}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":217}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":219}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":224}}],"sources":{"../../../src/annotations/root.ts":"import { Annotation } from '@atjson/document';\n\nexport default class RootAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'root';\n\n get rank() {\n return 0;\n }\n}\n"},"lineCount":null}},"hash":"2fdbe8a58ca0693e97da2ebb2e43d8bb","cacheData":{"env":{}}} | ||
{"id":"s8l/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/annotations/root.ts","includedInParent":true,"mtime":1545342158121},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/root.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return 0}}exports.default=t,t.vendorPrefix=\"atjson\",t.type=\"root\";","map":{"mappings":[{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":175}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":183}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":191}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":208}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":217}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":219}},{"source":"../../../src/annotations/root.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":224}}],"sources":{"../../../src/annotations/root.ts":"import { Annotation } from '@atjson/document';\n\nexport default class RootAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'root';\n\n get rank() {\n return 0;\n }\n}\n"},"lineCount":null}},"hash":"2fdbe8a58ca0693e97da2ebb2e43d8bb","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"HKZN","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/pinterest-embed.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/pinterest-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"./iframe-embed\"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}class r extends t.default{get isPin(){let e=this.url;return!!e&&\"pin\"===(0,t.without)(e.pathname.split(\"/\"),\"\")[0]}get isProfile(){let e=this.url;return!!e&&(!this.isPin&&2===(0,t.without)(e.pathname.split(\"/\"),\"\").length)}get isBoard(){let e=this.url;return!!e&&1===(0,t.without)(e.pathname.split(\"/\"),\"\").length}get pinId(){let e=this.url;return this.isPin&&e?(0,t.without)(e.pathname.split(\"/\"),\"\")[1]:null}get profileName(){let e=this.url;return!this.isPin&&e?(0,t.without)(e.pathname.split(\"/\"),\"\")[0]:null}}exports.default=r,r.type=\"pinterest-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":461}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":472}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":476}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":484}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":65},"generated":{"line":1,"column":487}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":496}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":498}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":500}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":509}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":511}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":520}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":526}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":531}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":535}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":15,"column":6},"generated":{"line":1,"column":538}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":558}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":560}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":565}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":569}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":577}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":14},"generated":{"line":1,"column":582}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":19},"generated":{"line":1,"column":587}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":84},"generated":{"line":1,"column":594}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":28},"generated":{"line":1,"column":599}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":44},"generated":{"line":1,"column":601}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":44},"generated":{"line":1,"column":603}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":44},"generated":{"line":1,"column":612}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":48},"generated":{"line":1,"column":614}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":57},"generated":{"line":1,"column":623}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":63},"generated":{"line":1,"column":629}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":69},"generated":{"line":1,"column":634}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":73},"generated":{"line":1,"column":638}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":646}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":660}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":664}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":14},"generated":{"line":1,"column":666}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":671}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":675}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":683}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":69},"generated":{"line":1,"column":686}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":691}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":693}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":695}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":704}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":33},"generated":{"line":1,"column":706}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":42},"generated":{"line":1,"column":715}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":48},"generated":{"line":1,"column":721}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":54},"generated":{"line":1,"column":726}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":58},"generated":{"line":1,"column":730}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":1,"column":737}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":8},"generated":{"line":1,"column":749}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":8},"generated":{"line":1,"column":753}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":14},"generated":{"line":1,"column":755}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":19},"generated":{"line":1,"column":760}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":764}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":771}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":13},"generated":{"line":1,"column":776}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":22},"generated":{"line":1,"column":783}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":13},"generated":{"line":1,"column":786}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":788}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":790}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":799}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":33},"generated":{"line":1,"column":801}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":42},"generated":{"line":1,"column":810}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":48},"generated":{"line":1,"column":816}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":54},"generated":{"line":1,"column":821}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":58},"generated":{"line":1,"column":825}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":828}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":39,"column":6},"generated":{"line":1,"column":833}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":851}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":855}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":14},"generated":{"line":1,"column":857}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":19},"generated":{"line":1,"column":862}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":866}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":873}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":14},"generated":{"line":1,"column":878}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":23},"generated":{"line":1,"column":885}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":13},"generated":{"line":1,"column":888}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":29},"generated":{"line":1,"column":890}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":29},"generated":{"line":1,"column":892}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":29},"generated":{"line":1,"column":901}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":33},"generated":{"line":1,"column":903}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":42},"generated":{"line":1,"column":912}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":48},"generated":{"line":1,"column":918}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":54},"generated":{"line":1,"column":923}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":58},"generated":{"line":1,"column":927}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":44,"column":11},"generated":{"line":1,"column":930}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":936}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":944}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":952}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":954}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":956}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":961}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":979}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":981}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":994}}],"sources":{"../../../src/annotations/pinterest-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class PinterestEmbed extends IframeEmbed {\n static type = 'pinterest-embed';\n static vendorPrefix = 'offset';\n\n get isPin(): boolean {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[0] === 'pin';\n }\n return false;\n }\n\n get isProfile(): boolean {\n let url = this.url;\n if (url) {\n return !this.isPin && without<string>(url.pathname.split('/'), '').length === 2;\n }\n return false;\n }\n\n get isBoard() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '').length === 1;\n }\n return false;\n }\n\n get pinId() {\n let url = this.url;\n if (this.isPin && url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n\n get profileName() {\n let url = this.url;\n if (!this.isPin && url) {\n return without<string>(url.pathname.split('/'), '')[0];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"dcd92c71cd29c98e14bdfe5f99ce9622","cacheData":{"env":{}}} | ||
{"id":"HKZN","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/pinterest-embed.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/pinterest-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"./iframe-embed\"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}class r extends t.default{get isPin(){let e=this.url;return!!e&&\"pin\"===(0,t.without)(e.pathname.split(\"/\"),\"\")[0]}get isProfile(){let e=this.url;return!!e&&(!this.isPin&&2===(0,t.without)(e.pathname.split(\"/\"),\"\").length)}get isBoard(){let e=this.url;return!!e&&1===(0,t.without)(e.pathname.split(\"/\"),\"\").length}get pinId(){let e=this.url;return this.isPin&&e?(0,t.without)(e.pathname.split(\"/\"),\"\")[1]:null}get profileName(){let e=this.url;return!this.isPin&&e?(0,t.without)(e.pathname.split(\"/\"),\"\")[0]:null}}exports.default=r,r.type=\"pinterest-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":461}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":472}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":476}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":484}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":65},"generated":{"line":1,"column":487}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":496}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":498}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":500}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":509}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":511}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":520}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":526}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":531}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":535}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":15,"column":6},"generated":{"line":1,"column":538}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":558}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":560}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":565}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":569}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":577}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":14},"generated":{"line":1,"column":582}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":19},"generated":{"line":1,"column":587}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":84},"generated":{"line":1,"column":594}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":28},"generated":{"line":1,"column":599}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":44},"generated":{"line":1,"column":601}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":44},"generated":{"line":1,"column":603}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":44},"generated":{"line":1,"column":612}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":48},"generated":{"line":1,"column":614}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":57},"generated":{"line":1,"column":623}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":63},"generated":{"line":1,"column":629}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":69},"generated":{"line":1,"column":634}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":18,"column":73},"generated":{"line":1,"column":638}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":646}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":660}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":664}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":14},"generated":{"line":1,"column":666}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":671}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":675}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":683}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":69},"generated":{"line":1,"column":686}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":691}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":693}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":695}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":1,"column":704}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":33},"generated":{"line":1,"column":706}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":42},"generated":{"line":1,"column":715}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":48},"generated":{"line":1,"column":721}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":54},"generated":{"line":1,"column":726}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":26,"column":58},"generated":{"line":1,"column":730}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":1,"column":737}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":8},"generated":{"line":1,"column":749}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":8},"generated":{"line":1,"column":753}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":14},"generated":{"line":1,"column":755}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":32,"column":19},"generated":{"line":1,"column":760}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":764}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":771}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":13},"generated":{"line":1,"column":776}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":33,"column":22},"generated":{"line":1,"column":783}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":13},"generated":{"line":1,"column":786}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":788}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":790}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":799}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":33},"generated":{"line":1,"column":801}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":42},"generated":{"line":1,"column":810}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":48},"generated":{"line":1,"column":816}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":54},"generated":{"line":1,"column":821}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":34,"column":58},"generated":{"line":1,"column":825}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":828}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":39,"column":6},"generated":{"line":1,"column":833}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":851}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":1,"column":855}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":14},"generated":{"line":1,"column":857}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":40,"column":19},"generated":{"line":1,"column":862}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":866}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":873}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":14},"generated":{"line":1,"column":878}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":41,"column":23},"generated":{"line":1,"column":885}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":13},"generated":{"line":1,"column":888}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":29},"generated":{"line":1,"column":890}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":29},"generated":{"line":1,"column":892}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":29},"generated":{"line":1,"column":901}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":33},"generated":{"line":1,"column":903}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":42},"generated":{"line":1,"column":912}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":48},"generated":{"line":1,"column":918}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":54},"generated":{"line":1,"column":923}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":42,"column":58},"generated":{"line":1,"column":927}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":44,"column":11},"generated":{"line":1,"column":930}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":936}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":944}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":952}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":954}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":956}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":961}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":979}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":981}},{"source":"../../../src/annotations/pinterest-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":994}}],"sources":{"../../../src/annotations/pinterest-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class PinterestEmbed extends IframeEmbed {\n static type = 'pinterest-embed';\n static vendorPrefix = 'offset';\n\n get isPin(): boolean {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[0] === 'pin';\n }\n return false;\n }\n\n get isProfile(): boolean {\n let url = this.url;\n if (url) {\n return !this.isPin && without<string>(url.pathname.split('/'), '').length === 2;\n }\n return false;\n }\n\n get isBoard() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '').length === 1;\n }\n return false;\n }\n\n get pinId() {\n let url = this.url;\n if (this.isPin && url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n\n get profileName() {\n let url = this.url;\n if (!this.isPin && url) {\n return without<string>(url.pathname.split('/'), '')[0];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"dcd92c71cd29c98e14bdfe5f99ce9622","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"dt1o","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/unknown.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/unknown.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"../annotation\"));function e(t){return t&&t.__esModule?t:{default:t}}class r extends t.default{get rank(){return Number.MAX_SAFE_INTEGER}toJSON(){return{id:this.id,start:this.start,end:this.end,type:this.attributes.type,attributes:this.attributes.attributes}}}exports.default=r,r.vendorPrefix=\"atjson\",r.type=\"unknown\";","map":{"mappings":[{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":47},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":13,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":13,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":13,"column":18},"generated":{"line":1,"column":227}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":1,"column":244}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":259}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":18,"column":6},"generated":{"line":1,"column":260}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":263}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":18,"column":15},"generated":{"line":1,"column":268}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":19,"column":6},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":1,"column":277}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":19,"column":18},"generated":{"line":1,"column":282}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":20,"column":6},"generated":{"line":1,"column":288}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":292}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":20,"column":16},"generated":{"line":1,"column":297}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":6},"generated":{"line":1,"column":301}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":12},"generated":{"line":1,"column":306}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":17},"generated":{"line":1,"column":311}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":28},"generated":{"line":1,"column":322}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":6},"generated":{"line":1,"column":327}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":338}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":23},"generated":{"line":1,"column":343}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":34},"generated":{"line":1,"column":354}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":367}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":375}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":383}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":400}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":1,"column":416}}],"sources":{"../../../src/annotations/unknown.ts":"import Annotation from '../annotation';\nimport JSON from '../json';\n\nexport default class UnknownAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'unknown';\n attributes!: {\n type: string;\n attributes: JSON;\n };\n\n get rank() {\n return Number.MAX_SAFE_INTEGER;\n }\n\n toJSON() {\n return {\n id: this.id,\n start: this.start,\n end: this.end,\n type: this.attributes.type,\n attributes: this.attributes.attributes\n };\n }\n}\n"},"lineCount":null}},"hash":"802f883a58175b2253e0e4a068684ee0","cacheData":{"env":{}}} | ||
{"id":"dt1o","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/unknown.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/unknown.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=e(require(\"../annotation\"));function e(t){return t&&t.__esModule?t:{default:t}}class r extends t.default{get rank(){return Number.MAX_SAFE_INTEGER}toJSON(){return{id:this.id,start:this.start,end:this.end,type:this.attributes.type,attributes:this.attributes.attributes}}}exports.default=r,r.vendorPrefix=\"atjson\",r.type=\"unknown\";","map":{"mappings":[{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":47},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":13,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":13,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":13,"column":18},"generated":{"line":1,"column":227}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":1,"column":244}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":259}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":18,"column":6},"generated":{"line":1,"column":260}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":18,"column":10},"generated":{"line":1,"column":263}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":18,"column":15},"generated":{"line":1,"column":268}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":19,"column":6},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":1,"column":277}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":19,"column":18},"generated":{"line":1,"column":282}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":20,"column":6},"generated":{"line":1,"column":288}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":292}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":20,"column":16},"generated":{"line":1,"column":297}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":6},"generated":{"line":1,"column":301}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":12},"generated":{"line":1,"column":306}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":17},"generated":{"line":1,"column":311}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":21,"column":28},"generated":{"line":1,"column":322}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":6},"generated":{"line":1,"column":327}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":338}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":23},"generated":{"line":1,"column":343}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":22,"column":34},"generated":{"line":1,"column":354}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":367}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":375}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":383}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":400}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/unknown.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":1,"column":416}}],"sources":{"../../../src/annotations/unknown.ts":"import Annotation from '../annotation';\nimport JSON from '../json';\n\nexport default class UnknownAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'unknown';\n attributes!: {\n type: string;\n attributes: JSON;\n };\n\n get rank() {\n return Number.MAX_SAFE_INTEGER;\n }\n\n toJSON() {\n return {\n id: this.id,\n start: this.start,\n end: this.end,\n type: this.attributes.type,\n attributes: this.attributes.attributes\n };\n }\n}\n"},"lineCount":null}},"hash":"802f883a58175b2253e0e4a068684ee0","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"zxZ/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/src/selection-toolbar.ts","includedInParent":true,"mtime":1545342158118},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/package.json","includedInParent":true,"mtime":1550104714762},{"name":"./mixins/component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/dist/modules/selection-toolbar.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./mixins/component\"));function t(e){return e&&e.__esModule?e:{default:e}}class o extends e.default{onSelectionChange(e){this.shadowRoot&&this.shadowRoot.childNodes.forEach(t=>{let o=new CustomEvent(e.type,{bubbles:!1,cancelable:!0,detail:e.detail});t.dispatchEvent(o)})}}exports.default=o,o.template=\"\",o.style=\"\\n :host {\\n border-radius: 4px;\\n }\\n \",o.events={selectionchange:\"onSelectionChange\"},window.customElements.get(\"selection-toolbar\")||window.customElements.define(\"selection-toolbar\",o);","map":{"mappings":[{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":0}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":13}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":20}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":35}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":43}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":56}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":57}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":64}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":68}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":76}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":89}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":130}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":139}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":141}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":144}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":151}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":154}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":156}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":167}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":169}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":170}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":178}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":181}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":187}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":46},"generated":{"line":1,"column":197}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":199}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":1,"column":207}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":18,"column":20},"generated":{"line":1,"column":225}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":228}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":19,"column":14},"generated":{"line":1,"column":233}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":245}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":250}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":20},"generated":{"line":1,"column":261}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":31},"generated":{"line":1,"column":272}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":39},"generated":{"line":1,"column":280}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":284}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":288}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":290}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":22},"generated":{"line":1,"column":294}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":34},"generated":{"line":1,"column":306}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":38},"generated":{"line":1,"column":308}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":44},"generated":{"line":1,"column":313}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":46},"generated":{"line":1,"column":314}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":55},"generated":{"line":1,"column":323}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":62},"generated":{"line":1,"column":325}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":74},"generated":{"line":1,"column":337}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":80},"generated":{"line":1,"column":339}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":88},"generated":{"line":1,"column":346}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":92},"generated":{"line":1,"column":348}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":357}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":23,"column":14},"generated":{"line":1,"column":359}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":23,"column":28},"generated":{"line":1,"column":373}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":379}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":387}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":395}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":397}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":399}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":4,"column":20},"generated":{"line":1,"column":408}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":411}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":413}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":6,"column":17},"generated":{"line":1,"column":419}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":12,"column":9},"generated":{"line":1,"column":473}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":12,"column":9},"generated":{"line":1,"column":475}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":12,"column":18},"generated":{"line":1,"column":482}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":1,"column":483}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":13,"column":21},"generated":{"line":1,"column":499}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":5},"generated":{"line":1,"column":520}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":12},"generated":{"line":1,"column":527}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":27},"generated":{"line":1,"column":542}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":31},"generated":{"line":1,"column":546}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":2},"generated":{"line":1,"column":568}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":575}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":24},"generated":{"line":1,"column":590}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":31},"generated":{"line":1,"column":597}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":52},"generated":{"line":1,"column":617}}],"sources":{"../../src/selection-toolbar.ts":"import WebComponent from './mixins/component';\n\nexport default class SelectionToolbar extends WebComponent {\n static template = ``;\n\n static style = `\n :host {\n border-radius: 4px;\n }\n `;\n\n static events = {\n selectionchange: 'onSelectionChange'\n };\n\n // Bubble down the selection change event so that the button can decide if it\n // should be visible or not.\n onSelectionChange(evt: CustomEvent) {\n if (!this.shadowRoot) return;\n\n this.shadowRoot.childNodes.forEach(element => {\n let event = new CustomEvent(evt.type, { bubbles: false, cancelable: true, detail: evt.detail });\n element.dispatchEvent(event);\n });\n }\n}\n\nif (!window.customElements.get('selection-toolbar')) {\n window.customElements.define('selection-toolbar', SelectionToolbar);\n}\n"},"lineCount":null}},"hash":"7ccb63eb7c54c159504bf60c90c4e8d1","cacheData":{"env":{}}} | ||
{"id":"zxZ/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/src/selection-toolbar.ts","includedInParent":true,"mtime":1545342158118},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/package.json","includedInParent":true,"mtime":1550111425157},{"name":"./mixins/component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/dist/modules/selection-toolbar.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./mixins/component\"));function t(e){return e&&e.__esModule?e:{default:e}}class o extends e.default{onSelectionChange(e){this.shadowRoot&&this.shadowRoot.childNodes.forEach(t=>{let o=new CustomEvent(e.type,{bubbles:!1,cancelable:!0,detail:e.detail});t.dispatchEvent(o)})}}exports.default=o,o.template=\"\",o.style=\"\\n :host {\\n border-radius: 4px;\\n }\\n \",o.events={selectionchange:\"onSelectionChange\"},window.customElements.get(\"selection-toolbar\")||window.customElements.define(\"selection-toolbar\",o);","map":{"mappings":[{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":0}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":13}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":20}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":35}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":43}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":56}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":57}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":64}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":68}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":76}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":89}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":130}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":139}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":141}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":144}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":151}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":154}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":156}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":167}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":169}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":170}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":178}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":181}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":187}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":46},"generated":{"line":1,"column":197}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":199}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":1,"column":207}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":18,"column":20},"generated":{"line":1,"column":225}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":228}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":19,"column":14},"generated":{"line":1,"column":233}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":245}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":250}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":20},"generated":{"line":1,"column":261}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":31},"generated":{"line":1,"column":272}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":21,"column":39},"generated":{"line":1,"column":280}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":284}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":10},"generated":{"line":1,"column":288}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":18},"generated":{"line":1,"column":290}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":22},"generated":{"line":1,"column":294}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":34},"generated":{"line":1,"column":306}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":38},"generated":{"line":1,"column":308}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":44},"generated":{"line":1,"column":313}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":46},"generated":{"line":1,"column":314}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":55},"generated":{"line":1,"column":323}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":62},"generated":{"line":1,"column":325}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":74},"generated":{"line":1,"column":337}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":80},"generated":{"line":1,"column":339}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":88},"generated":{"line":1,"column":346}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":22,"column":92},"generated":{"line":1,"column":348}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":357}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":23,"column":14},"generated":{"line":1,"column":359}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":23,"column":28},"generated":{"line":1,"column":373}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":379}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":387}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":30,"column":1},"generated":{"line":1,"column":395}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":397}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":399}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":4,"column":20},"generated":{"line":1,"column":408}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":411}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":413}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":6,"column":17},"generated":{"line":1,"column":419}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":12,"column":9},"generated":{"line":1,"column":473}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":12,"column":9},"generated":{"line":1,"column":475}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":12,"column":18},"generated":{"line":1,"column":482}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":1,"column":483}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":13,"column":21},"generated":{"line":1,"column":499}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":5},"generated":{"line":1,"column":520}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":12},"generated":{"line":1,"column":527}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":27},"generated":{"line":1,"column":542}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":28,"column":31},"generated":{"line":1,"column":546}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":2},"generated":{"line":1,"column":568}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":575}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":24},"generated":{"line":1,"column":590}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":31},"generated":{"line":1,"column":597}},{"source":"../../src/selection-toolbar.ts","name":null,"original":{"line":29,"column":52},"generated":{"line":1,"column":617}}],"sources":{"../../src/selection-toolbar.ts":"import WebComponent from './mixins/component';\n\nexport default class SelectionToolbar extends WebComponent {\n static template = ``;\n\n static style = `\n :host {\n border-radius: 4px;\n }\n `;\n\n static events = {\n selectionchange: 'onSelectionChange'\n };\n\n // Bubble down the selection change event so that the button can decide if it\n // should be visible or not.\n onSelectionChange(evt: CustomEvent) {\n if (!this.shadowRoot) return;\n\n this.shadowRoot.childNodes.forEach(element => {\n let event = new CustomEvent(evt.type, { bubbles: false, cancelable: true, detail: evt.detail });\n element.dispatchEvent(event);\n });\n }\n}\n\nif (!window.customElements.get('selection-toolbar')) {\n window.customElements.define('selection-toolbar', SelectionToolbar);\n}\n"},"lineCount":null}},"hash":"7ccb63eb7c54c159504bf60c90c4e8d1","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"oZ+5","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/index.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"./block","loc":{"line":1,"column":43},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/block.js"},{"name":"./inline","loc":{"line":2,"column":44},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/inline.js"},{"name":"./object","loc":{"line":3,"column":44},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/object.js"},{"name":"./parse","loc":{"line":4,"column":43},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/parse.js"},{"name":"./unknown","loc":{"line":5,"column":45},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/unknown.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),Object.defineProperty(exports,\"BlockAnnotation\",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,\"InlineAnnotation\",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,\"ObjectAnnotation\",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,\"ParseAnnotation\",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,\"UnknownAnnotation\",{enumerable:!0,get:function(){return o.default}});var e=u(require(\"./block\")),t=u(require(\"./inline\")),n=u(require(\"./object\")),r=u(require(\"./parse\")),o=u(require(\"./unknown\"));function u(e){return e&&e.__esModule?e:{default:e}}","map":{"mappings":[{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":75}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":98}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":116}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":117}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":129}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":153}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":215}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":216}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":228}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":234}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":252}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":254}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":265}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":272}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":287}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":295}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":314}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":315}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":327}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":329}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":333}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":351}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":353}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":364}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":371}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":386}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":412}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":413}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":425}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":427}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":431}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":442}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":451}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":462}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":484}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":513}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":525}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":531}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":542}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":549}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":551}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":562}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":566}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":568}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":570}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":578}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":590}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":592}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":594}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":602}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":615}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":617}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":619}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":627}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":640}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":642}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":644}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":652}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":664}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":666}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":668}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":676}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":690}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":699}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":701}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":704}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":711}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":714}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":716}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":727}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":729}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":730}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":738}}],"sources":{"../../../src/annotations/index.ts":"export { default as BlockAnnotation } from './block';\nexport { default as InlineAnnotation } from './inline';\nexport { default as ObjectAnnotation } from './object';\nexport { default as ParseAnnotation } from './parse';\nexport { default as UnknownAnnotation } from './unknown';\n"},"lineCount":null}},"hash":"7bb1403449bf1d5dc1dc8cfe62beb5ca","cacheData":{"env":{}}} | ||
{"id":"oZ+5","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/index.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"./block","loc":{"line":1,"column":43},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/block.js"},{"name":"./inline","loc":{"line":2,"column":44},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/inline.js"},{"name":"./object","loc":{"line":3,"column":44},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/object.js"},{"name":"./parse","loc":{"line":4,"column":43},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/parse.js"},{"name":"./unknown","loc":{"line":5,"column":45},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/unknown.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),Object.defineProperty(exports,\"BlockAnnotation\",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,\"InlineAnnotation\",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,\"ObjectAnnotation\",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,\"ParseAnnotation\",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,\"UnknownAnnotation\",{enumerable:!0,get:function(){return o.default}});var e=u(require(\"./block\")),t=u(require(\"./inline\")),n=u(require(\"./object\")),r=u(require(\"./parse\")),o=u(require(\"./unknown\"));function u(e){return e&&e.__esModule?e:{default:e}}","map":{"mappings":[{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":75}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":98}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":116}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":117}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":129}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":153}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":215}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":216}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":228}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":234}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":252}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":254}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":265}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":272}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":287}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":295}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":314}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":315}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":327}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":329}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":333}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":351}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":353}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":364}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":371}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":386}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":412}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":413}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":425}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":427}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":431}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":442}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":451}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":462}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":484}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":513}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":525}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":531}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":542}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":549}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":551}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":562}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":566}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":568}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":570}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":578}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":590}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":592}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":594}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":602}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":615}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":617}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":619}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":627}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":640}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":642}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":644}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":652}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":664}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":666}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":668}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":676}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":690}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":699}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":701}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":704}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":711}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":714}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":716}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":727}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":729}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":730}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":738}}],"sources":{"../../../src/annotations/index.ts":"export { default as BlockAnnotation } from './block';\nexport { default as InlineAnnotation } from './inline';\nexport { default as ObjectAnnotation } from './object';\nexport { default as ParseAnnotation } from './parse';\nexport { default as UnknownAnnotation } from './unknown';\n"},"lineCount":null}},"hash":"7bb1403449bf1d5dc1dc8cfe62beb5ca","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"4j1y","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/youtube-embed.ts","includedInParent":true,"mtime":1545342158135},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/youtube-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};s.get||s.set?Object.defineProperty(t,r,s):t[r]=e[r]}return t.default=e,t}class r extends e.default{get videoId(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[1]:null}get startsAt(){let e=this.url;return e?parseInt(e.searchParams.get(\"t\")||\"0\",10):0}set startsAt(e){let t=this.url;t&&(0===e?t.searchParams.delete(\"t\"):t.searchParams.set(\"t\",e.toString()),this.attributes.url=t.toString())}get isPlayerInfoShown(){let e=this.url;return!!e&&\"0\"===e.searchParams.get(\"showinfo\")}set isPlayerInfoShown(e){let t=this.url;t&&(e?t.searchParams.delete(\"showinfo\"):t.searchParams.set(\"showinfo\",\"0\"),this.attributes.url=t.toString())}get areRelatedVideosShown(){let e=this.url;return!!e&&\"0\"===e.searchParams.get(\"rel\")}set areRelatedVideosShown(e){let t=this.url;t&&(e?t.searchParams.delete(\"rel\"):t.searchParams.set(\"rel\",\"0\"),this.attributes.url=t.toString())}get areControlsShown(){let e=this.url;return!!e&&\"0\"===e.searchParams.get(\"controls\")}set areControlsShown(e){let t=this.url;t&&(e?t.searchParams.delete(\"controls\"):t.searchParams.set(\"controls\",\"0\"),this.attributes.url=t.toString())}get isUsingCookielessDomain(){let e=this.url;return!!e&&\"www.youtube-nocookie.com\"===e.host}set isUsingCookielessDomain(e){let t=this.url;t&&(t.host=e?\"www.youtube-nocookie.com\":\"www.youtube.com\",this.attributes.url=t.toString())}}exports.default=r,r.type=\"youtube-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":42},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":474}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":485}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":488}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":501}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":518}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":523}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":530}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":15,"column":6},"generated":{"line":1,"column":535}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":550}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":556}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":561}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":565}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":572}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":1,"column":574}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":22},"generated":{"line":1,"column":583}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":1,"column":585}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":39},"generated":{"line":1,"column":598}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":43},"generated":{"line":1,"column":602}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":51},"generated":{"line":1,"column":608}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":56},"generated":{"line":1,"column":612}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":616}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":618}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":23,"column":15},"generated":{"line":1,"column":631}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":634}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":638}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":14},"generated":{"line":1,"column":640}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":645}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":649}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":26,"column":22},"generated":{"line":1,"column":653}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":26,"column":10},"generated":{"line":1,"column":657}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":659}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":12},"generated":{"line":1,"column":661}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":25},"generated":{"line":1,"column":674}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":32},"generated":{"line":1,"column":681}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":8},"generated":{"line":1,"column":686}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":12},"generated":{"line":1,"column":688}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":25},"generated":{"line":1,"column":701}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":29},"generated":{"line":1,"column":705}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":34},"generated":{"line":1,"column":709}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":42},"generated":{"line":1,"column":711}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":11},"generated":{"line":1,"column":723}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":11},"generated":{"line":1,"column":728}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":22},"generated":{"line":1,"column":739}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":28},"generated":{"line":1,"column":743}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":32},"generated":{"line":1,"column":745}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":1,"column":757}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":1,"column":781}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":1,"column":785}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":1,"column":787}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":19},"generated":{"line":1,"column":792}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":796}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":804}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":50},"generated":{"line":1,"column":807}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":13},"generated":{"line":1,"column":813}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":17},"generated":{"line":1,"column":815}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":30},"generated":{"line":1,"column":828}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":34},"generated":{"line":1,"column":832}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":43,"column":6},"generated":{"line":1,"column":844}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":43,"column":24},"generated":{"line":1,"column":866}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":869}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":873}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":14},"generated":{"line":1,"column":875}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":19},"generated":{"line":1,"column":880}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":884}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":46,"column":10},"generated":{"line":1,"column":888}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":8},"generated":{"line":1,"column":890}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":12},"generated":{"line":1,"column":892}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":25},"generated":{"line":1,"column":905}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":32},"generated":{"line":1,"column":912}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":8},"generated":{"line":1,"column":924}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":12},"generated":{"line":1,"column":926}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":25},"generated":{"line":1,"column":939}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":29},"generated":{"line":1,"column":943}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":41},"generated":{"line":1,"column":954}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":959}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":964}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":22},"generated":{"line":1,"column":975}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":28},"generated":{"line":1,"column":979}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":32},"generated":{"line":1,"column":981}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":55,"column":6},"generated":{"line":1,"column":993}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":1021}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":1025}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":14},"generated":{"line":1,"column":1027}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":19},"generated":{"line":1,"column":1032}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":1,"column":1036}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":1,"column":1044}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":45},"generated":{"line":1,"column":1047}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":13},"generated":{"line":1,"column":1053}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":17},"generated":{"line":1,"column":1055}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":30},"generated":{"line":1,"column":1068}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":34},"generated":{"line":1,"column":1072}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":63,"column":6},"generated":{"line":1,"column":1079}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":63,"column":28},"generated":{"line":1,"column":1105}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":8},"generated":{"line":1,"column":1108}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":8},"generated":{"line":1,"column":1112}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":14},"generated":{"line":1,"column":1114}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":19},"generated":{"line":1,"column":1119}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":65,"column":8},"generated":{"line":1,"column":1123}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":66,"column":10},"generated":{"line":1,"column":1127}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":8},"generated":{"line":1,"column":1129}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":12},"generated":{"line":1,"column":1131}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":25},"generated":{"line":1,"column":1144}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":32},"generated":{"line":1,"column":1151}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":1158}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":12},"generated":{"line":1,"column":1160}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":25},"generated":{"line":1,"column":1173}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":29},"generated":{"line":1,"column":1177}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":36},"generated":{"line":1,"column":1183}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":11},"generated":{"line":1,"column":1188}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":11},"generated":{"line":1,"column":1193}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":22},"generated":{"line":1,"column":1204}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":28},"generated":{"line":1,"column":1208}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":32},"generated":{"line":1,"column":1210}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":75,"column":6},"generated":{"line":1,"column":1222}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":1,"column":1245}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":1,"column":1249}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":1,"column":1251}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":19},"generated":{"line":1,"column":1256}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":1260}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":1268}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":50},"generated":{"line":1,"column":1271}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":13},"generated":{"line":1,"column":1277}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":17},"generated":{"line":1,"column":1279}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":1,"column":1292}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":34},"generated":{"line":1,"column":1296}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":83,"column":6},"generated":{"line":1,"column":1308}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":83,"column":23},"generated":{"line":1,"column":1329}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":1332}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":1336}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":14},"generated":{"line":1,"column":1338}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":19},"generated":{"line":1,"column":1343}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":85,"column":8},"generated":{"line":1,"column":1347}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":86,"column":10},"generated":{"line":1,"column":1351}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":1,"column":1353}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":1,"column":1355}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":25},"generated":{"line":1,"column":1368}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":32},"generated":{"line":1,"column":1375}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":8},"generated":{"line":1,"column":1387}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":12},"generated":{"line":1,"column":1389}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":25},"generated":{"line":1,"column":1402}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":29},"generated":{"line":1,"column":1406}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":41},"generated":{"line":1,"column":1417}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":11},"generated":{"line":1,"column":1422}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":11},"generated":{"line":1,"column":1427}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":22},"generated":{"line":1,"column":1438}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":28},"generated":{"line":1,"column":1442}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":32},"generated":{"line":1,"column":1444}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":95,"column":6},"generated":{"line":1,"column":1456}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":8},"generated":{"line":1,"column":1486}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":8},"generated":{"line":1,"column":1490}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":14},"generated":{"line":1,"column":1492}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":19},"generated":{"line":1,"column":1497}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":97,"column":8},"generated":{"line":1,"column":1501}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":97,"column":8},"generated":{"line":1,"column":1509}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":98,"column":26},"generated":{"line":1,"column":1512}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":98,"column":13},"generated":{"line":1,"column":1541}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":98,"column":17},"generated":{"line":1,"column":1543}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":1,"column":1548}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":103,"column":30},"generated":{"line":1,"column":1576}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1579}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1583}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":14},"generated":{"line":1,"column":1585}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":19},"generated":{"line":1,"column":1590}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1594}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":107,"column":8},"generated":{"line":1,"column":1598}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":1,"column":1600}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":106,"column":10},"generated":{"line":1,"column":1605}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":1,"column":1607}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":109,"column":19},"generated":{"line":1,"column":1634}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":11},"generated":{"line":1,"column":1652}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":11},"generated":{"line":1,"column":1657}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":22},"generated":{"line":1,"column":1668}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":28},"generated":{"line":1,"column":1672}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":32},"generated":{"line":1,"column":1674}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1687}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1695}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1703}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1705}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1707}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":1712}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1728}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1730}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":1743}}],"sources":{"../../../src/annotations/youtube-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class YouTubeEmbed extends IframeEmbed {\n static type = 'youtube-embed';\n static vendorPrefix = 'offset';\n\n get videoId() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n\n get startsAt(): number {\n let url = this.url;\n if (url) {\n return parseInt(url.searchParams.get('t') || '0', 10);\n }\n return 0;\n }\n\n set startsAt(seconds: number) {\n let url = this.url;\n if (url) {\n if (seconds === 0) {\n url.searchParams.delete('t');\n } else {\n url.searchParams.set('t', seconds.toString());\n }\n this.attributes.url = url.toString();\n }\n }\n\n get isPlayerInfoShown(): boolean {\n let url = this.url;\n if (url) {\n return url.searchParams.get('showinfo') === '0';\n }\n return false;\n }\n\n set isPlayerInfoShown(shown: boolean) {\n let url = this.url;\n if (url) {\n if (shown) {\n url.searchParams.delete('showinfo');\n } else {\n url.searchParams.set('showinfo', '0');\n }\n this.attributes.url = url.toString();\n }\n }\n\n get areRelatedVideosShown(): boolean {\n let url = this.url;\n if (url) {\n return url.searchParams.get('rel') === '0';\n }\n return false;\n }\n\n set areRelatedVideosShown(shown: boolean) {\n let url = this.url;\n if (url) {\n if (shown) {\n url.searchParams.delete('rel');\n } else {\n url.searchParams.set('rel', '0');\n }\n this.attributes.url = url.toString();\n }\n }\n\n get areControlsShown(): boolean {\n let url = this.url;\n if (url) {\n return url.searchParams.get('controls') === '0';\n }\n return false;\n }\n\n set areControlsShown(shown: boolean) {\n let url = this.url;\n if (url) {\n if (shown) {\n url.searchParams.delete('controls');\n } else {\n url.searchParams.set('controls', '0');\n }\n this.attributes.url = url.toString();\n }\n }\n\n get isUsingCookielessDomain(): boolean {\n let url = this.url;\n if (url) {\n return url.host === 'www.youtube-nocookie.com';\n }\n return false;\n }\n\n set isUsingCookielessDomain(cookieless: boolean) {\n let url = this.url;\n if (url) {\n if (cookieless) {\n url.host = 'www.youtube-nocookie.com';\n } else {\n url.host = 'www.youtube.com';\n }\n this.attributes.url = url.toString();\n }\n }\n}\n"},"lineCount":null}},"hash":"1d4ebdd784a51728917a0c01028faba8","cacheData":{"env":{}}} | ||
{"id":"4j1y","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/youtube-embed.ts","includedInParent":true,"mtime":1545342158135},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/youtube-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};s.get||s.set?Object.defineProperty(t,r,s):t[r]=e[r]}return t.default=e,t}class r extends e.default{get videoId(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[1]:null}get startsAt(){let e=this.url;return e?parseInt(e.searchParams.get(\"t\")||\"0\",10):0}set startsAt(e){let t=this.url;t&&(0===e?t.searchParams.delete(\"t\"):t.searchParams.set(\"t\",e.toString()),this.attributes.url=t.toString())}get isPlayerInfoShown(){let e=this.url;return!!e&&\"0\"===e.searchParams.get(\"showinfo\")}set isPlayerInfoShown(e){let t=this.url;t&&(e?t.searchParams.delete(\"showinfo\"):t.searchParams.set(\"showinfo\",\"0\"),this.attributes.url=t.toString())}get areRelatedVideosShown(){let e=this.url;return!!e&&\"0\"===e.searchParams.get(\"rel\")}set areRelatedVideosShown(e){let t=this.url;t&&(e?t.searchParams.delete(\"rel\"):t.searchParams.set(\"rel\",\"0\"),this.attributes.url=t.toString())}get areControlsShown(){let e=this.url;return!!e&&\"0\"===e.searchParams.get(\"controls\")}set areControlsShown(e){let t=this.url;t&&(e?t.searchParams.delete(\"controls\"):t.searchParams.set(\"controls\",\"0\"),this.attributes.url=t.toString())}get isUsingCookielessDomain(){let e=this.url;return!!e&&\"www.youtube-nocookie.com\"===e.host}set isUsingCookielessDomain(e){let t=this.url;t&&(t.host=e?\"www.youtube-nocookie.com\":\"www.youtube.com\",this.attributes.url=t.toString())}}exports.default=r,r.type=\"youtube-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":42},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":474}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":485}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":488}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":501}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":518}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":523}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":530}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":15,"column":6},"generated":{"line":1,"column":535}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":550}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":556}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":561}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":565}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":572}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":1,"column":574}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":22},"generated":{"line":1,"column":583}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":1,"column":585}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":39},"generated":{"line":1,"column":598}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":43},"generated":{"line":1,"column":602}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":51},"generated":{"line":1,"column":608}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":18,"column":56},"generated":{"line":1,"column":612}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":616}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":618}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":23,"column":15},"generated":{"line":1,"column":631}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":634}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":8},"generated":{"line":1,"column":638}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":14},"generated":{"line":1,"column":640}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":24,"column":19},"generated":{"line":1,"column":645}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":1,"column":649}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":26,"column":22},"generated":{"line":1,"column":653}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":26,"column":10},"generated":{"line":1,"column":657}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":659}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":12},"generated":{"line":1,"column":661}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":25},"generated":{"line":1,"column":674}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":27,"column":32},"generated":{"line":1,"column":681}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":8},"generated":{"line":1,"column":686}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":12},"generated":{"line":1,"column":688}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":25},"generated":{"line":1,"column":701}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":29},"generated":{"line":1,"column":705}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":34},"generated":{"line":1,"column":709}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":29,"column":42},"generated":{"line":1,"column":711}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":11},"generated":{"line":1,"column":723}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":11},"generated":{"line":1,"column":728}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":22},"generated":{"line":1,"column":739}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":28},"generated":{"line":1,"column":743}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":31,"column":32},"generated":{"line":1,"column":745}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":1,"column":757}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":1,"column":781}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":1,"column":785}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":1,"column":787}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":36,"column":19},"generated":{"line":1,"column":792}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":796}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":804}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":50},"generated":{"line":1,"column":807}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":13},"generated":{"line":1,"column":813}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":17},"generated":{"line":1,"column":815}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":30},"generated":{"line":1,"column":828}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":38,"column":34},"generated":{"line":1,"column":832}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":43,"column":6},"generated":{"line":1,"column":844}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":43,"column":24},"generated":{"line":1,"column":866}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":869}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":873}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":14},"generated":{"line":1,"column":875}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":44,"column":19},"generated":{"line":1,"column":880}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":884}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":46,"column":10},"generated":{"line":1,"column":888}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":8},"generated":{"line":1,"column":890}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":12},"generated":{"line":1,"column":892}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":25},"generated":{"line":1,"column":905}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":47,"column":32},"generated":{"line":1,"column":912}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":8},"generated":{"line":1,"column":924}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":12},"generated":{"line":1,"column":926}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":25},"generated":{"line":1,"column":939}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":29},"generated":{"line":1,"column":943}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":49,"column":41},"generated":{"line":1,"column":954}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":959}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":964}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":22},"generated":{"line":1,"column":975}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":28},"generated":{"line":1,"column":979}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":51,"column":32},"generated":{"line":1,"column":981}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":55,"column":6},"generated":{"line":1,"column":993}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":1021}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":1,"column":1025}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":14},"generated":{"line":1,"column":1027}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":56,"column":19},"generated":{"line":1,"column":1032}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":1,"column":1036}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":1,"column":1044}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":45},"generated":{"line":1,"column":1047}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":13},"generated":{"line":1,"column":1053}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":17},"generated":{"line":1,"column":1055}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":30},"generated":{"line":1,"column":1068}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":58,"column":34},"generated":{"line":1,"column":1072}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":63,"column":6},"generated":{"line":1,"column":1079}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":63,"column":28},"generated":{"line":1,"column":1105}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":8},"generated":{"line":1,"column":1108}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":8},"generated":{"line":1,"column":1112}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":14},"generated":{"line":1,"column":1114}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":64,"column":19},"generated":{"line":1,"column":1119}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":65,"column":8},"generated":{"line":1,"column":1123}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":66,"column":10},"generated":{"line":1,"column":1127}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":8},"generated":{"line":1,"column":1129}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":12},"generated":{"line":1,"column":1131}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":25},"generated":{"line":1,"column":1144}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":67,"column":32},"generated":{"line":1,"column":1151}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":1158}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":12},"generated":{"line":1,"column":1160}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":25},"generated":{"line":1,"column":1173}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":29},"generated":{"line":1,"column":1177}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":69,"column":36},"generated":{"line":1,"column":1183}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":11},"generated":{"line":1,"column":1188}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":11},"generated":{"line":1,"column":1193}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":22},"generated":{"line":1,"column":1204}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":28},"generated":{"line":1,"column":1208}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":71,"column":32},"generated":{"line":1,"column":1210}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":75,"column":6},"generated":{"line":1,"column":1222}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":1,"column":1245}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":1,"column":1249}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":1,"column":1251}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":76,"column":19},"generated":{"line":1,"column":1256}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":1260}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":1268}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":50},"generated":{"line":1,"column":1271}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":13},"generated":{"line":1,"column":1277}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":17},"generated":{"line":1,"column":1279}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":1,"column":1292}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":78,"column":34},"generated":{"line":1,"column":1296}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":83,"column":6},"generated":{"line":1,"column":1308}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":83,"column":23},"generated":{"line":1,"column":1329}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":1332}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":1336}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":14},"generated":{"line":1,"column":1338}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":84,"column":19},"generated":{"line":1,"column":1343}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":85,"column":8},"generated":{"line":1,"column":1347}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":86,"column":10},"generated":{"line":1,"column":1351}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":1,"column":1353}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":1,"column":1355}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":25},"generated":{"line":1,"column":1368}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":87,"column":32},"generated":{"line":1,"column":1375}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":8},"generated":{"line":1,"column":1387}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":12},"generated":{"line":1,"column":1389}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":25},"generated":{"line":1,"column":1402}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":29},"generated":{"line":1,"column":1406}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":89,"column":41},"generated":{"line":1,"column":1417}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":11},"generated":{"line":1,"column":1422}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":11},"generated":{"line":1,"column":1427}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":22},"generated":{"line":1,"column":1438}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":28},"generated":{"line":1,"column":1442}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":91,"column":32},"generated":{"line":1,"column":1444}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":95,"column":6},"generated":{"line":1,"column":1456}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":8},"generated":{"line":1,"column":1486}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":8},"generated":{"line":1,"column":1490}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":14},"generated":{"line":1,"column":1492}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":96,"column":19},"generated":{"line":1,"column":1497}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":97,"column":8},"generated":{"line":1,"column":1501}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":97,"column":8},"generated":{"line":1,"column":1509}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":98,"column":26},"generated":{"line":1,"column":1512}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":98,"column":13},"generated":{"line":1,"column":1541}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":98,"column":17},"generated":{"line":1,"column":1543}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":1,"column":1548}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":103,"column":30},"generated":{"line":1,"column":1576}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1579}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1583}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":14},"generated":{"line":1,"column":1585}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":104,"column":19},"generated":{"line":1,"column":1590}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1594}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":107,"column":8},"generated":{"line":1,"column":1598}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":1,"column":1600}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":106,"column":10},"generated":{"line":1,"column":1605}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":1,"column":1607}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":109,"column":19},"generated":{"line":1,"column":1634}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":11},"generated":{"line":1,"column":1652}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":11},"generated":{"line":1,"column":1657}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":22},"generated":{"line":1,"column":1668}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":28},"generated":{"line":1,"column":1672}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":111,"column":32},"generated":{"line":1,"column":1674}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1687}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1695}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1703}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1705}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":1707}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":1712}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1728}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1730}},{"source":"../../../src/annotations/youtube-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":1743}}],"sources":{"../../../src/annotations/youtube-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class YouTubeEmbed extends IframeEmbed {\n static type = 'youtube-embed';\n static vendorPrefix = 'offset';\n\n get videoId() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n\n get startsAt(): number {\n let url = this.url;\n if (url) {\n return parseInt(url.searchParams.get('t') || '0', 10);\n }\n return 0;\n }\n\n set startsAt(seconds: number) {\n let url = this.url;\n if (url) {\n if (seconds === 0) {\n url.searchParams.delete('t');\n } else {\n url.searchParams.set('t', seconds.toString());\n }\n this.attributes.url = url.toString();\n }\n }\n\n get isPlayerInfoShown(): boolean {\n let url = this.url;\n if (url) {\n return url.searchParams.get('showinfo') === '0';\n }\n return false;\n }\n\n set isPlayerInfoShown(shown: boolean) {\n let url = this.url;\n if (url) {\n if (shown) {\n url.searchParams.delete('showinfo');\n } else {\n url.searchParams.set('showinfo', '0');\n }\n this.attributes.url = url.toString();\n }\n }\n\n get areRelatedVideosShown(): boolean {\n let url = this.url;\n if (url) {\n return url.searchParams.get('rel') === '0';\n }\n return false;\n }\n\n set areRelatedVideosShown(shown: boolean) {\n let url = this.url;\n if (url) {\n if (shown) {\n url.searchParams.delete('rel');\n } else {\n url.searchParams.set('rel', '0');\n }\n this.attributes.url = url.toString();\n }\n }\n\n get areControlsShown(): boolean {\n let url = this.url;\n if (url) {\n return url.searchParams.get('controls') === '0';\n }\n return false;\n }\n\n set areControlsShown(shown: boolean) {\n let url = this.url;\n if (url) {\n if (shown) {\n url.searchParams.delete('controls');\n } else {\n url.searchParams.set('controls', '0');\n }\n this.attributes.url = url.toString();\n }\n }\n\n get isUsingCookielessDomain(): boolean {\n let url = this.url;\n if (url) {\n return url.host === 'www.youtube-nocookie.com';\n }\n return false;\n }\n\n set isUsingCookielessDomain(cookieless: boolean) {\n let url = this.url;\n if (url) {\n if (cookieless) {\n url.host = 'www.youtube-nocookie.com';\n } else {\n url.host = 'www.youtube.com';\n }\n this.attributes.url = url.toString();\n }\n }\n}\n"},"lineCount":null}},"hash":"1d4ebdd784a51728917a0c01028faba8","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"DLis","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/underline.ts","includedInParent":true,"mtime":1545342158134},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/underline.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"underline\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":213}}],"sources":{"../../../src/annotations/underline.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Underline extends InlineAnnotation {\n static type = 'underline';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"826c252db888ece52973cae9f32e3451","cacheData":{"env":{}}} | ||
{"id":"DLis","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/underline.ts","includedInParent":true,"mtime":1545342158134},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/underline.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"underline\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/underline.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":213}}],"sources":{"../../../src/annotations/underline.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Underline extends InlineAnnotation {\n static type = 'underline';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"826c252db888ece52973cae9f32e3451","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"IWLi","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/superscript.ts","includedInParent":true,"mtime":1545342158133},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/superscript.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"superscript\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":41},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":215}}],"sources":{"../../../src/annotations/superscript.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Superscript extends InlineAnnotation {\n static type = 'superscript';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"df712cd4b11ea824e5100ea7304c355c","cacheData":{"env":{}}} | ||
{"id":"IWLi","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/superscript.ts","includedInParent":true,"mtime":1545342158133},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/superscript.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"superscript\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":41},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/superscript.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":215}}],"sources":{"../../../src/annotations/superscript.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Superscript extends InlineAnnotation {\n static type = 'superscript';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"df712cd4b11ea824e5100ea7304c355c","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"B1Vf","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/iframe-embed.ts","includedInParent":true,"mtime":1550104586283},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./caption-source","loc":{"line":2,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.without=u,exports.default=void 0;var e=require(\"@atjson/document\"),t=r(require(\"./caption-source\"));function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return e.reduce((e,r)=>(r!==t&&e.push(r),e),[])}class n extends e.ObjectAnnotation{get url(){try{return new URL(this.attributes.url)}catch(e){return null}}}exports.default=n,n.type=\"iframe-embed\",n.vendorPrefix=\"offset\",n.subdocuments={caption:t.default};","map":{"mappings":[{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":84}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":86}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":94}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":109}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":123}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":147}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":187}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":190}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":215}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":216}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":224}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":227}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":236}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":27},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":39},"generated":{"line":1,"column":240}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":250}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":15},"generated":{"line":1,"column":252}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":22},"generated":{"line":1,"column":259}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":23},"generated":{"line":1,"column":260}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":37},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":7,"column":8},"generated":{"line":1,"column":267}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":7,"column":17},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":8,"column":6},"generated":{"line":1,"column":274}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":276}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":8,"column":24},"generated":{"line":1,"column":281}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":10,"column":11},"generated":{"line":1,"column":284}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":5,"column":20},"generated":{"line":1,"column":287}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":14},"generated":{"line":1,"column":291}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":21},"generated":{"line":1,"column":297}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":41},"generated":{"line":1,"column":307}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":14},"generated":{"line":1,"column":309}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":26,"column":6},"generated":{"line":1,"column":326}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":336}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":13},"generated":{"line":1,"column":340}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":13},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":17},"generated":{"line":1,"column":351}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":21},"generated":{"line":1,"column":355}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":26},"generated":{"line":1,"column":360}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":37},"generated":{"line":1,"column":371}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":376}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":29,"column":13},"generated":{"line":1,"column":382}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":407}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":415}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":417}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":15,"column":16},"generated":{"line":1,"column":424}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":16,"column":24},"generated":{"line":1,"column":454}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":26},"generated":{"line":1,"column":479}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":35},"generated":{"line":1,"column":487}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":35},"generated":{"line":1,"column":489}}],"sources":{"../../../src/annotations/iframe-embed.ts":"import { ObjectAnnotation } from '@atjson/document';\nimport CaptionSource from './caption-source';\n\nexport function without<T>(array: T[], value: T): T[] {\n let result: T[] = [];\n return array.reduce((presentParts, part) => {\n if (part !== value) {\n presentParts.push(part);\n }\n return presentParts;\n }, result);\n}\n\nexport default class IframeEmbed extends ObjectAnnotation {\n static type = 'iframe-embed';\n static vendorPrefix = 'offset';\n static subdocuments = { caption: CaptionSource };\n\n attributes!: {\n url: string;\n width?: string;\n height?: string;\n caption?: CaptionSource;\n };\n\n get url() {\n try {\n return new URL(this.attributes.url);\n } catch (e) {\n return null;\n }\n }\n}\n"},"lineCount":null}},"hash":"9f5e3574631e2ed574467dffd9d49a61","cacheData":{"env":{}}} | ||
{"id":"B1Vf","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/iframe-embed.ts","includedInParent":true,"mtime":1550104586283},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./caption-source","loc":{"line":2,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.without=u,exports.default=void 0;var e=require(\"@atjson/document\"),t=r(require(\"./caption-source\"));function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return e.reduce((e,r)=>(r!==t&&e.push(r),e),[])}class n extends e.ObjectAnnotation{get url(){try{return new URL(this.attributes.url)}catch(e){return null}}}exports.default=n,n.type=\"iframe-embed\",n.vendorPrefix=\"offset\",n.subdocuments={caption:t.default};","map":{"mappings":[{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":84}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":86}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":94}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":109}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":123}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":147}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":187}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":190}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":215}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":216}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":224}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":227}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":236}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":27},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":4,"column":39},"generated":{"line":1,"column":240}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":250}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":15},"generated":{"line":1,"column":252}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":22},"generated":{"line":1,"column":259}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":23},"generated":{"line":1,"column":260}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":6,"column":37},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":7,"column":8},"generated":{"line":1,"column":267}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":7,"column":17},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":8,"column":6},"generated":{"line":1,"column":274}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":276}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":8,"column":24},"generated":{"line":1,"column":281}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":10,"column":11},"generated":{"line":1,"column":284}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":5,"column":20},"generated":{"line":1,"column":287}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":14},"generated":{"line":1,"column":291}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":21},"generated":{"line":1,"column":297}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":41},"generated":{"line":1,"column":307}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":14,"column":14},"generated":{"line":1,"column":309}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":26,"column":6},"generated":{"line":1,"column":326}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":336}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":13},"generated":{"line":1,"column":340}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":13},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":17},"generated":{"line":1,"column":351}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":21},"generated":{"line":1,"column":355}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":26},"generated":{"line":1,"column":360}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":28,"column":37},"generated":{"line":1,"column":371}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":376}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":29,"column":13},"generated":{"line":1,"column":382}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":407}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":415}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":417}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":15,"column":16},"generated":{"line":1,"column":424}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":16,"column":24},"generated":{"line":1,"column":454}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":26},"generated":{"line":1,"column":479}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":35},"generated":{"line":1,"column":487}},{"source":"../../../src/annotations/iframe-embed.ts","name":null,"original":{"line":17,"column":35},"generated":{"line":1,"column":489}}],"sources":{"../../../src/annotations/iframe-embed.ts":"import { ObjectAnnotation } from '@atjson/document';\nimport CaptionSource from './caption-source';\n\nexport function without<T>(array: T[], value: T): T[] {\n let result: T[] = [];\n return array.reduce((presentParts, part) => {\n if (part !== value) {\n presentParts.push(part);\n }\n return presentParts;\n }, result);\n}\n\nexport default class IframeEmbed extends ObjectAnnotation {\n static type = 'iframe-embed';\n static vendorPrefix = 'offset';\n static subdocuments = { caption: CaptionSource };\n\n attributes!: {\n url: string;\n width?: string;\n height?: string;\n caption?: CaptionSource;\n };\n\n get url() {\n try {\n return new URL(this.attributes.url);\n } catch (e) {\n return null;\n }\n }\n}\n"},"lineCount":null}},"hash":"9f5e3574631e2ed574467dffd9d49a61","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"VqbY","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/pullquote.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/pullquote.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.type=\"pullquote\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":199}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":212}}],"sources":{"../../../src/annotations/pullquote.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Pullquote extends BlockAnnotation {\n static type = 'pullquote';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"20e3fba1bce7595bba43356bc0f64090","cacheData":{"env":{}}} | ||
{"id":"VqbY","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/pullquote.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/pullquote.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.type=\"pullquote\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":199}},{"source":"../../../src/annotations/pullquote.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":212}}],"sources":{"../../../src/annotations/pullquote.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Pullquote extends BlockAnnotation {\n static type = 'pullquote';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"20e3fba1bce7595bba43356bc0f64090","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"lQHM","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/change.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.Insertion=exports.Deletion=exports.AdjacentBoundaryBehaviour=exports.default=void 0;class e{}var t;exports.default=e,exports.AdjacentBoundaryBehaviour=t,function(e){e[e.preserve=0]=\"preserve\",e[e.default=1]=\"default\",e[e.modify=2]=\"modify\"}(t||(exports.AdjacentBoundaryBehaviour=t={}));class s extends e{constructor(e,s,r=t.default){super(),this.start=e,this.end=s,this.behaviour=r,this.type=\"deletion\"}}exports.Deletion=s;class r extends e{constructor(e,s,r=t.default){super(),this.start=e,this.text=s,this.behaviour=r,this.type=\"insertion\"}}exports.Insertion=r;","map":{"mappings":[{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":0}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":13}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":20}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":35}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":43}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":56}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":57}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":64}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":68}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":76}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":86}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":94}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":103}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":111}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":137}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":145}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":158}},{"source":"../../src/change.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":160}},{"source":"../../src/change.ts","name":null,"original":{"line":1,"column":30},"generated":{"line":1,"column":166}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":169}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":173}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":175}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":183}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":191}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":193}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":201}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":227}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":229}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":238}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":241}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":243}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":245}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":254}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":257}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":268}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":270}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":272}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":280}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":283}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":293}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":295}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":297}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":304}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":307}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":316}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":317}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":321}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":329}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":355}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":37},"generated":{"line":1,"column":357}},{"source":"../../src/change.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":1,"column":362}},{"source":"../../src/change.ts","name":null,"original":{"line":11,"column":13},"generated":{"line":1,"column":368}},{"source":"../../src/change.ts","name":null,"original":{"line":11,"column":30},"generated":{"line":1,"column":378}},{"source":"../../src/change.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":1,"column":380}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":392}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":394}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":396}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":52},"generated":{"line":1,"column":398}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":78},"generated":{"line":1,"column":400}},{"source":"../../src/change.ts","name":null,"original":{"line":18,"column":4},"generated":{"line":1,"column":409}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":417}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":422}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":428}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":430}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":435}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":439}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":441}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":446}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":456}},{"source":"../../src/change.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":458}},{"source":"../../src/change.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":463}},{"source":"../../src/change.ts","name":null,"original":{"line":12,"column":18},"generated":{"line":1,"column":468}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":480}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":488}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":497}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":6},"generated":{"line":1,"column":499}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":13},"generated":{"line":1,"column":505}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":31},"generated":{"line":1,"column":515}},{"source":"../../src/change.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":1,"column":517}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":529}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":531}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":533}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":52},"generated":{"line":1,"column":535}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":78},"generated":{"line":1,"column":537}},{"source":"../../src/change.ts","name":null,"original":{"line":29,"column":4},"generated":{"line":1,"column":546}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":554}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":559}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":565}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":567}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":572}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":577}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":579}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":584}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":594}},{"source":"../../src/change.ts","name":null,"original":{"line":23,"column":11},"generated":{"line":1,"column":596}},{"source":"../../src/change.ts","name":null,"original":{"line":23,"column":11},"generated":{"line":1,"column":601}},{"source":"../../src/change.ts","name":null,"original":{"line":23,"column":18},"generated":{"line":1,"column":606}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":619}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":627}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":637}}],"sources":{"../../src/change.ts":"export default abstract class Change {\n abstract readonly type: string;\n}\n\nexport enum AdjacentBoundaryBehaviour {\n preserve,\n default,\n modify\n}\n\nexport class Deletion extends Change {\n readonly type = 'deletion';\n constructor(\n readonly start: number,\n readonly end: number,\n readonly behaviour: AdjacentBoundaryBehaviour = AdjacentBoundaryBehaviour.default\n ) {\n super();\n }\n}\n\nexport class Insertion extends Change {\n readonly type = 'insertion';\n constructor(\n readonly start: number,\n readonly text: string,\n readonly behaviour: AdjacentBoundaryBehaviour = AdjacentBoundaryBehaviour.default\n ) {\n super();\n }\n}\n"},"lineCount":null}},"hash":"f914a2ae01be28b600d8d69e933fea5c","cacheData":{"env":{}}} | ||
{"id":"lQHM","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/change.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.Insertion=exports.Deletion=exports.AdjacentBoundaryBehaviour=exports.default=void 0;class e{}var t;exports.default=e,exports.AdjacentBoundaryBehaviour=t,function(e){e[e.preserve=0]=\"preserve\",e[e.default=1]=\"default\",e[e.modify=2]=\"modify\"}(t||(exports.AdjacentBoundaryBehaviour=t={}));class s extends e{constructor(e,s,r=t.default){super(),this.start=e,this.end=s,this.behaviour=r,this.type=\"deletion\"}}exports.Deletion=s;class r extends e{constructor(e,s,r=t.default){super(),this.start=e,this.text=s,this.behaviour=r,this.type=\"insertion\"}}exports.Insertion=r;","map":{"mappings":[{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":0}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":13}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":20}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":35}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":43}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":56}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":57}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":64}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":68}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":76}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":86}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":94}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":103}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":111}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":137}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":145}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":158}},{"source":"../../src/change.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":160}},{"source":"../../src/change.ts","name":null,"original":{"line":1,"column":30},"generated":{"line":1,"column":166}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":169}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":173}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":175}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":183}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":191}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":193}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":201}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":227}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":229}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":238}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":241}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":243}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":245}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":254}},{"source":"../../src/change.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":1,"column":257}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":268}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":270}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":272}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":280}},{"source":"../../src/change.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":1,"column":283}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":293}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":295}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":297}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":304}},{"source":"../../src/change.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":1,"column":307}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":316}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":317}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":321}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":329}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":1,"column":355}},{"source":"../../src/change.ts","name":null,"original":{"line":5,"column":37},"generated":{"line":1,"column":357}},{"source":"../../src/change.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":1,"column":362}},{"source":"../../src/change.ts","name":null,"original":{"line":11,"column":13},"generated":{"line":1,"column":368}},{"source":"../../src/change.ts","name":null,"original":{"line":11,"column":30},"generated":{"line":1,"column":378}},{"source":"../../src/change.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":1,"column":380}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":392}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":394}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":396}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":52},"generated":{"line":1,"column":398}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":78},"generated":{"line":1,"column":400}},{"source":"../../src/change.ts","name":null,"original":{"line":18,"column":4},"generated":{"line":1,"column":409}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":417}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":422}},{"source":"../../src/change.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":428}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":430}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":435}},{"source":"../../src/change.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":439}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":441}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":446}},{"source":"../../src/change.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":456}},{"source":"../../src/change.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":458}},{"source":"../../src/change.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":463}},{"source":"../../src/change.ts","name":null,"original":{"line":12,"column":18},"generated":{"line":1,"column":468}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":480}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":488}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":497}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":6},"generated":{"line":1,"column":499}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":13},"generated":{"line":1,"column":505}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":31},"generated":{"line":1,"column":515}},{"source":"../../src/change.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":1,"column":517}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":529}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":531}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":533}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":52},"generated":{"line":1,"column":535}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":78},"generated":{"line":1,"column":537}},{"source":"../../src/change.ts","name":null,"original":{"line":29,"column":4},"generated":{"line":1,"column":546}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":554}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":559}},{"source":"../../src/change.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":1,"column":565}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":567}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":572}},{"source":"../../src/change.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":1,"column":577}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":579}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":584}},{"source":"../../src/change.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":594}},{"source":"../../src/change.ts","name":null,"original":{"line":23,"column":11},"generated":{"line":1,"column":596}},{"source":"../../src/change.ts","name":null,"original":{"line":23,"column":11},"generated":{"line":1,"column":601}},{"source":"../../src/change.ts","name":null,"original":{"line":23,"column":18},"generated":{"line":1,"column":606}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":619}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":627}},{"source":"../../src/change.ts","name":null,"original":{"line":22,"column":37},"generated":{"line":1,"column":637}}],"sources":{"../../src/change.ts":"export default abstract class Change {\n abstract readonly type: string;\n}\n\nexport enum AdjacentBoundaryBehaviour {\n preserve,\n default,\n modify\n}\n\nexport class Deletion extends Change {\n readonly type = 'deletion';\n constructor(\n readonly start: number,\n readonly end: number,\n readonly behaviour: AdjacentBoundaryBehaviour = AdjacentBoundaryBehaviour.default\n ) {\n super();\n }\n}\n\nexport class Insertion extends Change {\n readonly type = 'insertion';\n constructor(\n readonly start: number,\n readonly text: string,\n readonly behaviour: AdjacentBoundaryBehaviour = AdjacentBoundaryBehaviour.default\n ) {\n super();\n }\n}\n"},"lineCount":null}},"hash":"f914a2ae01be28b600d8d69e933fea5c","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"6wff","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"},{"name":"./annotation-attribute","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-attribute.ts"}],"generated":{"js":"\"use strict\";var t=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,\"__esModule\",{value:!0});const e=t(require(\"../../src/mixins/component\"));require(\"./annotation-attribute\");class n extends e.default{attributeChangedCallback(t){switch(t){case\"type\":this.shadowRoot.querySelector(\".type\").innerHTML=this.getAttribute(\"type\");break;case\"start\":this.shadowRoot.querySelector(\".start\").innerHTML=this.getAttribute(\"start\");break;case\"end\":this.shadowRoot.querySelector(\".end\").innerHTML=this.getAttribute(\"end\")}}}n.template='\\n <div class=\"annotation\">\\n <span class=\"type\"></span>\\n {<span class=\"attributes\"><slot></slot></span>}\\n <div class=\"position\">\\n [<div class=\"start\"></div>, <div class=\"end\"></div>]\\n </div>\\n </div>\\n ',n.style=\"\\n :host {\\n font-family: Consolas, Lucida Console, Courier New, monospace;\\n width: 100%;\\n }\\n\\n .annotation {\\n padding: 1ex;\\n border-bottom: 1px solid #ccc;\\n position: relative;\\n }\\n\\n .type {\\n color: rgb(136, 18, 128);\\n }\\n\\n .position {\\n position: absolute;\\n top: 1ex;\\n right: 1ex;\\n display: flex;\\n flex-direction: row;\\n }\\n \",n.observedAttributes=[\"type\",\"start\",\"end\"],exports.default=n,window.customElements.get(\"annotation-inspector\")||window.customElements.define(\"annotation-inspector\",n);","map":{"mappings":[{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":209}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":235}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":241}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":49},"generated":{"line":1,"column":251}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":49},"generated":{"line":1,"column":253}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":1,"column":261}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":43,"column":27},"generated":{"line":1,"column":286}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":44,"column":12},"generated":{"line":1,"column":289}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":44,"column":12},"generated":{"line":1,"column":296}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":45,"column":11},"generated":{"line":1,"column":299}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":45,"column":11},"generated":{"line":1,"column":303}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":13},"generated":{"line":1,"column":310}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":13},"generated":{"line":1,"column":315}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":24},"generated":{"line":1,"column":326}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":38},"generated":{"line":1,"column":340}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":47},"generated":{"line":1,"column":349}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":59},"generated":{"line":1,"column":359}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":64},"generated":{"line":1,"column":364}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":77},"generated":{"line":1,"column":377}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":47,"column":8},"generated":{"line":1,"column":385}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":391}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":395}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":13},"generated":{"line":1,"column":403}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":13},"generated":{"line":1,"column":408}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":24},"generated":{"line":1,"column":419}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":38},"generated":{"line":1,"column":433}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":48},"generated":{"line":1,"column":443}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":60},"generated":{"line":1,"column":453}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":65},"generated":{"line":1,"column":458}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":78},"generated":{"line":1,"column":471}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":480}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":486}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":490}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":13},"generated":{"line":1,"column":496}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":13},"generated":{"line":1,"column":501}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":24},"generated":{"line":1,"column":512}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":38},"generated":{"line":1,"column":526}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":534}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":58},"generated":{"line":1,"column":544}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":63},"generated":{"line":1,"column":549}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":76},"generated":{"line":1,"column":562}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":571}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":573}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":582}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":831}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":833}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":16,"column":17},"generated":{"line":1,"column":839}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":1264}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":1266}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":30},"generated":{"line":1,"column":1285}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":31},"generated":{"line":1,"column":1286}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":39},"generated":{"line":1,"column":1293}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":48},"generated":{"line":1,"column":1301}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":1308}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":1316}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":1324}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":5},"generated":{"line":1,"column":1326}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":12},"generated":{"line":1,"column":1333}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":27},"generated":{"line":1,"column":1348}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":31},"generated":{"line":1,"column":1352}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":1,"column":1377}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":9},"generated":{"line":1,"column":1384}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":24},"generated":{"line":1,"column":1399}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":31},"generated":{"line":1,"column":1406}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":55},"generated":{"line":1,"column":1429}}],"sources":{"../src/document-inspector/annotation-inspector.ts":"import WebComponent from '../../src/mixins/component';\nimport './annotation-attribute';\n\nexport default class AnnotationInspector extends WebComponent {\n\n static template = `\n <div class=\"annotation\">\n <span class=\"type\"></span>\n {<span class=\"attributes\"><slot></slot></span>}\n <div class=\"position\">\n [<div class=\"start\"></div>, <div class=\"end\"></div>]\n </div>\n </div>\n `;\n\n static style = `\n :host {\n font-family: Consolas, Lucida Console, Courier New, monospace;\n width: 100%;\n }\n\n .annotation {\n padding: 1ex;\n border-bottom: 1px solid #ccc;\n position: relative;\n }\n\n .type {\n color: rgb(136, 18, 128);\n }\n\n .position {\n position: absolute;\n top: 1ex;\n right: 1ex;\n display: flex;\n flex-direction: row;\n }\n `;\n\n static observedAttributes = ['type', 'start', 'end'];\n\n attributeChangedCallback(attribute) {\n switch (attribute) {\n case 'type':\n this.shadowRoot.querySelector('.type').innerHTML = this.getAttribute('type');\n break;\n case 'start':\n this.shadowRoot.querySelector('.start').innerHTML = this.getAttribute('start');\n break;\n case 'end':\n this.shadowRoot.querySelector('.end').innerHTML = this.getAttribute('end');\n break;\n }\n }\n}\n\nif (!window.customElements.get('annotation-inspector')) {\n window.customElements.define('annotation-inspector', AnnotationInspector);\n}\n"},"lineCount":null}},"hash":"57a5e0f0363928e085e6eef5839b5bc7","cacheData":{"env":{}}} | ||
{"id":"6wff","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"../../src/mixins/component","loc":{"line":6,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"},{"name":"./annotation-attribute","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-inspector.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/annotation-attribute.ts"}],"generated":{"js":"\"use strict\";var t=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,\"__esModule\",{value:!0});const e=t(require(\"../../src/mixins/component\"));require(\"./annotation-attribute\");class n extends e.default{attributeChangedCallback(t){switch(t){case\"type\":this.shadowRoot.querySelector(\".type\").innerHTML=this.getAttribute(\"type\");break;case\"start\":this.shadowRoot.querySelector(\".start\").innerHTML=this.getAttribute(\"start\");break;case\"end\":this.shadowRoot.querySelector(\".end\").innerHTML=this.getAttribute(\"end\")}}}n.template='\\n <div class=\"annotation\">\\n <span class=\"type\"></span>\\n {<span class=\"attributes\"><slot></slot></span>}\\n <div class=\"position\">\\n [<div class=\"start\"></div>, <div class=\"end\"></div>]\\n </div>\\n </div>\\n ',n.style=\"\\n :host {\\n font-family: Consolas, Lucida Console, Courier New, monospace;\\n width: 100%;\\n }\\n\\n .annotation {\\n padding: 1ex;\\n border-bottom: 1px solid #ccc;\\n position: relative;\\n }\\n\\n .type {\\n color: rgb(136, 18, 128);\\n }\\n\\n .position {\\n position: absolute;\\n top: 1ex;\\n right: 1ex;\\n display: flex;\\n flex-direction: row;\\n }\\n \",n.observedAttributes=[\"type\",\"start\",\"end\"],exports.default=n,window.customElements.get(\"annotation-inspector\")||window.customElements.define(\"annotation-inspector\",n);","map":{"mappings":[{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":201}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":209}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":235}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":241}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":49},"generated":{"line":1,"column":251}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":49},"generated":{"line":1,"column":253}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":1,"column":261}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":43,"column":27},"generated":{"line":1,"column":286}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":44,"column":12},"generated":{"line":1,"column":289}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":44,"column":12},"generated":{"line":1,"column":296}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":45,"column":11},"generated":{"line":1,"column":299}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":45,"column":11},"generated":{"line":1,"column":303}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":13},"generated":{"line":1,"column":310}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":13},"generated":{"line":1,"column":315}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":24},"generated":{"line":1,"column":326}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":38},"generated":{"line":1,"column":340}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":47},"generated":{"line":1,"column":349}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":59},"generated":{"line":1,"column":359}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":64},"generated":{"line":1,"column":364}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":46,"column":77},"generated":{"line":1,"column":377}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":47,"column":8},"generated":{"line":1,"column":385}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":391}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":395}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":13},"generated":{"line":1,"column":403}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":13},"generated":{"line":1,"column":408}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":24},"generated":{"line":1,"column":419}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":38},"generated":{"line":1,"column":433}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":48},"generated":{"line":1,"column":443}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":60},"generated":{"line":1,"column":453}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":65},"generated":{"line":1,"column":458}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":49,"column":78},"generated":{"line":1,"column":471}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":480}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":486}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":490}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":13},"generated":{"line":1,"column":496}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":13},"generated":{"line":1,"column":501}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":24},"generated":{"line":1,"column":512}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":38},"generated":{"line":1,"column":526}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":534}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":58},"generated":{"line":1,"column":544}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":63},"generated":{"line":1,"column":549}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":52,"column":76},"generated":{"line":1,"column":562}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":571}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":573}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":582}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":831}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":833}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":16,"column":17},"generated":{"line":1,"column":839}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":1264}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":1266}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":30},"generated":{"line":1,"column":1285}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":31},"generated":{"line":1,"column":1286}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":39},"generated":{"line":1,"column":1293}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":41,"column":48},"generated":{"line":1,"column":1301}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":1308}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":1316}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":1324}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":5},"generated":{"line":1,"column":1326}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":12},"generated":{"line":1,"column":1333}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":27},"generated":{"line":1,"column":1348}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":58,"column":31},"generated":{"line":1,"column":1352}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":1,"column":1377}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":9},"generated":{"line":1,"column":1384}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":24},"generated":{"line":1,"column":1399}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":31},"generated":{"line":1,"column":1406}},{"source":"../src/document-inspector/annotation-inspector.ts","name":null,"original":{"line":59,"column":55},"generated":{"line":1,"column":1429}}],"sources":{"../src/document-inspector/annotation-inspector.ts":"import WebComponent from '../../src/mixins/component';\nimport './annotation-attribute';\n\nexport default class AnnotationInspector extends WebComponent {\n\n static template = `\n <div class=\"annotation\">\n <span class=\"type\"></span>\n {<span class=\"attributes\"><slot></slot></span>}\n <div class=\"position\">\n [<div class=\"start\"></div>, <div class=\"end\"></div>]\n </div>\n </div>\n `;\n\n static style = `\n :host {\n font-family: Consolas, Lucida Console, Courier New, monospace;\n width: 100%;\n }\n\n .annotation {\n padding: 1ex;\n border-bottom: 1px solid #ccc;\n position: relative;\n }\n\n .type {\n color: rgb(136, 18, 128);\n }\n\n .position {\n position: absolute;\n top: 1ex;\n right: 1ex;\n display: flex;\n flex-direction: row;\n }\n `;\n\n static observedAttributes = ['type', 'start', 'end'];\n\n attributeChangedCallback(attribute) {\n switch (attribute) {\n case 'type':\n this.shadowRoot.querySelector('.type').innerHTML = this.getAttribute('type');\n break;\n case 'start':\n this.shadowRoot.querySelector('.start').innerHTML = this.getAttribute('start');\n break;\n case 'end':\n this.shadowRoot.querySelector('.end').innerHTML = this.getAttribute('end');\n break;\n }\n }\n}\n\nif (!window.customElements.get('annotation-inspector')) {\n window.customElements.define('annotation-inspector', AnnotationInspector);\n}\n"},"lineCount":null}},"hash":"57a5e0f0363928e085e6eef5839b5bc7","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"v9F/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/italic.ts","includedInParent":true,"mtime":1545342158139},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"em\")}}exports.default=e,e.annotationName=\"italic\";","map":{"mappings":[{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":196}}],"sources":{"../../../src/components/italic.ts":"export default class OffsetItalicElement {\n\n static annotationName = 'italic';\n\n static elementRenderer(): Element {\n return document.createElement('em');\n }\n}\n"},"lineCount":null}},"hash":"ebb740fefa9908260dfdba3a55c3b305","cacheData":{"env":{}}} | ||
{"id":"v9F/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/italic.ts","includedInParent":true,"mtime":1545342158139},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"em\")}}exports.default=e,e.annotationName=\"italic\";","map":{"mappings":[{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/components/italic.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":196}}],"sources":{"../../../src/components/italic.ts":"export default class OffsetItalicElement {\n\n static annotationName = 'italic';\n\n static elementRenderer(): Element {\n return document.createElement('em');\n }\n}\n"},"lineCount":null}},"hash":"ebb740fefa9908260dfdba3a55c3b305","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"0Wk5","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503},{"name":"./v1","loc":{"line":1,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/v1.js"},{"name":"./v4","loc":{"line":2,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/v4.js"}],"generated":{"js":"var e=require(\"./v1\"),r=require(\"./v4\"),v=r;v.v1=e,v.v4=r,module.exports=v;","map":{"mappings":[{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":14}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":2,"column":0},"generated":{"line":1,"column":22}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":2,"column":0},"generated":{"line":1,"column":24}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":2,"column":0},"generated":{"line":1,"column":32}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":4,"column":0},"generated":{"line":1,"column":40}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":4,"column":0},"generated":{"line":1,"column":42}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":5,"column":0},"generated":{"line":1,"column":44}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":5,"column":0},"generated":{"line":1,"column":46}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":5,"column":0},"generated":{"line":1,"column":49}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":6,"column":0},"generated":{"line":1,"column":51}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":6,"column":0},"generated":{"line":1,"column":53}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":6,"column":0},"generated":{"line":1,"column":56}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":8,"column":0},"generated":{"line":1,"column":58}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":8,"column":0},"generated":{"line":1,"column":65}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":8,"column":0},"generated":{"line":1,"column":73}}],"sources":{"../../../../node_modules/uuid/index.js":"var v1 = require('./v1');\nvar v4 = require('./v4');\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\n\nmodule.exports = uuid;\n"},"lineCount":null}},"hash":"99c506cd08d85fc5e3bba0e106fc0c9d","cacheData":{"env":{}}} | ||
{"id":"0Wk5","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503},{"name":"./v1","loc":{"line":1,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/v1.js"},{"name":"./v4","loc":{"line":2,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/v4.js"}],"generated":{"js":"var e=require(\"./v1\"),r=require(\"./v4\"),v=r;v.v1=e,v.v4=r,module.exports=v;","map":{"mappings":[{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":14}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":2,"column":0},"generated":{"line":1,"column":22}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":2,"column":0},"generated":{"line":1,"column":24}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":2,"column":0},"generated":{"line":1,"column":32}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":4,"column":0},"generated":{"line":1,"column":40}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":4,"column":0},"generated":{"line":1,"column":42}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":5,"column":0},"generated":{"line":1,"column":44}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":5,"column":0},"generated":{"line":1,"column":46}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":5,"column":0},"generated":{"line":1,"column":49}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":6,"column":0},"generated":{"line":1,"column":51}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":6,"column":0},"generated":{"line":1,"column":53}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":6,"column":0},"generated":{"line":1,"column":56}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":8,"column":0},"generated":{"line":1,"column":58}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":8,"column":0},"generated":{"line":1,"column":65}},{"source":"../../../../node_modules/uuid/index.js","original":{"line":8,"column":0},"generated":{"line":1,"column":73}}],"sources":{"../../../../node_modules/uuid/index.js":"var v1 = require('./v1');\nvar v4 = require('./v4');\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\n\nmodule.exports = uuid;\n"},"lineCount":null}},"hash":"99c506cd08d85fc5e3bba0e106fc0c9d","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"0OYc","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/line-break.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/line-break.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.ObjectAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"line-break\";","map":{"mappings":[{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/line-break.ts":"import { ObjectAnnotation } from '@atjson/document';\n\nexport default class LineBreak extends ObjectAnnotation {\n static vendorPrefix = 'offset';\n static type = 'line-break';\n}\n"},"lineCount":null}},"hash":"c3457c95b362b8749a5ce00e27706dc0","cacheData":{"env":{}}} | ||
{"id":"0OYc","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/line-break.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/line-break.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.ObjectAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"line-break\";","map":{"mappings":[{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/line-break.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/line-break.ts":"import { ObjectAnnotation } from '@atjson/document';\n\nexport default class LineBreak extends ObjectAnnotation {\n static vendorPrefix = 'offset';\n static type = 'line-break';\n}\n"},"lineCount":null}},"hash":"c3457c95b362b8749a5ce00e27706dc0","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"K9YS","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/twitter-embed.ts","includedInParent":true,"mtime":1545342158134},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/twitter-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};i.get||i.set?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,t}class r extends e.default{get tweetBy(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[0]:null}get tweetId(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[2]:null}}exports.default=r,r.type=\"twitter-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":42},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":474}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":485}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":488}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":501}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":518}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":523}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":530}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":15,"column":6},"generated":{"line":1,"column":535}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":549}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":553}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":555}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":560}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":564}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":571}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":1,"column":574}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":29},"generated":{"line":1,"column":576}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":29},"generated":{"line":1,"column":578}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":29},"generated":{"line":1,"column":587}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":33},"generated":{"line":1,"column":589}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":42},"generated":{"line":1,"column":598}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":48},"generated":{"line":1,"column":604}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":54},"generated":{"line":1,"column":609}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":58},"generated":{"line":1,"column":613}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":616}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":622}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":630}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":638}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":640}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":642}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":647}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":663}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":665}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":678}}],"sources":{"../../../src/annotations/twitter-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class TwitterEmbed extends IframeEmbed {\n static type = 'twitter-embed';\n static vendorPrefix = 'offset';\n\n get tweetBy() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[0];\n }\n return null;\n }\n\n get tweetId() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[2];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"6fa65902ad0f5d4f0eb5523cdc46c6fb","cacheData":{"env":{}}} | ||
{"id":"K9YS","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/twitter-embed.ts","includedInParent":true,"mtime":1545342158134},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/twitter-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};i.get||i.set?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,t}class r extends e.default{get tweetBy(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[0]:null}get tweetId(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[2]:null}}exports.default=r,r.type=\"twitter-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":42},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":474}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":485}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":488}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":501}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":518}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":523}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":530}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":15,"column":6},"generated":{"line":1,"column":535}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":549}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":8},"generated":{"line":1,"column":553}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":555}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":560}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":564}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":1,"column":571}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":1,"column":574}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":29},"generated":{"line":1,"column":576}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":29},"generated":{"line":1,"column":578}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":29},"generated":{"line":1,"column":587}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":33},"generated":{"line":1,"column":589}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":42},"generated":{"line":1,"column":598}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":48},"generated":{"line":1,"column":604}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":54},"generated":{"line":1,"column":609}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":18,"column":58},"generated":{"line":1,"column":613}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":616}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":622}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":630}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":638}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":640}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":642}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":647}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":663}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":665}},{"source":"../../../src/annotations/twitter-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":678}}],"sources":{"../../../src/annotations/twitter-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class TwitterEmbed extends IframeEmbed {\n static type = 'twitter-embed';\n static vendorPrefix = 'offset';\n\n get tweetBy() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[0];\n }\n return null;\n }\n\n get tweetId() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[2];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"6fa65902ad0f5d4f0eb5523cdc46c6fb","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"4iYL","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/link-editor.ts","includedInParent":true,"mtime":1545342158139},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link-editor.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=o(require(\"../mixins/component\"));function o(t){return t&&t.__esModule?t:{default:t}}class e extends t.default{onConfig(){this.classList.toggle(\"config\")}beforeInput(t){t.stopPropagation()}handleKeypress(t){13===t.keyCode&&this.onSave(t)}onSave(t){this.setAttribute(\"url\",this.urlInput.value),this.nofollowInput.checked?this.setAttribute(\"nofollow\",\"\"):this.removeAttribute(\"nofollow\"),this.dispatchEvent(new CustomEvent(\"attributechange\",{bubbles:!0,composed:!0,detail:{attributes:{url:this.urlInput.value,nofollow:this.nofollowInput.checked}}})),this.dispatchEvent(new CustomEvent(\"resumeinput\",{bubbles:!0,composed:!0})),t.stopPropagation()}attributeChangedCallback(t){switch(t){case\"url\":this.urlInput.setAttribute(\"value\",this.getAttribute(\"url\")||\"\");break;case\"nofollow\":this.nofollowInput.checked=this.hasAttribute(\"nofollow\")}}get urlInput(){if(!this.shadowRoot)throw new Error(\"No shadowRoot found!\");let t=this.shadowRoot.querySelector(\".urlinput\");if(!t)throw new Error(\"No URL Input Element Found!\");return t}get nofollowInput(){if(!this.shadowRoot)throw new Error(\"No shadowRoot found!\");let t=this.shadowRoot.querySelector(\".nofollow\");if(!t)throw new Error(\"No nofollow Input Element Found!\");return t}}exports.default=e,e.template='<a target=\"_blank\">🔗</a> <div class=\"default\"><input type=\"text\" class=\"urlinput\" /></div><div class=\"extended\"><input type=\"checkbox\" name=\"nofollow\" class=\"nofollow\" /><label for=\"nofollow\">No Follow</label></div> <button class=\"config\">⚙️</button><button class=\"cancel\">❌</button><button class=\"save\">✔️</button> ',e.events={beforeinput:\"beforeInput\",\"click .cancel\":\"cursorBlur\",\"click .save\":\"onSave\",\"click .config\":\"onConfig\",\"keypress .urlinput\":\"handleKeypress\"},e.observedAttributes=[\"url\",\"nofollow\"],e.style=\"\\n :host {\\n display: flex;\\n }\\n\\n .extended {\\n display: none;\\n width: max-content;\\n }\\n\\n :host(.config) .default {\\n display: none;\\n }\\n\\n :host(.config) .extended {\\n display: block;\\n }\\n\\n :host(.config) button.config {\\n background: darkgrey;\\n }\\n \",window.customElements.get(\"link-editor\")||window.customElements.define(\"link-editor\",e);","map":{"mappings":[{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":131}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":140}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":142}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":145}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":152}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":155}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":157}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":168}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":170}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":171}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":179}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":182}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":188}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":40},"generated":{"line":1,"column":198}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":200}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":208}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":219}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":224}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":19},"generated":{"line":1,"column":234}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":26},"generated":{"line":1,"column":241}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":44,"column":2},"generated":{"line":1,"column":251}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":44,"column":14},"generated":{"line":1,"column":263}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":1,"column":266}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":268}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":1,"column":286}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":48,"column":17},"generated":{"line":1,"column":301}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":49,"column":24},"generated":{"line":1,"column":304}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":49,"column":8},"generated":{"line":1,"column":309}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":49,"column":12},"generated":{"line":1,"column":311}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":320}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":325}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":50,"column":18},"generated":{"line":1,"column":332}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":54,"column":2},"generated":{"line":1,"column":335}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":54,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":9},"generated":{"line":1,"column":345}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":22},"generated":{"line":1,"column":363}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":29},"generated":{"line":1,"column":369}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":34},"generated":{"line":1,"column":374}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":43},"generated":{"line":1,"column":383}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":1,"column":390}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":57,"column":13},"generated":{"line":1,"column":395}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":57,"column":27},"generated":{"line":1,"column":409}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":11},"generated":{"line":1,"column":417}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":11},"generated":{"line":1,"column":422}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":24},"generated":{"line":1,"column":435}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":36},"generated":{"line":1,"column":446}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":60,"column":11},"generated":{"line":1,"column":450}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":60,"column":11},"generated":{"line":1,"column":455}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":60,"column":27},"generated":{"line":1,"column":471}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":483}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":488}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":1,"column":502}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":27},"generated":{"line":1,"column":506}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":39},"generated":{"line":1,"column":518}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":58},"generated":{"line":1,"column":536}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":64,"column":6},"generated":{"line":1,"column":537}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":64,"column":15},"generated":{"line":1,"column":546}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":1,"column":548}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":65,"column":16},"generated":{"line":1,"column":558}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":66,"column":6},"generated":{"line":1,"column":560}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":66,"column":14},"generated":{"line":1,"column":567}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":67,"column":8},"generated":{"line":1,"column":568}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":67,"column":20},"generated":{"line":1,"column":579}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":1,"column":580}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":15},"generated":{"line":1,"column":584}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":20},"generated":{"line":1,"column":589}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":29},"generated":{"line":1,"column":598}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":1,"column":604}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":20},"generated":{"line":1,"column":613}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":25},"generated":{"line":1,"column":618}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":39},"generated":{"line":1,"column":632}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":9},"generated":{"line":1,"column":645}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":9},"generated":{"line":1,"column":650}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":23},"generated":{"line":1,"column":664}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":27},"generated":{"line":1,"column":668}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":680}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":54},"generated":{"line":1,"column":694}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":56},"generated":{"line":1,"column":695}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":65},"generated":{"line":1,"column":704}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":71},"generated":{"line":1,"column":706}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":81},"generated":{"line":1,"column":716}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":76,"column":4},"generated":{"line":1,"column":721}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":1,"column":723}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":741}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":79,"column":27},"generated":{"line":1,"column":766}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":80,"column":12},"generated":{"line":1,"column":769}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":80,"column":12},"generated":{"line":1,"column":776}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":779}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":783}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":13},"generated":{"line":1,"column":789}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":13},"generated":{"line":1,"column":794}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":1,"column":803}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":35},"generated":{"line":1,"column":816}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":44},"generated":{"line":1,"column":824}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":49},"generated":{"line":1,"column":829}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":62},"generated":{"line":1,"column":842}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":72},"generated":{"line":1,"column":850}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":83,"column":8},"generated":{"line":1,"column":854}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":1,"column":860}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":1,"column":864}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":13},"generated":{"line":1,"column":875}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":13},"generated":{"line":1,"column":880}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":27},"generated":{"line":1,"column":894}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":37},"generated":{"line":1,"column":902}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":42},"generated":{"line":1,"column":907}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":55},"generated":{"line":1,"column":920}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":90,"column":14},"generated":{"line":1,"column":933}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":8},"generated":{"line":1,"column":948}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":9},"generated":{"line":1,"column":952}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":14},"generated":{"line":1,"column":957}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":26},"generated":{"line":1,"column":968}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":32},"generated":{"line":1,"column":974}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":36},"generated":{"line":1,"column":978}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":42},"generated":{"line":1,"column":984}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":1,"column":1008}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":1,"column":1012}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":41},"generated":{"line":1,"column":1014}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":46},"generated":{"line":1,"column":1019}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":57},"generated":{"line":1,"column":1030}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":71},"generated":{"line":1,"column":1044}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":8},"generated":{"line":1,"column":1057}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":9},"generated":{"line":1,"column":1061}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":16},"generated":{"line":1,"column":1063}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":22},"generated":{"line":1,"column":1069}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":26},"generated":{"line":1,"column":1073}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":32},"generated":{"line":1,"column":1079}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":94,"column":11},"generated":{"line":1,"column":1110}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":94,"column":11},"generated":{"line":1,"column":1117}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":97,"column":14},"generated":{"line":1,"column":1119}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":8},"generated":{"line":1,"column":1139}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":9},"generated":{"line":1,"column":1143}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":14},"generated":{"line":1,"column":1148}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":26},"generated":{"line":1,"column":1159}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":32},"generated":{"line":1,"column":1165}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":36},"generated":{"line":1,"column":1169}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":42},"generated":{"line":1,"column":1175}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":1199}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":1203}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":41},"generated":{"line":1,"column":1205}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":46},"generated":{"line":1,"column":1210}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":57},"generated":{"line":1,"column":1221}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":71},"generated":{"line":1,"column":1235}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":8},"generated":{"line":1,"column":1248}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":9},"generated":{"line":1,"column":1252}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":16},"generated":{"line":1,"column":1254}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":1260}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":26},"generated":{"line":1,"column":1264}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":32},"generated":{"line":1,"column":1270}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":101,"column":11},"generated":{"line":1,"column":1306}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":101,"column":11},"generated":{"line":1,"column":1313}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":1316}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":1324}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":1332}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1334}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1336}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":5,"column":20},"generated":{"line":1,"column":1345}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":1686}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":1688}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":7,"column":18},"generated":{"line":1,"column":1695}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":1696}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":1708}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":9,"column":21},"generated":{"line":1,"column":1722}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":9,"column":21},"generated":{"line":1,"column":1738}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":10,"column":19},"generated":{"line":1,"column":1751}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":10,"column":19},"generated":{"line":1,"column":1765}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":11,"column":21},"generated":{"line":1,"column":1774}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":11,"column":21},"generated":{"line":1,"column":1790}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":12,"column":26},"generated":{"line":1,"column":1801}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":12,"column":26},"generated":{"line":1,"column":1822}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":1840}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":1842}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":30},"generated":{"line":1,"column":1861}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":31},"generated":{"line":1,"column":1862}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":38},"generated":{"line":1,"column":1868}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":1880}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":1882}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":17,"column":17},"generated":{"line":1,"column":1888}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":5},"generated":{"line":1,"column":2212}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":1,"column":2219}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":27},"generated":{"line":1,"column":2234}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":31},"generated":{"line":1,"column":2238}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":2},"generated":{"line":1,"column":2254}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":9},"generated":{"line":1,"column":2261}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":24},"generated":{"line":1,"column":2276}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":31},"generated":{"line":1,"column":2283}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":46},"generated":{"line":1,"column":2297}}],"sources":{"../../../src/components/link-editor.ts":"import WebComponent from '../mixins/component';\n\nexport default class LinkEditor extends WebComponent {\n\n static template = `<a target=\"_blank\">🔗</a> <div class=\"default\"><input type=\"text\" class=\"urlinput\" /></div><div class=\"extended\"><input type=\"checkbox\" name=\"nofollow\" class=\"nofollow\" /><label for=\"nofollow\">No Follow</label></div> <button class=\"config\">⚙️</button><button class=\"cancel\">❌</button><button class=\"save\">✔️</button> `;\n\n static events = {\n 'beforeinput': 'beforeInput',\n 'click .cancel': 'cursorBlur',\n 'click .save': 'onSave',\n 'click .config': 'onConfig',\n 'keypress .urlinput': 'handleKeypress'\n };\n\n static observedAttributes = ['url', 'nofollow'];\n\n static style = `\n :host {\n display: flex;\n }\n\n .extended {\n display: none;\n width: max-content;\n }\n\n :host(.config) .default {\n display: none;\n }\n\n :host(.config) .extended {\n display: block;\n }\n\n :host(.config) button.config {\n background: darkgrey;\n }\n `;\n\n onConfig() {\n this.classList.toggle('config');\n }\n\n beforeInput(evt: Event) {\n evt.stopPropagation();\n }\n\n handleKeypress(evt: KeyboardEvent) {\n if (evt.keyCode === 13) {\n this.onSave(evt);\n }\n }\n\n onSave(evt: Event) {\n this.setAttribute('url', this.urlInput.value);\n\n if (this.nofollowInput.checked) {\n this.setAttribute('nofollow', '');\n } else {\n this.removeAttribute('nofollow');\n }\n\n this.dispatchEvent(new CustomEvent('attributechange', {\n bubbles: true,\n composed: true,\n detail: {\n attributes: {\n url: this.urlInput.value,\n nofollow: this.nofollowInput.checked\n }\n }\n }));\n\n this.dispatchEvent(new CustomEvent('resumeinput', { bubbles: true, composed: true }));\n\n evt.stopPropagation();\n }\n\n attributeChangedCallback(attribute: string) {\n switch (attribute) {\n case 'url':\n this.urlInput.setAttribute('value', this.getAttribute('url') || '');\n break;\n case 'nofollow':\n this.nofollowInput.checked = this.hasAttribute('nofollow');\n break;\n }\n }\n\n private get urlInput(): HTMLInputElement {\n if (!this.shadowRoot) throw new Error('No shadowRoot found!');\n let input: HTMLInputElement | null = this.shadowRoot.querySelector('.urlinput');\n if (!input) throw new Error('No URL Input Element Found!');\n return input;\n }\n\n private get nofollowInput(): HTMLInputElement {\n if (!this.shadowRoot) throw new Error('No shadowRoot found!');\n let input: HTMLInputElement | null = this.shadowRoot.querySelector('.nofollow');\n if (!input) throw new Error('No nofollow Input Element Found!');\n return input;\n }\n}\n\nif (!window.customElements.get('link-editor')) {\n window.customElements.define('link-editor', LinkEditor);\n}\n"},"lineCount":null}},"hash":"a14656f399fc1baba439622f79e08e6d","cacheData":{"env":{}}} | ||
{"id":"4iYL","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/link-editor.ts","includedInParent":true,"mtime":1545342158139},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"../mixins/component","loc":{"line":1,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link-editor.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=o(require(\"../mixins/component\"));function o(t){return t&&t.__esModule?t:{default:t}}class e extends t.default{onConfig(){this.classList.toggle(\"config\")}beforeInput(t){t.stopPropagation()}handleKeypress(t){13===t.keyCode&&this.onSave(t)}onSave(t){this.setAttribute(\"url\",this.urlInput.value),this.nofollowInput.checked?this.setAttribute(\"nofollow\",\"\"):this.removeAttribute(\"nofollow\"),this.dispatchEvent(new CustomEvent(\"attributechange\",{bubbles:!0,composed:!0,detail:{attributes:{url:this.urlInput.value,nofollow:this.nofollowInput.checked}}})),this.dispatchEvent(new CustomEvent(\"resumeinput\",{bubbles:!0,composed:!0})),t.stopPropagation()}attributeChangedCallback(t){switch(t){case\"url\":this.urlInput.setAttribute(\"value\",this.getAttribute(\"url\")||\"\");break;case\"nofollow\":this.nofollowInput.checked=this.hasAttribute(\"nofollow\")}}get urlInput(){if(!this.shadowRoot)throw new Error(\"No shadowRoot found!\");let t=this.shadowRoot.querySelector(\".urlinput\");if(!t)throw new Error(\"No URL Input Element Found!\");return t}get nofollowInput(){if(!this.shadowRoot)throw new Error(\"No shadowRoot found!\");let t=this.shadowRoot.querySelector(\".nofollow\");if(!t)throw new Error(\"No nofollow Input Element Found!\");return t}}exports.default=e,e.template='<a target=\"_blank\">🔗</a> <div class=\"default\"><input type=\"text\" class=\"urlinput\" /></div><div class=\"extended\"><input type=\"checkbox\" name=\"nofollow\" class=\"nofollow\" /><label for=\"nofollow\">No Follow</label></div> <button class=\"config\">⚙️</button><button class=\"cancel\">❌</button><button class=\"save\">✔️</button> ',e.events={beforeinput:\"beforeInput\",\"click .cancel\":\"cursorBlur\",\"click .save\":\"onSave\",\"click .config\":\"onConfig\",\"keypress .urlinput\":\"handleKeypress\"},e.observedAttributes=[\"url\",\"nofollow\"],e.style=\"\\n :host {\\n display: flex;\\n }\\n\\n .extended {\\n display: none;\\n width: max-content;\\n }\\n\\n :host(.config) .default {\\n display: none;\\n }\\n\\n :host(.config) .extended {\\n display: block;\\n }\\n\\n :host(.config) button.config {\\n background: darkgrey;\\n }\\n \",window.customElements.get(\"link-editor\")||window.customElements.define(\"link-editor\",e);","map":{"mappings":[{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":131}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":140}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":142}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":145}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":152}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":155}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":157}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":168}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":170}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":171}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":179}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":182}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":188}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":40},"generated":{"line":1,"column":198}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":200}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":208}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":219}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":1,"column":224}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":19},"generated":{"line":1,"column":234}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":41,"column":26},"generated":{"line":1,"column":241}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":44,"column":2},"generated":{"line":1,"column":251}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":44,"column":14},"generated":{"line":1,"column":263}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":1,"column":266}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":45,"column":8},"generated":{"line":1,"column":268}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":1,"column":286}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":48,"column":17},"generated":{"line":1,"column":301}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":49,"column":24},"generated":{"line":1,"column":304}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":49,"column":8},"generated":{"line":1,"column":309}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":49,"column":12},"generated":{"line":1,"column":311}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":320}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":50,"column":11},"generated":{"line":1,"column":325}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":50,"column":18},"generated":{"line":1,"column":332}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":54,"column":2},"generated":{"line":1,"column":335}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":54,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":9},"generated":{"line":1,"column":345}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":22},"generated":{"line":1,"column":363}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":29},"generated":{"line":1,"column":369}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":34},"generated":{"line":1,"column":374}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":55,"column":43},"generated":{"line":1,"column":383}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":1,"column":390}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":57,"column":13},"generated":{"line":1,"column":395}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":57,"column":27},"generated":{"line":1,"column":409}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":11},"generated":{"line":1,"column":417}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":11},"generated":{"line":1,"column":422}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":24},"generated":{"line":1,"column":435}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":58,"column":36},"generated":{"line":1,"column":446}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":60,"column":11},"generated":{"line":1,"column":450}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":60,"column":11},"generated":{"line":1,"column":455}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":60,"column":27},"generated":{"line":1,"column":471}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":483}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":1,"column":488}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":1,"column":502}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":27},"generated":{"line":1,"column":506}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":39},"generated":{"line":1,"column":518}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":63,"column":58},"generated":{"line":1,"column":536}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":64,"column":6},"generated":{"line":1,"column":537}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":64,"column":15},"generated":{"line":1,"column":546}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":1,"column":548}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":65,"column":16},"generated":{"line":1,"column":558}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":66,"column":6},"generated":{"line":1,"column":560}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":66,"column":14},"generated":{"line":1,"column":567}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":67,"column":8},"generated":{"line":1,"column":568}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":67,"column":20},"generated":{"line":1,"column":579}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":1,"column":580}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":15},"generated":{"line":1,"column":584}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":20},"generated":{"line":1,"column":589}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":68,"column":29},"generated":{"line":1,"column":598}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":1,"column":604}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":20},"generated":{"line":1,"column":613}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":25},"generated":{"line":1,"column":618}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":69,"column":39},"generated":{"line":1,"column":632}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":9},"generated":{"line":1,"column":645}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":9},"generated":{"line":1,"column":650}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":23},"generated":{"line":1,"column":664}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":27},"generated":{"line":1,"column":668}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":680}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":54},"generated":{"line":1,"column":694}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":56},"generated":{"line":1,"column":695}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":65},"generated":{"line":1,"column":704}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":71},"generated":{"line":1,"column":706}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":74,"column":81},"generated":{"line":1,"column":716}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":76,"column":4},"generated":{"line":1,"column":721}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":1,"column":723}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":741}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":79,"column":27},"generated":{"line":1,"column":766}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":80,"column":12},"generated":{"line":1,"column":769}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":80,"column":12},"generated":{"line":1,"column":776}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":779}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":783}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":13},"generated":{"line":1,"column":789}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":13},"generated":{"line":1,"column":794}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":1,"column":803}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":35},"generated":{"line":1,"column":816}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":44},"generated":{"line":1,"column":824}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":49},"generated":{"line":1,"column":829}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":62},"generated":{"line":1,"column":842}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":82,"column":72},"generated":{"line":1,"column":850}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":83,"column":8},"generated":{"line":1,"column":854}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":1,"column":860}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":1,"column":864}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":13},"generated":{"line":1,"column":875}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":13},"generated":{"line":1,"column":880}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":27},"generated":{"line":1,"column":894}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":37},"generated":{"line":1,"column":902}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":42},"generated":{"line":1,"column":907}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":85,"column":55},"generated":{"line":1,"column":920}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":90,"column":14},"generated":{"line":1,"column":933}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":8},"generated":{"line":1,"column":948}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":9},"generated":{"line":1,"column":952}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":14},"generated":{"line":1,"column":957}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":26},"generated":{"line":1,"column":968}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":32},"generated":{"line":1,"column":974}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":36},"generated":{"line":1,"column":978}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":91,"column":42},"generated":{"line":1,"column":984}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":1,"column":1008}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":1,"column":1012}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":41},"generated":{"line":1,"column":1014}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":46},"generated":{"line":1,"column":1019}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":57},"generated":{"line":1,"column":1030}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":92,"column":71},"generated":{"line":1,"column":1044}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":8},"generated":{"line":1,"column":1057}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":9},"generated":{"line":1,"column":1061}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":16},"generated":{"line":1,"column":1063}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":22},"generated":{"line":1,"column":1069}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":26},"generated":{"line":1,"column":1073}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":93,"column":32},"generated":{"line":1,"column":1079}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":94,"column":11},"generated":{"line":1,"column":1110}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":94,"column":11},"generated":{"line":1,"column":1117}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":97,"column":14},"generated":{"line":1,"column":1119}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":8},"generated":{"line":1,"column":1139}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":9},"generated":{"line":1,"column":1143}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":14},"generated":{"line":1,"column":1148}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":26},"generated":{"line":1,"column":1159}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":32},"generated":{"line":1,"column":1165}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":36},"generated":{"line":1,"column":1169}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":98,"column":42},"generated":{"line":1,"column":1175}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":1199}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":1203}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":41},"generated":{"line":1,"column":1205}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":46},"generated":{"line":1,"column":1210}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":57},"generated":{"line":1,"column":1221}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":99,"column":71},"generated":{"line":1,"column":1235}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":8},"generated":{"line":1,"column":1248}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":9},"generated":{"line":1,"column":1252}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":16},"generated":{"line":1,"column":1254}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":1260}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":26},"generated":{"line":1,"column":1264}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":100,"column":32},"generated":{"line":1,"column":1270}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":101,"column":11},"generated":{"line":1,"column":1306}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":101,"column":11},"generated":{"line":1,"column":1313}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":1316}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":1324}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":107,"column":1},"generated":{"line":1,"column":1332}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1334}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":1336}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":5,"column":20},"generated":{"line":1,"column":1345}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":1686}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":1,"column":1688}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":7,"column":18},"generated":{"line":1,"column":1695}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":1696}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":1708}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":9,"column":21},"generated":{"line":1,"column":1722}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":9,"column":21},"generated":{"line":1,"column":1738}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":10,"column":19},"generated":{"line":1,"column":1751}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":10,"column":19},"generated":{"line":1,"column":1765}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":11,"column":21},"generated":{"line":1,"column":1774}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":11,"column":21},"generated":{"line":1,"column":1790}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":12,"column":26},"generated":{"line":1,"column":1801}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":12,"column":26},"generated":{"line":1,"column":1822}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":1840}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":1842}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":30},"generated":{"line":1,"column":1861}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":31},"generated":{"line":1,"column":1862}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":15,"column":38},"generated":{"line":1,"column":1868}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":1880}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":1882}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":17,"column":17},"generated":{"line":1,"column":1888}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":5},"generated":{"line":1,"column":2212}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":1,"column":2219}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":27},"generated":{"line":1,"column":2234}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":105,"column":31},"generated":{"line":1,"column":2238}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":2},"generated":{"line":1,"column":2254}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":9},"generated":{"line":1,"column":2261}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":24},"generated":{"line":1,"column":2276}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":31},"generated":{"line":1,"column":2283}},{"source":"../../../src/components/link-editor.ts","name":null,"original":{"line":106,"column":46},"generated":{"line":1,"column":2297}}],"sources":{"../../../src/components/link-editor.ts":"import WebComponent from '../mixins/component';\n\nexport default class LinkEditor extends WebComponent {\n\n static template = `<a target=\"_blank\">🔗</a> <div class=\"default\"><input type=\"text\" class=\"urlinput\" /></div><div class=\"extended\"><input type=\"checkbox\" name=\"nofollow\" class=\"nofollow\" /><label for=\"nofollow\">No Follow</label></div> <button class=\"config\">⚙️</button><button class=\"cancel\">❌</button><button class=\"save\">✔️</button> `;\n\n static events = {\n 'beforeinput': 'beforeInput',\n 'click .cancel': 'cursorBlur',\n 'click .save': 'onSave',\n 'click .config': 'onConfig',\n 'keypress .urlinput': 'handleKeypress'\n };\n\n static observedAttributes = ['url', 'nofollow'];\n\n static style = `\n :host {\n display: flex;\n }\n\n .extended {\n display: none;\n width: max-content;\n }\n\n :host(.config) .default {\n display: none;\n }\n\n :host(.config) .extended {\n display: block;\n }\n\n :host(.config) button.config {\n background: darkgrey;\n }\n `;\n\n onConfig() {\n this.classList.toggle('config');\n }\n\n beforeInput(evt: Event) {\n evt.stopPropagation();\n }\n\n handleKeypress(evt: KeyboardEvent) {\n if (evt.keyCode === 13) {\n this.onSave(evt);\n }\n }\n\n onSave(evt: Event) {\n this.setAttribute('url', this.urlInput.value);\n\n if (this.nofollowInput.checked) {\n this.setAttribute('nofollow', '');\n } else {\n this.removeAttribute('nofollow');\n }\n\n this.dispatchEvent(new CustomEvent('attributechange', {\n bubbles: true,\n composed: true,\n detail: {\n attributes: {\n url: this.urlInput.value,\n nofollow: this.nofollowInput.checked\n }\n }\n }));\n\n this.dispatchEvent(new CustomEvent('resumeinput', { bubbles: true, composed: true }));\n\n evt.stopPropagation();\n }\n\n attributeChangedCallback(attribute: string) {\n switch (attribute) {\n case 'url':\n this.urlInput.setAttribute('value', this.getAttribute('url') || '');\n break;\n case 'nofollow':\n this.nofollowInput.checked = this.hasAttribute('nofollow');\n break;\n }\n }\n\n private get urlInput(): HTMLInputElement {\n if (!this.shadowRoot) throw new Error('No shadowRoot found!');\n let input: HTMLInputElement | null = this.shadowRoot.querySelector('.urlinput');\n if (!input) throw new Error('No URL Input Element Found!');\n return input;\n }\n\n private get nofollowInput(): HTMLInputElement {\n if (!this.shadowRoot) throw new Error('No shadowRoot found!');\n let input: HTMLInputElement | null = this.shadowRoot.querySelector('.nofollow');\n if (!input) throw new Error('No nofollow Input Element Found!');\n return input;\n }\n}\n\nif (!window.customElements.get('link-editor')) {\n window.customElements.define('link-editor', LinkEditor);\n}\n"},"lineCount":null}},"hash":"a14656f399fc1baba439622f79e08e6d","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"+fUd","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":6,"column":43},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"@atjson/renderer-commonmark","loc":{"line":7,"column":54},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-commonmark/dist/modules/index.js"},{"name":"./document-inspector","loc":{"line":8,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts"},{"name":"./html-tree-inspector","loc":{"line":9,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/html-tree-inspector.ts"},{"name":"./mixins/component","loc":{"line":10,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"@atjson/document\")),n=e(require(\"@atjson/renderer-commonmark\"));require(\"./document-inspector\"),require(\"./html-tree-inspector\");const o=e(require(\"./mixins/component\"));class i extends o.default{renderAll(e){let n;e&&(this._document=e.detail.document),this._document instanceof t.default&&(n=this._document,this._pendingCallback||(this._pendingCallback=(()=>{this.updateHtmlTreeInspector(n),this.renderMarkdown(n),this.renderInspector(n),delete this._pendingCallback}),window.requestIdleCallback(this._pendingCallback)))}renderMarkdown(e){if(this.activeTab(\"commonmark-tab\")){let t=this.shadowRoot.querySelector(\".markdown\"),o=n.default.render(e);t&&(t.textContent=o)}}renderInspector(e){let t=this.shadowRoot.querySelector(\"inspector-gadget\"),n=this.querySelector(\"offset-editor\");t&&(t.setDocument(e),t.setSelection(n.getSelection()))}updateHtmlTreeInspector(e){this.activeTab(\"html-tab\")&&this.shadowRoot.querySelector(\"html-tree-inspector\").dispatchEvent(new CustomEvent(\"change\",{detail:{document:e}}))}activeTab(e){let t=this.shadowRoot.querySelector(\".tabs > .active\");return!!t&&t.classList.contains(e)}}i.template='<h1><offset-logo></offset-logo></h1><div class=\"demo\"><section class=\"editor\"><header class=\"tabs\"><div class=\"editor-tab active\" data-target=\"editor-container\">Editor</div><div class=\"html-tab\" data-target=\"html-container\">HTML</div><div class=\"commonmark-tab\" data-target=\"commonmark-container\">Commonmark</div></header><section class=\"editor-container active\"><slot></slot></section><section class=\"html-container\"><html-tree-inspector></html-tree-inspector></section><section class=\"commonmark-container\"><div class=\"markdown\"></div></section></section><section class=\"inspector\"><section class=\"inspector-gadget\"><inspector-gadget></inspector-gadget></section></section></div>',i.events={change:\"renderAll\",\"click .tabs\"(e){let t=e.path[0].getAttribute(\"data-target\"),n=this.shadowRoot.querySelector(\".editor > .active\");n&&n.classList.remove(\"active\"),this.shadowRoot.querySelector(\".editor > .\"+t).classList.add(\"active\"),this.shadowRoot.querySelector(\".editor > .tabs > .active\").classList.remove(\"active\"),e.path[0].classList.add(\"active\"),this.renderAll()},addComponent(e){this.shadowRoot.querySelector(\"html-tree-inspector\").addComponent(e.detail.component)}},i.style=\"\\n :host {\\n max-height: 100vh;\\n max-width: 100vw;\\n margin: 0;\\n padding: 0;\\n display: flex;\\n flex-direction: column;\\n }\\n\\n :host > h1 {\\n padding: 1ex;\\n margin: 0;\\n border-bottom: 1px solid #bbb;\\n background-color: #f3f3f3\\n }\\n\\n .demo {\\n display: flex;\\n flex-direction: row;\\n margin: 0;\\n padding: 0;\\n height: 100vh;\\n width: 100vw;\\n overflow: hidden;\\n }\\n\\n .demo > section {\\n position: relative;\\n flex-grow: 1;\\n max-height: 100%;\\n width: 50%;\\n }\\n\\n .editor {\\n padding-right: 1px;\\n padding-bottom: 2em;\\n border-right: 1px solid #ccc;\\n }\\n\\n .tabs {\\n display: flex;\\n flex-direction: row;\\n justify-content: flex-start;\\n background-color: #f3f3f3;\\n color: #333;\\n font-family: 'Segoe UI', Tahoma, sans-serif;\\n height: 26px;\\n line-height: 15px;\\n font-size: 12px;\\n border-bottom: 1px solid #ccc;\\n position: sticky;\\n top: 0;\\n }\\n\\n .tabs > div {\\n padding: 4px 1em;\\n border-bottom: 1px solid #ccc;\\n }\\n\\n .tabs > div:hover {\\n background-color: #eaeaea;\\n cursor: pointer;\\n }\\n\\n .tabs > .active {\\n border-bottom: 2px solid #03a9f4;\\n }\\n\\n .editor > section {\\n display: none;\\n overflow-y: auto;\\n position: relative;\\n max-height: calc(100% - 24px);\\n box-sizing: border-box;\\n padding: 1em;\\n }\\n\\n .editor > section.active {\\n display: inherit;\\n }\\n\\n .markdown {\\n white-space: pre-wrap;\\n font-family: Consolas, Lucida Console, Courier New, monospace;\\n }\\n \",exports.default=i,window.customElements.get(\"offset-editor-demo\")||window.customElements.define(\"offset-editor-demo\",i);","map":{"mappings":[{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":191}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":193}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":195}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":203}},{"source":"../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":235}},{"source":"../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":243}},{"source":"../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":267}},{"source":"../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":275}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":300}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":306}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":308}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":310}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":318}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":341}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":21},"generated":{"line":1,"column":347}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":46},"generated":{"line":1,"column":357}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":46},"generated":{"line":1,"column":359}},{"source":"../src/index.ts","name":null,"original":{"line":138,"column":2},"generated":{"line":1,"column":367}},{"source":"../src/index.ts","name":null,"original":{"line":138,"column":12},"generated":{"line":1,"column":377}},{"source":"../src/index.ts","name":null,"original":{"line":142,"column":8},"generated":{"line":1,"column":380}},{"source":"../src/index.ts","name":null,"original":{"line":142,"column":8},"generated":{"line":1,"column":384}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":8},"generated":{"line":1,"column":386}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":13},"generated":{"line":1,"column":390}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":18},"generated":{"line":1,"column":395}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":30},"generated":{"line":1,"column":405}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":34},"generated":{"line":1,"column":407}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":41},"generated":{"line":1,"column":414}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":8},"generated":{"line":1,"column":424}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":13},"generated":{"line":1,"column":429}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":34},"generated":{"line":1,"column":450}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":34},"generated":{"line":1,"column":452}},{"source":"../src/index.ts","name":null,"original":{"line":144,"column":6},"generated":{"line":1,"column":462}},{"source":"../src/index.ts","name":null,"original":{"line":144,"column":12},"generated":{"line":1,"column":464}},{"source":"../src/index.ts","name":null,"original":{"line":144,"column":17},"generated":{"line":1,"column":469}},{"source":"../src/index.ts","name":null,"original":{"line":149,"column":8},"generated":{"line":1,"column":479}},{"source":"../src/index.ts","name":null,"original":{"line":149,"column":13},"generated":{"line":1,"column":484}},{"source":"../src/index.ts","name":null,"original":{"line":151,"column":9},"generated":{"line":1,"column":503}},{"source":"../src/index.ts","name":null,"original":{"line":151,"column":9},"generated":{"line":1,"column":508}},{"source":"../src/index.ts","name":null,"original":{"line":151,"column":28},"generated":{"line":1,"column":525}},{"source":"../src/index.ts","name":null,"original":{"line":152,"column":11},"generated":{"line":1,"column":531}},{"source":"../src/index.ts","name":null,"original":{"line":152,"column":11},"generated":{"line":1,"column":536}},{"source":"../src/index.ts","name":null,"original":{"line":152,"column":35},"generated":{"line":1,"column":560}},{"source":"../src/index.ts","name":null,"original":{"line":153,"column":11},"generated":{"line":1,"column":563}},{"source":"../src/index.ts","name":null,"original":{"line":153,"column":11},"generated":{"line":1,"column":568}},{"source":"../src/index.ts","name":null,"original":{"line":153,"column":26},"generated":{"line":1,"column":583}},{"source":"../src/index.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":586}},{"source":"../src/index.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":591}},{"source":"../src/index.ts","name":null,"original":{"line":154,"column":27},"generated":{"line":1,"column":607}},{"source":"../src/index.ts","name":null,"original":{"line":155,"column":13},"generated":{"line":1,"column":617}},{"source":"../src/index.ts","name":null,"original":{"line":155,"column":18},"generated":{"line":1,"column":622}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":4},"generated":{"line":1,"column":641}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":11},"generated":{"line":1,"column":648}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":31},"generated":{"line":1,"column":668}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":36},"generated":{"line":1,"column":673}},{"source":"../src/index.ts","name":null,"original":{"line":161,"column":2},"generated":{"line":1,"column":693}},{"source":"../src/index.ts","name":null,"original":{"line":161,"column":17},"generated":{"line":1,"column":708}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":8},"generated":{"line":1,"column":711}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":8},"generated":{"line":1,"column":714}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":13},"generated":{"line":1,"column":719}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":23},"generated":{"line":1,"column":729}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":42},"generated":{"line":1,"column":747}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":10},"generated":{"line":1,"column":748}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":10},"generated":{"line":1,"column":752}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":26},"generated":{"line":1,"column":754}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":31},"generated":{"line":1,"column":759}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":42},"generated":{"line":1,"column":770}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":56},"generated":{"line":1,"column":784}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":10},"generated":{"line":1,"column":797}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":21},"generated":{"line":1,"column":799}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":21},"generated":{"line":1,"column":801}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":40},"generated":{"line":1,"column":809}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":47},"generated":{"line":1,"column":816}},{"source":"../src/index.ts","name":null,"original":{"line":165,"column":10},"generated":{"line":1,"column":819}},{"source":"../src/index.ts","name":null,"original":{"line":166,"column":8},"generated":{"line":1,"column":823}},{"source":"../src/index.ts","name":null,"original":{"line":166,"column":22},"generated":{"line":1,"column":825}},{"source":"../src/index.ts","name":null,"original":{"line":166,"column":36},"generated":{"line":1,"column":837}},{"source":"../src/index.ts","name":null,"original":{"line":171,"column":2},"generated":{"line":1,"column":841}},{"source":"../src/index.ts","name":null,"original":{"line":171,"column":18},"generated":{"line":1,"column":857}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":8},"generated":{"line":1,"column":860}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":8},"generated":{"line":1,"column":864}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":43},"generated":{"line":1,"column":866}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":48},"generated":{"line":1,"column":871}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":59},"generated":{"line":1,"column":882}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":73},"generated":{"line":1,"column":896}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":8},"generated":{"line":1,"column":916}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":17},"generated":{"line":1,"column":918}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":22},"generated":{"line":1,"column":923}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":36},"generated":{"line":1,"column":937}},{"source":"../src/index.ts","name":null,"original":{"line":178,"column":8},"generated":{"line":1,"column":954}},{"source":"../src/index.ts","name":null,"original":{"line":179,"column":6},"generated":{"line":1,"column":958}},{"source":"../src/index.ts","name":null,"original":{"line":179,"column":22},"generated":{"line":1,"column":960}},{"source":"../src/index.ts","name":null,"original":{"line":179,"column":34},"generated":{"line":1,"column":972}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":6},"generated":{"line":1,"column":975}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":22},"generated":{"line":1,"column":977}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":35},"generated":{"line":1,"column":990}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":42},"generated":{"line":1,"column":992}},{"source":"../src/index.ts","name":null,"original":{"line":184,"column":2},"generated":{"line":1,"column":1009}},{"source":"../src/index.ts","name":null,"original":{"line":184,"column":26},"generated":{"line":1,"column":1033}},{"source":"../src/index.ts","name":null,"original":{"line":185,"column":8},"generated":{"line":1,"column":1036}},{"source":"../src/index.ts","name":null,"original":{"line":185,"column":13},"generated":{"line":1,"column":1041}},{"source":"../src/index.ts","name":null,"original":{"line":185,"column":23},"generated":{"line":1,"column":1051}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":11},"generated":{"line":1,"column":1064}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":11},"generated":{"line":1,"column":1069}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":22},"generated":{"line":1,"column":1080}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":36},"generated":{"line":1,"column":1094}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":59},"generated":{"line":1,"column":1117}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":8},"generated":{"line":1,"column":1131}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":12},"generated":{"line":1,"column":1135}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":24},"generated":{"line":1,"column":1147}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":34},"generated":{"line":1,"column":1156}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":35},"generated":{"line":1,"column":1157}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":43},"generated":{"line":1,"column":1164}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":44},"generated":{"line":1,"column":1165}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":54},"generated":{"line":1,"column":1174}},{"source":"../src/index.ts","name":null,"original":{"line":192,"column":2},"generated":{"line":1,"column":1180}},{"source":"../src/index.ts","name":null,"original":{"line":192,"column":12},"generated":{"line":1,"column":1190}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":8},"generated":{"line":1,"column":1193}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":8},"generated":{"line":1,"column":1197}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":20},"generated":{"line":1,"column":1199}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":25},"generated":{"line":1,"column":1204}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":36},"generated":{"line":1,"column":1215}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":50},"generated":{"line":1,"column":1229}},{"source":"../src/index.ts","name":null,"original":{"line":194,"column":8},"generated":{"line":1,"column":1248}},{"source":"../src/index.ts","name":null,"original":{"line":194,"column":8},"generated":{"line":1,"column":1256}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":13},"generated":{"line":1,"column":1259}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":23},"generated":{"line":1,"column":1261}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":33},"generated":{"line":1,"column":1271}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":42},"generated":{"line":1,"column":1280}},{"source":"../src/index.ts","name":null,"original":{"line":9,"column":9},"generated":{"line":1,"column":1284}},{"source":"../src/index.ts","name":null,"original":{"line":9,"column":9},"generated":{"line":1,"column":1286}},{"source":"../src/index.ts","name":null,"original":{"line":9,"column":20},"generated":{"line":1,"column":1295}},{"source":"../src/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1979}},{"source":"../src/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1981}},{"source":"../src/index.ts","name":null,"original":{"line":26,"column":18},"generated":{"line":1,"column":1988}},{"source":"../src/index.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":1989}},{"source":"../src/index.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":1996}},{"source":"../src/index.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":1,"column":2008}},{"source":"../src/index.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":1,"column":2022}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":10},"generated":{"line":1,"column":2025}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":10},"generated":{"line":1,"column":2029}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":27},"generated":{"line":1,"column":2031}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":33},"generated":{"line":1,"column":2033}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":38},"generated":{"line":1,"column":2038}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":41},"generated":{"line":1,"column":2041}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":54},"generated":{"line":1,"column":2054}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":10},"generated":{"line":1,"column":2069}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":19},"generated":{"line":1,"column":2071}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":24},"generated":{"line":1,"column":2076}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":35},"generated":{"line":1,"column":2087}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":49},"generated":{"line":1,"column":2101}},{"source":"../src/index.ts","name":null,"original":{"line":32,"column":10},"generated":{"line":1,"column":2122}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":2125}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":15},"generated":{"line":1,"column":2127}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":25},"generated":{"line":1,"column":2137}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":32},"generated":{"line":1,"column":2144}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":11},"generated":{"line":1,"column":2154}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":11},"generated":{"line":1,"column":2159}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":22},"generated":{"line":1,"column":2170}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":36},"generated":{"line":1,"column":2184}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":52},"generated":{"line":1,"column":2198}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":68},"generated":{"line":1,"column":2201}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":78},"generated":{"line":1,"column":2211}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":82},"generated":{"line":1,"column":2215}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":2225}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":2230}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":22},"generated":{"line":1,"column":2241}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":36},"generated":{"line":1,"column":2255}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":65},"generated":{"line":1,"column":2284}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":75},"generated":{"line":1,"column":2294}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":82},"generated":{"line":1,"column":2301}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":6},"generated":{"line":1,"column":2311}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":12},"generated":{"line":1,"column":2313}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":17},"generated":{"line":1,"column":2318}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":20},"generated":{"line":1,"column":2321}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":30},"generated":{"line":1,"column":2331}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":34},"generated":{"line":1,"column":2335}},{"source":"../src/index.ts","name":null,"original":{"line":39,"column":11},"generated":{"line":1,"column":2345}},{"source":"../src/index.ts","name":null,"original":{"line":39,"column":11},"generated":{"line":1,"column":2350}},{"source":"../src/index.ts","name":null,"original":{"line":42,"column":19},"generated":{"line":1,"column":2363}},{"source":"../src/index.ts","name":null,"original":{"line":42,"column":19},"generated":{"line":1,"column":2376}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":11},"generated":{"line":1,"column":2379}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":11},"generated":{"line":1,"column":2384}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":22},"generated":{"line":1,"column":2395}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":36},"generated":{"line":1,"column":2409}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":59},"generated":{"line":1,"column":2432}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":72},"generated":{"line":1,"column":2445}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":78},"generated":{"line":1,"column":2447}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":85},"generated":{"line":1,"column":2454}},{"source":"../src/index.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":2467}},{"source":"../src/index.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":2469}},{"source":"../src/index.ts","name":null,"original":{"line":47,"column":17},"generated":{"line":1,"column":2475}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":4206}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":4214}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":4222}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":5},"generated":{"line":1,"column":4224}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":12},"generated":{"line":1,"column":4231}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":27},"generated":{"line":1,"column":4246}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":31},"generated":{"line":1,"column":4250}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":2},"generated":{"line":1,"column":4273}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":9},"generated":{"line":1,"column":4280}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":24},"generated":{"line":1,"column":4295}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":31},"generated":{"line":1,"column":4302}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":53},"generated":{"line":1,"column":4323}}],"sources":{"../src/index.ts":"import Document from '@atjson/document';\nimport CommonmarkRenderer from '@atjson/renderer-commonmark';\nimport InspectorGadget from './document-inspector';\nimport './document-inspector';\nimport './html-tree-inspector';\nimport WebComponent from './mixins/component';\n\nexport default class OffsetEditorDemo extends WebComponent {\n static template = '<h1><offset-logo></offset-logo></h1>' +\n '<div class=\"demo\">' +\n '<section class=\"editor\">' +\n '<header class=\"tabs\">' +\n '<div class=\"editor-tab active\" data-target=\"editor-container\">Editor</div>' +\n '<div class=\"html-tab\" data-target=\"html-container\">HTML</div>' +\n '<div class=\"commonmark-tab\" data-target=\"commonmark-container\">Commonmark</div>' +\n '</header>' +\n '<section class=\"editor-container active\"><slot></slot></section>' +\n '<section class=\"html-container\"><html-tree-inspector></html-tree-inspector></section>' +\n '<section class=\"commonmark-container\"><div class=\"markdown\"></div></section>' +\n '</section>' +\n '<section class=\"inspector\">' +\n '<section class=\"inspector-gadget\"><inspector-gadget></inspector-gadget></section>' +\n '</section>' +\n '</div>';\n\n static events = {\n 'change': 'renderAll',\n\n 'click .tabs'(event) {\n let targetTabClass = event.path[0].getAttribute('data-target');\n let active = this.shadowRoot.querySelector('.editor > .active');\n if (active) {\n active.classList.remove('active');\n }\n this.shadowRoot.querySelector('.editor > .' + targetTabClass).classList.add('active');\n this.shadowRoot.querySelector('.editor > .tabs > .active').classList.remove('active');\n event.path[0].classList.add('active');\n\n this.renderAll();\n },\n\n 'addComponent'(event) {\n this.shadowRoot.querySelector('html-tree-inspector').addComponent(event.detail.component);\n }\n };\n\n static style = `\n :host {\n max-height: 100vh;\n max-width: 100vw;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n }\n\n :host > h1 {\n padding: 1ex;\n margin: 0;\n border-bottom: 1px solid #bbb;\n background-color: #f3f3f3\n }\n\n .demo {\n display: flex;\n flex-direction: row;\n margin: 0;\n padding: 0;\n height: 100vh;\n width: 100vw;\n overflow: hidden;\n }\n\n .demo > section {\n position: relative;\n flex-grow: 1;\n max-height: 100%;\n width: 50%;\n }\n\n .editor {\n padding-right: 1px;\n padding-bottom: 2em;\n border-right: 1px solid #ccc;\n }\n\n .tabs {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n background-color: #f3f3f3;\n color: #333;\n font-family: 'Segoe UI', Tahoma, sans-serif;\n height: 26px;\n line-height: 15px;\n font-size: 12px;\n border-bottom: 1px solid #ccc;\n position: sticky;\n top: 0;\n }\n\n .tabs > div {\n padding: 4px 1em;\n border-bottom: 1px solid #ccc;\n }\n\n .tabs > div:hover {\n background-color: #eaeaea;\n cursor: pointer;\n }\n\n .tabs > .active {\n border-bottom: 2px solid #03a9f4;\n }\n\n .editor > section {\n display: none;\n overflow-y: auto;\n position: relative;\n max-height: calc(100% - 24px);\n box-sizing: border-box;\n padding: 1em;\n }\n\n .editor > section.active {\n display: inherit;\n }\n\n .markdown {\n white-space: pre-wrap;\n font-family: Consolas, Lucida Console, Courier New, monospace;\n }\n `;\n\n _pendingCallback: () => void;\n _document?: Document;\n\n renderAll(evt?: CustomEvent) {\n\n if (evt) this._document = evt.detail.document;\n\n let doc: Document;\n if (this._document instanceof Document) {\n doc = this._document;\n } else {\n return;\n }\n\n if (this._pendingCallback) return;\n\n this._pendingCallback = () => {\n this.updateHtmlTreeInspector(doc);\n this.renderMarkdown(doc);\n this.renderInspector(doc);\n delete this._pendingCallback;\n };\n\n window.requestIdleCallback(this._pendingCallback);\n }\n\n renderMarkdown(doc: Document) {\n if (this.activeTab('commonmark-tab')) {\n let outputElement = this.shadowRoot.querySelector('.markdown');\n let rendered = CommonmarkRenderer.render(doc);\n if (outputElement) {\n outputElement.textContent = rendered;\n }\n }\n }\n\n renderInspector(doc: Document) {\n // This is really ineffecient, because we're calling it every document\n // change at the moment. To fix this, we need a new \"changedocument\" or\n // similar event on the editor.\n let inspectorGadget: InspectorGadget = this.shadowRoot.querySelector('inspector-gadget');\n let editor = this.querySelector('offset-editor');\n\n if (inspectorGadget) {\n inspectorGadget.setDocument(doc);\n inspectorGadget.setSelection(editor.getSelection());\n }\n }\n\n updateHtmlTreeInspector(doc: Document) {\n if (this.activeTab('html-tab')) {\n this.shadowRoot.querySelector('html-tree-inspector').dispatchEvent(\n new CustomEvent('change', {detail: {document: doc}})\n );\n }\n }\n\n activeTab(wanted: string) {\n let activeTab = this.shadowRoot.querySelector('.tabs > .active');\n if (activeTab) {\n return activeTab.classList.contains(wanted);\n } else {\n return false;\n }\n }\n}\n\nif (!window.customElements.get('offset-editor-demo')) {\n window.customElements.define('offset-editor-demo', OffsetEditorDemo);\n}\n"},"lineCount":null}},"hash":"cd32a65c0f59cfb1d916f97e046c0281","cacheData":{"env":{}}} | ||
{"id":"+fUd","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"@atjson/document","loc":{"line":6,"column":43},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"@atjson/renderer-commonmark","loc":{"line":7,"column":54},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-commonmark/dist/modules/index.js"},{"name":"./document-inspector","loc":{"line":8,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/document-inspector/index.ts"},{"name":"./html-tree-inspector","loc":{"line":9,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/html-tree-inspector.ts"},{"name":"./mixins/component","loc":{"line":10,"column":44},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/mixins/component.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"@atjson/document\")),n=e(require(\"@atjson/renderer-commonmark\"));require(\"./document-inspector\"),require(\"./html-tree-inspector\");const o=e(require(\"./mixins/component\"));class i extends o.default{renderAll(e){let n;e&&(this._document=e.detail.document),this._document instanceof t.default&&(n=this._document,this._pendingCallback||(this._pendingCallback=(()=>{this.updateHtmlTreeInspector(n),this.renderMarkdown(n),this.renderInspector(n),delete this._pendingCallback}),window.requestIdleCallback(this._pendingCallback)))}renderMarkdown(e){if(this.activeTab(\"commonmark-tab\")){let t=this.shadowRoot.querySelector(\".markdown\"),o=n.default.render(e);t&&(t.textContent=o)}}renderInspector(e){let t=this.shadowRoot.querySelector(\"inspector-gadget\"),n=this.querySelector(\"offset-editor\");t&&(t.setDocument(e),t.setSelection(n.getSelection()))}updateHtmlTreeInspector(e){this.activeTab(\"html-tab\")&&this.shadowRoot.querySelector(\"html-tree-inspector\").dispatchEvent(new CustomEvent(\"change\",{detail:{document:e}}))}activeTab(e){let t=this.shadowRoot.querySelector(\".tabs > .active\");return!!t&&t.classList.contains(e)}}i.template='<h1><offset-logo></offset-logo></h1><div class=\"demo\"><section class=\"editor\"><header class=\"tabs\"><div class=\"editor-tab active\" data-target=\"editor-container\">Editor</div><div class=\"html-tab\" data-target=\"html-container\">HTML</div><div class=\"commonmark-tab\" data-target=\"commonmark-container\">Commonmark</div></header><section class=\"editor-container active\"><slot></slot></section><section class=\"html-container\"><html-tree-inspector></html-tree-inspector></section><section class=\"commonmark-container\"><div class=\"markdown\"></div></section></section><section class=\"inspector\"><section class=\"inspector-gadget\"><inspector-gadget></inspector-gadget></section></section></div>',i.events={change:\"renderAll\",\"click .tabs\"(e){let t=e.path[0].getAttribute(\"data-target\"),n=this.shadowRoot.querySelector(\".editor > .active\");n&&n.classList.remove(\"active\"),this.shadowRoot.querySelector(\".editor > .\"+t).classList.add(\"active\"),this.shadowRoot.querySelector(\".editor > .tabs > .active\").classList.remove(\"active\"),e.path[0].classList.add(\"active\"),this.renderAll()},addComponent(e){this.shadowRoot.querySelector(\"html-tree-inspector\").addComponent(e.detail.component)}},i.style=\"\\n :host {\\n max-height: 100vh;\\n max-width: 100vw;\\n margin: 0;\\n padding: 0;\\n display: flex;\\n flex-direction: column;\\n }\\n\\n :host > h1 {\\n padding: 1ex;\\n margin: 0;\\n border-bottom: 1px solid #bbb;\\n background-color: #f3f3f3\\n }\\n\\n .demo {\\n display: flex;\\n flex-direction: row;\\n margin: 0;\\n padding: 0;\\n height: 100vh;\\n width: 100vw;\\n overflow: hidden;\\n }\\n\\n .demo > section {\\n position: relative;\\n flex-grow: 1;\\n max-height: 100%;\\n width: 50%;\\n }\\n\\n .editor {\\n padding-right: 1px;\\n padding-bottom: 2em;\\n border-right: 1px solid #ccc;\\n }\\n\\n .tabs {\\n display: flex;\\n flex-direction: row;\\n justify-content: flex-start;\\n background-color: #f3f3f3;\\n color: #333;\\n font-family: 'Segoe UI', Tahoma, sans-serif;\\n height: 26px;\\n line-height: 15px;\\n font-size: 12px;\\n border-bottom: 1px solid #ccc;\\n position: sticky;\\n top: 0;\\n }\\n\\n .tabs > div {\\n padding: 4px 1em;\\n border-bottom: 1px solid #ccc;\\n }\\n\\n .tabs > div:hover {\\n background-color: #eaeaea;\\n cursor: pointer;\\n }\\n\\n .tabs > .active {\\n border-bottom: 2px solid #03a9f4;\\n }\\n\\n .editor > section {\\n display: none;\\n overflow-y: auto;\\n position: relative;\\n max-height: calc(100% - 24px);\\n box-sizing: border-box;\\n padding: 1em;\\n }\\n\\n .editor > section.active {\\n display: inherit;\\n }\\n\\n .markdown {\\n white-space: pre-wrap;\\n font-family: Consolas, Lucida Console, Courier New, monospace;\\n }\\n \",exports.default=i,window.customElements.get(\"offset-editor-demo\")||window.customElements.define(\"offset-editor-demo\",i);","map":{"mappings":[{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":0}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":13}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":17}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":19}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":25}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":30}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":47}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":56}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":59}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":66}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":69}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":71}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":82}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":84}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":85}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":93}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":97}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":104}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":119}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":127}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":140}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":141}},{"source":"../src/index.ts","name":null,"original":{"line":204,"column":1},"generated":{"line":1,"column":148}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":191}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":193}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":195}},{"source":"../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":203}},{"source":"../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":235}},{"source":"../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":243}},{"source":"../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":267}},{"source":"../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":275}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":300}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":306}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":308}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":310}},{"source":"../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":318}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":341}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":21},"generated":{"line":1,"column":347}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":46},"generated":{"line":1,"column":357}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":46},"generated":{"line":1,"column":359}},{"source":"../src/index.ts","name":null,"original":{"line":138,"column":2},"generated":{"line":1,"column":367}},{"source":"../src/index.ts","name":null,"original":{"line":138,"column":12},"generated":{"line":1,"column":377}},{"source":"../src/index.ts","name":null,"original":{"line":142,"column":8},"generated":{"line":1,"column":380}},{"source":"../src/index.ts","name":null,"original":{"line":142,"column":8},"generated":{"line":1,"column":384}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":8},"generated":{"line":1,"column":386}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":13},"generated":{"line":1,"column":390}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":18},"generated":{"line":1,"column":395}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":30},"generated":{"line":1,"column":405}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":34},"generated":{"line":1,"column":407}},{"source":"../src/index.ts","name":null,"original":{"line":140,"column":41},"generated":{"line":1,"column":414}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":8},"generated":{"line":1,"column":424}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":13},"generated":{"line":1,"column":429}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":34},"generated":{"line":1,"column":450}},{"source":"../src/index.ts","name":null,"original":{"line":143,"column":34},"generated":{"line":1,"column":452}},{"source":"../src/index.ts","name":null,"original":{"line":144,"column":6},"generated":{"line":1,"column":462}},{"source":"../src/index.ts","name":null,"original":{"line":144,"column":12},"generated":{"line":1,"column":464}},{"source":"../src/index.ts","name":null,"original":{"line":144,"column":17},"generated":{"line":1,"column":469}},{"source":"../src/index.ts","name":null,"original":{"line":149,"column":8},"generated":{"line":1,"column":479}},{"source":"../src/index.ts","name":null,"original":{"line":149,"column":13},"generated":{"line":1,"column":484}},{"source":"../src/index.ts","name":null,"original":{"line":151,"column":9},"generated":{"line":1,"column":503}},{"source":"../src/index.ts","name":null,"original":{"line":151,"column":9},"generated":{"line":1,"column":508}},{"source":"../src/index.ts","name":null,"original":{"line":151,"column":28},"generated":{"line":1,"column":525}},{"source":"../src/index.ts","name":null,"original":{"line":152,"column":11},"generated":{"line":1,"column":531}},{"source":"../src/index.ts","name":null,"original":{"line":152,"column":11},"generated":{"line":1,"column":536}},{"source":"../src/index.ts","name":null,"original":{"line":152,"column":35},"generated":{"line":1,"column":560}},{"source":"../src/index.ts","name":null,"original":{"line":153,"column":11},"generated":{"line":1,"column":563}},{"source":"../src/index.ts","name":null,"original":{"line":153,"column":11},"generated":{"line":1,"column":568}},{"source":"../src/index.ts","name":null,"original":{"line":153,"column":26},"generated":{"line":1,"column":583}},{"source":"../src/index.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":586}},{"source":"../src/index.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":591}},{"source":"../src/index.ts","name":null,"original":{"line":154,"column":27},"generated":{"line":1,"column":607}},{"source":"../src/index.ts","name":null,"original":{"line":155,"column":13},"generated":{"line":1,"column":617}},{"source":"../src/index.ts","name":null,"original":{"line":155,"column":18},"generated":{"line":1,"column":622}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":4},"generated":{"line":1,"column":641}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":11},"generated":{"line":1,"column":648}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":31},"generated":{"line":1,"column":668}},{"source":"../src/index.ts","name":null,"original":{"line":158,"column":36},"generated":{"line":1,"column":673}},{"source":"../src/index.ts","name":null,"original":{"line":161,"column":2},"generated":{"line":1,"column":693}},{"source":"../src/index.ts","name":null,"original":{"line":161,"column":17},"generated":{"line":1,"column":708}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":8},"generated":{"line":1,"column":711}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":8},"generated":{"line":1,"column":714}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":13},"generated":{"line":1,"column":719}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":23},"generated":{"line":1,"column":729}},{"source":"../src/index.ts","name":null,"original":{"line":162,"column":42},"generated":{"line":1,"column":747}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":10},"generated":{"line":1,"column":748}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":10},"generated":{"line":1,"column":752}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":26},"generated":{"line":1,"column":754}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":31},"generated":{"line":1,"column":759}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":42},"generated":{"line":1,"column":770}},{"source":"../src/index.ts","name":null,"original":{"line":163,"column":56},"generated":{"line":1,"column":784}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":10},"generated":{"line":1,"column":797}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":21},"generated":{"line":1,"column":799}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":21},"generated":{"line":1,"column":801}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":40},"generated":{"line":1,"column":809}},{"source":"../src/index.ts","name":null,"original":{"line":164,"column":47},"generated":{"line":1,"column":816}},{"source":"../src/index.ts","name":null,"original":{"line":165,"column":10},"generated":{"line":1,"column":819}},{"source":"../src/index.ts","name":null,"original":{"line":166,"column":8},"generated":{"line":1,"column":823}},{"source":"../src/index.ts","name":null,"original":{"line":166,"column":22},"generated":{"line":1,"column":825}},{"source":"../src/index.ts","name":null,"original":{"line":166,"column":36},"generated":{"line":1,"column":837}},{"source":"../src/index.ts","name":null,"original":{"line":171,"column":2},"generated":{"line":1,"column":841}},{"source":"../src/index.ts","name":null,"original":{"line":171,"column":18},"generated":{"line":1,"column":857}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":8},"generated":{"line":1,"column":860}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":8},"generated":{"line":1,"column":864}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":43},"generated":{"line":1,"column":866}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":48},"generated":{"line":1,"column":871}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":59},"generated":{"line":1,"column":882}},{"source":"../src/index.ts","name":null,"original":{"line":175,"column":73},"generated":{"line":1,"column":896}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":8},"generated":{"line":1,"column":916}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":17},"generated":{"line":1,"column":918}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":22},"generated":{"line":1,"column":923}},{"source":"../src/index.ts","name":null,"original":{"line":176,"column":36},"generated":{"line":1,"column":937}},{"source":"../src/index.ts","name":null,"original":{"line":178,"column":8},"generated":{"line":1,"column":954}},{"source":"../src/index.ts","name":null,"original":{"line":179,"column":6},"generated":{"line":1,"column":958}},{"source":"../src/index.ts","name":null,"original":{"line":179,"column":22},"generated":{"line":1,"column":960}},{"source":"../src/index.ts","name":null,"original":{"line":179,"column":34},"generated":{"line":1,"column":972}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":6},"generated":{"line":1,"column":975}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":22},"generated":{"line":1,"column":977}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":35},"generated":{"line":1,"column":990}},{"source":"../src/index.ts","name":null,"original":{"line":180,"column":42},"generated":{"line":1,"column":992}},{"source":"../src/index.ts","name":null,"original":{"line":184,"column":2},"generated":{"line":1,"column":1009}},{"source":"../src/index.ts","name":null,"original":{"line":184,"column":26},"generated":{"line":1,"column":1033}},{"source":"../src/index.ts","name":null,"original":{"line":185,"column":8},"generated":{"line":1,"column":1036}},{"source":"../src/index.ts","name":null,"original":{"line":185,"column":13},"generated":{"line":1,"column":1041}},{"source":"../src/index.ts","name":null,"original":{"line":185,"column":23},"generated":{"line":1,"column":1051}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":11},"generated":{"line":1,"column":1064}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":11},"generated":{"line":1,"column":1069}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":22},"generated":{"line":1,"column":1080}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":36},"generated":{"line":1,"column":1094}},{"source":"../src/index.ts","name":null,"original":{"line":186,"column":59},"generated":{"line":1,"column":1117}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":8},"generated":{"line":1,"column":1131}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":12},"generated":{"line":1,"column":1135}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":24},"generated":{"line":1,"column":1147}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":34},"generated":{"line":1,"column":1156}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":35},"generated":{"line":1,"column":1157}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":43},"generated":{"line":1,"column":1164}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":44},"generated":{"line":1,"column":1165}},{"source":"../src/index.ts","name":null,"original":{"line":187,"column":54},"generated":{"line":1,"column":1174}},{"source":"../src/index.ts","name":null,"original":{"line":192,"column":2},"generated":{"line":1,"column":1180}},{"source":"../src/index.ts","name":null,"original":{"line":192,"column":12},"generated":{"line":1,"column":1190}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":8},"generated":{"line":1,"column":1193}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":8},"generated":{"line":1,"column":1197}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":20},"generated":{"line":1,"column":1199}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":25},"generated":{"line":1,"column":1204}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":36},"generated":{"line":1,"column":1215}},{"source":"../src/index.ts","name":null,"original":{"line":193,"column":50},"generated":{"line":1,"column":1229}},{"source":"../src/index.ts","name":null,"original":{"line":194,"column":8},"generated":{"line":1,"column":1248}},{"source":"../src/index.ts","name":null,"original":{"line":194,"column":8},"generated":{"line":1,"column":1256}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":13},"generated":{"line":1,"column":1259}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":23},"generated":{"line":1,"column":1261}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":33},"generated":{"line":1,"column":1271}},{"source":"../src/index.ts","name":null,"original":{"line":195,"column":42},"generated":{"line":1,"column":1280}},{"source":"../src/index.ts","name":null,"original":{"line":9,"column":9},"generated":{"line":1,"column":1284}},{"source":"../src/index.ts","name":null,"original":{"line":9,"column":9},"generated":{"line":1,"column":1286}},{"source":"../src/index.ts","name":null,"original":{"line":9,"column":20},"generated":{"line":1,"column":1295}},{"source":"../src/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1979}},{"source":"../src/index.ts","name":null,"original":{"line":26,"column":9},"generated":{"line":1,"column":1981}},{"source":"../src/index.ts","name":null,"original":{"line":26,"column":18},"generated":{"line":1,"column":1988}},{"source":"../src/index.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":1989}},{"source":"../src/index.ts","name":null,"original":{"line":27,"column":14},"generated":{"line":1,"column":1996}},{"source":"../src/index.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":1,"column":2008}},{"source":"../src/index.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":1,"column":2022}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":10},"generated":{"line":1,"column":2025}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":10},"generated":{"line":1,"column":2029}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":27},"generated":{"line":1,"column":2031}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":33},"generated":{"line":1,"column":2033}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":38},"generated":{"line":1,"column":2038}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":41},"generated":{"line":1,"column":2041}},{"source":"../src/index.ts","name":null,"original":{"line":30,"column":54},"generated":{"line":1,"column":2054}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":10},"generated":{"line":1,"column":2069}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":19},"generated":{"line":1,"column":2071}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":24},"generated":{"line":1,"column":2076}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":35},"generated":{"line":1,"column":2087}},{"source":"../src/index.ts","name":null,"original":{"line":31,"column":49},"generated":{"line":1,"column":2101}},{"source":"../src/index.ts","name":null,"original":{"line":32,"column":10},"generated":{"line":1,"column":2122}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":2125}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":15},"generated":{"line":1,"column":2127}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":25},"generated":{"line":1,"column":2137}},{"source":"../src/index.ts","name":null,"original":{"line":33,"column":32},"generated":{"line":1,"column":2144}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":11},"generated":{"line":1,"column":2154}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":11},"generated":{"line":1,"column":2159}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":22},"generated":{"line":1,"column":2170}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":36},"generated":{"line":1,"column":2184}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":52},"generated":{"line":1,"column":2198}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":68},"generated":{"line":1,"column":2201}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":78},"generated":{"line":1,"column":2211}},{"source":"../src/index.ts","name":null,"original":{"line":35,"column":82},"generated":{"line":1,"column":2215}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":2225}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":11},"generated":{"line":1,"column":2230}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":22},"generated":{"line":1,"column":2241}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":36},"generated":{"line":1,"column":2255}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":65},"generated":{"line":1,"column":2284}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":75},"generated":{"line":1,"column":2294}},{"source":"../src/index.ts","name":null,"original":{"line":36,"column":82},"generated":{"line":1,"column":2301}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":6},"generated":{"line":1,"column":2311}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":12},"generated":{"line":1,"column":2313}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":17},"generated":{"line":1,"column":2318}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":20},"generated":{"line":1,"column":2321}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":30},"generated":{"line":1,"column":2331}},{"source":"../src/index.ts","name":null,"original":{"line":37,"column":34},"generated":{"line":1,"column":2335}},{"source":"../src/index.ts","name":null,"original":{"line":39,"column":11},"generated":{"line":1,"column":2345}},{"source":"../src/index.ts","name":null,"original":{"line":39,"column":11},"generated":{"line":1,"column":2350}},{"source":"../src/index.ts","name":null,"original":{"line":42,"column":19},"generated":{"line":1,"column":2363}},{"source":"../src/index.ts","name":null,"original":{"line":42,"column":19},"generated":{"line":1,"column":2376}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":11},"generated":{"line":1,"column":2379}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":11},"generated":{"line":1,"column":2384}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":22},"generated":{"line":1,"column":2395}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":36},"generated":{"line":1,"column":2409}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":59},"generated":{"line":1,"column":2432}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":72},"generated":{"line":1,"column":2445}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":78},"generated":{"line":1,"column":2447}},{"source":"../src/index.ts","name":null,"original":{"line":43,"column":85},"generated":{"line":1,"column":2454}},{"source":"../src/index.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":2467}},{"source":"../src/index.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":2469}},{"source":"../src/index.ts","name":null,"original":{"line":47,"column":17},"generated":{"line":1,"column":2475}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":4206}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":4214}},{"source":"../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":4222}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":5},"generated":{"line":1,"column":4224}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":12},"generated":{"line":1,"column":4231}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":27},"generated":{"line":1,"column":4246}},{"source":"../src/index.ts","name":null,"original":{"line":202,"column":31},"generated":{"line":1,"column":4250}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":2},"generated":{"line":1,"column":4273}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":9},"generated":{"line":1,"column":4280}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":24},"generated":{"line":1,"column":4295}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":31},"generated":{"line":1,"column":4302}},{"source":"../src/index.ts","name":null,"original":{"line":203,"column":53},"generated":{"line":1,"column":4323}}],"sources":{"../src/index.ts":"import Document from '@atjson/document';\nimport CommonmarkRenderer from '@atjson/renderer-commonmark';\nimport InspectorGadget from './document-inspector';\nimport './document-inspector';\nimport './html-tree-inspector';\nimport WebComponent from './mixins/component';\n\nexport default class OffsetEditorDemo extends WebComponent {\n static template = '<h1><offset-logo></offset-logo></h1>' +\n '<div class=\"demo\">' +\n '<section class=\"editor\">' +\n '<header class=\"tabs\">' +\n '<div class=\"editor-tab active\" data-target=\"editor-container\">Editor</div>' +\n '<div class=\"html-tab\" data-target=\"html-container\">HTML</div>' +\n '<div class=\"commonmark-tab\" data-target=\"commonmark-container\">Commonmark</div>' +\n '</header>' +\n '<section class=\"editor-container active\"><slot></slot></section>' +\n '<section class=\"html-container\"><html-tree-inspector></html-tree-inspector></section>' +\n '<section class=\"commonmark-container\"><div class=\"markdown\"></div></section>' +\n '</section>' +\n '<section class=\"inspector\">' +\n '<section class=\"inspector-gadget\"><inspector-gadget></inspector-gadget></section>' +\n '</section>' +\n '</div>';\n\n static events = {\n 'change': 'renderAll',\n\n 'click .tabs'(event) {\n let targetTabClass = event.path[0].getAttribute('data-target');\n let active = this.shadowRoot.querySelector('.editor > .active');\n if (active) {\n active.classList.remove('active');\n }\n this.shadowRoot.querySelector('.editor > .' + targetTabClass).classList.add('active');\n this.shadowRoot.querySelector('.editor > .tabs > .active').classList.remove('active');\n event.path[0].classList.add('active');\n\n this.renderAll();\n },\n\n 'addComponent'(event) {\n this.shadowRoot.querySelector('html-tree-inspector').addComponent(event.detail.component);\n }\n };\n\n static style = `\n :host {\n max-height: 100vh;\n max-width: 100vw;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n }\n\n :host > h1 {\n padding: 1ex;\n margin: 0;\n border-bottom: 1px solid #bbb;\n background-color: #f3f3f3\n }\n\n .demo {\n display: flex;\n flex-direction: row;\n margin: 0;\n padding: 0;\n height: 100vh;\n width: 100vw;\n overflow: hidden;\n }\n\n .demo > section {\n position: relative;\n flex-grow: 1;\n max-height: 100%;\n width: 50%;\n }\n\n .editor {\n padding-right: 1px;\n padding-bottom: 2em;\n border-right: 1px solid #ccc;\n }\n\n .tabs {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n background-color: #f3f3f3;\n color: #333;\n font-family: 'Segoe UI', Tahoma, sans-serif;\n height: 26px;\n line-height: 15px;\n font-size: 12px;\n border-bottom: 1px solid #ccc;\n position: sticky;\n top: 0;\n }\n\n .tabs > div {\n padding: 4px 1em;\n border-bottom: 1px solid #ccc;\n }\n\n .tabs > div:hover {\n background-color: #eaeaea;\n cursor: pointer;\n }\n\n .tabs > .active {\n border-bottom: 2px solid #03a9f4;\n }\n\n .editor > section {\n display: none;\n overflow-y: auto;\n position: relative;\n max-height: calc(100% - 24px);\n box-sizing: border-box;\n padding: 1em;\n }\n\n .editor > section.active {\n display: inherit;\n }\n\n .markdown {\n white-space: pre-wrap;\n font-family: Consolas, Lucida Console, Courier New, monospace;\n }\n `;\n\n _pendingCallback: () => void;\n _document?: Document;\n\n renderAll(evt?: CustomEvent) {\n\n if (evt) this._document = evt.detail.document;\n\n let doc: Document;\n if (this._document instanceof Document) {\n doc = this._document;\n } else {\n return;\n }\n\n if (this._pendingCallback) return;\n\n this._pendingCallback = () => {\n this.updateHtmlTreeInspector(doc);\n this.renderMarkdown(doc);\n this.renderInspector(doc);\n delete this._pendingCallback;\n };\n\n window.requestIdleCallback(this._pendingCallback);\n }\n\n renderMarkdown(doc: Document) {\n if (this.activeTab('commonmark-tab')) {\n let outputElement = this.shadowRoot.querySelector('.markdown');\n let rendered = CommonmarkRenderer.render(doc);\n if (outputElement) {\n outputElement.textContent = rendered;\n }\n }\n }\n\n renderInspector(doc: Document) {\n // This is really ineffecient, because we're calling it every document\n // change at the moment. To fix this, we need a new \"changedocument\" or\n // similar event on the editor.\n let inspectorGadget: InspectorGadget = this.shadowRoot.querySelector('inspector-gadget');\n let editor = this.querySelector('offset-editor');\n\n if (inspectorGadget) {\n inspectorGadget.setDocument(doc);\n inspectorGadget.setSelection(editor.getSelection());\n }\n }\n\n updateHtmlTreeInspector(doc: Document) {\n if (this.activeTab('html-tab')) {\n this.shadowRoot.querySelector('html-tree-inspector').dispatchEvent(\n new CustomEvent('change', {detail: {document: doc}})\n );\n }\n }\n\n activeTab(wanted: string) {\n let activeTab = this.shadowRoot.querySelector('.tabs > .active');\n if (activeTab) {\n return activeTab.classList.contains(wanted);\n } else {\n return false;\n }\n }\n}\n\nif (!window.customElements.get('offset-editor-demo')) {\n window.customElements.define('offset-editor-demo', OffsetEditorDemo);\n}\n"},"lineCount":null}},"hash":"cd32a65c0f59cfb1d916f97e046c0281","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"Aqq6","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/underline.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"u\")}}exports.default=e,e.annotationName=\"underline\";","map":{"mappings":[{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":195}}],"sources":{"../../../src/components/underline.ts":"export default class OffsetUnderlineElement {\n\n static annotationName = 'underline';\n\n static elementRenderer(): Element {\n return document.createElement('u');\n }\n}\n"},"lineCount":null}},"hash":"a953d891dcca1802502c5e67bba01436","cacheData":{"env":{}}} | ||
{"id":"Aqq6","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/underline.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"u\")}}exports.default=e,e.annotationName=\"underline\";","map":{"mappings":[{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/underline.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":195}}],"sources":{"../../../src/components/underline.ts":"export default class OffsetUnderlineElement {\n\n static annotationName = 'underline';\n\n static elementRenderer(): Element {\n return document.createElement('u');\n }\n}\n"},"lineCount":null}},"hash":"a953d891dcca1802502c5e67bba01436","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"0IR/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/src/mixins/events.ts","includedInParent":true,"mtime":1545342158118},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/package.json","includedInParent":true,"mtime":1550104714762}],"generated":{"js":"\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),r=s.join(\" \");if(\"document\"===r)return{eventName:n,element:document};if(\"window\"===r)return{eventName:n,element:window};if(\"\"===r)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(r)||e.querySelector(r)}}}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class t extends HTMLElement{constructor(){super(),this.eventHandlers={}}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:r}=e(this,n),o=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof o){const t=this[o];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${o}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return o.call(this,e)}),r.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=t;","map":{"mappings":[{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":0}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":1,"column":22}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":1,"column":24}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":1,"column":26}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":29}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":33}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":1,"column":38}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":1,"column":41}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":1,"column":43}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":1,"column":49}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":1,"column":54}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":1,"column":56}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":1,"column":58}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":1,"column":63}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":1,"column":68}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":1,"column":71}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":1,"column":84}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":1,"column":86}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":1,"column":92}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":93}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":103}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":1,"column":105}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":1,"column":113}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":123}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":1,"column":126}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":137}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":139}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":145}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":146}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":156}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":1,"column":158}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":1,"column":166}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":1,"column":177}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":1,"column":182}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":1,"column":184}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":1,"column":190}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":1,"column":191}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":1,"column":201}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":203}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":211}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":1,"column":214}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":215}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":219}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":1,"column":221}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":1,"column":227}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":228}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":238}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":1,"column":240}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":248}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":1,"column":250}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":1,"column":252}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":1,"column":264}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":1,"column":266}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":1,"column":277}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":1,"column":291}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":1,"column":295}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":1,"column":297}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":1,"column":311}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":316}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":323}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":338}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":346}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":359}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":360}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":367}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":371}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":379}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":392}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":14},"generated":{"line":1,"column":394}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":21},"generated":{"line":1,"column":400}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":44},"generated":{"line":1,"column":410}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":64,"column":2},"generated":{"line":1,"column":422}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":65,"column":4},"generated":{"line":1,"column":436}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":66,"column":9},"generated":{"line":1,"column":444}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":66,"column":9},"generated":{"line":1,"column":449}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":66,"column":25},"generated":{"line":1,"column":463}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":1,"column":466}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":70,"column":8},"generated":{"line":1,"column":486}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":71,"column":8},"generated":{"line":1,"column":490}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":70,"column":25},"generated":{"line":1,"column":492}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":70,"column":30},"generated":{"line":1,"column":497}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":71,"column":57},"generated":{"line":1,"column":509}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":71,"column":67},"generated":{"line":1,"column":517}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":1,"column":520}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":11},"generated":{"line":1,"column":527}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":16},"generated":{"line":1,"column":532}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":24},"generated":{"line":1,"column":535}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":33},"generated":{"line":1,"column":543}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":547}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":551}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":12},"generated":{"line":1,"column":561}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":563}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":23},"generated":{"line":1,"column":571}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":35},"generated":{"line":1,"column":574}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":58},"generated":{"line":1,"column":576}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":64},"generated":{"line":1,"column":581}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":1,"column":584}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":74,"column":19},"generated":{"line":1,"column":586}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":1,"column":588}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":11},"generated":{"line":1,"column":591}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":11},"generated":{"line":1,"column":596}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":25},"generated":{"line":1,"column":610}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":1,"column":613}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":1,"column":614}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":12},"generated":{"line":1,"column":618}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":30},"generated":{"line":1,"column":621}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":19},"generated":{"line":1,"column":638}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":40},"generated":{"line":1,"column":640}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":16},"generated":{"line":1,"column":641}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":16},"generated":{"line":1,"column":647}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":66},"generated":{"line":1,"column":649}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":71},"generated":{"line":1,"column":654}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":657}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":660}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":78,"column":38},"generated":{"line":1,"column":673}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":19},"generated":{"line":1,"column":682}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":19},"generated":{"line":1,"column":689}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":32},"generated":{"line":1,"column":691}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":37},"generated":{"line":1,"column":696}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":43},"generated":{"line":1,"column":701}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":18},"generated":{"line":1,"column":704}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":18},"generated":{"line":1,"column":710}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":22},"generated":{"line":1,"column":714}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":36},"generated":{"line":1,"column":728}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":67},"generated":{"line":1,"column":754}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":72},"generated":{"line":1,"column":759}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":17},"generated":{"line":1,"column":810}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":17},"generated":{"line":1,"column":817}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":24},"generated":{"line":1,"column":819}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":29},"generated":{"line":1,"column":824}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":35},"generated":{"line":1,"column":829}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":6},"generated":{"line":1,"column":834}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":1,"column":836}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":31},"generated":{"line":1,"column":853}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":42},"generated":{"line":1,"column":855}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":47},"generated":{"line":1,"column":860}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":61},"generated":{"line":1,"column":874}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":91,"column":2},"generated":{"line":1,"column":880}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":4},"generated":{"line":1,"column":903}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":11},"generated":{"line":1,"column":910}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":16},"generated":{"line":1,"column":915}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":21},"generated":{"line":1,"column":920}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":36},"generated":{"line":1,"column":935}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":44},"generated":{"line":1,"column":943}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":947}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":951}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":12},"generated":{"line":1,"column":961}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":963}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":23},"generated":{"line":1,"column":971}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":35},"generated":{"line":1,"column":974}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":58},"generated":{"line":1,"column":976}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":64},"generated":{"line":1,"column":981}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":6},"generated":{"line":1,"column":984}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":14},"generated":{"line":1,"column":986}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":34},"generated":{"line":1,"column":1006}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":45},"generated":{"line":1,"column":1008}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":50},"generated":{"line":1,"column":1013}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":64},"generated":{"line":1,"column":1027}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":96,"column":9},"generated":{"line":1,"column":1033}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":96,"column":9},"generated":{"line":1,"column":1038}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":96,"column":25},"generated":{"line":1,"column":1052}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":1056}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":1064}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":1072}}],"sources":{"../../../src/mixins/events.ts":"export type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class EventComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof EventComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"ecfb35fc381eb6a9eccde2da80d27521","cacheData":{"env":{}}} | ||
{"id":"0IR/","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/src/mixins/events.ts","includedInParent":true,"mtime":1545342158118},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/package.json","includedInParent":true,"mtime":1550111425157}],"generated":{"js":"\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),r=s.join(\" \");if(\"document\"===r)return{eventName:n,element:document};if(\"window\"===r)return{eventName:n,element:window};if(\"\"===r)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(r)||e.querySelector(r)}}}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class t extends HTMLElement{constructor(){super(),this.eventHandlers={}}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:r}=e(this,n),o=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof o){const t=this[o];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${o}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return o.call(this,e)}),r.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=t;","map":{"mappings":[{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":0}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":1,"column":22}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":1,"column":24}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":1,"column":26}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":1,"column":29}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":33}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":1,"column":38}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":1,"column":41}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":1,"column":43}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":1,"column":49}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":1,"column":54}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":1,"column":56}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":1,"column":58}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":1,"column":63}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":1,"column":68}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":1,"column":71}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":1,"column":84}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":1,"column":86}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":1,"column":92}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":93}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":1,"column":103}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":1,"column":105}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":1,"column":113}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":123}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":1,"column":126}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":1,"column":137}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":139}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":1,"column":145}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":146}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":156}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":1,"column":158}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":1,"column":166}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":1,"column":177}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":1,"column":182}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":1,"column":184}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":1,"column":190}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":1,"column":191}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":1,"column":201}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":203}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":211}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":1,"column":214}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":215}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":1,"column":219}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":1,"column":221}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":1,"column":227}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":228}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":238}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":1,"column":240}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":1,"column":248}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":1,"column":250}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":1,"column":252}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":1,"column":264}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":1,"column":266}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":1,"column":277}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":1,"column":291}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":1,"column":295}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":1,"column":297}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":1,"column":311}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":316}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":323}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":338}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":346}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":359}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":360}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":367}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":371}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":379}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":392}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":14},"generated":{"line":1,"column":394}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":21},"generated":{"line":1,"column":400}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":44},"generated":{"line":1,"column":410}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":64,"column":2},"generated":{"line":1,"column":422}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":65,"column":4},"generated":{"line":1,"column":436}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":66,"column":9},"generated":{"line":1,"column":444}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":66,"column":9},"generated":{"line":1,"column":449}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":66,"column":25},"generated":{"line":1,"column":463}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":1,"column":466}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":70,"column":8},"generated":{"line":1,"column":486}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":71,"column":8},"generated":{"line":1,"column":490}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":70,"column":25},"generated":{"line":1,"column":492}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":70,"column":30},"generated":{"line":1,"column":497}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":71,"column":57},"generated":{"line":1,"column":509}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":71,"column":67},"generated":{"line":1,"column":517}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":1,"column":520}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":11},"generated":{"line":1,"column":527}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":16},"generated":{"line":1,"column":532}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":24},"generated":{"line":1,"column":535}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":72,"column":33},"generated":{"line":1,"column":543}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":547}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":551}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":12},"generated":{"line":1,"column":561}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":563}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":23},"generated":{"line":1,"column":571}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":35},"generated":{"line":1,"column":574}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":58},"generated":{"line":1,"column":576}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":73,"column":64},"generated":{"line":1,"column":581}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":1,"column":584}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":74,"column":19},"generated":{"line":1,"column":586}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":1,"column":588}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":11},"generated":{"line":1,"column":591}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":11},"generated":{"line":1,"column":596}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":25},"generated":{"line":1,"column":610}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":1,"column":613}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":1,"column":614}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":12},"generated":{"line":1,"column":618}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":30},"generated":{"line":1,"column":621}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":19},"generated":{"line":1,"column":638}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":76,"column":40},"generated":{"line":1,"column":640}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":16},"generated":{"line":1,"column":641}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":16},"generated":{"line":1,"column":647}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":66},"generated":{"line":1,"column":649}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":77,"column":71},"generated":{"line":1,"column":654}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":657}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":660}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":78,"column":38},"generated":{"line":1,"column":673}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":19},"generated":{"line":1,"column":682}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":19},"generated":{"line":1,"column":689}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":32},"generated":{"line":1,"column":691}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":37},"generated":{"line":1,"column":696}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":79,"column":43},"generated":{"line":1,"column":701}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":18},"generated":{"line":1,"column":704}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":18},"generated":{"line":1,"column":710}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":22},"generated":{"line":1,"column":714}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":36},"generated":{"line":1,"column":728}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":67},"generated":{"line":1,"column":754}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":81,"column":72},"generated":{"line":1,"column":759}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":17},"generated":{"line":1,"column":810}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":17},"generated":{"line":1,"column":817}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":24},"generated":{"line":1,"column":819}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":29},"generated":{"line":1,"column":824}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":84,"column":35},"generated":{"line":1,"column":829}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":6},"generated":{"line":1,"column":834}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":1,"column":836}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":31},"generated":{"line":1,"column":853}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":42},"generated":{"line":1,"column":855}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":47},"generated":{"line":1,"column":860}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":87,"column":61},"generated":{"line":1,"column":874}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":91,"column":2},"generated":{"line":1,"column":880}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":4},"generated":{"line":1,"column":903}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":11},"generated":{"line":1,"column":910}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":16},"generated":{"line":1,"column":915}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":21},"generated":{"line":1,"column":920}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":36},"generated":{"line":1,"column":935}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":92,"column":44},"generated":{"line":1,"column":943}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":947}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":951}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":12},"generated":{"line":1,"column":961}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":10},"generated":{"line":1,"column":963}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":23},"generated":{"line":1,"column":971}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":35},"generated":{"line":1,"column":974}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":58},"generated":{"line":1,"column":976}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":93,"column":64},"generated":{"line":1,"column":981}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":6},"generated":{"line":1,"column":984}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":14},"generated":{"line":1,"column":986}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":34},"generated":{"line":1,"column":1006}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":45},"generated":{"line":1,"column":1008}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":50},"generated":{"line":1,"column":1013}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":94,"column":64},"generated":{"line":1,"column":1027}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":96,"column":9},"generated":{"line":1,"column":1033}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":96,"column":9},"generated":{"line":1,"column":1038}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":96,"column":25},"generated":{"line":1,"column":1052}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":1056}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":1064}},{"source":"../../../src/mixins/events.ts","name":null,"original":{"line":58,"column":55},"generated":{"line":1,"column":1072}}],"sources":{"../../../src/mixins/events.ts":"export type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class EventComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof EventComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"ecfb35fc381eb6a9eccde2da80d27521","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"9BoS","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762}],"generated":{"js":"\n\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),o=s.join(\" \");if(\"document\"===o)return{eventName:n,element:document};if(\"window\"===o)return{eventName:n,element:window};if(\"\"===o)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(o)||e.querySelector(o)}}}function t(e,t){return window.customElements.get(e)||window.customElements.define(e,t),t}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.define=t;class n extends HTMLElement{static get compiledTemplate(){if(!this.compiledElement){this.compiledElement=document.createElement(\"template\");let e=this.style,t=this.template;e&&(t=`<style>${e}</style>${t}`),this.compiledElement.innerHTML=t}return this.compiledElement}constructor(){super(),this.eventHandlers={};let e=this.constructor;this.attachShadow({mode:\"open\"}).appendChild(e.compiledTemplate.content.cloneNode(!0))}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:o}=e(this,n),l=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof l){const t=this[l];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${l}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return l.call(this,e)}),o.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=n;","map":{"mappings":[{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":0}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":2,"column":13}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":2,"column":22}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":2,"column":24}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":2,"column":26}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":2,"column":29}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":2,"column":33}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":2,"column":38}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":2,"column":41}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":2,"column":43}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":2,"column":49}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":2,"column":54}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":2,"column":56}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":2,"column":58}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":2,"column":63}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":68}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":2,"column":71}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":84}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":86}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":92}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":93}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":103}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":2,"column":105}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":2,"column":113}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":2,"column":123}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":2,"column":126}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":2,"column":137}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":139}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":145}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":146}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":156}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":2,"column":158}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":2,"column":166}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":2,"column":174}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":2,"column":177}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":2,"column":182}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":184}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":190}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":191}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":201}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":203}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":211}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":2,"column":214}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":215}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":219}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":221}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":227}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":228}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":238}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":2,"column":240}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":2,"column":248}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":2,"column":250}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":2,"column":252}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":2,"column":264}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":2,"column":266}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":2,"column":277}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":2,"column":291}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":2,"column":295}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":2,"column":297}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":2,"column":311}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":316}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":2,"column":325}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":23},"generated":{"line":2,"column":327}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":2,"column":329}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":332}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":7},"generated":{"line":2,"column":339}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":2,"column":346}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":2,"column":361}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":33},"generated":{"line":2,"column":365}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":2,"column":369}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":11},"generated":{"line":2,"column":376}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":26},"generated":{"line":2,"column":391}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":33},"generated":{"line":2,"column":398}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":39},"generated":{"line":2,"column":400}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":403}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":405}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":412}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":427}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":435}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":448}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":449}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":456}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":460}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":468}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":475}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":477}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":21},"generated":{"line":2,"column":483}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":42},"generated":{"line":2,"column":493}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":2,"column":505}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":2,"column":535}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":2,"column":539}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":2,"column":544}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":31},"generated":{"line":2,"column":560}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":561}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":566}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":29},"generated":{"line":2,"column":582}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":38},"generated":{"line":2,"column":591}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":2,"column":605}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":617}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":621}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":2,"column":623}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":2,"column":628}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":2,"column":634}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":2,"column":636}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":2,"column":641}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":2,"column":650}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":2,"column":654}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":81,"column":25},"generated":{"line":2,"column":666}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":81,"column":48},"generated":{"line":2,"column":678}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":683}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":688}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":2,"column":704}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":39},"generated":{"line":2,"column":714}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":716}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":723}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":85,"column":16},"generated":{"line":2,"column":728}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":92,"column":2},"generated":{"line":2,"column":744}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":93,"column":4},"generated":{"line":2,"column":758}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":766}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":771}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":2,"column":785}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":788}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":792}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":25},"generated":{"line":2,"column":794}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":2,"column":799}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":21},"generated":{"line":2,"column":811}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":26},"generated":{"line":2,"column":816}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":39},"generated":{"line":2,"column":829}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":41},"generated":{"line":2,"column":830}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":47},"generated":{"line":2,"column":835}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":15},"generated":{"line":2,"column":844}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":27},"generated":{"line":2,"column":856}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":42},"generated":{"line":2,"column":858}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":59},"generated":{"line":2,"column":875}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":67},"generated":{"line":2,"column":883}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":77},"generated":{"line":2,"column":894}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":2,"column":898}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":2,"column":918}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":2,"column":922}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":101,"column":25},"generated":{"line":2,"column":924}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":101,"column":30},"generated":{"line":2,"column":929}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":102,"column":57},"generated":{"line":2,"column":941}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":102,"column":67},"generated":{"line":2,"column":949}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":4},"generated":{"line":2,"column":952}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":2,"column":959}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":2,"column":964}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":24},"generated":{"line":2,"column":967}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":33},"generated":{"line":2,"column":975}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":979}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":983}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":12},"generated":{"line":2,"column":993}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":995}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":23},"generated":{"line":2,"column":1003}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":35},"generated":{"line":2,"column":1006}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":58},"generated":{"line":2,"column":1008}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":64},"generated":{"line":2,"column":1013}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":2,"column":1016}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":2,"column":1018}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":2,"column":1020}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1023}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1028}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":2,"column":1042}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1045}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1046}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":2,"column":1050}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":30},"generated":{"line":2,"column":1053}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":2,"column":1070}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":40},"generated":{"line":2,"column":1072}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1073}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1079}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":66},"generated":{"line":2,"column":1081}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":71},"generated":{"line":2,"column":1086}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1089}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1092}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":109,"column":38},"generated":{"line":2,"column":1105}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1114}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1121}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":32},"generated":{"line":2,"column":1123}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":37},"generated":{"line":2,"column":1128}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":43},"generated":{"line":2,"column":1133}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1136}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1142}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":22},"generated":{"line":2,"column":1146}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":36},"generated":{"line":2,"column":1160}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":2,"column":1186}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":72},"generated":{"line":2,"column":1191}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1242}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1249}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":2,"column":1251}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":2,"column":1256}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":35},"generated":{"line":2,"column":1261}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":6},"generated":{"line":2,"column":1266}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":14},"generated":{"line":2,"column":1268}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":2,"column":1285}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":2,"column":1287}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":47},"generated":{"line":2,"column":1292}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":61},"generated":{"line":2,"column":1306}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":122,"column":2},"generated":{"line":2,"column":1312}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":4},"generated":{"line":2,"column":1335}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":11},"generated":{"line":2,"column":1342}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":16},"generated":{"line":2,"column":1347}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":2,"column":1352}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":36},"generated":{"line":2,"column":1367}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":44},"generated":{"line":2,"column":1375}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1379}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1383}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":12},"generated":{"line":2,"column":1393}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1395}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":23},"generated":{"line":2,"column":1403}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":35},"generated":{"line":2,"column":1406}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":58},"generated":{"line":2,"column":1408}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":64},"generated":{"line":2,"column":1413}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":2,"column":1416}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":14},"generated":{"line":2,"column":1418}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":34},"generated":{"line":2,"column":1438}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":45},"generated":{"line":2,"column":1440}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":50},"generated":{"line":2,"column":1445}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":64},"generated":{"line":2,"column":1459}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1465}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1470}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":127,"column":25},"generated":{"line":2,"column":1484}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":1488}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":1496}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":1504}}],"sources":{"../src/mixins/component.ts":"type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\ninterface TemplateElement extends HTMLElement {\n content: Node;\n}\n\nexport function define(name: string, component: typeof HTMLElement) {\n if (!window.customElements.get(name)) {\n window.customElements.define(name, component);\n }\n return component;\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class WebComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n static template: string;\n static style: string | null;\n private static compiledElement: TemplateElement;\n\n private static get compiledTemplate(): TemplateElement {\n if (!this.compiledElement) {\n this.compiledElement = document.createElement('template');\n let scopedStyles = this.style;\n let html = this.template;\n if (scopedStyles) {\n html = `<style>${scopedStyles}</style>${html}`;\n }\n this.compiledElement.innerHTML = html;\n }\n return this.compiledElement;\n }\n\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n let ComponentClass = this.constructor as typeof WebComponent;\n let shadowRoot = this.attachShadow({ mode: 'open' });\n shadowRoot.appendChild(ComponentClass.compiledTemplate.content.cloneNode(true));\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof WebComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"7525dad70eb4b5223a673834458a9272","cacheData":{"env":{}}} | ||
{"id":"9BoS","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157}],"generated":{"js":"\n\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),o=s.join(\" \");if(\"document\"===o)return{eventName:n,element:document};if(\"window\"===o)return{eventName:n,element:window};if(\"\"===o)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(o)||e.querySelector(o)}}}function t(e,t){return window.customElements.get(e)||window.customElements.define(e,t),t}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.define=t;class n extends HTMLElement{static get compiledTemplate(){if(!this.compiledElement){this.compiledElement=document.createElement(\"template\");let e=this.style,t=this.template;e&&(t=`<style>${e}</style>${t}`),this.compiledElement.innerHTML=t}return this.compiledElement}constructor(){super(),this.eventHandlers={};let e=this.constructor;this.attachShadow({mode:\"open\"}).appendChild(e.compiledTemplate.content.cloneNode(!0))}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:o}=e(this,n),l=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof l){const t=this[l];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${l}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return l.call(this,e)}),o.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=n;","map":{"mappings":[{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":0}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":2,"column":13}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":2,"column":22}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":2,"column":24}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":2,"column":26}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":2,"column":29}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":2,"column":33}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":2,"column":38}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":2,"column":41}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":2,"column":43}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":2,"column":49}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":2,"column":54}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":2,"column":56}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":2,"column":58}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":2,"column":63}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":68}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":2,"column":71}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":84}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":86}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":92}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":93}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":103}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":2,"column":105}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":2,"column":113}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":2,"column":123}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":2,"column":126}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":2,"column":137}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":139}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":145}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":146}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":156}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":2,"column":158}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":2,"column":166}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":2,"column":174}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":2,"column":177}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":2,"column":182}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":184}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":190}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":191}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":201}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":203}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":211}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":2,"column":214}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":215}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":219}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":221}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":227}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":228}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":238}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":2,"column":240}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":2,"column":248}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":2,"column":250}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":2,"column":252}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":2,"column":264}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":2,"column":266}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":2,"column":277}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":2,"column":291}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":2,"column":295}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":2,"column":297}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":2,"column":311}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":316}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":2,"column":325}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":23},"generated":{"line":2,"column":327}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":2,"column":329}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":332}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":7},"generated":{"line":2,"column":339}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":2,"column":346}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":2,"column":361}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":36,"column":33},"generated":{"line":2,"column":365}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":2,"column":369}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":11},"generated":{"line":2,"column":376}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":26},"generated":{"line":2,"column":391}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":33},"generated":{"line":2,"column":398}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":37,"column":39},"generated":{"line":2,"column":400}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":403}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":405}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":412}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":427}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":435}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":448}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":449}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":456}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":460}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":468}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":2,"column":475}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":477}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":21},"generated":{"line":2,"column":483}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":42},"generated":{"line":2,"column":493}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":2,"column":505}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":2,"column":535}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":2,"column":539}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":2,"column":544}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":76,"column":31},"generated":{"line":2,"column":560}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":561}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":566}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":29},"generated":{"line":2,"column":582}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":38},"generated":{"line":2,"column":591}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":2,"column":605}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":617}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":621}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":2,"column":623}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":2,"column":628}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":2,"column":634}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":2,"column":636}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":2,"column":641}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":2,"column":650}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":2,"column":654}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":81,"column":25},"generated":{"line":2,"column":666}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":81,"column":48},"generated":{"line":2,"column":678}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":683}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":688}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":2,"column":704}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":83,"column":39},"generated":{"line":2,"column":714}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":716}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":723}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":85,"column":16},"generated":{"line":2,"column":728}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":92,"column":2},"generated":{"line":2,"column":744}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":93,"column":4},"generated":{"line":2,"column":758}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":766}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":771}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":2,"column":785}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":788}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":792}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":25},"generated":{"line":2,"column":794}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":2,"column":799}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":21},"generated":{"line":2,"column":811}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":26},"generated":{"line":2,"column":816}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":39},"generated":{"line":2,"column":829}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":41},"generated":{"line":2,"column":830}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":96,"column":47},"generated":{"line":2,"column":835}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":15},"generated":{"line":2,"column":844}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":27},"generated":{"line":2,"column":856}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":42},"generated":{"line":2,"column":858}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":59},"generated":{"line":2,"column":875}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":67},"generated":{"line":2,"column":883}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":97,"column":77},"generated":{"line":2,"column":894}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":2,"column":898}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":2,"column":918}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":2,"column":922}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":101,"column":25},"generated":{"line":2,"column":924}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":101,"column":30},"generated":{"line":2,"column":929}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":102,"column":57},"generated":{"line":2,"column":941}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":102,"column":67},"generated":{"line":2,"column":949}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":4},"generated":{"line":2,"column":952}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":2,"column":959}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":2,"column":964}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":24},"generated":{"line":2,"column":967}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":103,"column":33},"generated":{"line":2,"column":975}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":979}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":983}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":12},"generated":{"line":2,"column":993}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":995}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":23},"generated":{"line":2,"column":1003}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":35},"generated":{"line":2,"column":1006}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":58},"generated":{"line":2,"column":1008}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":104,"column":64},"generated":{"line":2,"column":1013}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":2,"column":1016}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":2,"column":1018}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":2,"column":1020}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1023}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1028}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":2,"column":1042}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1045}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1046}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":2,"column":1050}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":30},"generated":{"line":2,"column":1053}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":2,"column":1070}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":107,"column":40},"generated":{"line":2,"column":1072}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1073}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1079}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":66},"generated":{"line":2,"column":1081}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":108,"column":71},"generated":{"line":2,"column":1086}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1089}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1092}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":109,"column":38},"generated":{"line":2,"column":1105}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1114}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1121}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":32},"generated":{"line":2,"column":1123}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":37},"generated":{"line":2,"column":1128}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":110,"column":43},"generated":{"line":2,"column":1133}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1136}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1142}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":22},"generated":{"line":2,"column":1146}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":36},"generated":{"line":2,"column":1160}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":2,"column":1186}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":112,"column":72},"generated":{"line":2,"column":1191}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1242}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1249}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":2,"column":1251}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":2,"column":1256}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":115,"column":35},"generated":{"line":2,"column":1261}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":6},"generated":{"line":2,"column":1266}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":14},"generated":{"line":2,"column":1268}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":2,"column":1285}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":2,"column":1287}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":47},"generated":{"line":2,"column":1292}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":118,"column":61},"generated":{"line":2,"column":1306}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":122,"column":2},"generated":{"line":2,"column":1312}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":4},"generated":{"line":2,"column":1335}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":11},"generated":{"line":2,"column":1342}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":16},"generated":{"line":2,"column":1347}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":2,"column":1352}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":36},"generated":{"line":2,"column":1367}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":123,"column":44},"generated":{"line":2,"column":1375}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1379}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1383}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":12},"generated":{"line":2,"column":1393}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1395}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":23},"generated":{"line":2,"column":1403}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":35},"generated":{"line":2,"column":1406}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":58},"generated":{"line":2,"column":1408}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":124,"column":64},"generated":{"line":2,"column":1413}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":2,"column":1416}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":14},"generated":{"line":2,"column":1418}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":34},"generated":{"line":2,"column":1438}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":45},"generated":{"line":2,"column":1440}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":50},"generated":{"line":2,"column":1445}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":125,"column":64},"generated":{"line":2,"column":1459}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1465}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1470}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":127,"column":25},"generated":{"line":2,"column":1484}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":1488}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":1496}},{"source":"../src/mixins/component.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":2,"column":1504}}],"sources":{"../src/mixins/component.ts":"type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\ninterface TemplateElement extends HTMLElement {\n content: Node;\n}\n\nexport function define(name: string, component: typeof HTMLElement) {\n if (!window.customElements.get(name)) {\n window.customElements.define(name, component);\n }\n return component;\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class WebComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n static template: string;\n static style: string | null;\n private static compiledElement: TemplateElement;\n\n private static get compiledTemplate(): TemplateElement {\n if (!this.compiledElement) {\n this.compiledElement = document.createElement('template');\n let scopedStyles = this.style;\n let html = this.template;\n if (scopedStyles) {\n html = `<style>${scopedStyles}</style>${html}`;\n }\n this.compiledElement.innerHTML = html;\n }\n return this.compiledElement;\n }\n\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n let ComponentClass = this.constructor as typeof WebComponent;\n let shadowRoot = this.attachShadow({ mode: 'open' });\n shadowRoot.appendChild(ComponentClass.compiledTemplate.content.cloneNode(true));\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof WebComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"7525dad70eb4b5223a673834458a9272","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"n+6l","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/list.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/list.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"list\";","map":{"mappings":[{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":1,"column":209}}],"sources":{"../../../src/annotations/list.ts":"\nimport { BlockAnnotation } from '@atjson/document';\n\nexport default class List extends BlockAnnotation {\n static vendorPrefix = 'offset';\n static type = 'list';\n attributes!: {\n type: string;\n delimiter?: string;\n tight?: boolean;\n level?: number;\n startsAt?: number;\n };\n}\n"},"lineCount":null}},"hash":"922a4314377b0a0d922dec5f4e734b83","cacheData":{"env":{}}} | ||
{"id":"n+6l","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/list.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/list.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"list\";","map":{"mappings":[{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/list.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":1,"column":209}}],"sources":{"../../../src/annotations/list.ts":"\nimport { BlockAnnotation } from '@atjson/document';\n\nexport default class List extends BlockAnnotation {\n static vendorPrefix = 'offset';\n static type = 'list';\n attributes!: {\n type: string;\n delimiter?: string;\n tight?: boolean;\n level?: number;\n startsAt?: number;\n };\n}\n"},"lineCount":null}},"hash":"922a4314377b0a0d922dec5f4e734b83","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"gvCM","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/annotations/text.ts","includedInParent":true,"mtime":1545342158121},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/text.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return 1/0}}exports.default=t,t.vendorPrefix=\"atjson\",t.type=\"text\";","map":{"mappings":[{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":10,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":210}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":219}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":221}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":226}}],"sources":{"../../../src/annotations/text.ts":"import { Annotation } from '@atjson/document';\n\nexport default class TextAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'text';\n attributes!: {\n text: string;\n };\n\n get rank() {\n return Infinity;\n }\n}\n"},"lineCount":null}},"hash":"6a89056da061b8352ee260f899b1d5f6","cacheData":{"env":{}}} | ||
{"id":"gvCM","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/annotations/text.ts","includedInParent":true,"mtime":1545342158121},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/text.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return 1/0}}exports.default=t,t.vendorPrefix=\"atjson\",t.type=\"text\";","map":{"mappings":[{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":10,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":210}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":219}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":221}},{"source":"../../../src/annotations/text.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":226}}],"sources":{"../../../src/annotations/text.ts":"import { Annotation } from '@atjson/document';\n\nexport default class TextAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'text';\n attributes!: {\n text: string;\n };\n\n get rank() {\n return Infinity;\n }\n}\n"},"lineCount":null}},"hash":"6a89056da061b8352ee260f899b1d5f6","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"k9d2","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/list-item.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/list-item.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"list-item\";","map":{"mappings":[{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":38},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":209}}],"sources":{"../../../src/annotations/list-item.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class ListItem extends BlockAnnotation {\n static vendorPrefix = 'offset';\n static type = 'list-item';\n}\n"},"lineCount":null}},"hash":"7f9d2e69bfb5a52d5fb0bd06c0fc9cc7","cacheData":{"env":{}}} | ||
{"id":"k9d2","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/list-item.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/list-item.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.BlockAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"list-item\";","map":{"mappings":[{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":38},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/list-item.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":209}}],"sources":{"../../../src/annotations/list-item.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class ListItem extends BlockAnnotation {\n static vendorPrefix = 'offset';\n static type = 'list-item';\n}\n"},"lineCount":null}},"hash":"7f9d2e69bfb5a52d5fb0bd06c0fc9cc7","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"shCl","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/paragraph.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"p\")}}exports.default=e,e.annotationName=\"paragraph\";","map":{"mappings":[{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":195}}],"sources":{"../../../src/components/paragraph.ts":"export default class OffsetParagraphElement {\n\n static annotationName = 'paragraph';\n\n static elementRenderer(): Element {\n return document.createElement('p');\n }\n}\n"},"lineCount":null}},"hash":"62c2ff6013cfae8628962efcbdc809e9","cacheData":{"env":{}}} | ||
{"id":"shCl","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/paragraph.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"p\")}}exports.default=e,e.annotationName=\"paragraph\";","map":{"mappings":[{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":176}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/paragraph.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":195}}],"sources":{"../../../src/components/paragraph.ts":"export default class OffsetParagraphElement {\n\n static annotationName = 'paragraph';\n\n static elementRenderer(): Element {\n return document.createElement('p');\n }\n}\n"},"lineCount":null}},"hash":"62c2ff6013cfae8628962efcbdc809e9","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"/K+1","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/giphy-embed.ts","includedInParent":true,"mtime":1550103749597},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/giphy-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};o.get||o.set?Object.defineProperty(t,r,o):t[r]=e[r]}return t.default=e,t}class r extends e.default{get giphyId(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[1]:null}}exports.default=r,r.type=\"giphy-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":40},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":474}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":485}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":488}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":501}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":518}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":523}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":530}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":536}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":544}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":552}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":556}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":561}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":575}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":577}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":590}}],"sources":{"../../../src/annotations/giphy-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class GiphyEmbed extends IframeEmbed {\n static type = 'giphy-embed';\n static vendorPrefix = 'offset';\n\n get giphyId() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"1e75e4c12424a884779f451c8fdce4ac","cacheData":{"env":{}}} | ||
{"id":"/K+1","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/giphy-embed.ts","includedInParent":true,"mtime":1550103749597},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/giphy-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};o.get||o.set?Object.defineProperty(t,r,o):t[r]=e[r]}return t.default=e,t}class r extends e.default{get giphyId(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[1]:null}}exports.default=r,r.type=\"giphy-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":40},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":463}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":1,"column":467}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":8,"column":19},"generated":{"line":1,"column":474}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":478}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":1,"column":485}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":488}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":29},"generated":{"line":1,"column":501}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":42},"generated":{"line":1,"column":512}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":48},"generated":{"line":1,"column":518}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":54},"generated":{"line":1,"column":523}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":10,"column":58},"generated":{"line":1,"column":527}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":12,"column":11},"generated":{"line":1,"column":530}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":536}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":544}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":552}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":556}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":561}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":575}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":577}},{"source":"../../../src/annotations/giphy-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":590}}],"sources":{"../../../src/annotations/giphy-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class GiphyEmbed extends IframeEmbed {\n static type = 'giphy-embed';\n static vendorPrefix = 'offset';\n\n get giphyId() {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"1e75e4c12424a884779f451c8fdce4ac","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"olI1","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/caption-source.ts","includedInParent":true,"mtime":1550104586283},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./index","loc":{"line":2,"column":123},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=r(require(\"@atjson/document\")),t=require(\"./index\");function r(e){return e&&e.__esModule?e:{default:e}}class i extends e.default{}exports.default=i,i.schema=[t.Bold,t.Italic,t.LineBreak,t.Link,t.List,t.ListItem,t.Paragraph,t.Subscript,t.Strikethrough,t.Superscript,t.Underline];","map":{"mappings":[{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":128}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":138}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":158}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":160}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":163}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":170}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":175}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":189}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":197}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":200}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":16,"column":21},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":16,"column":43},"generated":{"line":1,"column":216}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":218}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":227}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":235}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":1,"column":247}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":254}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":18,"column":4},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":257}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":19,"column":4},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":264}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":273}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":21,"column":4},"generated":{"line":1,"column":283}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":290}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":292}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":23,"column":4},"generated":{"line":1,"column":297}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":299}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":24,"column":4},"generated":{"line":1,"column":308}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":1,"column":320}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":322}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":1,"column":332}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":334}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":27,"column":4},"generated":{"line":1,"column":348}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":28,"column":4},"generated":{"line":1,"column":362}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":18},"generated":{"line":1,"column":364}}],"sources":{"../../../src/annotations/caption-source.ts":"import Document from '@atjson/document';\nimport {\n Bold,\n Italic,\n LineBreak,\n Link,\n List,\n ListItem,\n Paragraph,\n Strikethrough,\n Subscript,\n Superscript,\n Underline\n} from './index';\n\nexport default class CaptionSource extends Document {\n static schema = [\n Bold,\n Italic,\n LineBreak,\n Link,\n List,\n ListItem,\n Paragraph,\n Subscript,\n Strikethrough,\n Superscript,\n Underline\n ];\n}\n"},"lineCount":null}},"hash":"477b7e0d6653774b4f0e50c1a8690d6b","cacheData":{"env":{}}} | ||
{"id":"olI1","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/caption-source.ts","includedInParent":true,"mtime":1550111399656},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"./bold","loc":{"line":2,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/bold.js"},{"name":"./italic","loc":{"line":3,"column":19},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/italic.js"},{"name":"./line-break","loc":{"line":4,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/line-break.js"},{"name":"./link","loc":{"line":5,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/link.js"},{"name":"./list","loc":{"line":6,"column":17},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/list.js"},{"name":"./list-item","loc":{"line":7,"column":21},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/list-item.js"},{"name":"./paragraph","loc":{"line":8,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/paragraph.js"},{"name":"./strikethrough","loc":{"line":9,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/strikethrough.js"},{"name":"./subscript","loc":{"line":10,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/subscript.js"},{"name":"./superscript","loc":{"line":11,"column":24},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/superscript.js"},{"name":"./underline","loc":{"line":12,"column":22},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/caption-source.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/underline.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=n(require(\"@atjson/document\")),r=n(require(\"./bold\")),u=n(require(\"./italic\")),t=n(require(\"./line-break\")),i=n(require(\"./link\")),l=n(require(\"./list\")),a=n(require(\"./list-item\")),d=n(require(\"./paragraph\")),s=n(require(\"./strikethrough\")),f=n(require(\"./subscript\")),o=n(require(\"./superscript\")),q=n(require(\"./underline\"));function n(e){return e&&e.__esModule?e:{default:e}}class c extends e.default{}exports.default=c,c.schema=[r.default,u.default,t.default,i.default,l.default,a.default,d.default,f.default,s.default,o.default,q.default];","map":{"mappings":[{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":128}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":132}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":153}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":163}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":178}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":209}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":228}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":240}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":251}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":263}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":279}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":281}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":283}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":291}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":307}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":309}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":311}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":319}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":339}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":341}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":343}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":351}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":367}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":369}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":371}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":379}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":12,"column":0},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":12,"column":0},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":12,"column":0},"generated":{"line":1,"column":401}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":12,"column":0},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":425}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":434}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":436}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":446}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":451}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":462}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":464}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":473}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":14,"column":14},"generated":{"line":1,"column":476}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":14,"column":21},"generated":{"line":1,"column":482}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":14,"column":43},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":14,"column":14},"generated":{"line":1,"column":494}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":511}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":519}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":521}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":523}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":530}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":1,"column":531}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":533}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":17,"column":4},"generated":{"line":1,"column":541}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":543}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":18,"column":4},"generated":{"line":1,"column":551}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":553}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":19,"column":4},"generated":{"line":1,"column":561}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":563}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":1,"column":571}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":573}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":21,"column":4},"generated":{"line":1,"column":581}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":583}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":591}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":593}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":23,"column":4},"generated":{"line":1,"column":601}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":603}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":24,"column":4},"generated":{"line":1,"column":611}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":613}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":1,"column":621}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":623}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":1,"column":631}},{"source":"../../../src/annotations/caption-source.ts","name":null,"original":{"line":15,"column":18},"generated":{"line":1,"column":633}}],"sources":{"../../../src/annotations/caption-source.ts":"import Document from '@atjson/document';\nimport Bold from './bold';\nimport Italic from './italic';\nimport LineBreak from './line-break';\nimport Link from './link';\nimport List from './list';\nimport ListItem from './list-item';\nimport Paragraph from './paragraph';\nimport Strikethrough from './strikethrough';\nimport Subscript from './subscript';\nimport Superscript from './superscript';\nimport Underline from './underline';\n\nexport default class CaptionSource extends Document {\n static schema = [\n Bold,\n Italic,\n LineBreak,\n Link,\n List,\n ListItem,\n Paragraph,\n Subscript,\n Strikethrough,\n Superscript,\n Underline\n ];\n}\n"},"lineCount":null}},"hash":"2781fad5f3c63655a871c9c0ecd48427","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"D9H0","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/instagram-embed.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/instagram-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};o.get||o.set?Object.defineProperty(t,r,o):t[r]=e[r]}return t.default=e,t}class r extends e.default{get shortcode(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[1]:null}}exports.default=r,r.type=\"instagram-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":14},"generated":{"line":1,"column":471}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":19},"generated":{"line":1,"column":476}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":480}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":487}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":29},"generated":{"line":1,"column":494}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":29},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":33},"generated":{"line":1,"column":505}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":42},"generated":{"line":1,"column":514}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":48},"generated":{"line":1,"column":520}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":54},"generated":{"line":1,"column":525}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":58},"generated":{"line":1,"column":529}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":16,"column":11},"generated":{"line":1,"column":532}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":538}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":546}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":556}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":558}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":563}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":581}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":583}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":596}}],"sources":{"../../../src/annotations/instagram-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class InstagramEmbed extends IframeEmbed {\n static type = 'instagram-embed';\n static vendorPrefix = 'offset';\n attributes!: {\n url: string;\n captioned: boolean;\n };\n\n get shortcode(): string | null {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"ff000839735b067dee1e72cd4f3b0960","cacheData":{"env":{}}} | ||
{"id":"D9H0","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/instagram-embed.ts","includedInParent":true,"mtime":1545342158131},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"./iframe-embed","loc":{"line":1,"column":37},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/instagram-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};o.get||o.set?Object.defineProperty(t,r,o):t[r]=e[r]}return t.default=e,t}class r extends e.default{get shortcode(){let t=this.url;return t?(0,e.without)(t.pathname.split(\"/\"),\"\")[1]:null}}exports.default=r,r.type=\"instagram-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":148}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":168}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":172}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":188}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":196}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":206}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":223}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":238}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":243}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":249}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":253}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":262}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":278}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":285}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":310}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":317}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":342}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":344}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":347}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":350}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":352}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":357}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":359}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":363}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":370}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":385}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":387}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":389}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":392}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":394}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":397}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":399}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":402}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":409}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":411}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":419}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":421}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":423}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":429}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":44},"generated":{"line":1,"column":439}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":441}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":1,"column":449}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":465}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":469}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":14},"generated":{"line":1,"column":471}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":12,"column":19},"generated":{"line":1,"column":476}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":480}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":487}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":490}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":29},"generated":{"line":1,"column":492}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":29},"generated":{"line":1,"column":494}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":29},"generated":{"line":1,"column":503}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":33},"generated":{"line":1,"column":505}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":42},"generated":{"line":1,"column":514}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":48},"generated":{"line":1,"column":520}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":54},"generated":{"line":1,"column":525}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":14,"column":58},"generated":{"line":1,"column":529}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":16,"column":11},"generated":{"line":1,"column":532}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":538}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":546}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":554}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":556}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":558}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":563}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":581}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":583}},{"source":"../../../src/annotations/instagram-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":596}}],"sources":{"../../../src/annotations/instagram-embed.ts":"import IframeEmbed, { without } from './iframe-embed';\n\nexport default class InstagramEmbed extends IframeEmbed {\n static type = 'instagram-embed';\n static vendorPrefix = 'offset';\n attributes!: {\n url: string;\n captioned: boolean;\n };\n\n get shortcode(): string | null {\n let url = this.url;\n if (url) {\n return without<string>(url.pathname.split('/'), '')[1];\n }\n return null;\n }\n}\n"},"lineCount":null}},"hash":"ff000839735b067dee1e72cd4f3b0960","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"vO5t","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/bold.ts","includedInParent":true,"mtime":1545342158128},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/bold.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"bold\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":208}}],"sources":{"../../../src/annotations/bold.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Bold extends InlineAnnotation {\n static type = 'bold';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"2109190007f874536dc8313b22521d0c","cacheData":{"env":{}}} | ||
{"id":"vO5t","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/bold.ts","includedInParent":true,"mtime":1545342158128},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/bold.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.InlineAnnotation{}exports.default=t,t.type=\"bold\",t.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":186}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/bold.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":208}}],"sources":{"../../../src/annotations/bold.ts":"import { InlineAnnotation } from '@atjson/document';\n\nexport default class Bold extends InlineAnnotation {\n static type = 'bold';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"2109190007f874536dc8313b22521d0c","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"/0qr","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-hir/src/index.ts","includedInParent":true,"mtime":1550104586440},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-hir/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/hir","loc":{"line":1,"column":36},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.escapeHTML=n,exports.classify=o,exports.default=void 0;var t=require(\"@atjson/hir\");const e={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"`\":\"`\",\"=\":\"=\"};function n(t){return t.replace(/[&<>\"'`=]/g,t=>e[t])}function r(t){let e=[];for(let n=0,o=t.length;n<o;n++){let o=t[n];Array.isArray(o)?e.push(...r(o)):null!=o&&e.push(o)}return e}function o(t){return t.toLowerCase().split(\"-\").map(t=>t.length>0?t[0].toUpperCase()+t.slice(1):\"\").join(\"\")}function a(e,n,o){let l,i=n.annotation,s=n.children(),u=s.map(t=>t.annotation),c=(l=null==o.parent?e.root():e.renderAnnotation(i,Object.assign({},o,{children:u}))).next();return c.done?c.value:l.next(r(s.map((n,r)=>{let l={parent:i||null,previous:u[r-1]||null,next:u[r+1]||null,document:o.document};return n.annotation instanceof t.TextAnnotation?e.text(n.annotation.attributes.text,Object.assign({},l,{children:[]})):a(e,n,l)}))).value}class l{static render(e){return a(new this,new t.HIR(e).rootNode,{document:e})}*renderAnnotation(t,e){let n=this[t.type]||this[o(t.type)];return n?yield*n.call(this,t,e):yield}*root(){return yield}text(t,e){return t}}exports.default=l;","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":76}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":87}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":89}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":97}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":106}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":108}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":129}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":131}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":135}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":137}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":145}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":160}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":6},"generated":{"line":1,"column":166}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":24},"generated":{"line":1,"column":168}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":7},"generated":{"line":1,"column":169}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":7},"generated":{"line":1,"column":173}},{"source":"../../src/index.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":1,"column":181}},{"source":"../../src/index.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":1,"column":185}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":7},"generated":{"line":1,"column":192}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":7},"generated":{"line":1,"column":196}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":203}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":207}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":216}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":220}},{"source":"../../src/index.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":229}},{"source":"../../src/index.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":233}},{"source":"../../src/index.ts","name":null,"original":{"line":15,"column":7},"generated":{"line":1,"column":242}},{"source":"../../src/index.ts","name":null,"original":{"line":15,"column":7},"generated":{"line":1,"column":246}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":6},"generated":{"line":1,"column":256}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":16},"generated":{"line":1,"column":265}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":27},"generated":{"line":1,"column":267}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":270}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":277}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":14},"generated":{"line":1,"column":279}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":22},"generated":{"line":1,"column":287}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":37},"generated":{"line":1,"column":300}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":62},"generated":{"line":1,"column":303}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":69},"generated":{"line":1,"column":305}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":0},"generated":{"line":1,"column":309}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":9},"generated":{"line":1,"column":318}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":17},"generated":{"line":1,"column":320}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":323}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":327}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":23},"generated":{"line":1,"column":329}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":7},"generated":{"line":1,"column":332}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":7},"generated":{"line":1,"column":336}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":340}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":15},"generated":{"line":1,"column":342}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":18},"generated":{"line":1,"column":344}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":1,"column":346}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":30},"generated":{"line":1,"column":348}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":38},"generated":{"line":1,"column":355}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":42},"generated":{"line":1,"column":357}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":47},"generated":{"line":1,"column":359}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":52},"generated":{"line":1,"column":363}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":364}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":368}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":15},"generated":{"line":1,"column":370}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":21},"generated":{"line":1,"column":372}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":375}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":14},"generated":{"line":1,"column":381}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":22},"generated":{"line":1,"column":389}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":392}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":21},"generated":{"line":1,"column":394}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":29},"generated":{"line":1,"column":402}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":37},"generated":{"line":1,"column":404}},{"source":"../../src/index.ts","name":null,"original":{"line":30,"column":23},"generated":{"line":1,"column":408}},{"source":"../../src/index.ts","name":null,"original":{"line":30,"column":15},"generated":{"line":1,"column":414}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":1,"column":417}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":21},"generated":{"line":1,"column":419}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":26},"generated":{"line":1,"column":424}},{"source":"../../src/index.ts","name":null,"original":{"line":34,"column":9},"generated":{"line":1,"column":427}},{"source":"../../src/index.ts","name":null,"original":{"line":34,"column":9},"generated":{"line":1,"column":434}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":6},"generated":{"line":1,"column":436}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":16},"generated":{"line":1,"column":445}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":25},"generated":{"line":1,"column":447}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":9},"generated":{"line":1,"column":450}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":9},"generated":{"line":1,"column":457}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":14},"generated":{"line":1,"column":459}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":28},"generated":{"line":1,"column":473}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":34},"generated":{"line":1,"column":479}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":39},"generated":{"line":1,"column":484}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":43},"generated":{"line":1,"column":488}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":491}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":13},"generated":{"line":1,"column":493}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":22},"generated":{"line":1,"column":500}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":13},"generated":{"line":1,"column":502}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":504}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":21},"generated":{"line":1,"column":507}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":37},"generated":{"line":1,"column":521}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":42},"generated":{"line":1,"column":523}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":48},"generated":{"line":1,"column":529}},{"source":"../../src/index.ts","name":null,"original":{"line":44,"column":11},"generated":{"line":1,"column":532}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":5},"generated":{"line":1,"column":536}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":10},"generated":{"line":1,"column":541}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":0},"generated":{"line":1,"column":545}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":9},"generated":{"line":1,"column":554}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":17},"generated":{"line":1,"column":556}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":37},"generated":{"line":1,"column":558}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":52},"generated":{"line":1,"column":560}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":1,"column":563}},{"source":"../../src/index.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":1,"column":567}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":1,"column":569}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":19},"generated":{"line":1,"column":571}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":24},"generated":{"line":1,"column":573}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":6},"generated":{"line":1,"column":584}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":19},"generated":{"line":1,"column":586}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":24},"generated":{"line":1,"column":588}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":1,"column":599}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":25},"generated":{"line":1,"column":601}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":36},"generated":{"line":1,"column":603}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":40},"generated":{"line":1,"column":607}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":53},"generated":{"line":1,"column":610}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":63},"generated":{"line":1,"column":612}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":6},"generated":{"line":1,"column":624}},{"source":"../../src/index.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":1,"column":627}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":24},"generated":{"line":1,"column":629}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":6},"generated":{"line":1,"column":635}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":14},"generated":{"line":1,"column":637}},{"source":"../../src/index.ts","name":null,"original":{"line":63,"column":16},"generated":{"line":1,"column":644}},{"source":"../../src/index.ts","name":null,"original":{"line":63,"column":25},"generated":{"line":1,"column":646}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":16},"generated":{"line":1,"column":653}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":25},"generated":{"line":1,"column":655}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":42},"generated":{"line":1,"column":672}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":674}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":681}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":688}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":9},"generated":{"line":1,"column":691}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":16},"generated":{"line":1,"column":693}},{"source":"../../src/index.ts","name":null,"original":{"line":67,"column":6},"generated":{"line":1,"column":694}},{"source":"../../src/index.ts","name":null,"original":{"line":67,"column":16},"generated":{"line":1,"column":703}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":25},"generated":{"line":1,"column":709}},{"source":"../../src/index.ts","name":null,"original":{"line":72,"column":6},"generated":{"line":1,"column":716}},{"source":"../../src/index.ts","name":null,"original":{"line":72,"column":6},"generated":{"line":1,"column":723}},{"source":"../../src/index.ts","name":null,"original":{"line":72,"column":13},"generated":{"line":1,"column":725}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":11},"generated":{"line":1,"column":730}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":18},"generated":{"line":1,"column":732}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":1,"column":738}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":19},"generated":{"line":1,"column":740}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":24},"generated":{"line":1,"column":745}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":32},"generated":{"line":1,"column":747}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":43},"generated":{"line":1,"column":749}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":47},"generated":{"line":1,"column":753}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":48},"generated":{"line":1,"column":754}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":68},"generated":{"line":1,"column":756}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":761}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":765}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":23},"generated":{"line":1,"column":767}},{"source":"../../src/index.ts","name":null,"original":{"line":78,"column":6},"generated":{"line":1,"column":768}},{"source":"../../src/index.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":775}},{"source":"../../src/index.ts","name":null,"original":{"line":78,"column":28},"generated":{"line":1,"column":778}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":6},"generated":{"line":1,"column":783}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":16},"generated":{"line":1,"column":792}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":33},"generated":{"line":1,"column":794}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":39},"generated":{"line":1,"column":796}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":45},"generated":{"line":1,"column":800}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":6},"generated":{"line":1,"column":805}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":12},"generated":{"line":1,"column":810}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":29},"generated":{"line":1,"column":812}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":35},"generated":{"line":1,"column":814}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":41},"generated":{"line":1,"column":818}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":6},"generated":{"line":1,"column":823}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":1,"column":832}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":24},"generated":{"line":1,"column":834}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":844}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":851}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":18},"generated":{"line":1,"column":853}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":40},"generated":{"line":1,"column":875}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":4},"generated":{"line":1,"column":877}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":13},"generated":{"line":1,"column":892}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":894}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":27},"generated":{"line":1,"column":899}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":37},"generated":{"line":1,"column":901}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":48},"generated":{"line":1,"column":912}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":59},"generated":{"line":1,"column":923}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":63},"generated":{"line":1,"column":928}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":63},"generated":{"line":1,"column":935}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":63},"generated":{"line":1,"column":942}},{"source":"../../src/index.ts","name":null,"original":{"line":86,"column":11},"generated":{"line":1,"column":945}},{"source":"../../src/index.ts","name":null,"original":{"line":86,"column":23},"generated":{"line":1,"column":947}},{"source":"../../src/index.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":1,"column":948}},{"source":"../../src/index.ts","name":null,"original":{"line":87,"column":18},"generated":{"line":1,"column":957}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":13},"generated":{"line":1,"column":963}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":21},"generated":{"line":1,"column":965}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":31},"generated":{"line":1,"column":967}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":42},"generated":{"line":1,"column":969}},{"source":"../../src/index.ts","name":null,"original":{"line":92,"column":7},"generated":{"line":1,"column":976}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":14},"generated":{"line":1,"column":982}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":21},"generated":{"line":1,"column":988}},{"source":"../../src/index.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":1,"column":990}},{"source":"../../src/index.ts","name":null,"original":{"line":97,"column":16},"generated":{"line":1,"column":1004}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":11},"generated":{"line":1,"column":1007}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":11},"generated":{"line":1,"column":1014}},{"source":"../../src/index.ts","name":null,"original":{"line":98,"column":19},"generated":{"line":1,"column":1016}},{"source":"../../src/index.ts","name":null,"original":{"line":98,"column":23},"generated":{"line":1,"column":1020}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":29},"generated":{"line":1,"column":1025}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":33},"generated":{"line":1,"column":1029}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":29},"generated":{"line":1,"column":1031}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":37},"generated":{"line":1,"column":1035}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":47},"generated":{"line":1,"column":1038}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":57},"generated":{"line":1,"column":1047}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":59},"generated":{"line":1,"column":1048}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":59},"generated":{"line":1,"column":1057}},{"source":"../../src/index.ts","name":null,"original":{"line":103,"column":3},"generated":{"line":1,"column":1061}},{"source":"../../src/index.ts","name":null,"original":{"line":103,"column":20},"generated":{"line":1,"column":1079}},{"source":"../../src/index.ts","name":null,"original":{"line":103,"column":44},"generated":{"line":1,"column":1081}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1084}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1088}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":21},"generated":{"line":1,"column":1090}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":34},"generated":{"line":1,"column":1095}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":45},"generated":{"line":1,"column":1097}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":55},"generated":{"line":1,"column":1104}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":68},"generated":{"line":1,"column":1109}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":77},"generated":{"line":1,"column":1111}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":88},"generated":{"line":1,"column":1113}},{"source":"../../src/index.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1120}},{"source":"../../src/index.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1127}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":20},"generated":{"line":1,"column":1135}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":1,"column":1137}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":35},"generated":{"line":1,"column":1142}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":41},"generated":{"line":1,"column":1147}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":53},"generated":{"line":1,"column":1149}},{"source":"../../src/index.ts","name":null,"original":{"line":111,"column":3},"generated":{"line":1,"column":1158}},{"source":"../../src/index.ts","name":null,"original":{"line":112,"column":11},"generated":{"line":1,"column":1166}},{"source":"../../src/index.ts","name":null,"original":{"line":115,"column":2},"generated":{"line":1,"column":1179}},{"source":"../../src/index.ts","name":null,"original":{"line":115,"column":7},"generated":{"line":1,"column":1184}},{"source":"../../src/index.ts","name":null,"original":{"line":115,"column":21},"generated":{"line":1,"column":1186}},{"source":"../../src/index.ts","name":null,"original":{"line":116,"column":11},"generated":{"line":1,"column":1189}},{"source":"../../src/index.ts","name":null,"original":{"line":116,"column":11},"generated":{"line":1,"column":1196}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":1199}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":1207}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":1215}}],"sources":{"../../src/index.ts":"import Document, { Annotation } from '@atjson/document';\nimport { HIR, HIRNode, TextAnnotation } from '@atjson/hir';\n\ninterface Mapping {\n [key: string]: string;\n}\n\nconst escape: Mapping = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n '\\'': ''',\n '`': '`',\n '=': '='\n};\n\ntype EscapeCharacter = keyof Mapping;\n\nexport function escapeHTML(text: string): string {\n return text.replace(/[&<>\"'`=]/g, (chr: EscapeCharacter) => escape[chr]);\n}\n\nfunction flatten(array: any[]): any[] {\n let flattenedArray = [];\n for (let i = 0, len = array.length; i < len; i++) {\n let item = array[i];\n if (Array.isArray(item)) {\n flattenedArray.push(...flatten(item));\n } else if (item != null) {\n flattenedArray.push(item);\n }\n }\n return flattenedArray;\n}\n\n// This classify is _specifically_ for our annotation types—\n// casing is ignored, and dashes are the only thing allowed.\nexport function classify(type: string) {\n return type.toLowerCase().split('-').map(word => {\n if (word.length > 0) {\n return word[0].toUpperCase() + word.slice(1);\n }\n return '';\n }).join('');\n}\n\nexport interface Context {\n parent: Annotation;\n previous: Annotation | null;\n next: Annotation | null;\n children: Annotation[];\n document: Document;\n}\n\nfunction compile(renderer: Renderer, node: HIRNode, context: Partial<Context>): any {\n let annotation = node.annotation;\n let childNodes = node.children();\n let childAnnotations = childNodes.map(childNode => childNode.annotation);\n let generator;\n\n if (context.parent == null) {\n generator = renderer.root();\n } else {\n generator = renderer.renderAnnotation(annotation, {\n ...context,\n children: childAnnotations\n } as Context);\n }\n\n let result = generator.next();\n if (result.done) {\n return result.value;\n }\n\n return generator.next(flatten(childNodes.map((childNode: HIRNode, idx: number) => {\n let childContext = {\n parent: annotation || null,\n previous: childAnnotations[idx - 1] || null,\n next: childAnnotations[idx + 1] || null,\n document: context.document!\n };\n\n if (childNode.annotation instanceof TextAnnotation) {\n return renderer.text(childNode.annotation.attributes.text, {\n ...childContext,\n children: []\n });\n } else {\n return compile(renderer, childNode, childContext);\n }\n }))).value;\n}\n\nexport default class Renderer {\n\n static render(document: Document) {\n let renderer = new this();\n\n return compile(renderer, new HIR(document).rootNode, { document });\n }\n\n *renderAnnotation(annotation: Annotation, context: Context): IterableIterator<any> {\n let generator = (this as any)[annotation.type] || (this as any)[classify(annotation.type)];\n if (generator) {\n return yield* generator.call(this, annotation, context);\n }\n return yield;\n }\n\n *root(): IterableIterator<any> {\n return yield;\n }\n\n text(text: string, _: Context): string {\n return text;\n }\n}\n"},"lineCount":null}},"hash":"21dd1b35d93ed4455c7c21960049dc26","cacheData":{"env":{}}} | ||
{"id":"/0qr","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-hir/src/index.ts","includedInParent":true,"mtime":1550104586440},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-hir/package.json","includedInParent":true,"mtime":1550104902985},{"name":"@atjson/hir","loc":{"line":1,"column":36},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/renderer-hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.escapeHTML=n,exports.classify=o,exports.default=void 0;var t=require(\"@atjson/hir\");const e={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"`\":\"`\",\"=\":\"=\"};function n(t){return t.replace(/[&<>\"'`=]/g,t=>e[t])}function r(t){let e=[];for(let n=0,o=t.length;n<o;n++){let o=t[n];Array.isArray(o)?e.push(...r(o)):null!=o&&e.push(o)}return e}function o(t){return t.toLowerCase().split(\"-\").map(t=>t.length>0?t[0].toUpperCase()+t.slice(1):\"\").join(\"\")}function a(e,n,o){let l,i=n.annotation,s=n.children(),u=s.map(t=>t.annotation),c=(l=null==o.parent?e.root():e.renderAnnotation(i,Object.assign({},o,{children:u}))).next();return c.done?c.value:l.next(r(s.map((n,r)=>{let l={parent:i||null,previous:u[r-1]||null,next:u[r+1]||null,document:o.document};return n.annotation instanceof t.TextAnnotation?e.text(n.annotation.attributes.text,Object.assign({},l,{children:[]})):a(e,n,l)}))).value}class l{static render(e){return a(new this,new t.HIR(e).rootNode,{document:e})}*renderAnnotation(t,e){let n=this[t.type]||this[o(t.type)];return n?yield*n.call(this,t,e):yield}*root(){return yield}text(t,e){return t}}exports.default=l;","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":76}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":87}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":89}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":97}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":106}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":108}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":129}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":131}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":135}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":137}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":145}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":160}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":6},"generated":{"line":1,"column":166}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":24},"generated":{"line":1,"column":168}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":7},"generated":{"line":1,"column":169}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":7},"generated":{"line":1,"column":173}},{"source":"../../src/index.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":1,"column":181}},{"source":"../../src/index.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":1,"column":185}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":7},"generated":{"line":1,"column":192}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":7},"generated":{"line":1,"column":196}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":203}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":1,"column":207}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":216}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":1,"column":220}},{"source":"../../src/index.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":229}},{"source":"../../src/index.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":1,"column":233}},{"source":"../../src/index.ts","name":null,"original":{"line":15,"column":7},"generated":{"line":1,"column":242}},{"source":"../../src/index.ts","name":null,"original":{"line":15,"column":7},"generated":{"line":1,"column":246}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":6},"generated":{"line":1,"column":256}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":16},"generated":{"line":1,"column":265}},{"source":"../../src/index.ts","name":null,"original":{"line":20,"column":27},"generated":{"line":1,"column":267}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":270}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":277}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":14},"generated":{"line":1,"column":279}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":22},"generated":{"line":1,"column":287}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":37},"generated":{"line":1,"column":300}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":62},"generated":{"line":1,"column":303}},{"source":"../../src/index.ts","name":null,"original":{"line":21,"column":69},"generated":{"line":1,"column":305}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":0},"generated":{"line":1,"column":309}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":9},"generated":{"line":1,"column":318}},{"source":"../../src/index.ts","name":null,"original":{"line":24,"column":17},"generated":{"line":1,"column":320}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":323}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":327}},{"source":"../../src/index.ts","name":null,"original":{"line":25,"column":23},"generated":{"line":1,"column":329}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":7},"generated":{"line":1,"column":332}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":7},"generated":{"line":1,"column":336}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":340}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":15},"generated":{"line":1,"column":342}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":18},"generated":{"line":1,"column":344}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":1,"column":346}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":30},"generated":{"line":1,"column":348}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":38},"generated":{"line":1,"column":355}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":42},"generated":{"line":1,"column":357}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":47},"generated":{"line":1,"column":359}},{"source":"../../src/index.ts","name":null,"original":{"line":26,"column":52},"generated":{"line":1,"column":363}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":364}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":8},"generated":{"line":1,"column":368}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":15},"generated":{"line":1,"column":370}},{"source":"../../src/index.ts","name":null,"original":{"line":27,"column":21},"generated":{"line":1,"column":372}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":375}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":14},"generated":{"line":1,"column":381}},{"source":"../../src/index.ts","name":null,"original":{"line":28,"column":22},"generated":{"line":1,"column":389}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":392}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":21},"generated":{"line":1,"column":394}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":29},"generated":{"line":1,"column":402}},{"source":"../../src/index.ts","name":null,"original":{"line":29,"column":37},"generated":{"line":1,"column":404}},{"source":"../../src/index.ts","name":null,"original":{"line":30,"column":23},"generated":{"line":1,"column":408}},{"source":"../../src/index.ts","name":null,"original":{"line":30,"column":15},"generated":{"line":1,"column":414}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":1,"column":417}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":21},"generated":{"line":1,"column":419}},{"source":"../../src/index.ts","name":null,"original":{"line":31,"column":26},"generated":{"line":1,"column":424}},{"source":"../../src/index.ts","name":null,"original":{"line":34,"column":9},"generated":{"line":1,"column":427}},{"source":"../../src/index.ts","name":null,"original":{"line":34,"column":9},"generated":{"line":1,"column":434}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":6},"generated":{"line":1,"column":436}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":16},"generated":{"line":1,"column":445}},{"source":"../../src/index.ts","name":null,"original":{"line":39,"column":25},"generated":{"line":1,"column":447}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":9},"generated":{"line":1,"column":450}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":9},"generated":{"line":1,"column":457}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":14},"generated":{"line":1,"column":459}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":28},"generated":{"line":1,"column":473}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":34},"generated":{"line":1,"column":479}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":39},"generated":{"line":1,"column":484}},{"source":"../../src/index.ts","name":null,"original":{"line":40,"column":43},"generated":{"line":1,"column":488}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":491}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":13},"generated":{"line":1,"column":493}},{"source":"../../src/index.ts","name":null,"original":{"line":41,"column":22},"generated":{"line":1,"column":500}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":13},"generated":{"line":1,"column":502}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":18},"generated":{"line":1,"column":504}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":21},"generated":{"line":1,"column":507}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":37},"generated":{"line":1,"column":521}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":42},"generated":{"line":1,"column":523}},{"source":"../../src/index.ts","name":null,"original":{"line":42,"column":48},"generated":{"line":1,"column":529}},{"source":"../../src/index.ts","name":null,"original":{"line":44,"column":11},"generated":{"line":1,"column":532}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":5},"generated":{"line":1,"column":536}},{"source":"../../src/index.ts","name":null,"original":{"line":45,"column":10},"generated":{"line":1,"column":541}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":0},"generated":{"line":1,"column":545}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":9},"generated":{"line":1,"column":554}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":17},"generated":{"line":1,"column":556}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":37},"generated":{"line":1,"column":558}},{"source":"../../src/index.ts","name":null,"original":{"line":56,"column":52},"generated":{"line":1,"column":560}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":1,"column":563}},{"source":"../../src/index.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":1,"column":567}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":1,"column":569}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":19},"generated":{"line":1,"column":571}},{"source":"../../src/index.ts","name":null,"original":{"line":57,"column":24},"generated":{"line":1,"column":573}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":6},"generated":{"line":1,"column":584}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":19},"generated":{"line":1,"column":586}},{"source":"../../src/index.ts","name":null,"original":{"line":58,"column":24},"generated":{"line":1,"column":588}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":1,"column":599}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":25},"generated":{"line":1,"column":601}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":36},"generated":{"line":1,"column":603}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":40},"generated":{"line":1,"column":607}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":53},"generated":{"line":1,"column":610}},{"source":"../../src/index.ts","name":null,"original":{"line":59,"column":63},"generated":{"line":1,"column":612}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":6},"generated":{"line":1,"column":624}},{"source":"../../src/index.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":1,"column":627}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":24},"generated":{"line":1,"column":629}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":6},"generated":{"line":1,"column":635}},{"source":"../../src/index.ts","name":null,"original":{"line":62,"column":14},"generated":{"line":1,"column":637}},{"source":"../../src/index.ts","name":null,"original":{"line":63,"column":16},"generated":{"line":1,"column":644}},{"source":"../../src/index.ts","name":null,"original":{"line":63,"column":25},"generated":{"line":1,"column":646}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":16},"generated":{"line":1,"column":653}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":25},"generated":{"line":1,"column":655}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":42},"generated":{"line":1,"column":672}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":674}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":681}},{"source":"../../src/index.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":688}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":9},"generated":{"line":1,"column":691}},{"source":"../../src/index.ts","name":null,"original":{"line":66,"column":16},"generated":{"line":1,"column":693}},{"source":"../../src/index.ts","name":null,"original":{"line":67,"column":6},"generated":{"line":1,"column":694}},{"source":"../../src/index.ts","name":null,"original":{"line":67,"column":16},"generated":{"line":1,"column":703}},{"source":"../../src/index.ts","name":null,"original":{"line":71,"column":25},"generated":{"line":1,"column":709}},{"source":"../../src/index.ts","name":null,"original":{"line":72,"column":6},"generated":{"line":1,"column":716}},{"source":"../../src/index.ts","name":null,"original":{"line":72,"column":6},"generated":{"line":1,"column":723}},{"source":"../../src/index.ts","name":null,"original":{"line":72,"column":13},"generated":{"line":1,"column":725}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":11},"generated":{"line":1,"column":730}},{"source":"../../src/index.ts","name":null,"original":{"line":73,"column":18},"generated":{"line":1,"column":732}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":1,"column":738}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":19},"generated":{"line":1,"column":740}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":24},"generated":{"line":1,"column":745}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":32},"generated":{"line":1,"column":747}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":43},"generated":{"line":1,"column":749}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":47},"generated":{"line":1,"column":753}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":48},"generated":{"line":1,"column":754}},{"source":"../../src/index.ts","name":null,"original":{"line":76,"column":68},"generated":{"line":1,"column":756}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":761}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":1,"column":765}},{"source":"../../src/index.ts","name":null,"original":{"line":77,"column":23},"generated":{"line":1,"column":767}},{"source":"../../src/index.ts","name":null,"original":{"line":78,"column":6},"generated":{"line":1,"column":768}},{"source":"../../src/index.ts","name":null,"original":{"line":78,"column":14},"generated":{"line":1,"column":775}},{"source":"../../src/index.ts","name":null,"original":{"line":78,"column":28},"generated":{"line":1,"column":778}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":6},"generated":{"line":1,"column":783}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":16},"generated":{"line":1,"column":792}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":33},"generated":{"line":1,"column":794}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":39},"generated":{"line":1,"column":796}},{"source":"../../src/index.ts","name":null,"original":{"line":79,"column":45},"generated":{"line":1,"column":800}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":6},"generated":{"line":1,"column":805}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":12},"generated":{"line":1,"column":810}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":29},"generated":{"line":1,"column":812}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":35},"generated":{"line":1,"column":814}},{"source":"../../src/index.ts","name":null,"original":{"line":80,"column":41},"generated":{"line":1,"column":818}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":6},"generated":{"line":1,"column":823}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":1,"column":832}},{"source":"../../src/index.ts","name":null,"original":{"line":81,"column":24},"generated":{"line":1,"column":834}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":844}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":8},"generated":{"line":1,"column":851}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":18},"generated":{"line":1,"column":853}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":40},"generated":{"line":1,"column":875}},{"source":"../../src/index.ts","name":null,"original":{"line":84,"column":4},"generated":{"line":1,"column":877}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":13},"generated":{"line":1,"column":892}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":894}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":27},"generated":{"line":1,"column":899}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":37},"generated":{"line":1,"column":901}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":48},"generated":{"line":1,"column":912}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":59},"generated":{"line":1,"column":923}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":63},"generated":{"line":1,"column":928}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":63},"generated":{"line":1,"column":935}},{"source":"../../src/index.ts","name":null,"original":{"line":85,"column":63},"generated":{"line":1,"column":942}},{"source":"../../src/index.ts","name":null,"original":{"line":86,"column":11},"generated":{"line":1,"column":945}},{"source":"../../src/index.ts","name":null,"original":{"line":86,"column":23},"generated":{"line":1,"column":947}},{"source":"../../src/index.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":1,"column":948}},{"source":"../../src/index.ts","name":null,"original":{"line":87,"column":18},"generated":{"line":1,"column":957}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":13},"generated":{"line":1,"column":963}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":21},"generated":{"line":1,"column":965}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":31},"generated":{"line":1,"column":967}},{"source":"../../src/index.ts","name":null,"original":{"line":90,"column":42},"generated":{"line":1,"column":969}},{"source":"../../src/index.ts","name":null,"original":{"line":92,"column":7},"generated":{"line":1,"column":976}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":14},"generated":{"line":1,"column":982}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":21},"generated":{"line":1,"column":988}},{"source":"../../src/index.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":1,"column":990}},{"source":"../../src/index.ts","name":null,"original":{"line":97,"column":16},"generated":{"line":1,"column":1004}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":11},"generated":{"line":1,"column":1007}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":11},"generated":{"line":1,"column":1014}},{"source":"../../src/index.ts","name":null,"original":{"line":98,"column":19},"generated":{"line":1,"column":1016}},{"source":"../../src/index.ts","name":null,"original":{"line":98,"column":23},"generated":{"line":1,"column":1020}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":29},"generated":{"line":1,"column":1025}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":33},"generated":{"line":1,"column":1029}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":29},"generated":{"line":1,"column":1031}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":37},"generated":{"line":1,"column":1035}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":47},"generated":{"line":1,"column":1038}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":57},"generated":{"line":1,"column":1047}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":59},"generated":{"line":1,"column":1048}},{"source":"../../src/index.ts","name":null,"original":{"line":100,"column":59},"generated":{"line":1,"column":1057}},{"source":"../../src/index.ts","name":null,"original":{"line":103,"column":3},"generated":{"line":1,"column":1061}},{"source":"../../src/index.ts","name":null,"original":{"line":103,"column":20},"generated":{"line":1,"column":1079}},{"source":"../../src/index.ts","name":null,"original":{"line":103,"column":44},"generated":{"line":1,"column":1081}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1084}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":8},"generated":{"line":1,"column":1088}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":21},"generated":{"line":1,"column":1090}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":34},"generated":{"line":1,"column":1095}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":45},"generated":{"line":1,"column":1097}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":55},"generated":{"line":1,"column":1104}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":68},"generated":{"line":1,"column":1109}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":77},"generated":{"line":1,"column":1111}},{"source":"../../src/index.ts","name":null,"original":{"line":104,"column":88},"generated":{"line":1,"column":1113}},{"source":"../../src/index.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1120}},{"source":"../../src/index.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1127}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":20},"generated":{"line":1,"column":1135}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":1,"column":1137}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":35},"generated":{"line":1,"column":1142}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":41},"generated":{"line":1,"column":1147}},{"source":"../../src/index.ts","name":null,"original":{"line":106,"column":53},"generated":{"line":1,"column":1149}},{"source":"../../src/index.ts","name":null,"original":{"line":111,"column":3},"generated":{"line":1,"column":1158}},{"source":"../../src/index.ts","name":null,"original":{"line":112,"column":11},"generated":{"line":1,"column":1166}},{"source":"../../src/index.ts","name":null,"original":{"line":115,"column":2},"generated":{"line":1,"column":1179}},{"source":"../../src/index.ts","name":null,"original":{"line":115,"column":7},"generated":{"line":1,"column":1184}},{"source":"../../src/index.ts","name":null,"original":{"line":115,"column":21},"generated":{"line":1,"column":1186}},{"source":"../../src/index.ts","name":null,"original":{"line":116,"column":11},"generated":{"line":1,"column":1189}},{"source":"../../src/index.ts","name":null,"original":{"line":116,"column":11},"generated":{"line":1,"column":1196}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":1199}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":1207}},{"source":"../../src/index.ts","name":null,"original":{"line":95,"column":29},"generated":{"line":1,"column":1215}}],"sources":{"../../src/index.ts":"import Document, { Annotation } from '@atjson/document';\nimport { HIR, HIRNode, TextAnnotation } from '@atjson/hir';\n\ninterface Mapping {\n [key: string]: string;\n}\n\nconst escape: Mapping = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n '\\'': ''',\n '`': '`',\n '=': '='\n};\n\ntype EscapeCharacter = keyof Mapping;\n\nexport function escapeHTML(text: string): string {\n return text.replace(/[&<>\"'`=]/g, (chr: EscapeCharacter) => escape[chr]);\n}\n\nfunction flatten(array: any[]): any[] {\n let flattenedArray = [];\n for (let i = 0, len = array.length; i < len; i++) {\n let item = array[i];\n if (Array.isArray(item)) {\n flattenedArray.push(...flatten(item));\n } else if (item != null) {\n flattenedArray.push(item);\n }\n }\n return flattenedArray;\n}\n\n// This classify is _specifically_ for our annotation types—\n// casing is ignored, and dashes are the only thing allowed.\nexport function classify(type: string) {\n return type.toLowerCase().split('-').map(word => {\n if (word.length > 0) {\n return word[0].toUpperCase() + word.slice(1);\n }\n return '';\n }).join('');\n}\n\nexport interface Context {\n parent: Annotation;\n previous: Annotation | null;\n next: Annotation | null;\n children: Annotation[];\n document: Document;\n}\n\nfunction compile(renderer: Renderer, node: HIRNode, context: Partial<Context>): any {\n let annotation = node.annotation;\n let childNodes = node.children();\n let childAnnotations = childNodes.map(childNode => childNode.annotation);\n let generator;\n\n if (context.parent == null) {\n generator = renderer.root();\n } else {\n generator = renderer.renderAnnotation(annotation, {\n ...context,\n children: childAnnotations\n } as Context);\n }\n\n let result = generator.next();\n if (result.done) {\n return result.value;\n }\n\n return generator.next(flatten(childNodes.map((childNode: HIRNode, idx: number) => {\n let childContext = {\n parent: annotation || null,\n previous: childAnnotations[idx - 1] || null,\n next: childAnnotations[idx + 1] || null,\n document: context.document!\n };\n\n if (childNode.annotation instanceof TextAnnotation) {\n return renderer.text(childNode.annotation.attributes.text, {\n ...childContext,\n children: []\n });\n } else {\n return compile(renderer, childNode, childContext);\n }\n }))).value;\n}\n\nexport default class Renderer {\n\n static render(document: Document) {\n let renderer = new this();\n\n return compile(renderer, new HIR(document).rootNode, { document });\n }\n\n *renderAnnotation(annotation: Annotation, context: Context): IterableIterator<any> {\n let generator = (this as any)[annotation.type] || (this as any)[classify(annotation.type)];\n if (generator) {\n return yield* generator.call(this, annotation, context);\n }\n return yield;\n }\n\n *root(): IterableIterator<any> {\n return yield;\n }\n\n text(text: string, _: Context): string {\n return text;\n }\n}\n"},"lineCount":null}},"hash":"21dd1b35d93ed4455c7c21960049dc26","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"HaRX","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/index.ts","includedInParent":true,"mtime":1545342158123},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"./annotations","loc":{"line":1,"column":63},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js"},{"name":"./hir","loc":{"line":2,"column":16},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir.js"},{"name":"./hir-node","loc":{"line":3,"column":20},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir-node.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),Object.defineProperty(exports,\"RootAnnotation\",{enumerable:!0,get:function(){return e.Root}}),Object.defineProperty(exports,\"TextAnnotation\",{enumerable:!0,get:function(){return e.Text}}),Object.defineProperty(exports,\"HIR\",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,\"HIRNode\",{enumerable:!0,get:function(){return r.default}});var e=require(\"./annotations\"),t=n(require(\"./hir\")),r=n(require(\"./hir-node\"));function n(e){return e&&e.__esModule?e:{default:e}}","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":75}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":90}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":98}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":115}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":128}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":130}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":134}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":145}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":152}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":154}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":162}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":169}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":184}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":192}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":209}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":210}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":222}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":224}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":228}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":239}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":246}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":248}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":256}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":263}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":278}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":286}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":292}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":293}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":305}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":307}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":311}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":322}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":329}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":331}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":342}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":349}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":364}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":372}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":382}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":383}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":395}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":397}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":401}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":412}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":419}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":421}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":432}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":436}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":438}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":446}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":463}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":465}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":467}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":475}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":485}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":487}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":489}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":497}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":512}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":521}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":523}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":526}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":533}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":536}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":538}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":549}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":551}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":552}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":560}}],"sources":{"../../src/index.ts":"import { Root as RootAnnotation, Text as TextAnnotation } from './annotations';\nimport HIR from './hir';\nimport HIRNode from './hir-node';\nexport { HIRNode, HIR, RootAnnotation, TextAnnotation };\n"},"lineCount":null}},"hash":"8e502cd91e1c657bc806f769dbbb1e9e","cacheData":{"env":{}}} | ||
{"id":"HaRX","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/index.ts","includedInParent":true,"mtime":1545342158123},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"./annotations","loc":{"line":1,"column":63},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js"},{"name":"./hir","loc":{"line":2,"column":16},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir.js"},{"name":"./hir-node","loc":{"line":3,"column":20},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/hir-node.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),Object.defineProperty(exports,\"RootAnnotation\",{enumerable:!0,get:function(){return e.Root}}),Object.defineProperty(exports,\"TextAnnotation\",{enumerable:!0,get:function(){return e.Text}}),Object.defineProperty(exports,\"HIR\",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,\"HIRNode\",{enumerable:!0,get:function(){return r.default}});var e=require(\"./annotations\"),t=n(require(\"./hir\")),r=n(require(\"./hir-node\"));function n(e){return e&&e.__esModule?e:{default:e}}","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":75}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":90}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":98}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":115}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":128}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":130}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":134}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":145}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":152}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":154}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":162}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":169}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":184}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":192}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":209}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":210}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":222}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":224}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":228}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":239}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":246}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":248}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":256}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":263}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":278}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":286}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":292}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":293}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":305}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":307}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":311}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":322}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":329}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":331}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":342}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":349}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":364}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":372}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":382}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":383}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":395}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":397}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":401}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":412}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":419}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":421}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":432}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":436}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":438}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":446}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":463}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":465}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":467}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":475}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":485}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":487}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":489}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":497}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":512}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":521}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":523}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":526}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":533}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":536}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":538}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":549}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":551}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":552}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":560}}],"sources":{"../../src/index.ts":"import { Root as RootAnnotation, Text as TextAnnotation } from './annotations';\nimport HIR from './hir';\nimport HIRNode from './hir-node';\nexport { HIRNode, HIR, RootAnnotation, TextAnnotation };\n"},"lineCount":null}},"hash":"8e502cd91e1c657bc806f769dbbb1e9e","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"p7Jn","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/html.ts","includedInParent":true,"mtime":1545342158130},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/html.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return\"inline\"===this.attributes.style?100:10}}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"html\";","map":{"mappings":[{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":10,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":34},"generated":{"line":1,"column":171}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":13},"generated":{"line":1,"column":187}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":24},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":14,"column":11},"generated":{"line":1,"column":208}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":212}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":228}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":254}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":256}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":261}}],"sources":{"../../../src/annotations/html.ts":"import { Annotation } from '@atjson/document';\n\nexport default class HTML extends Annotation {\n static vendorPrefix = 'offset';\n static type = 'html';\n attributes!: {\n style: 'inline' | 'block';\n };\n\n get rank() {\n if (this.attributes.style === 'inline') {\n return 100;\n }\n return 10;\n }\n}\n"},"lineCount":null}},"hash":"e137fbc7a872c92813b80e5c741f5dc4","cacheData":{"env":{}}} | ||
{"id":"p7Jn","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/html.ts","includedInParent":true,"mtime":1545342158130},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/html.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.Annotation{get rank(){return\"inline\"===this.attributes.style?100:10}}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"html\";","map":{"mappings":[{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":34},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":10,"column":6},"generated":{"line":1,"column":154}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":34},"generated":{"line":1,"column":171}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":8},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":13},"generated":{"line":1,"column":187}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":11,"column":24},"generated":{"line":1,"column":198}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":12,"column":13},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":14,"column":11},"generated":{"line":1,"column":208}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":212}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":228}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":245}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":254}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":256}},{"source":"../../../src/annotations/html.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":261}}],"sources":{"../../../src/annotations/html.ts":"import { Annotation } from '@atjson/document';\n\nexport default class HTML extends Annotation {\n static vendorPrefix = 'offset';\n static type = 'html';\n attributes!: {\n style: 'inline' | 'block';\n };\n\n get rank() {\n if (this.attributes.style === 'inline') {\n return 100;\n }\n return 10;\n }\n}\n"},"lineCount":null}},"hash":"e137fbc7a872c92813b80e5c741f5dc4","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"EVxB","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":6,"column":43},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"@atjson/editor","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/dist/modules/index.js"},{"name":"@atjson/offset-core-components","loc":{"line":8,"column":57},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js"},{"name":"../src","loc":{"line":9,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts"},{"name":"./superscript","loc":{"line":10,"column":46},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/superscript.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"@atjson/document\"));require(\"@atjson/editor\");const n=e(require(\"@atjson/offset-core-components\"));require(\"../src\");const o=e(require(\"./superscript\"));module.hot&&module.hot.dispose(()=>{window.location.reload()}),document.addEventListener(\"DOMContentLoaded\",()=>{let e=document.querySelector(\"offset-editor\");for(let t of n.default)e.addContentFeature(t);e.addContentFeature(o.default);let a=new URL(location.toString()).searchParams.get(\"document\");if(a)e.setDocument(new t.default(JSON.parse(a)));else{let n=new t.default({content:\"Heading 1\\nSome text that is both bold and italic plus something after.\",annotations:[{type:\"bold\",display:\"inline\",start:33,end:41},{type:\"link\",display:\"inline\",start:30,end:34,attributes:{url:\"https://google.com\"}},{type:\"italic\",display:\"inline\",start:38,end:48},{type:\"underline\",display:\"inline\",start:38,end:48},{type:\"heading\",display:\"block\",start:0,end:10,attributes:{level:\"1\"}},{type:\"paragraph\",display:\"block\",start:10,end:71},{type:\"superscript\",display:\"inline\",start:41,end:48}]});e.setDocument(n)}});","map":{"mappings":[{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":0}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":13}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":17}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":19}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":25}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":30}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":47}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":56}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":59}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":66}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":69}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":71}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":82}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":84}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":85}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":93}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":97}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":104}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":119}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":127}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":140}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":141}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":148}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"app.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":191}},{"source":"app.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":199}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":217}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":223}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":225}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":227}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":235}},{"source":"app.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":270}},{"source":"app.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":278}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":288}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":294}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":296}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":298}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":306}},{"source":"app.ts","name":null,"original":{"line":9,"column":4},"generated":{"line":1,"column":324}},{"source":"app.ts","name":null,"original":{"line":9,"column":11},"generated":{"line":1,"column":331}},{"source":"app.ts","name":null,"original":{"line":10,"column":2},"generated":{"line":1,"column":336}},{"source":"app.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":343}},{"source":"app.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":347}},{"source":"app.ts","name":null,"original":{"line":10,"column":21},"generated":{"line":1,"column":355}},{"source":"app.ts","name":null,"original":{"line":11,"column":4},"generated":{"line":1,"column":360}},{"source":"app.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":367}},{"source":"app.ts","name":null,"original":{"line":11,"column":20},"generated":{"line":1,"column":376}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":387}},{"source":"app.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":396}},{"source":"app.ts","name":null,"original":{"line":15,"column":26},"generated":{"line":1,"column":413}},{"source":"app.ts","name":null,"original":{"line":15,"column":46},"generated":{"line":1,"column":432}},{"source":"app.ts","name":null,"original":{"line":17,"column":6},"generated":{"line":1,"column":437}},{"source":"app.ts","name":null,"original":{"line":17,"column":6},"generated":{"line":1,"column":441}},{"source":"app.ts","name":null,"original":{"line":17,"column":29},"generated":{"line":1,"column":443}},{"source":"app.ts","name":null,"original":{"line":17,"column":38},"generated":{"line":1,"column":452}},{"source":"app.ts","name":null,"original":{"line":17,"column":52},"generated":{"line":1,"column":466}},{"source":"app.ts","name":null,"original":{"line":19,"column":7},"generated":{"line":1,"column":483}},{"source":"app.ts","name":null,"original":{"line":19,"column":7},"generated":{"line":1,"column":487}},{"source":"app.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":1,"column":491}},{"source":"app.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":496}},{"source":"app.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":498}},{"source":"app.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":1,"column":506}},{"source":"app.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":508}},{"source":"app.ts","name":null,"original":{"line":20,"column":29},"generated":{"line":1,"column":526}},{"source":"app.ts","name":null,"original":{"line":22,"column":2},"generated":{"line":1,"column":529}},{"source":"app.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":531}},{"source":"app.ts","name":null,"original":{"line":22,"column":27},"generated":{"line":1,"column":549}},{"source":"app.ts","name":null,"original":{"line":22,"column":27},"generated":{"line":1,"column":551}},{"source":"app.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":1,"column":560}},{"source":"app.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":1,"column":564}},{"source":"app.ts","name":null,"original":{"line":24,"column":12},"generated":{"line":1,"column":566}},{"source":"app.ts","name":null,"original":{"line":24,"column":16},"generated":{"line":1,"column":570}},{"source":"app.ts","name":null,"original":{"line":24,"column":20},"generated":{"line":1,"column":574}},{"source":"app.ts","name":null,"original":{"line":24,"column":29},"generated":{"line":1,"column":583}},{"source":"app.ts","name":null,"original":{"line":24,"column":41},"generated":{"line":1,"column":595}},{"source":"app.ts","name":null,"original":{"line":24,"column":54},"generated":{"line":1,"column":608}},{"source":"app.ts","name":null,"original":{"line":24,"column":58},"generated":{"line":1,"column":612}},{"source":"app.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":624}},{"source":"app.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":627}},{"source":"app.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":1,"column":629}},{"source":"app.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":631}},{"source":"app.ts","name":null,"original":{"line":26,"column":23},"generated":{"line":1,"column":643}},{"source":"app.ts","name":null,"original":{"line":26,"column":27},"generated":{"line":1,"column":647}},{"source":"app.ts","name":null,"original":{"line":26,"column":27},"generated":{"line":1,"column":649}},{"source":"app.ts","name":null,"original":{"line":26,"column":36},"generated":{"line":1,"column":657}},{"source":"app.ts","name":null,"original":{"line":26,"column":41},"generated":{"line":1,"column":662}},{"source":"app.ts","name":null,"original":{"line":26,"column":47},"generated":{"line":1,"column":668}},{"source":"app.ts","name":null,"original":{"line":27,"column":9},"generated":{"line":1,"column":677}},{"source":"app.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":678}},{"source":"app.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":682}},{"source":"app.ts","name":null,"original":{"line":28,"column":14},"generated":{"line":1,"column":684}},{"source":"app.ts","name":null,"original":{"line":28,"column":18},"generated":{"line":1,"column":688}},{"source":"app.ts","name":null,"original":{"line":28,"column":18},"generated":{"line":1,"column":690}},{"source":"app.ts","name":null,"original":{"line":28,"column":27},"generated":{"line":1,"column":698}},{"source":"app.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":699}},{"source":"app.ts","name":null,"original":{"line":29,"column":15},"generated":{"line":1,"column":707}},{"source":"app.ts","name":null,"original":{"line":30,"column":6},"generated":{"line":1,"column":781}},{"source":"app.ts","name":null,"original":{"line":30,"column":19},"generated":{"line":1,"column":793}},{"source":"app.ts","name":null,"original":{"line":31,"column":8},"generated":{"line":1,"column":794}},{"source":"app.ts","name":null,"original":{"line":31,"column":10},"generated":{"line":1,"column":795}},{"source":"app.ts","name":null,"original":{"line":31,"column":16},"generated":{"line":1,"column":800}},{"source":"app.ts","name":null,"original":{"line":31,"column":24},"generated":{"line":1,"column":807}},{"source":"app.ts","name":null,"original":{"line":31,"column":33},"generated":{"line":1,"column":815}},{"source":"app.ts","name":null,"original":{"line":31,"column":43},"generated":{"line":1,"column":824}},{"source":"app.ts","name":null,"original":{"line":31,"column":50},"generated":{"line":1,"column":830}},{"source":"app.ts","name":null,"original":{"line":31,"column":54},"generated":{"line":1,"column":833}},{"source":"app.ts","name":null,"original":{"line":31,"column":59},"generated":{"line":1,"column":837}},{"source":"app.ts","name":null,"original":{"line":32,"column":8},"generated":{"line":1,"column":841}},{"source":"app.ts","name":null,"original":{"line":32,"column":10},"generated":{"line":1,"column":842}},{"source":"app.ts","name":null,"original":{"line":32,"column":16},"generated":{"line":1,"column":847}},{"source":"app.ts","name":null,"original":{"line":32,"column":24},"generated":{"line":1,"column":854}},{"source":"app.ts","name":null,"original":{"line":32,"column":33},"generated":{"line":1,"column":862}},{"source":"app.ts","name":null,"original":{"line":32,"column":43},"generated":{"line":1,"column":871}},{"source":"app.ts","name":null,"original":{"line":32,"column":50},"generated":{"line":1,"column":877}},{"source":"app.ts","name":null,"original":{"line":32,"column":54},"generated":{"line":1,"column":880}},{"source":"app.ts","name":null,"original":{"line":32,"column":59},"generated":{"line":1,"column":884}},{"source":"app.ts","name":null,"original":{"line":32,"column":63},"generated":{"line":1,"column":887}},{"source":"app.ts","name":null,"original":{"line":32,"column":75},"generated":{"line":1,"column":898}},{"source":"app.ts","name":null,"original":{"line":32,"column":77},"generated":{"line":1,"column":899}},{"source":"app.ts","name":null,"original":{"line":32,"column":82},"generated":{"line":1,"column":903}},{"source":"app.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":926}},{"source":"app.ts","name":null,"original":{"line":33,"column":10},"generated":{"line":1,"column":927}},{"source":"app.ts","name":null,"original":{"line":33,"column":16},"generated":{"line":1,"column":932}},{"source":"app.ts","name":null,"original":{"line":33,"column":26},"generated":{"line":1,"column":941}},{"source":"app.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":949}},{"source":"app.ts","name":null,"original":{"line":33,"column":45},"generated":{"line":1,"column":958}},{"source":"app.ts","name":null,"original":{"line":33,"column":52},"generated":{"line":1,"column":964}},{"source":"app.ts","name":null,"original":{"line":33,"column":56},"generated":{"line":1,"column":967}},{"source":"app.ts","name":null,"original":{"line":33,"column":61},"generated":{"line":1,"column":971}},{"source":"app.ts","name":null,"original":{"line":34,"column":8},"generated":{"line":1,"column":975}},{"source":"app.ts","name":null,"original":{"line":34,"column":10},"generated":{"line":1,"column":976}},{"source":"app.ts","name":null,"original":{"line":34,"column":16},"generated":{"line":1,"column":981}},{"source":"app.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":993}},{"source":"app.ts","name":null,"original":{"line":34,"column":38},"generated":{"line":1,"column":1001}},{"source":"app.ts","name":null,"original":{"line":34,"column":48},"generated":{"line":1,"column":1010}},{"source":"app.ts","name":null,"original":{"line":34,"column":55},"generated":{"line":1,"column":1016}},{"source":"app.ts","name":null,"original":{"line":34,"column":59},"generated":{"line":1,"column":1019}},{"source":"app.ts","name":null,"original":{"line":34,"column":64},"generated":{"line":1,"column":1023}},{"source":"app.ts","name":null,"original":{"line":35,"column":8},"generated":{"line":1,"column":1027}},{"source":"app.ts","name":null,"original":{"line":35,"column":10},"generated":{"line":1,"column":1028}},{"source":"app.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":1,"column":1033}},{"source":"app.ts","name":null,"original":{"line":35,"column":27},"generated":{"line":1,"column":1043}},{"source":"app.ts","name":null,"original":{"line":35,"column":36},"generated":{"line":1,"column":1051}},{"source":"app.ts","name":null,"original":{"line":35,"column":45},"generated":{"line":1,"column":1059}},{"source":"app.ts","name":null,"original":{"line":35,"column":52},"generated":{"line":1,"column":1065}},{"source":"app.ts","name":null,"original":{"line":35,"column":55},"generated":{"line":1,"column":1067}},{"source":"app.ts","name":null,"original":{"line":35,"column":60},"generated":{"line":1,"column":1071}},{"source":"app.ts","name":null,"original":{"line":35,"column":64},"generated":{"line":1,"column":1074}},{"source":"app.ts","name":null,"original":{"line":35,"column":76},"generated":{"line":1,"column":1085}},{"source":"app.ts","name":null,"original":{"line":35,"column":78},"generated":{"line":1,"column":1086}},{"source":"app.ts","name":null,"original":{"line":35,"column":85},"generated":{"line":1,"column":1092}},{"source":"app.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":1,"column":1098}},{"source":"app.ts","name":null,"original":{"line":36,"column":10},"generated":{"line":1,"column":1099}},{"source":"app.ts","name":null,"original":{"line":36,"column":16},"generated":{"line":1,"column":1104}},{"source":"app.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":1,"column":1116}},{"source":"app.ts","name":null,"original":{"line":36,"column":38},"generated":{"line":1,"column":1124}},{"source":"app.ts","name":null,"original":{"line":36,"column":47},"generated":{"line":1,"column":1132}},{"source":"app.ts","name":null,"original":{"line":36,"column":54},"generated":{"line":1,"column":1138}},{"source":"app.ts","name":null,"original":{"line":36,"column":58},"generated":{"line":1,"column":1141}},{"source":"app.ts","name":null,"original":{"line":36,"column":63},"generated":{"line":1,"column":1145}},{"source":"app.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":1149}},{"source":"app.ts","name":null,"original":{"line":37,"column":10},"generated":{"line":1,"column":1150}},{"source":"app.ts","name":null,"original":{"line":37,"column":16},"generated":{"line":1,"column":1155}},{"source":"app.ts","name":null,"original":{"line":37,"column":31},"generated":{"line":1,"column":1169}},{"source":"app.ts","name":null,"original":{"line":37,"column":40},"generated":{"line":1,"column":1177}},{"source":"app.ts","name":null,"original":{"line":37,"column":50},"generated":{"line":1,"column":1186}},{"source":"app.ts","name":null,"original":{"line":37,"column":57},"generated":{"line":1,"column":1192}},{"source":"app.ts","name":null,"original":{"line":37,"column":61},"generated":{"line":1,"column":1195}},{"source":"app.ts","name":null,"original":{"line":37,"column":66},"generated":{"line":1,"column":1199}},{"source":"app.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":1,"column":1206}},{"source":"app.ts","name":null,"original":{"line":46,"column":11},"generated":{"line":1,"column":1208}},{"source":"app.ts","name":null,"original":{"line":46,"column":23},"generated":{"line":1,"column":1220}}],"sources":{"app.ts":"import Document from '@atjson/document';\nimport '@atjson/editor';\nimport OffsetCoreComponents from '@atjson/offset-core-components';\nimport '../src';\nimport Superscript from './superscript';\n\n// Web components in the registry can't be redefined,\n// so reload the page on every change\nif (module.hot) {\n module.hot.dispose(() => {\n window.location.reload();\n });\n}\n\ndocument.addEventListener('DOMContentLoaded', () => {\n\n let editor: OffsetEditor = document.querySelector('offset-editor');\n\n for (let component of OffsetCoreComponents) {\n editor.addContentFeature(component);\n }\n editor.addContentFeature(Superscript);\n\n let doc = new URL(location.toString()).searchParams.get('document');\n if (doc) {\n editor.setDocument(new Document(JSON.parse(doc)));\n } else {\n let doc = new Document({\n content: 'Heading 1\\nSome text that is both bold and italic plus something after.',\n annotations: [\n { type: 'bold', display: 'inline', start: 33, end: 41 },\n { type: 'link', display: 'inline', start: 30, end: 34, attributes: { url: 'https://google.com' } },\n { type: 'italic', display: 'inline', start: 38, end: 48 },\n { type: 'underline', display: 'inline', start: 38, end: 48 },\n { type: 'heading', display: 'block', start: 0, end: 10, attributes: { level: '1' } },\n { type: 'paragraph', display: 'block', start: 10, end: 71 },\n { type: 'superscript', display: 'inline', start: 41, end: 48 }\n//\n// { type: 'strikethrough', display: 'inline', start: 40, end: 50 },\n// { type: 'font', display: 'inline', start: 15, end: 25, attributes: { 'font-family': 'Sans-serif', 'font-size': '200%' } },\n// { type: 'color', display: 'inline', start: 20, end: 30, attributes: { } },\n// { type: 'superscript', display: 'inline', start: 41, end: 48 },\n ]\n });\n\n editor.setDocument(doc);\n }\n});\n"},"lineCount":null}},"hash":"e94946f979b0bb110490843c0302981e","cacheData":{"env":{}}} | ||
{"id":"EVxB","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/tsconfig.json","includedInParent":true,"mtime":1545342158147},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"@atjson/document","loc":{"line":6,"column":43},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"},{"name":"@atjson/editor","loc":{"line":7,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/dist/modules/index.js"},{"name":"@atjson/offset-core-components","loc":{"line":8,"column":57},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js"},{"name":"../src","loc":{"line":9,"column":8},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/src/index.ts"},{"name":"./superscript","loc":{"line":10,"column":46},"parent":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/app.ts","resolved":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/public/superscript.ts"}],"generated":{"js":"\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});const t=e(require(\"@atjson/document\"));require(\"@atjson/editor\");const n=e(require(\"@atjson/offset-core-components\"));require(\"../src\");const o=e(require(\"./superscript\"));module.hot&&module.hot.dispose(()=>{window.location.reload()}),document.addEventListener(\"DOMContentLoaded\",()=>{let e=document.querySelector(\"offset-editor\");for(let t of n.default)e.addContentFeature(t);e.addContentFeature(o.default);let a=new URL(location.toString()).searchParams.get(\"document\");if(a)e.setDocument(new t.default(JSON.parse(a)));else{let n=new t.default({content:\"Heading 1\\nSome text that is both bold and italic plus something after.\",annotations:[{type:\"bold\",display:\"inline\",start:33,end:41},{type:\"link\",display:\"inline\",start:30,end:34,attributes:{url:\"https://google.com\"}},{type:\"italic\",display:\"inline\",start:38,end:48},{type:\"underline\",display:\"inline\",start:38,end:48},{type:\"heading\",display:\"block\",start:0,end:10,attributes:{level:\"1\"}},{type:\"paragraph\",display:\"block\",start:10,end:71},{type:\"superscript\",display:\"inline\",start:41,end:48}]});e.setDocument(n)}});","map":{"mappings":[{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":0}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":13}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":17}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":19}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":25}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":30}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":47}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":56}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":59}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":66}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":69}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":71}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":82}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":84}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":85}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":93}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":97}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":104}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":119}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":127}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":140}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":141}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":148}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":152}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":158}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":160}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":162}},{"source":"app.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":170}},{"source":"app.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":191}},{"source":"app.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":199}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":217}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":223}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":225}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":227}},{"source":"app.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":235}},{"source":"app.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":270}},{"source":"app.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":278}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":288}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":294}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":296}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":298}},{"source":"app.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":306}},{"source":"app.ts","name":null,"original":{"line":9,"column":4},"generated":{"line":1,"column":324}},{"source":"app.ts","name":null,"original":{"line":9,"column":11},"generated":{"line":1,"column":331}},{"source":"app.ts","name":null,"original":{"line":10,"column":2},"generated":{"line":1,"column":336}},{"source":"app.ts","name":null,"original":{"line":10,"column":9},"generated":{"line":1,"column":343}},{"source":"app.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":1,"column":347}},{"source":"app.ts","name":null,"original":{"line":10,"column":21},"generated":{"line":1,"column":355}},{"source":"app.ts","name":null,"original":{"line":11,"column":4},"generated":{"line":1,"column":360}},{"source":"app.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":1,"column":367}},{"source":"app.ts","name":null,"original":{"line":11,"column":20},"generated":{"line":1,"column":376}},{"source":"app.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":387}},{"source":"app.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":1,"column":396}},{"source":"app.ts","name":null,"original":{"line":15,"column":26},"generated":{"line":1,"column":413}},{"source":"app.ts","name":null,"original":{"line":15,"column":46},"generated":{"line":1,"column":432}},{"source":"app.ts","name":null,"original":{"line":17,"column":6},"generated":{"line":1,"column":437}},{"source":"app.ts","name":null,"original":{"line":17,"column":6},"generated":{"line":1,"column":441}},{"source":"app.ts","name":null,"original":{"line":17,"column":29},"generated":{"line":1,"column":443}},{"source":"app.ts","name":null,"original":{"line":17,"column":38},"generated":{"line":1,"column":452}},{"source":"app.ts","name":null,"original":{"line":17,"column":52},"generated":{"line":1,"column":466}},{"source":"app.ts","name":null,"original":{"line":19,"column":7},"generated":{"line":1,"column":483}},{"source":"app.ts","name":null,"original":{"line":19,"column":7},"generated":{"line":1,"column":487}},{"source":"app.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":1,"column":491}},{"source":"app.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":496}},{"source":"app.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":1,"column":498}},{"source":"app.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":1,"column":506}},{"source":"app.ts","name":null,"original":{"line":20,"column":11},"generated":{"line":1,"column":508}},{"source":"app.ts","name":null,"original":{"line":20,"column":29},"generated":{"line":1,"column":526}},{"source":"app.ts","name":null,"original":{"line":22,"column":2},"generated":{"line":1,"column":529}},{"source":"app.ts","name":null,"original":{"line":22,"column":9},"generated":{"line":1,"column":531}},{"source":"app.ts","name":null,"original":{"line":22,"column":27},"generated":{"line":1,"column":549}},{"source":"app.ts","name":null,"original":{"line":22,"column":27},"generated":{"line":1,"column":551}},{"source":"app.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":1,"column":560}},{"source":"app.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":1,"column":564}},{"source":"app.ts","name":null,"original":{"line":24,"column":12},"generated":{"line":1,"column":566}},{"source":"app.ts","name":null,"original":{"line":24,"column":16},"generated":{"line":1,"column":570}},{"source":"app.ts","name":null,"original":{"line":24,"column":20},"generated":{"line":1,"column":574}},{"source":"app.ts","name":null,"original":{"line":24,"column":29},"generated":{"line":1,"column":583}},{"source":"app.ts","name":null,"original":{"line":24,"column":41},"generated":{"line":1,"column":595}},{"source":"app.ts","name":null,"original":{"line":24,"column":54},"generated":{"line":1,"column":608}},{"source":"app.ts","name":null,"original":{"line":24,"column":58},"generated":{"line":1,"column":612}},{"source":"app.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":624}},{"source":"app.ts","name":null,"original":{"line":25,"column":6},"generated":{"line":1,"column":627}},{"source":"app.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":1,"column":629}},{"source":"app.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":1,"column":631}},{"source":"app.ts","name":null,"original":{"line":26,"column":23},"generated":{"line":1,"column":643}},{"source":"app.ts","name":null,"original":{"line":26,"column":27},"generated":{"line":1,"column":647}},{"source":"app.ts","name":null,"original":{"line":26,"column":27},"generated":{"line":1,"column":649}},{"source":"app.ts","name":null,"original":{"line":26,"column":36},"generated":{"line":1,"column":657}},{"source":"app.ts","name":null,"original":{"line":26,"column":41},"generated":{"line":1,"column":662}},{"source":"app.ts","name":null,"original":{"line":26,"column":47},"generated":{"line":1,"column":668}},{"source":"app.ts","name":null,"original":{"line":27,"column":9},"generated":{"line":1,"column":677}},{"source":"app.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":678}},{"source":"app.ts","name":null,"original":{"line":28,"column":8},"generated":{"line":1,"column":682}},{"source":"app.ts","name":null,"original":{"line":28,"column":14},"generated":{"line":1,"column":684}},{"source":"app.ts","name":null,"original":{"line":28,"column":18},"generated":{"line":1,"column":688}},{"source":"app.ts","name":null,"original":{"line":28,"column":18},"generated":{"line":1,"column":690}},{"source":"app.ts","name":null,"original":{"line":28,"column":27},"generated":{"line":1,"column":698}},{"source":"app.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":699}},{"source":"app.ts","name":null,"original":{"line":29,"column":15},"generated":{"line":1,"column":707}},{"source":"app.ts","name":null,"original":{"line":30,"column":6},"generated":{"line":1,"column":781}},{"source":"app.ts","name":null,"original":{"line":30,"column":19},"generated":{"line":1,"column":793}},{"source":"app.ts","name":null,"original":{"line":31,"column":8},"generated":{"line":1,"column":794}},{"source":"app.ts","name":null,"original":{"line":31,"column":10},"generated":{"line":1,"column":795}},{"source":"app.ts","name":null,"original":{"line":31,"column":16},"generated":{"line":1,"column":800}},{"source":"app.ts","name":null,"original":{"line":31,"column":24},"generated":{"line":1,"column":807}},{"source":"app.ts","name":null,"original":{"line":31,"column":33},"generated":{"line":1,"column":815}},{"source":"app.ts","name":null,"original":{"line":31,"column":43},"generated":{"line":1,"column":824}},{"source":"app.ts","name":null,"original":{"line":31,"column":50},"generated":{"line":1,"column":830}},{"source":"app.ts","name":null,"original":{"line":31,"column":54},"generated":{"line":1,"column":833}},{"source":"app.ts","name":null,"original":{"line":31,"column":59},"generated":{"line":1,"column":837}},{"source":"app.ts","name":null,"original":{"line":32,"column":8},"generated":{"line":1,"column":841}},{"source":"app.ts","name":null,"original":{"line":32,"column":10},"generated":{"line":1,"column":842}},{"source":"app.ts","name":null,"original":{"line":32,"column":16},"generated":{"line":1,"column":847}},{"source":"app.ts","name":null,"original":{"line":32,"column":24},"generated":{"line":1,"column":854}},{"source":"app.ts","name":null,"original":{"line":32,"column":33},"generated":{"line":1,"column":862}},{"source":"app.ts","name":null,"original":{"line":32,"column":43},"generated":{"line":1,"column":871}},{"source":"app.ts","name":null,"original":{"line":32,"column":50},"generated":{"line":1,"column":877}},{"source":"app.ts","name":null,"original":{"line":32,"column":54},"generated":{"line":1,"column":880}},{"source":"app.ts","name":null,"original":{"line":32,"column":59},"generated":{"line":1,"column":884}},{"source":"app.ts","name":null,"original":{"line":32,"column":63},"generated":{"line":1,"column":887}},{"source":"app.ts","name":null,"original":{"line":32,"column":75},"generated":{"line":1,"column":898}},{"source":"app.ts","name":null,"original":{"line":32,"column":77},"generated":{"line":1,"column":899}},{"source":"app.ts","name":null,"original":{"line":32,"column":82},"generated":{"line":1,"column":903}},{"source":"app.ts","name":null,"original":{"line":33,"column":8},"generated":{"line":1,"column":926}},{"source":"app.ts","name":null,"original":{"line":33,"column":10},"generated":{"line":1,"column":927}},{"source":"app.ts","name":null,"original":{"line":33,"column":16},"generated":{"line":1,"column":932}},{"source":"app.ts","name":null,"original":{"line":33,"column":26},"generated":{"line":1,"column":941}},{"source":"app.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":949}},{"source":"app.ts","name":null,"original":{"line":33,"column":45},"generated":{"line":1,"column":958}},{"source":"app.ts","name":null,"original":{"line":33,"column":52},"generated":{"line":1,"column":964}},{"source":"app.ts","name":null,"original":{"line":33,"column":56},"generated":{"line":1,"column":967}},{"source":"app.ts","name":null,"original":{"line":33,"column":61},"generated":{"line":1,"column":971}},{"source":"app.ts","name":null,"original":{"line":34,"column":8},"generated":{"line":1,"column":975}},{"source":"app.ts","name":null,"original":{"line":34,"column":10},"generated":{"line":1,"column":976}},{"source":"app.ts","name":null,"original":{"line":34,"column":16},"generated":{"line":1,"column":981}},{"source":"app.ts","name":null,"original":{"line":34,"column":29},"generated":{"line":1,"column":993}},{"source":"app.ts","name":null,"original":{"line":34,"column":38},"generated":{"line":1,"column":1001}},{"source":"app.ts","name":null,"original":{"line":34,"column":48},"generated":{"line":1,"column":1010}},{"source":"app.ts","name":null,"original":{"line":34,"column":55},"generated":{"line":1,"column":1016}},{"source":"app.ts","name":null,"original":{"line":34,"column":59},"generated":{"line":1,"column":1019}},{"source":"app.ts","name":null,"original":{"line":34,"column":64},"generated":{"line":1,"column":1023}},{"source":"app.ts","name":null,"original":{"line":35,"column":8},"generated":{"line":1,"column":1027}},{"source":"app.ts","name":null,"original":{"line":35,"column":10},"generated":{"line":1,"column":1028}},{"source":"app.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":1,"column":1033}},{"source":"app.ts","name":null,"original":{"line":35,"column":27},"generated":{"line":1,"column":1043}},{"source":"app.ts","name":null,"original":{"line":35,"column":36},"generated":{"line":1,"column":1051}},{"source":"app.ts","name":null,"original":{"line":35,"column":45},"generated":{"line":1,"column":1059}},{"source":"app.ts","name":null,"original":{"line":35,"column":52},"generated":{"line":1,"column":1065}},{"source":"app.ts","name":null,"original":{"line":35,"column":55},"generated":{"line":1,"column":1067}},{"source":"app.ts","name":null,"original":{"line":35,"column":60},"generated":{"line":1,"column":1071}},{"source":"app.ts","name":null,"original":{"line":35,"column":64},"generated":{"line":1,"column":1074}},{"source":"app.ts","name":null,"original":{"line":35,"column":76},"generated":{"line":1,"column":1085}},{"source":"app.ts","name":null,"original":{"line":35,"column":78},"generated":{"line":1,"column":1086}},{"source":"app.ts","name":null,"original":{"line":35,"column":85},"generated":{"line":1,"column":1092}},{"source":"app.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":1,"column":1098}},{"source":"app.ts","name":null,"original":{"line":36,"column":10},"generated":{"line":1,"column":1099}},{"source":"app.ts","name":null,"original":{"line":36,"column":16},"generated":{"line":1,"column":1104}},{"source":"app.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":1,"column":1116}},{"source":"app.ts","name":null,"original":{"line":36,"column":38},"generated":{"line":1,"column":1124}},{"source":"app.ts","name":null,"original":{"line":36,"column":47},"generated":{"line":1,"column":1132}},{"source":"app.ts","name":null,"original":{"line":36,"column":54},"generated":{"line":1,"column":1138}},{"source":"app.ts","name":null,"original":{"line":36,"column":58},"generated":{"line":1,"column":1141}},{"source":"app.ts","name":null,"original":{"line":36,"column":63},"generated":{"line":1,"column":1145}},{"source":"app.ts","name":null,"original":{"line":37,"column":8},"generated":{"line":1,"column":1149}},{"source":"app.ts","name":null,"original":{"line":37,"column":10},"generated":{"line":1,"column":1150}},{"source":"app.ts","name":null,"original":{"line":37,"column":16},"generated":{"line":1,"column":1155}},{"source":"app.ts","name":null,"original":{"line":37,"column":31},"generated":{"line":1,"column":1169}},{"source":"app.ts","name":null,"original":{"line":37,"column":40},"generated":{"line":1,"column":1177}},{"source":"app.ts","name":null,"original":{"line":37,"column":50},"generated":{"line":1,"column":1186}},{"source":"app.ts","name":null,"original":{"line":37,"column":57},"generated":{"line":1,"column":1192}},{"source":"app.ts","name":null,"original":{"line":37,"column":61},"generated":{"line":1,"column":1195}},{"source":"app.ts","name":null,"original":{"line":37,"column":66},"generated":{"line":1,"column":1199}},{"source":"app.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":1,"column":1206}},{"source":"app.ts","name":null,"original":{"line":46,"column":11},"generated":{"line":1,"column":1208}},{"source":"app.ts","name":null,"original":{"line":46,"column":23},"generated":{"line":1,"column":1220}}],"sources":{"app.ts":"import Document from '@atjson/document';\nimport '@atjson/editor';\nimport OffsetCoreComponents from '@atjson/offset-core-components';\nimport '../src';\nimport Superscript from './superscript';\n\n// Web components in the registry can't be redefined,\n// so reload the page on every change\nif (module.hot) {\n module.hot.dispose(() => {\n window.location.reload();\n });\n}\n\ndocument.addEventListener('DOMContentLoaded', () => {\n\n let editor: OffsetEditor = document.querySelector('offset-editor');\n\n for (let component of OffsetCoreComponents) {\n editor.addContentFeature(component);\n }\n editor.addContentFeature(Superscript);\n\n let doc = new URL(location.toString()).searchParams.get('document');\n if (doc) {\n editor.setDocument(new Document(JSON.parse(doc)));\n } else {\n let doc = new Document({\n content: 'Heading 1\\nSome text that is both bold and italic plus something after.',\n annotations: [\n { type: 'bold', display: 'inline', start: 33, end: 41 },\n { type: 'link', display: 'inline', start: 30, end: 34, attributes: { url: 'https://google.com' } },\n { type: 'italic', display: 'inline', start: 38, end: 48 },\n { type: 'underline', display: 'inline', start: 38, end: 48 },\n { type: 'heading', display: 'block', start: 0, end: 10, attributes: { level: '1' } },\n { type: 'paragraph', display: 'block', start: 10, end: 71 },\n { type: 'superscript', display: 'inline', start: 41, end: 48 }\n//\n// { type: 'strikethrough', display: 'inline', start: 40, end: 50 },\n// { type: 'font', display: 'inline', start: 15, end: 25, attributes: { 'font-family': 'Sans-serif', 'font-size': '200%' } },\n// { type: 'color', display: 'inline', start: 20, end: 30, attributes: { } },\n// { type: 'superscript', display: 'inline', start: 41, end: 48 },\n ]\n });\n\n editor.setDocument(doc);\n }\n});\n"},"lineCount":null}},"hash":"e94946f979b0bb110490843c0302981e","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"E1nM","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/strikethrough.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"del\")}}exports.default=e,e.annotationName=\"strikethrough\";","map":{"mappings":[{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":170}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":182}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":197}}],"sources":{"../../../src/components/strikethrough.ts":"export default class OffsetStrikethroughElement {\n\n static annotationName = 'strikethrough';\n\n static elementRenderer(): Element {\n return document.createElement('del');\n }\n}\n"},"lineCount":null}},"hash":"4af22c16d30b97c7fe1dd5795484a011","cacheData":{"env":{}}} | ||
{"id":"E1nM","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/components/strikethrough.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;class e{static elementRenderer(){return document.createElement(\"del\")}}exports.default=e,e.annotationName=\"strikethrough\";","map":{"mappings":[{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":1,"column":14},"generated":{"line":1,"column":91}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":1,"column":21},"generated":{"line":1,"column":97}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":99}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":124}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":11},"generated":{"line":1,"column":131}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":20},"generated":{"line":1,"column":140}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":6,"column":34},"generated":{"line":1,"column":154}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":170}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":178}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":180}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":1,"column":182}},{"source":"../../../src/components/strikethrough.ts","name":null,"original":{"line":3,"column":26},"generated":{"line":1,"column":197}}],"sources":{"../../../src/components/strikethrough.ts":"export default class OffsetStrikethroughElement {\n\n static annotationName = 'strikethrough';\n\n static elementRenderer(): Element {\n return document.createElement('del');\n }\n}\n"},"lineCount":null}},"hash":"4af22c16d30b97c7fe1dd5795484a011","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"tzff","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/horizontal-rule.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/horizontal-rule.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.ObjectAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"horizontal-rule\";","map":{"mappings":[{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":44},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/horizontal-rule.ts":"\nimport { ObjectAnnotation } from '@atjson/document';\n\nexport default class HorizontalRule extends ObjectAnnotation {\n static vendorPrefix = 'offset';\n static type = 'horizontal-rule';\n}\n"},"lineCount":null}},"hash":"768bf31cd4e85ec68ab6b40a9c83ca37","cacheData":{"env":{}}} | ||
{"id":"tzff","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/horizontal-rule.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/horizontal-rule.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class t extends e.ObjectAnnotation{}exports.default=t,t.vendorPrefix=\"offset\",t.type=\"horizontal-rule\";","map":{"mappings":[{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":44},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":4,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":161}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":169}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":181}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":203}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/horizontal-rule.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":1,"column":210}}],"sources":{"../../../src/annotations/horizontal-rule.ts":"\nimport { ObjectAnnotation } from '@atjson/document';\n\nexport default class HorizontalRule extends ObjectAnnotation {\n static vendorPrefix = 'offset';\n static type = 'horizontal-rule';\n}\n"},"lineCount":null}},"hash":"768bf31cd4e85ec68ab6b40a9c83ca37","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"aNUx","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503},{"name":"./lib/rng","loc":{"line":1,"column":18},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v1.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/rng-browser.js"},{"name":"./lib/bytesToUuid","loc":{"line":2,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v1.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/bytesToUuid.js"}],"generated":{"js":"var e,r,o=require(\"./lib/rng\"),s=require(\"./lib/bytesToUuid\"),i=0,n=0;function c(c,l,u){var v=l&&u||0,a=l||[],d=(c=c||{}).node||e,t=void 0!==c.clockseq?c.clockseq:r;if(null==d||null==t){var m=o();null==d&&(d=e=[1|m[0],m[1],m[2],m[3],m[4],m[5]]),null==t&&(t=r=16383&(m[6]<<8|m[7]))}var q=void 0!==c.msecs?c.msecs:(new Date).getTime(),f=void 0!==c.nsecs?c.nsecs:n+1,b=q-i+(f-n)/1e4;if(b<0&&void 0===c.clockseq&&(t=t+1&16383),(b<0||q>i)&&void 0===c.nsecs&&(f=0),f>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");i=q,n=f,r=t;var k=(1e4*(268435455&(q+=122192928e5))+f)%4294967296;a[v++]=k>>>24&255,a[v++]=k>>>16&255,a[v++]=k>>>8&255,a[v++]=255&k;var w=q/4294967296*1e4&268435455;a[v++]=w>>>8&255,a[v++]=255&w,a[v++]=w>>>24&15|16,a[v++]=w>>>16&255,a[v++]=t>>>8|128,a[v++]=255&t;for(var g=0;g<6;++g)a[v+g]=d[g];return l||s(a)}module.exports=c;","map":{"mappings":[{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":9,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":10,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":8}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":10}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":18}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":2,"column":0},"generated":{"line":1,"column":31}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":2,"column":0},"generated":{"line":1,"column":33}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":2,"column":0},"generated":{"line":1,"column":41}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":13,"column":0},"generated":{"line":1,"column":62}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":13,"column":0},"generated":{"line":1,"column":64}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":14,"column":0},"generated":{"line":1,"column":66}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":14,"column":0},"generated":{"line":1,"column":68}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":70}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":79}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":81}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":83}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":85}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":100}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":19,"column":0},"generated":{"line":1,"column":102}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":19,"column":0},"generated":{"line":1,"column":104}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":19,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":22,"column":0},"generated":{"line":1,"column":110}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":21,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":21,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":21,"column":0},"generated":{"line":1,"column":118}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":22,"column":0},"generated":{"line":1,"column":122}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":22,"column":0},"generated":{"line":1,"column":128}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":137}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":141}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":143}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":152}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":154}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":163}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":165}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":168}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":174}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":177}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":183}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":185}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":29,"column":0},"generated":{"line":1,"column":186}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":29,"column":0},"generated":{"line":1,"column":190}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":29,"column":0},"generated":{"line":1,"column":192}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":30,"column":0},"generated":{"line":1,"column":196}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":30,"column":0},"generated":{"line":1,"column":202}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":32,"column":0},"generated":{"line":1,"column":206}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":32,"column":0},"generated":{"line":1,"column":208}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":32,"column":0},"generated":{"line":1,"column":210}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":33,"column":0},"generated":{"line":1,"column":211}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":33,"column":0},"generated":{"line":1,"column":213}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":33,"column":0},"generated":{"line":1,"column":215}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":218}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":220}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":223}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":225}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":228}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":233}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":235}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":238}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":240}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":37,"column":0},"generated":{"line":1,"column":245}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":37,"column":0},"generated":{"line":1,"column":251}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":255}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":257}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":259}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":266}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":268}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":272}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":274}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":276}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":281}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":285}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":292}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":296}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":298}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":304}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":306}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":313}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":317}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":323}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":333}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":340}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":346}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":352}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":354}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":360}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":362}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":364}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":366}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":368}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":371}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":373}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":376}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":68,"column":0},"generated":{"line":1,"column":380}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":383}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":385}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":393}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":397}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":399}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":410}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":412}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":414}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":416}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":424}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":426}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":429}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":431}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":440}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":444}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":446}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":64,"column":0},"generated":{"line":1,"column":454}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":64,"column":0},"generated":{"line":1,"column":456}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":68,"column":0},"generated":{"line":1,"column":459}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":68,"column":0},"generated":{"line":1,"column":462}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":466}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":472}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":476}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":482}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":72,"column":0},"generated":{"line":1,"column":533}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":72,"column":0},"generated":{"line":1,"column":535}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":73,"column":0},"generated":{"line":1,"column":537}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":73,"column":0},"generated":{"line":1,"column":539}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":74,"column":0},"generated":{"line":1,"column":541}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":74,"column":0},"generated":{"line":1,"column":543}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":545}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":549}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":552}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":557}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":77,"column":0},"generated":{"line":1,"column":568}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":77,"column":0},"generated":{"line":1,"column":571}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":585}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":588}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":599}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":601}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":606}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":610}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":613}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":617}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":619}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":624}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":628}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":631}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":635}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":637}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":642}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":646}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":648}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":652}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":654}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":659}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":663}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":665}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":669}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":671}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":673}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":684}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":688}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":698}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":700}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":705}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":709}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":711}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":715}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":717}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":722}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":726}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":728}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":730}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":735}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":739}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":742}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":745}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":748}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":750}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":755}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":759}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":762}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":766}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":768}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":773}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":777}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":779}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":783}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":785}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":790}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":794}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":796}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":800}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":804}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":806}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":808}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":810}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":814}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":816}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":818}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":820}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":823}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":825}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":828}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":835}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":838}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":840}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":109,"column":0},"generated":{"line":1,"column":843}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":109,"column":0},"generated":{"line":1,"column":850}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":109,"column":0},"generated":{"line":1,"column":858}}],"sources":{"../../../../node_modules/uuid/v1.js":"var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n"},"lineCount":null}},"hash":"0a9ba2edb5f05c1fea91743ddf146b31","cacheData":{"env":{}}} | ||
{"id":"aNUx","dependencies":[{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/uuid/package.json","includedInParent":true,"mtime":1549914850503},{"name":"./lib/rng","loc":{"line":1,"column":18},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v1.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/rng-browser.js"},{"name":"./lib/bytesToUuid","loc":{"line":2,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/uuid/v1.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/lib/bytesToUuid.js"}],"generated":{"js":"var e,r,o=require(\"./lib/rng\"),s=require(\"./lib/bytesToUuid\"),i=0,n=0;function c(c,l,u){var v=l&&u||0,a=l||[],d=(c=c||{}).node||e,t=void 0!==c.clockseq?c.clockseq:r;if(null==d||null==t){var m=o();null==d&&(d=e=[1|m[0],m[1],m[2],m[3],m[4],m[5]]),null==t&&(t=r=16383&(m[6]<<8|m[7]))}var q=void 0!==c.msecs?c.msecs:(new Date).getTime(),f=void 0!==c.nsecs?c.nsecs:n+1,b=q-i+(f-n)/1e4;if(b<0&&void 0===c.clockseq&&(t=t+1&16383),(b<0||q>i)&&void 0===c.nsecs&&(f=0),f>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");i=q,n=f,r=t;var k=(1e4*(268435455&(q+=122192928e5))+f)%4294967296;a[v++]=k>>>24&255,a[v++]=k>>>16&255,a[v++]=k>>>8&255,a[v++]=255&k;var w=q/4294967296*1e4&268435455;a[v++]=w>>>8&255,a[v++]=255&w,a[v++]=w>>>24&15|16,a[v++]=w>>>16&255,a[v++]=t>>>8|128,a[v++]=255&t;for(var g=0;g<6;++g)a[v+g]=d[g];return l||s(a)}module.exports=c;","map":{"mappings":[{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":9,"column":0},"generated":{"line":1,"column":4}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":10,"column":0},"generated":{"line":1,"column":6}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":8}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":10}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":1,"column":0},"generated":{"line":1,"column":18}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":2,"column":0},"generated":{"line":1,"column":31}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":2,"column":0},"generated":{"line":1,"column":33}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":2,"column":0},"generated":{"line":1,"column":41}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":13,"column":0},"generated":{"line":1,"column":62}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":13,"column":0},"generated":{"line":1,"column":64}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":14,"column":0},"generated":{"line":1,"column":66}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":14,"column":0},"generated":{"line":1,"column":68}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":70}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":79}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":81}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":83}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":17,"column":0},"generated":{"line":1,"column":85}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":18,"column":0},"generated":{"line":1,"column":100}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":19,"column":0},"generated":{"line":1,"column":102}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":19,"column":0},"generated":{"line":1,"column":104}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":19,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":22,"column":0},"generated":{"line":1,"column":110}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":21,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":21,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":21,"column":0},"generated":{"line":1,"column":118}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":22,"column":0},"generated":{"line":1,"column":122}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":22,"column":0},"generated":{"line":1,"column":128}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":130}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":137}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":141}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":143}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":152}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":154}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":23,"column":0},"generated":{"line":1,"column":163}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":165}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":168}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":174}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":177}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":183}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":28,"column":0},"generated":{"line":1,"column":185}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":29,"column":0},"generated":{"line":1,"column":186}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":29,"column":0},"generated":{"line":1,"column":190}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":29,"column":0},"generated":{"line":1,"column":192}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":30,"column":0},"generated":{"line":1,"column":196}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":30,"column":0},"generated":{"line":1,"column":202}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":32,"column":0},"generated":{"line":1,"column":206}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":32,"column":0},"generated":{"line":1,"column":208}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":32,"column":0},"generated":{"line":1,"column":210}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":33,"column":0},"generated":{"line":1,"column":211}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":33,"column":0},"generated":{"line":1,"column":213}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":33,"column":0},"generated":{"line":1,"column":215}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":218}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":220}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":223}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":225}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":228}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":233}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":235}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":238}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":34,"column":0},"generated":{"line":1,"column":240}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":37,"column":0},"generated":{"line":1,"column":245}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":37,"column":0},"generated":{"line":1,"column":251}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":255}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":257}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":259}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":266}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":268}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":272}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":274}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":39,"column":0},"generated":{"line":1,"column":276}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":281}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":285}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":292}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":296}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":298}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":304}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":306}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":313}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":317}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":47,"column":0},"generated":{"line":1,"column":323}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":333}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":340}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":344}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":346}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":352}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":354}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":360}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":51,"column":0},"generated":{"line":1,"column":362}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":364}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":366}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":368}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":371}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":373}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":54,"column":0},"generated":{"line":1,"column":376}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":68,"column":0},"generated":{"line":1,"column":380}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":383}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":385}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":393}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":397}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":57,"column":0},"generated":{"line":1,"column":399}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":410}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":412}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":414}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":58,"column":0},"generated":{"line":1,"column":416}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":424}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":426}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":429}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":431}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":440}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":444}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":63,"column":0},"generated":{"line":1,"column":446}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":64,"column":0},"generated":{"line":1,"column":454}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":64,"column":0},"generated":{"line":1,"column":456}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":68,"column":0},"generated":{"line":1,"column":459}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":68,"column":0},"generated":{"line":1,"column":462}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":466}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":472}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":476}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":69,"column":0},"generated":{"line":1,"column":482}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":72,"column":0},"generated":{"line":1,"column":533}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":72,"column":0},"generated":{"line":1,"column":535}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":73,"column":0},"generated":{"line":1,"column":537}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":73,"column":0},"generated":{"line":1,"column":539}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":74,"column":0},"generated":{"line":1,"column":541}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":74,"column":0},"generated":{"line":1,"column":543}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":545}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":549}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":552}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":557}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":77,"column":0},"generated":{"line":1,"column":568}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":77,"column":0},"generated":{"line":1,"column":571}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":585}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":80,"column":0},"generated":{"line":1,"column":588}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":599}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":601}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":606}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":610}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":81,"column":0},"generated":{"line":1,"column":613}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":617}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":619}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":624}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":628}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":82,"column":0},"generated":{"line":1,"column":631}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":635}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":637}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":642}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":646}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":83,"column":0},"generated":{"line":1,"column":648}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":652}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":654}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":659}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":84,"column":0},"generated":{"line":1,"column":663}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":665}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":669}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":671}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":673}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":684}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":87,"column":0},"generated":{"line":1,"column":688}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":698}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":700}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":705}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":709}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":88,"column":0},"generated":{"line":1,"column":711}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":715}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":717}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":722}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":89,"column":0},"generated":{"line":1,"column":726}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":728}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":730}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":735}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":739}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":742}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":92,"column":0},"generated":{"line":1,"column":745}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":748}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":750}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":755}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":759}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":93,"column":0},"generated":{"line":1,"column":762}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":766}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":768}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":773}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":777}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":96,"column":0},"generated":{"line":1,"column":779}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":783}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":785}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":790}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":99,"column":0},"generated":{"line":1,"column":794}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":796}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":800}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":804}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":806}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":808}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":810}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":102,"column":0},"generated":{"line":1,"column":814}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":816}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":818}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":820}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":823}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":103,"column":0},"generated":{"line":1,"column":825}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":828}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":835}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":838}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":106,"column":0},"generated":{"line":1,"column":840}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":109,"column":0},"generated":{"line":1,"column":843}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":109,"column":0},"generated":{"line":1,"column":850}},{"source":"../../../../node_modules/uuid/v1.js","original":{"line":109,"column":0},"generated":{"line":1,"column":858}}],"sources":{"../../../../node_modules/uuid/v1.js":"var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n"},"lineCount":null}},"hash":"0a9ba2edb5f05c1fea91743ddf146b31","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"Jgwz","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/facebook-embed.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"./iframe-embed","loc":{"line":1,"column":24},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/facebook-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{}exports.default=r,r.type=\"facebook-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":147}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":150}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":152}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":163}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":183}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":43},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":212}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":222}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":224}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":229}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":246}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":261}}],"sources":{"../../../src/annotations/facebook-embed.ts":"import IframeEmbed from './iframe-embed';\n\nexport default class FacebookEmbed extends IframeEmbed {\n static type = 'facebook-embed';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"d60a41d4a098df9876c749c1c5b248fb","cacheData":{"env":{}}} | ||
{"id":"Jgwz","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/facebook-embed.ts","includedInParent":true,"mtime":1545342158129},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"./iframe-embed","loc":{"line":1,"column":24},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/facebook-embed.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/iframe-embed.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"./iframe-embed\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{}exports.default=r,r.type=\"facebook-embed\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":126}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":137}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":140}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":147}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":150}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":152}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":163}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":166}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":174}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":183}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":43},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":195}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":204}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":212}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":222}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":224}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":229}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":246}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/facebook-embed.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":261}}],"sources":{"../../../src/annotations/facebook-embed.ts":"import IframeEmbed from './iframe-embed';\n\nexport default class FacebookEmbed extends IframeEmbed {\n static type = 'facebook-embed';\n static vendorPrefix = 'offset';\n}\n"},"lineCount":null}},"hash":"d60a41d4a098df9876c749c1c5b248fb","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"LnvJ","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/paragraph.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550104714762},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/paragraph.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class r extends e.BlockAnnotation{get rank(){return 3*super.rank/2}}exports.default=r,r.type=\"paragraph\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":170}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":24},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":17},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":28},"generated":{"line":1,"column":190}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":209}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":211}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":218}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":245}}],"sources":{"../../../src/annotations/paragraph.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Paragraph extends BlockAnnotation {\n static type = 'paragraph';\n static vendorPrefix = 'offset';\n\n get rank() {\n return super.rank * 3 / 2;\n }\n}\n"},"lineCount":null}},"hash":"3ce1f171fe41b108a99b3f43154e644d","cacheData":{"env":{}}} | ||
{"id":"LnvJ","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/src/annotations/paragraph.ts","includedInParent":true,"mtime":1545342158132},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/package.json","includedInParent":true,"mtime":1550111425171},{"name":"@atjson/document","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-annotations/dist/modules/annotations/paragraph.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=require(\"@atjson/document\");class r extends e.BlockAnnotation{get rank(){return 3*super.rank/2}}exports.default=r,r.type=\"paragraph\",r.vendorPrefix=\"offset\";","map":{"mappings":[{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":131}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":39},"generated":{"line":1,"column":141}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":143}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":159}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":170}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":24},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":179}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":17},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":8,"column":28},"generated":{"line":1,"column":190}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":201}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":209}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":211}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":4,"column":16},"generated":{"line":1,"column":218}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":230}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":232}},{"source":"../../../src/annotations/paragraph.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":1,"column":245}}],"sources":{"../../../src/annotations/paragraph.ts":"import { BlockAnnotation } from '@atjson/document';\n\nexport default class Paragraph extends BlockAnnotation {\n static type = 'paragraph';\n static vendorPrefix = 'offset';\n\n get rank() {\n return super.rank * 3 / 2;\n }\n}\n"},"lineCount":null}},"hash":"3ce1f171fe41b108a99b3f43154e644d","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"0ePi","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/src/mixins/component.ts","includedInParent":true,"mtime":1545342158118},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/package.json","includedInParent":true,"mtime":1550104714762}],"generated":{"js":"\n\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),o=s.join(\" \");if(\"document\"===o)return{eventName:n,element:document};if(\"window\"===o)return{eventName:n,element:window};if(\"\"===o)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(o)||e.querySelector(o)}}}function t(e,t){return window.customElements.get(e)||window.customElements.define(e,t),t}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.define=t,exports.default=void 0;class n extends HTMLElement{static get compiledTemplate(){if(!this.compiledElement){this.compiledElement=document.createElement(\"template\");let e=this.style,t=this.template;e&&(t=`<style>${e}</style>${t}`),this.compiledElement.innerHTML=t}return this.compiledElement}constructor(){super(),this.eventHandlers={};let e=this.constructor;this.attachShadow({mode:\"open\"}).appendChild(e.compiledTemplate.content.cloneNode(!0))}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:o}=e(this,n),l=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof l){const t=this[l];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${l}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return l.call(this,e)}),o.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=n;","map":{"mappings":[{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":0}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":2,"column":13}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":2,"column":22}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":2,"column":24}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":2,"column":26}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":2,"column":29}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":2,"column":33}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":2,"column":38}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":2,"column":41}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":2,"column":43}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":2,"column":49}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":2,"column":54}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":2,"column":56}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":2,"column":58}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":2,"column":63}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":68}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":2,"column":71}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":84}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":86}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":92}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":93}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":103}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":2,"column":105}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":2,"column":113}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":2,"column":123}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":2,"column":126}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":2,"column":137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":139}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":145}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":2,"column":158}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":2,"column":166}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":2,"column":174}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":2,"column":177}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":2,"column":182}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":184}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":190}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":191}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":201}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":203}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":211}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":2,"column":214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":215}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":219}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":221}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":227}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":228}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":238}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":2,"column":240}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":2,"column":248}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":2,"column":250}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":2,"column":252}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":2,"column":264}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":2,"column":266}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":2,"column":277}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":2,"column":291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":2,"column":295}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":2,"column":297}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":2,"column":311}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":2,"column":316}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":2,"column":325}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":23},"generated":{"line":2,"column":327}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":2,"column":329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":332}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":7},"generated":{"line":2,"column":339}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":2,"column":346}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":2,"column":361}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":33},"generated":{"line":2,"column":365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":2,"column":369}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":11},"generated":{"line":2,"column":376}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":26},"generated":{"line":2,"column":391}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":33},"generated":{"line":2,"column":398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":39},"generated":{"line":2,"column":400}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":403}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":405}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":412}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":427}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":435}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":448}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":449}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":456}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":460}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":475}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":477}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":485}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":498}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":14},"generated":{"line":2,"column":500}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":21},"generated":{"line":2,"column":506}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":42},"generated":{"line":2,"column":516}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":2,"column":528}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":2,"column":558}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":2,"column":562}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":2,"column":567}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":31},"generated":{"line":2,"column":583}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":584}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":589}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":29},"generated":{"line":2,"column":605}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":38},"generated":{"line":2,"column":614}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":2,"column":628}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":640}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":644}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":2,"column":646}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":2,"column":651}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":2,"column":657}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":2,"column":659}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":2,"column":664}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":2,"column":673}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":2,"column":677}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":25},"generated":{"line":2,"column":689}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":48},"generated":{"line":2,"column":701}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":706}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":711}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":2,"column":727}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":39},"generated":{"line":2,"column":737}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":739}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":746}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":16},"generated":{"line":2,"column":751}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":92,"column":2},"generated":{"line":2,"column":767}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":93,"column":4},"generated":{"line":2,"column":781}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":789}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":794}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":2,"column":808}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":811}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":815}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":25},"generated":{"line":2,"column":817}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":2,"column":822}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":21},"generated":{"line":2,"column":834}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":26},"generated":{"line":2,"column":839}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":39},"generated":{"line":2,"column":852}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":41},"generated":{"line":2,"column":853}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":47},"generated":{"line":2,"column":858}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":15},"generated":{"line":2,"column":867}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":27},"generated":{"line":2,"column":879}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":42},"generated":{"line":2,"column":881}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":59},"generated":{"line":2,"column":898}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":67},"generated":{"line":2,"column":906}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":77},"generated":{"line":2,"column":917}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":2,"column":921}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":2,"column":941}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":2,"column":945}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":25},"generated":{"line":2,"column":947}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":30},"generated":{"line":2,"column":952}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":57},"generated":{"line":2,"column":964}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":67},"generated":{"line":2,"column":972}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":4},"generated":{"line":2,"column":975}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":2,"column":982}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":2,"column":987}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":24},"generated":{"line":2,"column":990}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":33},"generated":{"line":2,"column":998}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1002}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1006}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":12},"generated":{"line":2,"column":1016}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1018}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":23},"generated":{"line":2,"column":1026}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":35},"generated":{"line":2,"column":1029}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":58},"generated":{"line":2,"column":1031}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":64},"generated":{"line":2,"column":1036}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":2,"column":1039}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":2,"column":1041}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":2,"column":1043}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1046}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1051}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":2,"column":1065}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1068}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1069}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":2,"column":1073}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":30},"generated":{"line":2,"column":1076}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":2,"column":1093}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":40},"generated":{"line":2,"column":1095}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1096}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1102}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":66},"generated":{"line":2,"column":1104}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":71},"generated":{"line":2,"column":1109}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1112}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1115}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":38},"generated":{"line":2,"column":1128}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1144}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":32},"generated":{"line":2,"column":1146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":37},"generated":{"line":2,"column":1151}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":43},"generated":{"line":2,"column":1156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1159}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1165}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":22},"generated":{"line":2,"column":1169}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":36},"generated":{"line":2,"column":1183}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":2,"column":1209}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":72},"generated":{"line":2,"column":1214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1265}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1272}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":2,"column":1274}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":2,"column":1279}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":35},"generated":{"line":2,"column":1284}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":6},"generated":{"line":2,"column":1289}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":14},"generated":{"line":2,"column":1291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":2,"column":1308}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":2,"column":1310}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":47},"generated":{"line":2,"column":1315}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":61},"generated":{"line":2,"column":1329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":122,"column":2},"generated":{"line":2,"column":1335}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":4},"generated":{"line":2,"column":1358}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":11},"generated":{"line":2,"column":1365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":16},"generated":{"line":2,"column":1370}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":2,"column":1375}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":36},"generated":{"line":2,"column":1390}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":44},"generated":{"line":2,"column":1398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1402}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1406}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":12},"generated":{"line":2,"column":1416}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1418}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":23},"generated":{"line":2,"column":1426}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":35},"generated":{"line":2,"column":1429}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":58},"generated":{"line":2,"column":1431}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":64},"generated":{"line":2,"column":1436}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":2,"column":1439}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":14},"generated":{"line":2,"column":1441}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":34},"generated":{"line":2,"column":1461}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":45},"generated":{"line":2,"column":1463}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":50},"generated":{"line":2,"column":1468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":64},"generated":{"line":2,"column":1482}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1488}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1493}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":25},"generated":{"line":2,"column":1507}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1511}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1519}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1527}}],"sources":{"../../../src/mixins/component.ts":"type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\ninterface TemplateElement extends HTMLElement {\n content: Node;\n}\n\nexport function define(name: string, component: typeof HTMLElement) {\n if (!window.customElements.get(name)) {\n window.customElements.define(name, component);\n }\n return component;\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class WebComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n static template: string;\n static style: string | null;\n private static compiledElement: TemplateElement;\n\n private static get compiledTemplate(): TemplateElement {\n if (!this.compiledElement) {\n this.compiledElement = document.createElement('template');\n let scopedStyles = this.style;\n let html = this.template;\n if (scopedStyles) {\n html = `<style>${scopedStyles}</style>${html}`;\n }\n this.compiledElement.innerHTML = html;\n }\n return this.compiledElement;\n }\n\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n let ComponentClass = this.constructor as typeof WebComponent;\n let shadowRoot = this.attachShadow({ mode: 'open' });\n shadowRoot.appendChild(ComponentClass.compiledTemplate.content.cloneNode(true));\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof WebComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"f553220f09f99c1b412174d48acab7cf","cacheData":{"env":{}}} | ||
{"id":"0ePi","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/src/mixins/component.ts","includedInParent":true,"mtime":1545342158118},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/editor/package.json","includedInParent":true,"mtime":1550111425157}],"generated":{"js":"\n\"use strict\";function e(e,t){let[n,...s]=t.split(\" \"),o=s.join(\" \");if(\"document\"===o)return{eventName:n,element:document};if(\"window\"===o)return{eventName:n,element:window};if(\"\"===o)return{eventName:n,element:e};{let t;return{eventName:n,element:t=e.shadowRoot&&e.shadowRoot.querySelector(o)||e.querySelector(o)}}}function t(e,t){return window.customElements.get(e)||window.customElements.define(e,t),t}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.define=t,exports.default=void 0;class n extends HTMLElement{static get compiledTemplate(){if(!this.compiledElement){this.compiledElement=document.createElement(\"template\");let e=this.style,t=this.template;e&&(t=`<style>${e}</style>${t}`),this.compiledElement.innerHTML=t}return this.compiledElement}constructor(){super(),this.eventHandlers={};let e=this.constructor;this.attachShadow({mode:\"open\"}).appendChild(e.compiledTemplate.content.cloneNode(!0))}connectedCallback(){let t=this.constructor.events||{};Object.keys(t).forEach(n=>{let{eventName:s,element:o}=e(this,n),l=t[n];this.eventHandlers[n]=(e=>{if(\"string\"==typeof l){const t=this[l];if(t instanceof Function)return t.call(this,e);throw new Error(`😭 \\`${l}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`)}return l.call(this,e)}),o.addEventListener(s,this.eventHandlers[n])})}disconnectedCallback(){Object.keys(this.eventHandlers).forEach(t=>{let{eventName:n,element:s}=e(this,t);s.removeEventListener(n,this.eventHandlers[t])}),this.eventHandlers={}}}exports.default=n;","map":{"mappings":[{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":0}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":2,"column":13}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":2,"column":22}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":32},"generated":{"line":2,"column":24}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":11,"column":54},"generated":{"line":2,"column":26}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":2,"column":29}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":7},"generated":{"line":2,"column":33}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":2,"column":38}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":34},"generated":{"line":2,"column":41}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":45},"generated":{"line":2,"column":43}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":12,"column":51},"generated":{"line":2,"column":49}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":2,"column":54}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":17},"generated":{"line":2,"column":56}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":27},"generated":{"line":2,"column":58}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":13,"column":32},"generated":{"line":2,"column":63}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":68}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":2,"column":71}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":2,"column":84}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":86}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":11},"generated":{"line":2,"column":92}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":93}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":13},"generated":{"line":2,"column":103}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":2,"column":105}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":15,"column":33},"generated":{"line":2,"column":113}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":2,"column":123}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":26},"generated":{"line":2,"column":126}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":16,"column":13},"generated":{"line":2,"column":137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":139}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":11},"generated":{"line":2,"column":145}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":2,"column":156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":2,"column":158}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":17,"column":33},"generated":{"line":2,"column":166}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":2,"column":174}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":26},"generated":{"line":2,"column":177}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":18,"column":13},"generated":{"line":2,"column":182}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":184}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":11},"generated":{"line":2,"column":190}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":191}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":13},"generated":{"line":2,"column":201}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":203}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":19,"column":24},"generated":{"line":2,"column":211}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":2,"column":214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":215}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":2,"column":219}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":221}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":11},"generated":{"line":2,"column":227}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":228}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":2,"column":238}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":27,"column":24},"generated":{"line":2,"column":240}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":6},"generated":{"line":2,"column":248}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":2,"column":250}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":22,"column":16},"generated":{"line":2,"column":252}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":22},"generated":{"line":2,"column":264}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":30},"generated":{"line":2,"column":266}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":41},"generated":{"line":2,"column":277}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":23,"column":55},"generated":{"line":2,"column":291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":22},"generated":{"line":2,"column":295}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":30},"generated":{"line":2,"column":297}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":2,"column":311}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":2,"column":316}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":2,"column":325}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":23},"generated":{"line":2,"column":327}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":2,"column":329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":332}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":7},"generated":{"line":2,"column":339}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":14},"generated":{"line":2,"column":346}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":29},"generated":{"line":2,"column":361}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":36,"column":33},"generated":{"line":2,"column":365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":4},"generated":{"line":2,"column":369}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":11},"generated":{"line":2,"column":376}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":26},"generated":{"line":2,"column":391}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":33},"generated":{"line":2,"column":398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":37,"column":39},"generated":{"line":2,"column":400}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":2,"column":403}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":405}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":412}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":427}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":435}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":448}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":449}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":456}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":460}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":475}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":477}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":485}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":498}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":14},"generated":{"line":2,"column":500}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":21},"generated":{"line":2,"column":506}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":42},"generated":{"line":2,"column":516}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":2,"column":528}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":2,"column":558}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":2,"column":562}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":14},"generated":{"line":2,"column":567}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":76,"column":31},"generated":{"line":2,"column":583}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":584}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":11},"generated":{"line":2,"column":589}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":29},"generated":{"line":2,"column":605}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":38},"generated":{"line":2,"column":614}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":2,"column":628}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":640}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":2,"column":644}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":25},"generated":{"line":2,"column":646}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":2,"column":651}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":2,"column":657}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":17},"generated":{"line":2,"column":659}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":2,"column":664}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":2,"column":673}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":8},"generated":{"line":2,"column":677}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":25},"generated":{"line":2,"column":689}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":81,"column":48},"generated":{"line":2,"column":701}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":706}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":2,"column":711}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":2,"column":727}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":83,"column":39},"generated":{"line":2,"column":737}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":739}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":11},"generated":{"line":2,"column":746}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":85,"column":16},"generated":{"line":2,"column":751}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":92,"column":2},"generated":{"line":2,"column":767}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":93,"column":4},"generated":{"line":2,"column":781}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":789}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":2,"column":794}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":2,"column":808}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":811}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":2,"column":815}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":25},"generated":{"line":2,"column":817}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":2,"column":822}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":21},"generated":{"line":2,"column":834}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":26},"generated":{"line":2,"column":839}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":39},"generated":{"line":2,"column":852}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":41},"generated":{"line":2,"column":853}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":96,"column":47},"generated":{"line":2,"column":858}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":15},"generated":{"line":2,"column":867}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":27},"generated":{"line":2,"column":879}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":42},"generated":{"line":2,"column":881}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":59},"generated":{"line":2,"column":898}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":67},"generated":{"line":2,"column":906}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":97,"column":77},"generated":{"line":2,"column":917}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":2,"column":921}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":2,"column":941}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":2,"column":945}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":25},"generated":{"line":2,"column":947}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":101,"column":30},"generated":{"line":2,"column":952}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":57},"generated":{"line":2,"column":964}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":102,"column":67},"generated":{"line":2,"column":972}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":4},"generated":{"line":2,"column":975}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":2,"column":982}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":16},"generated":{"line":2,"column":987}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":24},"generated":{"line":2,"column":990}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":103,"column":33},"generated":{"line":2,"column":998}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1002}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1006}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":12},"generated":{"line":2,"column":1016}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":10},"generated":{"line":2,"column":1018}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":23},"generated":{"line":2,"column":1026}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":35},"generated":{"line":2,"column":1029}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":58},"generated":{"line":2,"column":1031}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":104,"column":64},"generated":{"line":2,"column":1036}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":2,"column":1039}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":2,"column":1041}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":105,"column":26},"generated":{"line":2,"column":1043}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1046}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":11},"generated":{"line":2,"column":1051}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":25},"generated":{"line":2,"column":1065}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1068}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":106,"column":40},"generated":{"line":2,"column":1069}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":2,"column":1073}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":30},"generated":{"line":2,"column":1076}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":19},"generated":{"line":2,"column":1093}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":107,"column":40},"generated":{"line":2,"column":1095}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1096}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":16},"generated":{"line":2,"column":1102}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":66},"generated":{"line":2,"column":1104}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":108,"column":71},"generated":{"line":2,"column":1109}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1112}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":14},"generated":{"line":2,"column":1115}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":109,"column":38},"generated":{"line":2,"column":1128}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1137}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":19},"generated":{"line":2,"column":1144}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":32},"generated":{"line":2,"column":1146}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":37},"generated":{"line":2,"column":1151}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":110,"column":43},"generated":{"line":2,"column":1156}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1159}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":2,"column":1165}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":22},"generated":{"line":2,"column":1169}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":36},"generated":{"line":2,"column":1183}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":67},"generated":{"line":2,"column":1209}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":112,"column":72},"generated":{"line":2,"column":1214}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1265}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":17},"generated":{"line":2,"column":1272}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":24},"generated":{"line":2,"column":1274}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":29},"generated":{"line":2,"column":1279}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":115,"column":35},"generated":{"line":2,"column":1284}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":6},"generated":{"line":2,"column":1289}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":14},"generated":{"line":2,"column":1291}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":31},"generated":{"line":2,"column":1308}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":42},"generated":{"line":2,"column":1310}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":47},"generated":{"line":2,"column":1315}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":118,"column":61},"generated":{"line":2,"column":1329}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":122,"column":2},"generated":{"line":2,"column":1335}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":4},"generated":{"line":2,"column":1358}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":11},"generated":{"line":2,"column":1365}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":16},"generated":{"line":2,"column":1370}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":2,"column":1375}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":36},"generated":{"line":2,"column":1390}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":123,"column":44},"generated":{"line":2,"column":1398}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1402}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1406}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":12},"generated":{"line":2,"column":1416}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":10},"generated":{"line":2,"column":1418}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":23},"generated":{"line":2,"column":1426}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":35},"generated":{"line":2,"column":1429}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":58},"generated":{"line":2,"column":1431}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":124,"column":64},"generated":{"line":2,"column":1436}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":2,"column":1439}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":14},"generated":{"line":2,"column":1441}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":34},"generated":{"line":2,"column":1461}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":45},"generated":{"line":2,"column":1463}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":50},"generated":{"line":2,"column":1468}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":125,"column":64},"generated":{"line":2,"column":1482}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1488}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":9},"generated":{"line":2,"column":1493}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":127,"column":25},"generated":{"line":2,"column":1507}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1511}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1519}},{"source":"../../../src/mixins/component.ts","name":null,"original":{"line":69,"column":53},"generated":{"line":2,"column":1527}}],"sources":{"../../../src/mixins/component.ts":"type EventCallback = (evt: Event) => boolean;\n\nexport interface EventHandlerDefinitions {\n [key: string]: string | EventCallback;\n}\n\nexport interface EventHandlerReferences {\n [key: string]: EventCallback;\n}\n\nfunction getEventNameAndElement(element: HTMLElement, definition: string) {\n let [eventName, ...selectors] = definition.split(' ');\n let selector = selectors.join(' ');\n if (selector === 'document') {\n return { eventName, element: document };\n } else if (selector === 'window') {\n return { eventName, element: window };\n } else if (selector === '') {\n return { eventName, element };\n } else {\n let querySelector;\n if (element.shadowRoot) {\n querySelector = element.shadowRoot.querySelector(selector) || element.querySelector(selector);\n } else {\n querySelector = element.querySelector(selector);\n }\n return { eventName, element: querySelector };\n }\n}\n\ninterface TemplateElement extends HTMLElement {\n content: Node;\n}\n\nexport function define(name: string, component: typeof HTMLElement) {\n if (!window.customElements.get(name)) {\n window.customElements.define(name, component);\n }\n return component;\n}\n\n/**\n * The events mixin is a Backbone-flavored event management system\n * that automatically sets up and tears down events on web components\n * when they are connected and disconnected from a document.\n *\n * To use this, include the events mixin on your web component,\n * and add a static property called `events` that provides a lookup\n * table to the events that you'd like to attach to your component.\n *\n * ```js\n * import events from './mixins/events';\n *\n * export default TextSelection extends events(HTMLElement) {\n * static events = {\n * 'selectionchange document': 'selectedTextDidChange',\n * 'mousedown': 'willSelectText',\n * 'mouseup': 'didSelectText'\n * };\n * }\n * ```\n *\n * The selectors for `window` and `document` will select only those\n * elements; all other selectors will lookup in the scope of the web\n * component. This allows components to look at events like scrolling,\n * resizing, and selection events without using `addEventListener` /\n * `removeEventListener`.\n */\nexport default class WebComponent extends HTMLElement {\n static events: EventHandlerDefinitions | null;\n static template: string;\n static style: string | null;\n private static compiledElement: TemplateElement;\n\n private static get compiledTemplate(): TemplateElement {\n if (!this.compiledElement) {\n this.compiledElement = document.createElement('template');\n let scopedStyles = this.style;\n let html = this.template;\n if (scopedStyles) {\n html = `<style>${scopedStyles}</style>${html}`;\n }\n this.compiledElement.innerHTML = html;\n }\n return this.compiledElement;\n }\n\n private eventHandlers: EventHandlerReferences;\n\n [key: string]: any;\n\n constructor() {\n super();\n this.eventHandlers = {};\n let ComponentClass = this.constructor as typeof WebComponent;\n let shadowRoot = this.attachShadow({ mode: 'open' });\n shadowRoot.appendChild(ComponentClass.compiledTemplate.content.cloneNode(true));\n }\n\n connectedCallback() {\n let ComponentClass = this.constructor as typeof WebComponent;\n let events: EventHandlerDefinitions = ComponentClass.events || {};\n Object.keys(events).forEach((definition: string) => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n let method = events[definition];\n this.eventHandlers[definition] = (evt): boolean | never => {\n if (typeof method === 'string') {\n const eventHandler: (event: Event) => boolean | never = this[method];\n if (eventHandler instanceof Function) {\n return eventHandler.call(this, evt);\n } else {\n throw new Error(`😭 \\`${method}\\` was not defined on ${this.tagName}- did you misspell or forget to add it?`);\n }\n } else {\n return method.call(this, evt);\n }\n };\n element.addEventListener(eventName, this.eventHandlers[definition]);\n });\n }\n\n disconnectedCallback() {\n Object.keys(this.eventHandlers).forEach(definition => {\n let { eventName, element } = getEventNameAndElement(this, definition);\n element.removeEventListener(eventName, this.eventHandlers[definition]);\n });\n this.eventHandlers = {};\n }\n}\n"},"lineCount":null}},"hash":"f553220f09f99c1b412174d48acab7cf","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"mPSR","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/index.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"./components/blockquote","loc":{"line":1,"column":29},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/blockquote.js"},{"name":"./components/bold","loc":{"line":2,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/bold.js"},{"name":"./components/heading","loc":{"line":3,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading.js"},{"name":"./components/italic","loc":{"line":4,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/italic.js"},{"name":"./components/link","loc":{"line":5,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link.js"},{"name":"./components/paragraph","loc":{"line":6,"column":28},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/paragraph.js"},{"name":"./components/strikethrough","loc":{"line":7,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/strikethrough.js"},{"name":"./components/superscript","loc":{"line":8,"column":30},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/superscript.js"},{"name":"./components/underline","loc":{"line":9,"column":28},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/underline.js"},{"name":"./mixins/editable-component","loc":{"line":15,"column":14},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});var e={};exports.default=void 0;var t=d(require(\"./components/blockquote\")),r=d(require(\"./components/bold\")),o=d(require(\"./components/heading\")),u=d(require(\"./components/italic\")),n=d(require(\"./components/link\")),a=d(require(\"./components/paragraph\")),i=d(require(\"./components/strikethrough\")),l=d(require(\"./components/superscript\")),s=d(require(\"./components/underline\")),c=require(\"./mixins/editable-component\");function d(e){return e&&e.__esModule?e:{default:e}}Object.keys(c).forEach(function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return c[t]}}))});let p=[t.default,r.default,o.default,u.default,n.default,a.default,i.default,l.default,s.default];var f=p;exports.default=f;","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":72}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":74}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":77}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":85}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":98}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":100}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":104}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":106}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":108}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":144}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":146}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":148}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":156}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":178}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":180}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":182}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":190}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":215}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":217}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":219}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":227}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":251}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":253}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":255}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":263}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":285}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":287}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":289}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":297}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":324}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":326}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":328}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":336}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":367}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":369}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":371}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":379}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":408}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":410}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":412}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":420}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":447}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":449}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":457}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":488}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":497}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":499}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":502}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":509}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":512}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":514}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":525}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":527}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":528}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":536}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":539}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":546}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":551}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":554}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":562}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":571}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":574}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":586}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":589}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":604}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":608}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":615}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":625}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":640}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":645}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":647}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":651}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":658}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":673}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":681}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":683}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":684}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":696}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":698}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":702}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":713}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":720}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":722}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":731}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":4},"generated":{"line":1,"column":735}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":737}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":1,"column":738}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":740}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":20},"generated":{"line":1,"column":748}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":750}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":32},"generated":{"line":1,"column":758}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":760}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":47},"generated":{"line":1,"column":768}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":770}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":61},"generated":{"line":1,"column":778}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":780}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":1,"column":788}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":790}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":19},"generated":{"line":1,"column":798}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":800}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":40},"generated":{"line":1,"column":808}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":810}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":59},"generated":{"line":1,"column":818}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":820}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":829}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":833}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":835}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":837}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":845}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":853}}],"sources":{"../../src/index.ts":"import OffsetBlockquote from './components/blockquote';\nimport OffsetBold from './components/bold';\nimport OffsetHeading from './components/heading';\nimport OffsetItalic from './components/italic';\nimport OffsetLink from './components/link';\nimport OffsetParagraph from './components/paragraph';\nimport OffsetStrikethrough from './components/strikethrough';\nimport OffsetSuperscript from './components/superscript';\nimport OffsetUnderline from './components/underline';\n\nlet OffsetCoreComponents = [\n OffsetBlockquote, OffsetBold, OffsetHeading, OffsetItalic, OffsetLink,\n OffsetParagraph, OffsetStrikethrough, OffsetSuperscript, OffsetUnderline\n];\n\nexport default OffsetCoreComponents;\nexport * from './mixins/editable-component';\n"},"lineCount":null}},"hash":"d3586ddfc22e3754a7d2ec5d62e32fcf","cacheData":{"env":{}}} | ||
{"id":"mPSR","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/src/index.ts","includedInParent":true,"mtime":1545342158140},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/package.json","includedInParent":true,"mtime":1550003055651},{"name":"./components/blockquote","loc":{"line":1,"column":29},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/blockquote.js"},{"name":"./components/bold","loc":{"line":2,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/bold.js"},{"name":"./components/heading","loc":{"line":3,"column":26},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/heading.js"},{"name":"./components/italic","loc":{"line":4,"column":25},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/italic.js"},{"name":"./components/link","loc":{"line":5,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/link.js"},{"name":"./components/paragraph","loc":{"line":6,"column":28},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/paragraph.js"},{"name":"./components/strikethrough","loc":{"line":7,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/strikethrough.js"},{"name":"./components/superscript","loc":{"line":8,"column":30},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/superscript.js"},{"name":"./components/underline","loc":{"line":9,"column":28},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/components/underline.js"},{"name":"./mixins/editable-component","loc":{"line":15,"column":14},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/offset-core-components/dist/modules/mixins/editable-component.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});var e={};exports.default=void 0;var t=d(require(\"./components/blockquote\")),r=d(require(\"./components/bold\")),o=d(require(\"./components/heading\")),u=d(require(\"./components/italic\")),n=d(require(\"./components/link\")),a=d(require(\"./components/paragraph\")),i=d(require(\"./components/strikethrough\")),l=d(require(\"./components/superscript\")),s=d(require(\"./components/underline\")),c=require(\"./mixins/editable-component\");function d(e){return e&&e.__esModule?e:{default:e}}Object.keys(c).forEach(function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return c[t]}}))});let p=[t.default,r.default,o.default,u.default,n.default,a.default,i.default,l.default,s.default];var f=p;exports.default=f;","map":{"mappings":[{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":0}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":13}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":20}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":35}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":43}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":56}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":57}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":64}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":68}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":72}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":74}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":77}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":85}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":98}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":100}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":104}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":106}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":108}},{"source":"../../src/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":116}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":144}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":146}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":148}},{"source":"../../src/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":156}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":178}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":180}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":182}},{"source":"../../src/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":190}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":215}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":217}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":219}},{"source":"../../src/index.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":227}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":251}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":253}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":255}},{"source":"../../src/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":263}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":285}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":287}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":289}},{"source":"../../src/index.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":297}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":324}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":326}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":328}},{"source":"../../src/index.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":336}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":367}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":369}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":371}},{"source":"../../src/index.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":379}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":408}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":410}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":412}},{"source":"../../src/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":420}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":447}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":449}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":457}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":488}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":497}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":499}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":502}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":509}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":512}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":514}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":525}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":527}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":528}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":536}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":539}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":546}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":551}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":554}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":562}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":571}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":574}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":586}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":589}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":604}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":608}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":615}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":625}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":640}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":645}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":647}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":651}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":658}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":673}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":681}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":683}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":684}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":696}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":698}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":702}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":713}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":720}},{"source":"../../src/index.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":1,"column":722}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":1,"column":731}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":4},"generated":{"line":1,"column":735}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":737}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":1,"column":738}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":740}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":20},"generated":{"line":1,"column":748}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":750}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":32},"generated":{"line":1,"column":758}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":760}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":47},"generated":{"line":1,"column":768}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":770}},{"source":"../../src/index.ts","name":null,"original":{"line":12,"column":61},"generated":{"line":1,"column":778}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":780}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":1,"column":788}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":790}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":19},"generated":{"line":1,"column":798}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":800}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":40},"generated":{"line":1,"column":808}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":810}},{"source":"../../src/index.ts","name":null,"original":{"line":13,"column":59},"generated":{"line":1,"column":818}},{"source":"../../src/index.ts","name":null,"original":{"line":11,"column":27},"generated":{"line":1,"column":820}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":829}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":833}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":835}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":837}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":845}},{"source":"../../src/index.ts","name":null,"original":{"line":16,"column":15},"generated":{"line":1,"column":853}}],"sources":{"../../src/index.ts":"import OffsetBlockquote from './components/blockquote';\nimport OffsetBold from './components/bold';\nimport OffsetHeading from './components/heading';\nimport OffsetItalic from './components/italic';\nimport OffsetLink from './components/link';\nimport OffsetParagraph from './components/paragraph';\nimport OffsetStrikethrough from './components/strikethrough';\nimport OffsetSuperscript from './components/superscript';\nimport OffsetUnderline from './components/underline';\n\nlet OffsetCoreComponents = [\n OffsetBlockquote, OffsetBold, OffsetHeading, OffsetItalic, OffsetLink,\n OffsetParagraph, OffsetStrikethrough, OffsetSuperscript, OffsetUnderline\n];\n\nexport default OffsetCoreComponents;\nexport * from './mixins/editable-component';\n"},"lineCount":null}},"hash":"d3586ddfc22e3754a7d2ec5d62e32fcf","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"jtiU","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotation.ts","includedInParent":true,"mtime":1545342158108},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"uuid","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/node_modules/uuid/index.js"},{"name":"./attributes","loc":{"line":2,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/attributes.js"},{"name":"./change","loc":{"line":3,"column":42},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/change.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=require(\"uuid\"),s=require(\"./attributes\"),e=require(\"./change\");class r{constructor(s){let e=this.constructor;this.type=e.type,this.id=s.id||(0,t.v4)(),this.start=s.start,this.end=s.end,this.attributes=s.attributes||{}}static hydrate(t){return new this({id:t.id,start:t.start,end:t.end,attributes:(0,s.unprefix)(this.vendorPrefix,this.subdocuments,t.attributes)})}isAlignedWith(t){return this.start===t.start&&this.end===t.end}handleChange(t){\"insertion\"===t.type?this.handleInsertion(t):this.handleDeletion(t)}handleDeletion(t){let s=t.end-t.start;this.end<t.start||(t.end<this.start?(this.start-=s,this.end-=s):t.end<this.end?t.start>this.start?this.end-=s:t.start<=this.start&&(this.start-=this.start-t.start,this.end-=s):t.end>=this.end&&(t.start<=this.start?(this.start=t.start,this.end=t.start):t.start>this.start&&(this.end=t.start)))}handleInsertion(t){let s=t.text.length;t.start<this.start?(this.start+=s,this.end+=s):t.start>this.start&&t.start<this.end?this.end+=s:t.behaviour===e.AdjacentBoundaryBehaviour.default?t.start===this.start?(this.start+=s,this.end+=s):t.start===this.end&&(this.end+=s):t.behaviour===e.AdjacentBoundaryBehaviour.preserve&&t.start===this.start?this.end+=s:t.start===this.end&&(this.end+=0)}clone(){return this.constructor.hydrate(this.toJSON())}toJSON(){let t=this.constructor.vendorPrefix;return{id:this.id,type:`-${t}-${this.type}`,start:this.start,end:this.end,attributes:(0,s.toJSON)(t,this.attributes)}}}exports.default=r,r.subdocuments={};","map":{"mappings":[{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":0}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":13}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":20}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":35}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":43}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":56}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":57}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":64}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":68}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":76}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":89}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../src/annotation.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":113}},{"source":"../../src/annotation.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":115}},{"source":"../../src/annotation.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":123}},{"source":"../../src/annotation.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":139}},{"source":"../../src/annotation.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":141}},{"source":"../../src/annotation.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":149}},{"source":"../../src/annotation.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":161}},{"source":"../../src/annotation.ts","name":null,"original":{"line":16,"column":30},"generated":{"line":1,"column":167}},{"source":"../../src/annotation.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":169}},{"source":"../../src/annotation.ts","name":null,"original":{"line":40,"column":14},"generated":{"line":1,"column":181}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":184}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":188}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":26},"generated":{"line":1,"column":190}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":31},"generated":{"line":1,"column":195}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":9},"generated":{"line":1,"column":207}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":9},"generated":{"line":1,"column":212}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":16},"generated":{"line":1,"column":217}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":32},"generated":{"line":1,"column":219}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":224}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":229}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":14},"generated":{"line":1,"column":232}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":20},"generated":{"line":1,"column":234}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":26},"generated":{"line":1,"column":239}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":4},"generated":{"line":1,"column":241}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":4},"generated":{"line":1,"column":243}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":249}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":254}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":17},"generated":{"line":1,"column":260}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":23},"generated":{"line":1,"column":262}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":9},"generated":{"line":1,"column":268}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":9},"generated":{"line":1,"column":273}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":15},"generated":{"line":1,"column":277}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":21},"generated":{"line":1,"column":279}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":283}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":288}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":22},"generated":{"line":1,"column":299}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":28},"generated":{"line":1,"column":301}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":42},"generated":{"line":1,"column":313}},{"source":"../../src/annotation.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":316}},{"source":"../../src/annotation.ts","name":null,"original":{"line":23,"column":4},"generated":{"line":1,"column":331}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":1,"column":334}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":1,"column":341}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":15},"generated":{"line":1,"column":345}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":20},"generated":{"line":1,"column":350}},{"source":"../../src/annotation.ts","name":null,"original":{"line":26,"column":6},"generated":{"line":1,"column":351}},{"source":"../../src/annotation.ts","name":null,"original":{"line":26,"column":10},"generated":{"line":1,"column":354}},{"source":"../../src/annotation.ts","name":null,"original":{"line":26,"column":16},"generated":{"line":1,"column":356}},{"source":"../../src/annotation.ts","name":null,"original":{"line":27,"column":6},"generated":{"line":1,"column":359}},{"source":"../../src/annotation.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":365}},{"source":"../../src/annotation.ts","name":null,"original":{"line":27,"column":19},"generated":{"line":1,"column":367}},{"source":"../../src/annotation.ts","name":null,"original":{"line":28,"column":6},"generated":{"line":1,"column":373}},{"source":"../../src/annotation.ts","name":null,"original":{"line":28,"column":11},"generated":{"line":1,"column":377}},{"source":"../../src/annotation.ts","name":null,"original":{"line":28,"column":17},"generated":{"line":1,"column":379}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":383}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":1,"column":395}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":27},"generated":{"line":1,"column":397}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":27},"generated":{"line":1,"column":399}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":27},"generated":{"line":1,"column":409}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":32},"generated":{"line":1,"column":414}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":46},"generated":{"line":1,"column":427}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":51},"generated":{"line":1,"column":432}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":65},"generated":{"line":1,"column":445}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":71},"generated":{"line":1,"column":447}},{"source":"../../src/annotation.ts","name":null,"original":{"line":50,"column":2},"generated":{"line":1,"column":461}},{"source":"../../src/annotation.ts","name":null,"original":{"line":50,"column":16},"generated":{"line":1,"column":475}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":478}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":485}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":16},"generated":{"line":1,"column":490}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":26},"generated":{"line":1,"column":498}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":37},"generated":{"line":1,"column":500}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":11},"generated":{"line":1,"column":507}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":16},"generated":{"line":1,"column":512}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":24},"generated":{"line":1,"column":518}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":35},"generated":{"line":1,"column":520}},{"source":"../../src/annotation.ts","name":null,"original":{"line":60,"column":2},"generated":{"line":1,"column":524}},{"source":"../../src/annotation.ts","name":null,"original":{"line":60,"column":15},"generated":{"line":1,"column":537}},{"source":"../../src/annotation.ts","name":null,"original":{"line":61,"column":24},"generated":{"line":1,"column":540}},{"source":"../../src/annotation.ts","name":null,"original":{"line":61,"column":8},"generated":{"line":1,"column":554}},{"source":"../../src/annotation.ts","name":null,"original":{"line":61,"column":15},"generated":{"line":1,"column":556}},{"source":"../../src/annotation.ts","name":null,"original":{"line":62,"column":11},"generated":{"line":1,"column":561}},{"source":"../../src/annotation.ts","name":null,"original":{"line":62,"column":11},"generated":{"line":1,"column":566}},{"source":"../../src/annotation.ts","name":null,"original":{"line":62,"column":27},"generated":{"line":1,"column":582}},{"source":"../../src/annotation.ts","name":null,"original":{"line":64,"column":11},"generated":{"line":1,"column":585}},{"source":"../../src/annotation.ts","name":null,"original":{"line":64,"column":11},"generated":{"line":1,"column":590}},{"source":"../../src/annotation.ts","name":null,"original":{"line":64,"column":26},"generated":{"line":1,"column":605}},{"source":"../../src/annotation.ts","name":null,"original":{"line":68,"column":2},"generated":{"line":1,"column":608}},{"source":"../../src/annotation.ts","name":null,"original":{"line":68,"column":17},"generated":{"line":1,"column":623}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":626}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":630}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":17},"generated":{"line":1,"column":632}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":24},"generated":{"line":1,"column":634}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":30},"generated":{"line":1,"column":638}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":37},"generated":{"line":1,"column":640}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":8},"generated":{"line":1,"column":646}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":13},"generated":{"line":1,"column":651}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":19},"generated":{"line":1,"column":655}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":1,"column":657}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":8},"generated":{"line":1,"column":665}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":15},"generated":{"line":1,"column":667}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":21},"generated":{"line":1,"column":671}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":676}},{"source":"../../src/annotation.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":683}},{"source":"../../src/annotation.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":688}},{"source":"../../src/annotation.ts","name":null,"original":{"line":81,"column":20},"generated":{"line":1,"column":695}},{"source":"../../src/annotation.ts","name":null,"original":{"line":82,"column":11},"generated":{"line":1,"column":697}},{"source":"../../src/annotation.ts","name":null,"original":{"line":82,"column":11},"generated":{"line":1,"column":702}},{"source":"../../src/annotation.ts","name":null,"original":{"line":82,"column":18},"generated":{"line":1,"column":707}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":10},"generated":{"line":1,"column":710}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":17},"generated":{"line":1,"column":712}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":23},"generated":{"line":1,"column":716}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":28},"generated":{"line":1,"column":721}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":12},"generated":{"line":1,"column":725}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":19},"generated":{"line":1,"column":727}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":27},"generated":{"line":1,"column":733}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":32},"generated":{"line":1,"column":738}},{"source":"../../src/annotation.ts","name":null,"original":{"line":93,"column":15},"generated":{"line":1,"column":744}},{"source":"../../src/annotation.ts","name":null,"original":{"line":93,"column":15},"generated":{"line":1,"column":749}},{"source":"../../src/annotation.ts","name":null,"original":{"line":93,"column":22},"generated":{"line":1,"column":754}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":19},"generated":{"line":1,"column":756}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":26},"generated":{"line":1,"column":758}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":35},"generated":{"line":1,"column":765}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":40},"generated":{"line":1,"column":770}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":15},"generated":{"line":1,"column":778}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":15},"generated":{"line":1,"column":783}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":24},"generated":{"line":1,"column":790}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":29},"generated":{"line":1,"column":795}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":37},"generated":{"line":1,"column":801}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":44},"generated":{"line":1,"column":803}},{"source":"../../src/annotation.ts","name":null,"original":{"line":101,"column":15},"generated":{"line":1,"column":809}},{"source":"../../src/annotation.ts","name":null,"original":{"line":101,"column":15},"generated":{"line":1,"column":814}},{"source":"../../src/annotation.ts","name":null,"original":{"line":101,"column":22},"generated":{"line":1,"column":819}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":17},"generated":{"line":1,"column":822}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":24},"generated":{"line":1,"column":824}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":31},"generated":{"line":1,"column":829}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":36},"generated":{"line":1,"column":834}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":12},"generated":{"line":1,"column":840}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":19},"generated":{"line":1,"column":842}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":28},"generated":{"line":1,"column":849}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":33},"generated":{"line":1,"column":854}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":15},"generated":{"line":1,"column":861}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":15},"generated":{"line":1,"column":866}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":23},"generated":{"line":1,"column":872}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":30},"generated":{"line":1,"column":874}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":15},"generated":{"line":1,"column":880}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":15},"generated":{"line":1,"column":885}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":21},"generated":{"line":1,"column":889}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":891}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":19},"generated":{"line":1,"column":898}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":26},"generated":{"line":1,"column":900}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":34},"generated":{"line":1,"column":906}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":39},"generated":{"line":1,"column":911}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":15},"generated":{"line":1,"column":919}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":15},"generated":{"line":1,"column":924}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":21},"generated":{"line":1,"column":928}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":28},"generated":{"line":1,"column":930}},{"source":"../../src/annotation.ts","name":null,"original":{"line":124,"column":2},"generated":{"line":1,"column":939}},{"source":"../../src/annotation.ts","name":null,"original":{"line":124,"column":18},"generated":{"line":1,"column":955}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":958}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":962}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":17},"generated":{"line":1,"column":964}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":24},"generated":{"line":1,"column":966}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":29},"generated":{"line":1,"column":971}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":8},"generated":{"line":1,"column":978}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":15},"generated":{"line":1,"column":980}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":23},"generated":{"line":1,"column":986}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":28},"generated":{"line":1,"column":991}},{"source":"../../src/annotation.ts","name":null,"original":{"line":130,"column":11},"generated":{"line":1,"column":998}},{"source":"../../src/annotation.ts","name":null,"original":{"line":130,"column":11},"generated":{"line":1,"column":1003}},{"source":"../../src/annotation.ts","name":null,"original":{"line":130,"column":20},"generated":{"line":1,"column":1010}},{"source":"../../src/annotation.ts","name":null,"original":{"line":131,"column":11},"generated":{"line":1,"column":1012}},{"source":"../../src/annotation.ts","name":null,"original":{"line":131,"column":11},"generated":{"line":1,"column":1017}},{"source":"../../src/annotation.ts","name":null,"original":{"line":131,"column":18},"generated":{"line":1,"column":1022}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":15},"generated":{"line":1,"column":1025}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":22},"generated":{"line":1,"column":1027}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":30},"generated":{"line":1,"column":1033}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":35},"generated":{"line":1,"column":1038}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":44},"generated":{"line":1,"column":1045}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":51},"generated":{"line":1,"column":1047}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":59},"generated":{"line":1,"column":1053}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":64},"generated":{"line":1,"column":1058}},{"source":"../../src/annotation.ts","name":null,"original":{"line":133,"column":11},"generated":{"line":1,"column":1062}},{"source":"../../src/annotation.ts","name":null,"original":{"line":133,"column":11},"generated":{"line":1,"column":1067}},{"source":"../../src/annotation.ts","name":null,"original":{"line":133,"column":18},"generated":{"line":1,"column":1072}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":15},"generated":{"line":1,"column":1074}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":22},"generated":{"line":1,"column":1076}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":36},"generated":{"line":1,"column":1088}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":62},"generated":{"line":1,"column":1090}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":62},"generated":{"line":1,"column":1116}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":10},"generated":{"line":1,"column":1124}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":17},"generated":{"line":1,"column":1126}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":27},"generated":{"line":1,"column":1134}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":32},"generated":{"line":1,"column":1139}},{"source":"../../src/annotation.ts","name":null,"original":{"line":146,"column":13},"generated":{"line":1,"column":1146}},{"source":"../../src/annotation.ts","name":null,"original":{"line":146,"column":13},"generated":{"line":1,"column":1151}},{"source":"../../src/annotation.ts","name":null,"original":{"line":146,"column":22},"generated":{"line":1,"column":1158}},{"source":"../../src/annotation.ts","name":null,"original":{"line":147,"column":13},"generated":{"line":1,"column":1160}},{"source":"../../src/annotation.ts","name":null,"original":{"line":147,"column":13},"generated":{"line":1,"column":1165}},{"source":"../../src/annotation.ts","name":null,"original":{"line":147,"column":20},"generated":{"line":1,"column":1170}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":17},"generated":{"line":1,"column":1173}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":24},"generated":{"line":1,"column":1175}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":34},"generated":{"line":1,"column":1183}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":39},"generated":{"line":1,"column":1188}},{"source":"../../src/annotation.ts","name":null,"original":{"line":149,"column":13},"generated":{"line":1,"column":1194}},{"source":"../../src/annotation.ts","name":null,"original":{"line":149,"column":13},"generated":{"line":1,"column":1199}},{"source":"../../src/annotation.ts","name":null,"original":{"line":149,"column":20},"generated":{"line":1,"column":1204}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":15},"generated":{"line":1,"column":1207}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":22},"generated":{"line":1,"column":1209}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":36},"generated":{"line":1,"column":1221}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":62},"generated":{"line":1,"column":1223}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":62},"generated":{"line":1,"column":1249}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":74},"generated":{"line":1,"column":1259}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":81},"generated":{"line":1,"column":1261}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":91},"generated":{"line":1,"column":1269}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":96},"generated":{"line":1,"column":1274}},{"source":"../../src/annotation.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":1280}},{"source":"../../src/annotation.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":1285}},{"source":"../../src/annotation.ts","name":null,"original":{"line":154,"column":18},"generated":{"line":1,"column":1290}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":15},"generated":{"line":1,"column":1292}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":22},"generated":{"line":1,"column":1294}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":32},"generated":{"line":1,"column":1302}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":37},"generated":{"line":1,"column":1307}},{"source":"../../src/annotation.ts","name":null,"original":{"line":161,"column":11},"generated":{"line":1,"column":1313}},{"source":"../../src/annotation.ts","name":null,"original":{"line":161,"column":11},"generated":{"line":1,"column":1318}},{"source":"../../src/annotation.ts","name":null,"original":{"line":161,"column":18},"generated":{"line":1,"column":1323}},{"source":"../../src/annotation.ts","name":null,"original":{"line":165,"column":2},"generated":{"line":1,"column":1326}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":11},"generated":{"line":1,"column":1334}},{"source":"../../src/annotation.ts","name":null,"original":{"line":166,"column":26},"generated":{"line":1,"column":1341}},{"source":"../../src/annotation.ts","name":null,"original":{"line":166,"column":31},"generated":{"line":1,"column":1346}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":27},"generated":{"line":1,"column":1358}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":35},"generated":{"line":1,"column":1366}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":40},"generated":{"line":1,"column":1371}},{"source":"../../src/annotation.ts","name":null,"original":{"line":170,"column":2},"generated":{"line":1,"column":1381}},{"source":"../../src/annotation.ts","name":null,"original":{"line":171,"column":8},"generated":{"line":1,"column":1390}},{"source":"../../src/annotation.ts","name":null,"original":{"line":172,"column":8},"generated":{"line":1,"column":1394}},{"source":"../../src/annotation.ts","name":null,"original":{"line":171,"column":26},"generated":{"line":1,"column":1396}},{"source":"../../src/annotation.ts","name":null,"original":{"line":171,"column":31},"generated":{"line":1,"column":1401}},{"source":"../../src/annotation.ts","name":null,"original":{"line":172,"column":39},"generated":{"line":1,"column":1413}},{"source":"../../src/annotation.ts","name":null,"original":{"line":173,"column":11},"generated":{"line":1,"column":1426}},{"source":"../../src/annotation.ts","name":null,"original":{"line":173,"column":11},"generated":{"line":1,"column":1432}},{"source":"../../src/annotation.ts","name":null,"original":{"line":174,"column":6},"generated":{"line":1,"column":1433}},{"source":"../../src/annotation.ts","name":null,"original":{"line":174,"column":10},"generated":{"line":1,"column":1436}},{"source":"../../src/annotation.ts","name":null,"original":{"line":174,"column":15},"generated":{"line":1,"column":1441}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":6},"generated":{"line":1,"column":1444}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":16},"generated":{"line":1,"column":1453}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":32},"generated":{"line":1,"column":1458}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":37},"generated":{"line":1,"column":1463}},{"source":"../../src/annotation.ts","name":null,"original":{"line":176,"column":6},"generated":{"line":1,"column":1470}},{"source":"../../src/annotation.ts","name":null,"original":{"line":176,"column":13},"generated":{"line":1,"column":1476}},{"source":"../../src/annotation.ts","name":null,"original":{"line":176,"column":18},"generated":{"line":1,"column":1481}},{"source":"../../src/annotation.ts","name":null,"original":{"line":177,"column":6},"generated":{"line":1,"column":1487}},{"source":"../../src/annotation.ts","name":null,"original":{"line":177,"column":11},"generated":{"line":1,"column":1491}},{"source":"../../src/annotation.ts","name":null,"original":{"line":177,"column":16},"generated":{"line":1,"column":1496}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":6},"generated":{"line":1,"column":1500}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":18},"generated":{"line":1,"column":1512}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":25},"generated":{"line":1,"column":1514}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":25},"generated":{"line":1,"column":1516}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":25},"generated":{"line":1,"column":1524}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":1526}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":44},"generated":{"line":1,"column":1531}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1545}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1553}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1561}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1563}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1565}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":60},"generated":{"line":1,"column":1578}}],"sources":{"../../src/annotation.ts":"import { v4 as uuid } from 'uuid';\nimport { toJSON, unprefix } from './attributes';\nimport Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from './change';\nimport Document from './index';\nimport JSON from './json';\n\nexport type ConcreteAnnotation<T extends Annotation> = T;\nexport interface AnnotationConstructor {\n vendorPrefix: string;\n type: string;\n subdocuments: { [key: string]: typeof Document };\n new(attributes: { id?: string, start: number, end: number, attributes: NonNullable<any> }): Annotation;\n hydrate(attrs: { id?: string, start: number, end: number, attributes: JSON }): Annotation;\n}\n\nexport default abstract class Annotation {\n static vendorPrefix: string;\n static type: string;\n static subdocuments: { [key: string]: typeof Document } = {};\n\n static hydrate(\n this: AnnotationConstructor,\n attrs: { id?: string, start: number, end: number, attributes: JSON }\n ) {\n return new this({\n id: attrs.id,\n start: attrs.start,\n end: attrs.end,\n attributes: unprefix(this.vendorPrefix, this.subdocuments, attrs.attributes)\n });\n }\n\n readonly type: string;\n abstract rank: number;\n id: string;\n start: number;\n end: number;\n attributes: NonNullable<any>;\n\n constructor(attrs: { id?: string, start: number, end: number, attributes?: NonNullable<any> }) {\n let AnnotationClass = this.constructor as AnnotationConstructor;\n this.type = AnnotationClass.type;\n this.id = attrs.id || uuid();\n this.start = attrs.start;\n this.end = attrs.end;\n\n this.attributes = attrs.attributes || {};\n }\n\n isAlignedWith(annotation: Annotation) {\n return this.start === annotation.start &&\n this.end === annotation.end;\n }\n\n /**\n * nb. Currently, changes are applied directly to the document.\n * In the future, we want to return a set of changes that\n * are applied to the document including annotations.\n */\n handleChange(change: Change) {\n if (change.type === 'insertion') {\n this.handleInsertion(change as Insertion);\n } else {\n this.handleDeletion(change as Deletion);\n }\n }\n\n handleDeletion(change: Deletion) {\n let length = change.end - change.start;\n\n // We're deleting after the annotation, nothing needed to be done.\n // [ ]\n // -----------*---*---\n if (this.end < change.start) return;\n\n // If the annotation is wholly *after* the deleted text, just move\n // everything.\n // [ ]\n // --*---*-------------\n if (change.end < this.start) {\n this.start -= length;\n this.end -= length;\n\n } else {\n\n if (change.end < this.end) {\n\n // Annotation spans the whole deleted text, so just truncate the end of\n // the annotation (shrink from the right).\n // [ ]\n // ------*------*---------\n if (change.start > this.start) {\n this.end -= length;\n\n // Annotation occurs within the deleted text, affecting both start and\n // end of the annotation, but by only part of the deleted text length.\n // [ ]\n // ---*---------*------------\n } else if (change.start <= this.start) {\n this.start -= this.start - change.start;\n this.end -= length;\n }\n\n } else if (change.end >= this.end) {\n\n // [ ]\n // [ ]\n // [ ]\n // [ ]\n // ------*---------*--------\n if (change.start <= this.start) {\n this.start = change.start;\n this.end = change.start;\n\n // [ ]\n // ------*---------*--------\n } else if (change.start > this.start) {\n this.end = change.start;\n }\n }\n }\n }\n\n handleInsertion(change: Insertion) {\n let length = change.text.length;\n\n // The first two normal cases are self explanatory. Just adjust the annotation\n // position, since there is never a case where we wouldn't want to.\n if (change.start < this.start) {\n this.start += length;\n this.end += length;\n } else if (change.start > this.start && change.start < this.end) {\n this.end += length;\n\n // In this case, however, the normal behaviour when inserting text at a\n // point adjacent to an annotation is to drag along the end of the\n // annotation, or push forward the beginning, i.e., the transform happens\n // _inside_ an annotation to the left, or _outside_ an annotation to the right.\n //\n // Sometimes, the desire is to change the direction; this is provided below\n // with the preserveAdjacentBoundaries switch.\n\n // Default edge behaviour.\n } else if (change.behaviour === AdjacentBoundaryBehaviour.default) {\n if (change.start === this.start) {\n this.start += length;\n this.end += length;\n } else if (change.start === this.end) {\n this.end += length;\n }\n\n // Non-standard behaviour. Do nothing to the adjacent boundary!\n } else if (change.behaviour === AdjacentBoundaryBehaviour.preserve && change.start === this.start) {\n this.end += length;\n\n // no-op; we would delete the annotation, but we should defer to the\n // annotation as to whether or not it's deletable, since some zero-length\n // annotations should be retained.\n // n.b. the += 0 is just to silence tslint ;-)\n } else if (change.start === this.end) {\n this.end += 0;\n }\n }\n\n clone() {\n let AnnotationClass = this.constructor as AnnotationConstructor;\n return AnnotationClass.hydrate(this.toJSON());\n }\n\n toJSON() {\n let AnnotationClass = this.constructor as AnnotationConstructor;\n let vendorPrefix = AnnotationClass.vendorPrefix;\n return {\n id: this.id,\n type: `-${vendorPrefix}-${this.type}`,\n start: this.start,\n end: this.end,\n attributes: toJSON(vendorPrefix, this.attributes)\n };\n }\n}\n"},"lineCount":null}},"hash":"126ae60215b839f71d6fab170b8e9e0f","cacheData":{"env":{}}} | ||
{"id":"jtiU","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotation.ts","includedInParent":true,"mtime":1545342158108},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"uuid","loc":{"line":1,"column":27},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js","resolved":"/Users/bbui/Dev/atjson/node_modules/uuid/index.js"},{"name":"./attributes","loc":{"line":2,"column":33},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/attributes.js"},{"name":"./change","loc":{"line":3,"column":42},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/change.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var t=require(\"uuid\"),s=require(\"./attributes\"),e=require(\"./change\");class r{constructor(s){let e=this.constructor;this.type=e.type,this.id=s.id||(0,t.v4)(),this.start=s.start,this.end=s.end,this.attributes=s.attributes||{}}static hydrate(t){return new this({id:t.id,start:t.start,end:t.end,attributes:(0,s.unprefix)(this.vendorPrefix,this.subdocuments,t.attributes)})}isAlignedWith(t){return this.start===t.start&&this.end===t.end}handleChange(t){\"insertion\"===t.type?this.handleInsertion(t):this.handleDeletion(t)}handleDeletion(t){let s=t.end-t.start;this.end<t.start||(t.end<this.start?(this.start-=s,this.end-=s):t.end<this.end?t.start>this.start?this.end-=s:t.start<=this.start&&(this.start-=this.start-t.start,this.end-=s):t.end>=this.end&&(t.start<=this.start?(this.start=t.start,this.end=t.start):t.start>this.start&&(this.end=t.start)))}handleInsertion(t){let s=t.text.length;t.start<this.start?(this.start+=s,this.end+=s):t.start>this.start&&t.start<this.end?this.end+=s:t.behaviour===e.AdjacentBoundaryBehaviour.default?t.start===this.start?(this.start+=s,this.end+=s):t.start===this.end&&(this.end+=s):t.behaviour===e.AdjacentBoundaryBehaviour.preserve&&t.start===this.start?this.end+=s:t.start===this.end&&(this.end+=0)}clone(){return this.constructor.hydrate(this.toJSON())}toJSON(){let t=this.constructor.vendorPrefix;return{id:this.id,type:`-${t}-${this.type}`,start:this.start,end:this.end,attributes:(0,s.toJSON)(t,this.attributes)}}}exports.default=r,r.subdocuments={};","map":{"mappings":[{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":0}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":13}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":20}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":35}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":43}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":56}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":57}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":64}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":68}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":76}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":89}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../src/annotation.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":105}},{"source":"../../src/annotation.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":113}},{"source":"../../src/annotation.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":115}},{"source":"../../src/annotation.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":123}},{"source":"../../src/annotation.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":139}},{"source":"../../src/annotation.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":141}},{"source":"../../src/annotation.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":149}},{"source":"../../src/annotation.ts","name":null,"original":{"line":16,"column":14},"generated":{"line":1,"column":161}},{"source":"../../src/annotation.ts","name":null,"original":{"line":16,"column":30},"generated":{"line":1,"column":167}},{"source":"../../src/annotation.ts","name":null,"original":{"line":40,"column":2},"generated":{"line":1,"column":169}},{"source":"../../src/annotation.ts","name":null,"original":{"line":40,"column":14},"generated":{"line":1,"column":181}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":184}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":1,"column":188}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":26},"generated":{"line":1,"column":190}},{"source":"../../src/annotation.ts","name":null,"original":{"line":41,"column":31},"generated":{"line":1,"column":195}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":9},"generated":{"line":1,"column":207}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":9},"generated":{"line":1,"column":212}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":16},"generated":{"line":1,"column":217}},{"source":"../../src/annotation.ts","name":null,"original":{"line":42,"column":32},"generated":{"line":1,"column":219}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":224}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":229}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":14},"generated":{"line":1,"column":232}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":20},"generated":{"line":1,"column":234}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":26},"generated":{"line":1,"column":239}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":4},"generated":{"line":1,"column":241}},{"source":"../../src/annotation.ts","name":null,"original":{"line":43,"column":4},"generated":{"line":1,"column":243}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":249}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":254}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":17},"generated":{"line":1,"column":260}},{"source":"../../src/annotation.ts","name":null,"original":{"line":44,"column":23},"generated":{"line":1,"column":262}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":9},"generated":{"line":1,"column":268}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":9},"generated":{"line":1,"column":273}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":15},"generated":{"line":1,"column":277}},{"source":"../../src/annotation.ts","name":null,"original":{"line":45,"column":21},"generated":{"line":1,"column":279}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":283}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":1,"column":288}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":22},"generated":{"line":1,"column":299}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":28},"generated":{"line":1,"column":301}},{"source":"../../src/annotation.ts","name":null,"original":{"line":47,"column":42},"generated":{"line":1,"column":313}},{"source":"../../src/annotation.ts","name":null,"original":{"line":21,"column":9},"generated":{"line":1,"column":316}},{"source":"../../src/annotation.ts","name":null,"original":{"line":23,"column":4},"generated":{"line":1,"column":331}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":1,"column":334}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":1,"column":341}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":15},"generated":{"line":1,"column":345}},{"source":"../../src/annotation.ts","name":null,"original":{"line":25,"column":20},"generated":{"line":1,"column":350}},{"source":"../../src/annotation.ts","name":null,"original":{"line":26,"column":6},"generated":{"line":1,"column":351}},{"source":"../../src/annotation.ts","name":null,"original":{"line":26,"column":10},"generated":{"line":1,"column":354}},{"source":"../../src/annotation.ts","name":null,"original":{"line":26,"column":16},"generated":{"line":1,"column":356}},{"source":"../../src/annotation.ts","name":null,"original":{"line":27,"column":6},"generated":{"line":1,"column":359}},{"source":"../../src/annotation.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":1,"column":365}},{"source":"../../src/annotation.ts","name":null,"original":{"line":27,"column":19},"generated":{"line":1,"column":367}},{"source":"../../src/annotation.ts","name":null,"original":{"line":28,"column":6},"generated":{"line":1,"column":373}},{"source":"../../src/annotation.ts","name":null,"original":{"line":28,"column":11},"generated":{"line":1,"column":377}},{"source":"../../src/annotation.ts","name":null,"original":{"line":28,"column":17},"generated":{"line":1,"column":379}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":6},"generated":{"line":1,"column":383}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":1,"column":395}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":27},"generated":{"line":1,"column":397}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":27},"generated":{"line":1,"column":399}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":27},"generated":{"line":1,"column":409}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":32},"generated":{"line":1,"column":414}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":46},"generated":{"line":1,"column":427}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":51},"generated":{"line":1,"column":432}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":65},"generated":{"line":1,"column":445}},{"source":"../../src/annotation.ts","name":null,"original":{"line":29,"column":71},"generated":{"line":1,"column":447}},{"source":"../../src/annotation.ts","name":null,"original":{"line":50,"column":2},"generated":{"line":1,"column":461}},{"source":"../../src/annotation.ts","name":null,"original":{"line":50,"column":16},"generated":{"line":1,"column":475}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":478}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":11},"generated":{"line":1,"column":485}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":16},"generated":{"line":1,"column":490}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":26},"generated":{"line":1,"column":498}},{"source":"../../src/annotation.ts","name":null,"original":{"line":51,"column":37},"generated":{"line":1,"column":500}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":11},"generated":{"line":1,"column":507}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":16},"generated":{"line":1,"column":512}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":24},"generated":{"line":1,"column":518}},{"source":"../../src/annotation.ts","name":null,"original":{"line":52,"column":35},"generated":{"line":1,"column":520}},{"source":"../../src/annotation.ts","name":null,"original":{"line":60,"column":2},"generated":{"line":1,"column":524}},{"source":"../../src/annotation.ts","name":null,"original":{"line":60,"column":15},"generated":{"line":1,"column":537}},{"source":"../../src/annotation.ts","name":null,"original":{"line":61,"column":24},"generated":{"line":1,"column":540}},{"source":"../../src/annotation.ts","name":null,"original":{"line":61,"column":8},"generated":{"line":1,"column":554}},{"source":"../../src/annotation.ts","name":null,"original":{"line":61,"column":15},"generated":{"line":1,"column":556}},{"source":"../../src/annotation.ts","name":null,"original":{"line":62,"column":11},"generated":{"line":1,"column":561}},{"source":"../../src/annotation.ts","name":null,"original":{"line":62,"column":11},"generated":{"line":1,"column":566}},{"source":"../../src/annotation.ts","name":null,"original":{"line":62,"column":27},"generated":{"line":1,"column":582}},{"source":"../../src/annotation.ts","name":null,"original":{"line":64,"column":11},"generated":{"line":1,"column":585}},{"source":"../../src/annotation.ts","name":null,"original":{"line":64,"column":11},"generated":{"line":1,"column":590}},{"source":"../../src/annotation.ts","name":null,"original":{"line":64,"column":26},"generated":{"line":1,"column":605}},{"source":"../../src/annotation.ts","name":null,"original":{"line":68,"column":2},"generated":{"line":1,"column":608}},{"source":"../../src/annotation.ts","name":null,"original":{"line":68,"column":17},"generated":{"line":1,"column":623}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":626}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":630}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":17},"generated":{"line":1,"column":632}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":24},"generated":{"line":1,"column":634}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":30},"generated":{"line":1,"column":638}},{"source":"../../src/annotation.ts","name":null,"original":{"line":69,"column":37},"generated":{"line":1,"column":640}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":8},"generated":{"line":1,"column":646}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":13},"generated":{"line":1,"column":651}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":19},"generated":{"line":1,"column":655}},{"source":"../../src/annotation.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":1,"column":657}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":8},"generated":{"line":1,"column":665}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":15},"generated":{"line":1,"column":667}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":21},"generated":{"line":1,"column":671}},{"source":"../../src/annotation.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":676}},{"source":"../../src/annotation.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":683}},{"source":"../../src/annotation.ts","name":null,"original":{"line":81,"column":11},"generated":{"line":1,"column":688}},{"source":"../../src/annotation.ts","name":null,"original":{"line":81,"column":20},"generated":{"line":1,"column":695}},{"source":"../../src/annotation.ts","name":null,"original":{"line":82,"column":11},"generated":{"line":1,"column":697}},{"source":"../../src/annotation.ts","name":null,"original":{"line":82,"column":11},"generated":{"line":1,"column":702}},{"source":"../../src/annotation.ts","name":null,"original":{"line":82,"column":18},"generated":{"line":1,"column":707}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":10},"generated":{"line":1,"column":710}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":17},"generated":{"line":1,"column":712}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":23},"generated":{"line":1,"column":716}},{"source":"../../src/annotation.ts","name":null,"original":{"line":86,"column":28},"generated":{"line":1,"column":721}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":12},"generated":{"line":1,"column":725}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":19},"generated":{"line":1,"column":727}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":27},"generated":{"line":1,"column":733}},{"source":"../../src/annotation.ts","name":null,"original":{"line":92,"column":32},"generated":{"line":1,"column":738}},{"source":"../../src/annotation.ts","name":null,"original":{"line":93,"column":15},"generated":{"line":1,"column":744}},{"source":"../../src/annotation.ts","name":null,"original":{"line":93,"column":15},"generated":{"line":1,"column":749}},{"source":"../../src/annotation.ts","name":null,"original":{"line":93,"column":22},"generated":{"line":1,"column":754}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":19},"generated":{"line":1,"column":756}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":26},"generated":{"line":1,"column":758}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":35},"generated":{"line":1,"column":765}},{"source":"../../src/annotation.ts","name":null,"original":{"line":99,"column":40},"generated":{"line":1,"column":770}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":15},"generated":{"line":1,"column":778}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":15},"generated":{"line":1,"column":783}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":24},"generated":{"line":1,"column":790}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":29},"generated":{"line":1,"column":795}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":37},"generated":{"line":1,"column":801}},{"source":"../../src/annotation.ts","name":null,"original":{"line":100,"column":44},"generated":{"line":1,"column":803}},{"source":"../../src/annotation.ts","name":null,"original":{"line":101,"column":15},"generated":{"line":1,"column":809}},{"source":"../../src/annotation.ts","name":null,"original":{"line":101,"column":15},"generated":{"line":1,"column":814}},{"source":"../../src/annotation.ts","name":null,"original":{"line":101,"column":22},"generated":{"line":1,"column":819}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":17},"generated":{"line":1,"column":822}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":24},"generated":{"line":1,"column":824}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":31},"generated":{"line":1,"column":829}},{"source":"../../src/annotation.ts","name":null,"original":{"line":104,"column":36},"generated":{"line":1,"column":834}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":12},"generated":{"line":1,"column":840}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":19},"generated":{"line":1,"column":842}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":28},"generated":{"line":1,"column":849}},{"source":"../../src/annotation.ts","name":null,"original":{"line":111,"column":33},"generated":{"line":1,"column":854}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":15},"generated":{"line":1,"column":861}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":15},"generated":{"line":1,"column":866}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":23},"generated":{"line":1,"column":872}},{"source":"../../src/annotation.ts","name":null,"original":{"line":112,"column":30},"generated":{"line":1,"column":874}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":15},"generated":{"line":1,"column":880}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":15},"generated":{"line":1,"column":885}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":21},"generated":{"line":1,"column":889}},{"source":"../../src/annotation.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":891}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":19},"generated":{"line":1,"column":898}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":26},"generated":{"line":1,"column":900}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":34},"generated":{"line":1,"column":906}},{"source":"../../src/annotation.ts","name":null,"original":{"line":117,"column":39},"generated":{"line":1,"column":911}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":15},"generated":{"line":1,"column":919}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":15},"generated":{"line":1,"column":924}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":21},"generated":{"line":1,"column":928}},{"source":"../../src/annotation.ts","name":null,"original":{"line":118,"column":28},"generated":{"line":1,"column":930}},{"source":"../../src/annotation.ts","name":null,"original":{"line":124,"column":2},"generated":{"line":1,"column":939}},{"source":"../../src/annotation.ts","name":null,"original":{"line":124,"column":18},"generated":{"line":1,"column":955}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":958}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":8},"generated":{"line":1,"column":962}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":17},"generated":{"line":1,"column":964}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":24},"generated":{"line":1,"column":966}},{"source":"../../src/annotation.ts","name":null,"original":{"line":125,"column":29},"generated":{"line":1,"column":971}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":8},"generated":{"line":1,"column":978}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":15},"generated":{"line":1,"column":980}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":23},"generated":{"line":1,"column":986}},{"source":"../../src/annotation.ts","name":null,"original":{"line":129,"column":28},"generated":{"line":1,"column":991}},{"source":"../../src/annotation.ts","name":null,"original":{"line":130,"column":11},"generated":{"line":1,"column":998}},{"source":"../../src/annotation.ts","name":null,"original":{"line":130,"column":11},"generated":{"line":1,"column":1003}},{"source":"../../src/annotation.ts","name":null,"original":{"line":130,"column":20},"generated":{"line":1,"column":1010}},{"source":"../../src/annotation.ts","name":null,"original":{"line":131,"column":11},"generated":{"line":1,"column":1012}},{"source":"../../src/annotation.ts","name":null,"original":{"line":131,"column":11},"generated":{"line":1,"column":1017}},{"source":"../../src/annotation.ts","name":null,"original":{"line":131,"column":18},"generated":{"line":1,"column":1022}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":15},"generated":{"line":1,"column":1025}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":22},"generated":{"line":1,"column":1027}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":30},"generated":{"line":1,"column":1033}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":35},"generated":{"line":1,"column":1038}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":44},"generated":{"line":1,"column":1045}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":51},"generated":{"line":1,"column":1047}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":59},"generated":{"line":1,"column":1053}},{"source":"../../src/annotation.ts","name":null,"original":{"line":132,"column":64},"generated":{"line":1,"column":1058}},{"source":"../../src/annotation.ts","name":null,"original":{"line":133,"column":11},"generated":{"line":1,"column":1062}},{"source":"../../src/annotation.ts","name":null,"original":{"line":133,"column":11},"generated":{"line":1,"column":1067}},{"source":"../../src/annotation.ts","name":null,"original":{"line":133,"column":18},"generated":{"line":1,"column":1072}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":15},"generated":{"line":1,"column":1074}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":22},"generated":{"line":1,"column":1076}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":36},"generated":{"line":1,"column":1088}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":62},"generated":{"line":1,"column":1090}},{"source":"../../src/annotation.ts","name":null,"original":{"line":144,"column":62},"generated":{"line":1,"column":1116}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":10},"generated":{"line":1,"column":1124}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":17},"generated":{"line":1,"column":1126}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":27},"generated":{"line":1,"column":1134}},{"source":"../../src/annotation.ts","name":null,"original":{"line":145,"column":32},"generated":{"line":1,"column":1139}},{"source":"../../src/annotation.ts","name":null,"original":{"line":146,"column":13},"generated":{"line":1,"column":1146}},{"source":"../../src/annotation.ts","name":null,"original":{"line":146,"column":13},"generated":{"line":1,"column":1151}},{"source":"../../src/annotation.ts","name":null,"original":{"line":146,"column":22},"generated":{"line":1,"column":1158}},{"source":"../../src/annotation.ts","name":null,"original":{"line":147,"column":13},"generated":{"line":1,"column":1160}},{"source":"../../src/annotation.ts","name":null,"original":{"line":147,"column":13},"generated":{"line":1,"column":1165}},{"source":"../../src/annotation.ts","name":null,"original":{"line":147,"column":20},"generated":{"line":1,"column":1170}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":17},"generated":{"line":1,"column":1173}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":24},"generated":{"line":1,"column":1175}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":34},"generated":{"line":1,"column":1183}},{"source":"../../src/annotation.ts","name":null,"original":{"line":148,"column":39},"generated":{"line":1,"column":1188}},{"source":"../../src/annotation.ts","name":null,"original":{"line":149,"column":13},"generated":{"line":1,"column":1194}},{"source":"../../src/annotation.ts","name":null,"original":{"line":149,"column":13},"generated":{"line":1,"column":1199}},{"source":"../../src/annotation.ts","name":null,"original":{"line":149,"column":20},"generated":{"line":1,"column":1204}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":15},"generated":{"line":1,"column":1207}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":22},"generated":{"line":1,"column":1209}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":36},"generated":{"line":1,"column":1221}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":62},"generated":{"line":1,"column":1223}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":62},"generated":{"line":1,"column":1249}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":74},"generated":{"line":1,"column":1259}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":81},"generated":{"line":1,"column":1261}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":91},"generated":{"line":1,"column":1269}},{"source":"../../src/annotation.ts","name":null,"original":{"line":153,"column":96},"generated":{"line":1,"column":1274}},{"source":"../../src/annotation.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":1280}},{"source":"../../src/annotation.ts","name":null,"original":{"line":154,"column":11},"generated":{"line":1,"column":1285}},{"source":"../../src/annotation.ts","name":null,"original":{"line":154,"column":18},"generated":{"line":1,"column":1290}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":15},"generated":{"line":1,"column":1292}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":22},"generated":{"line":1,"column":1294}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":32},"generated":{"line":1,"column":1302}},{"source":"../../src/annotation.ts","name":null,"original":{"line":160,"column":37},"generated":{"line":1,"column":1307}},{"source":"../../src/annotation.ts","name":null,"original":{"line":161,"column":11},"generated":{"line":1,"column":1313}},{"source":"../../src/annotation.ts","name":null,"original":{"line":161,"column":11},"generated":{"line":1,"column":1318}},{"source":"../../src/annotation.ts","name":null,"original":{"line":161,"column":18},"generated":{"line":1,"column":1323}},{"source":"../../src/annotation.ts","name":null,"original":{"line":165,"column":2},"generated":{"line":1,"column":1326}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":11},"generated":{"line":1,"column":1334}},{"source":"../../src/annotation.ts","name":null,"original":{"line":166,"column":26},"generated":{"line":1,"column":1341}},{"source":"../../src/annotation.ts","name":null,"original":{"line":166,"column":31},"generated":{"line":1,"column":1346}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":27},"generated":{"line":1,"column":1358}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":35},"generated":{"line":1,"column":1366}},{"source":"../../src/annotation.ts","name":null,"original":{"line":167,"column":40},"generated":{"line":1,"column":1371}},{"source":"../../src/annotation.ts","name":null,"original":{"line":170,"column":2},"generated":{"line":1,"column":1381}},{"source":"../../src/annotation.ts","name":null,"original":{"line":171,"column":8},"generated":{"line":1,"column":1390}},{"source":"../../src/annotation.ts","name":null,"original":{"line":172,"column":8},"generated":{"line":1,"column":1394}},{"source":"../../src/annotation.ts","name":null,"original":{"line":171,"column":26},"generated":{"line":1,"column":1396}},{"source":"../../src/annotation.ts","name":null,"original":{"line":171,"column":31},"generated":{"line":1,"column":1401}},{"source":"../../src/annotation.ts","name":null,"original":{"line":172,"column":39},"generated":{"line":1,"column":1413}},{"source":"../../src/annotation.ts","name":null,"original":{"line":173,"column":11},"generated":{"line":1,"column":1426}},{"source":"../../src/annotation.ts","name":null,"original":{"line":173,"column":11},"generated":{"line":1,"column":1432}},{"source":"../../src/annotation.ts","name":null,"original":{"line":174,"column":6},"generated":{"line":1,"column":1433}},{"source":"../../src/annotation.ts","name":null,"original":{"line":174,"column":10},"generated":{"line":1,"column":1436}},{"source":"../../src/annotation.ts","name":null,"original":{"line":174,"column":15},"generated":{"line":1,"column":1441}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":6},"generated":{"line":1,"column":1444}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":16},"generated":{"line":1,"column":1453}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":32},"generated":{"line":1,"column":1458}},{"source":"../../src/annotation.ts","name":null,"original":{"line":175,"column":37},"generated":{"line":1,"column":1463}},{"source":"../../src/annotation.ts","name":null,"original":{"line":176,"column":6},"generated":{"line":1,"column":1470}},{"source":"../../src/annotation.ts","name":null,"original":{"line":176,"column":13},"generated":{"line":1,"column":1476}},{"source":"../../src/annotation.ts","name":null,"original":{"line":176,"column":18},"generated":{"line":1,"column":1481}},{"source":"../../src/annotation.ts","name":null,"original":{"line":177,"column":6},"generated":{"line":1,"column":1487}},{"source":"../../src/annotation.ts","name":null,"original":{"line":177,"column":11},"generated":{"line":1,"column":1491}},{"source":"../../src/annotation.ts","name":null,"original":{"line":177,"column":16},"generated":{"line":1,"column":1496}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":6},"generated":{"line":1,"column":1500}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":18},"generated":{"line":1,"column":1512}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":25},"generated":{"line":1,"column":1514}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":25},"generated":{"line":1,"column":1516}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":25},"generated":{"line":1,"column":1524}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":1526}},{"source":"../../src/annotation.ts","name":null,"original":{"line":178,"column":44},"generated":{"line":1,"column":1531}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1545}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1553}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1561}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1563}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":9},"generated":{"line":1,"column":1565}},{"source":"../../src/annotation.ts","name":null,"original":{"line":19,"column":60},"generated":{"line":1,"column":1578}}],"sources":{"../../src/annotation.ts":"import { v4 as uuid } from 'uuid';\nimport { toJSON, unprefix } from './attributes';\nimport Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from './change';\nimport Document from './index';\nimport JSON from './json';\n\nexport type ConcreteAnnotation<T extends Annotation> = T;\nexport interface AnnotationConstructor {\n vendorPrefix: string;\n type: string;\n subdocuments: { [key: string]: typeof Document };\n new(attributes: { id?: string, start: number, end: number, attributes: NonNullable<any> }): Annotation;\n hydrate(attrs: { id?: string, start: number, end: number, attributes: JSON }): Annotation;\n}\n\nexport default abstract class Annotation {\n static vendorPrefix: string;\n static type: string;\n static subdocuments: { [key: string]: typeof Document } = {};\n\n static hydrate(\n this: AnnotationConstructor,\n attrs: { id?: string, start: number, end: number, attributes: JSON }\n ) {\n return new this({\n id: attrs.id,\n start: attrs.start,\n end: attrs.end,\n attributes: unprefix(this.vendorPrefix, this.subdocuments, attrs.attributes)\n });\n }\n\n readonly type: string;\n abstract rank: number;\n id: string;\n start: number;\n end: number;\n attributes: NonNullable<any>;\n\n constructor(attrs: { id?: string, start: number, end: number, attributes?: NonNullable<any> }) {\n let AnnotationClass = this.constructor as AnnotationConstructor;\n this.type = AnnotationClass.type;\n this.id = attrs.id || uuid();\n this.start = attrs.start;\n this.end = attrs.end;\n\n this.attributes = attrs.attributes || {};\n }\n\n isAlignedWith(annotation: Annotation) {\n return this.start === annotation.start &&\n this.end === annotation.end;\n }\n\n /**\n * nb. Currently, changes are applied directly to the document.\n * In the future, we want to return a set of changes that\n * are applied to the document including annotations.\n */\n handleChange(change: Change) {\n if (change.type === 'insertion') {\n this.handleInsertion(change as Insertion);\n } else {\n this.handleDeletion(change as Deletion);\n }\n }\n\n handleDeletion(change: Deletion) {\n let length = change.end - change.start;\n\n // We're deleting after the annotation, nothing needed to be done.\n // [ ]\n // -----------*---*---\n if (this.end < change.start) return;\n\n // If the annotation is wholly *after* the deleted text, just move\n // everything.\n // [ ]\n // --*---*-------------\n if (change.end < this.start) {\n this.start -= length;\n this.end -= length;\n\n } else {\n\n if (change.end < this.end) {\n\n // Annotation spans the whole deleted text, so just truncate the end of\n // the annotation (shrink from the right).\n // [ ]\n // ------*------*---------\n if (change.start > this.start) {\n this.end -= length;\n\n // Annotation occurs within the deleted text, affecting both start and\n // end of the annotation, but by only part of the deleted text length.\n // [ ]\n // ---*---------*------------\n } else if (change.start <= this.start) {\n this.start -= this.start - change.start;\n this.end -= length;\n }\n\n } else if (change.end >= this.end) {\n\n // [ ]\n // [ ]\n // [ ]\n // [ ]\n // ------*---------*--------\n if (change.start <= this.start) {\n this.start = change.start;\n this.end = change.start;\n\n // [ ]\n // ------*---------*--------\n } else if (change.start > this.start) {\n this.end = change.start;\n }\n }\n }\n }\n\n handleInsertion(change: Insertion) {\n let length = change.text.length;\n\n // The first two normal cases are self explanatory. Just adjust the annotation\n // position, since there is never a case where we wouldn't want to.\n if (change.start < this.start) {\n this.start += length;\n this.end += length;\n } else if (change.start > this.start && change.start < this.end) {\n this.end += length;\n\n // In this case, however, the normal behaviour when inserting text at a\n // point adjacent to an annotation is to drag along the end of the\n // annotation, or push forward the beginning, i.e., the transform happens\n // _inside_ an annotation to the left, or _outside_ an annotation to the right.\n //\n // Sometimes, the desire is to change the direction; this is provided below\n // with the preserveAdjacentBoundaries switch.\n\n // Default edge behaviour.\n } else if (change.behaviour === AdjacentBoundaryBehaviour.default) {\n if (change.start === this.start) {\n this.start += length;\n this.end += length;\n } else if (change.start === this.end) {\n this.end += length;\n }\n\n // Non-standard behaviour. Do nothing to the adjacent boundary!\n } else if (change.behaviour === AdjacentBoundaryBehaviour.preserve && change.start === this.start) {\n this.end += length;\n\n // no-op; we would delete the annotation, but we should defer to the\n // annotation as to whether or not it's deletable, since some zero-length\n // annotations should be retained.\n // n.b. the += 0 is just to silence tslint ;-)\n } else if (change.start === this.end) {\n this.end += 0;\n }\n }\n\n clone() {\n let AnnotationClass = this.constructor as AnnotationConstructor;\n return AnnotationClass.hydrate(this.toJSON());\n }\n\n toJSON() {\n let AnnotationClass = this.constructor as AnnotationConstructor;\n let vendorPrefix = AnnotationClass.vendorPrefix;\n return {\n id: this.id,\n type: `-${vendorPrefix}-${this.type}`,\n start: this.start,\n end: this.end,\n attributes: toJSON(vendorPrefix, this.attributes)\n };\n }\n}\n"},"lineCount":null}},"hash":"126ae60215b839f71d6fab170b8e9e0f","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"rsaF","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/object.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/object.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return 1e3}}exports.default=r;","map":{"mappings":[{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":30},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":55},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":225}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":233}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":241}}],"sources":{"../../../src/annotations/object.ts":"import Annotation from '../annotation';\n\nexport default abstract class ObjectAnnotation extends Annotation {\n get rank() {\n return 1000;\n }\n}\n"},"lineCount":null}},"hash":"62f738a2c6ae907e22b4c72ff73f0e38","cacheData":{"env":{}}} | ||
{"id":"rsaF","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/object.ts","includedInParent":true,"mtime":1545342158109},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/object.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return 1e3}}exports.default=r;","map":{"mappings":[{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":30},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":55},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":4,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":5,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":225}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":233}},{"source":"../../../src/annotations/object.ts","name":null,"original":{"line":3,"column":65},"generated":{"line":1,"column":241}}],"sources":{"../../../src/annotations/object.ts":"import Annotation from '../annotation';\n\nexport default abstract class ObjectAnnotation extends Annotation {\n get rank() {\n return 1000;\n }\n}\n"},"lineCount":null}},"hash":"62f738a2c6ae907e22b4c72ff73f0e38","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"T9tb","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/annotations/index.ts","includedInParent":true,"mtime":1545342158121},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"./root","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/root.js"},{"name":"./text","loc":{"line":2,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/text.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),Object.defineProperty(exports,\"Root\",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,\"Text\",{enumerable:!0,get:function(){return t.default}});var e=r(require(\"./root\")),t=r(require(\"./text\"));function r(e){return e&&e.__esModule?e:{default:e}}","map":{"mappings":[{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":75}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":98}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":106}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":118}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":120}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":124}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":142}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":211}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":222}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":229}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":231}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":242}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":246}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":250}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":258}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":269}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":273}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":281}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":292}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":301}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":303}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":306}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":313}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":316}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":318}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":329}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":331}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":332}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":340}}],"sources":{"../../../src/annotations/index.ts":"export { default as Root } from './root';\nexport { default as Text } from './text';\n"},"lineCount":null}},"hash":"5e1f1b03d635b44eeada4818e915ba0a","cacheData":{"env":{}}} | ||
{"id":"T9tb","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/src/annotations/index.ts","includedInParent":true,"mtime":1545342158121},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/package.json","includedInParent":true,"mtime":1550003055649},{"name":"./root","loc":{"line":1,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/root.js"},{"name":"./text","loc":{"line":2,"column":32},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/index.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/hir/dist/modules/annotations/text.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),Object.defineProperty(exports,\"Root\",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,\"Text\",{enumerable:!0,get:function(){return t.default}});var e=r(require(\"./root\")),t=r(require(\"./text\"));function r(e){return e&&e.__esModule?e:{default:e}}","map":{"mappings":[{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":75}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":98}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":106}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":118}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":120}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":124}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":142}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":177}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":185}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":193}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":211}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":222}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":229}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":231}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":242}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":246}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":248}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":250}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":258}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":269}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":273}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":281}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":292}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":301}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":303}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":306}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":313}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":316}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":318}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":329}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":331}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":332}},{"source":"../../../src/annotations/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":340}}],"sources":{"../../../src/annotations/index.ts":"export { default as Root } from './root';\nexport { default as Text } from './text';\n"},"lineCount":null}},"hash":"5e1f1b03d635b44eeada4818e915ba0a","cacheData":{"env":{}}} |
@@ -1,1 +0,1 @@ | ||
{"id":"ejPI","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/parse.ts","includedInParent":true,"mtime":1547484581259},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550104714762},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/parse.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return Number.MAX_SAFE_INTEGER-1}}exports.default=r,r.vendorPrefix=\"atjson\",r.type=\"parse-token\";","map":{"mappings":[{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":45},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":18},"generated":{"line":1,"column":227}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":37},"generated":{"line":1,"column":244}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":247}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":263}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":265}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":267}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":280}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":289}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":291}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":296}}],"sources":{"../../../src/annotations/parse.ts":"import Annotation from '../annotation';\n\nexport default class ParseAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'parse-token';\n\n get rank() {\n return Number.MAX_SAFE_INTEGER - 1;\n }\n}\n"},"lineCount":null}},"hash":"a07376bfe3cbb841fa048ac67cb151d7","cacheData":{"env":{}}} | ||
{"id":"ejPI","dependencies":[{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/src/annotations/parse.ts","includedInParent":true,"mtime":1547484581259},{"name":"/Users/bbui/Dev/atjson/packages/@atjson/offset-inspector/package.json","includedInParent":true,"mtime":1550111425157},{"name":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/package.json","includedInParent":true,"mtime":1550002425866},{"name":"../annotation","loc":{"line":1,"column":23},"parent":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotations/parse.js","resolved":"/Users/bbui/Dev/atjson/node_modules/@atjson/document/dist/modules/annotation.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.default=void 0;var e=t(require(\"../annotation\"));function t(e){return e&&e.__esModule?e:{default:e}}class r extends e.default{get rank(){return Number.MAX_SAFE_INTEGER-1}}exports.default=r,r.vendorPrefix=\"atjson\",r.type=\"parse-token\";","map":{"mappings":[{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":0}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":13}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":20}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":35}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":43}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":56}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":57}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":64}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":68}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":76}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":89}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":125}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":134}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":136}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":139}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":146}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":149}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":151}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":162}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":164}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":165}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":173}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":176}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":21},"generated":{"line":1,"column":182}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":45},"generated":{"line":1,"column":192}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":3,"column":14},"generated":{"line":1,"column":194}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":1,"column":202}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":213}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":11},"generated":{"line":1,"column":220}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":18},"generated":{"line":1,"column":227}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":8,"column":37},"generated":{"line":1,"column":244}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":247}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":255}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":263}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":265}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":4,"column":9},"generated":{"line":1,"column":267}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":4,"column":24},"generated":{"line":1,"column":280}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":289}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":1,"column":291}},{"source":"../../../src/annotations/parse.ts","name":null,"original":{"line":5,"column":16},"generated":{"line":1,"column":296}}],"sources":{"../../../src/annotations/parse.ts":"import Annotation from '../annotation';\n\nexport default class ParseAnnotation extends Annotation {\n static vendorPrefix = 'atjson';\n static type = 'parse-token';\n\n get rank() {\n return Number.MAX_SAFE_INTEGER - 1;\n }\n}\n"},"lineCount":null}},"hash":"a07376bfe3cbb841fa048ac67cb151d7","cacheData":{"env":{}}} |
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.12.3](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/offset-inspector@0.12.2...@atjson/offset-inspector@0.12.3) (2019-02-14) | ||
**Note:** Version bump only for package @atjson/offset-inspector | ||
## [0.12.2](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/offset-inspector@0.12.1...@atjson/offset-inspector@0.12.2) (2019-02-14) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@atjson/offset-inspector", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"description": "Offset AtJSON Inspector", | ||
@@ -23,8 +23,8 @@ "main": "dist/commonjs/index.js", | ||
"@atjson/document": "0.14.2", | ||
"@atjson/editor": "0.13.2", | ||
"@atjson/editor": "0.13.3", | ||
"@atjson/offset-core-components": "0.11.10", | ||
"@atjson/renderer-commonmark": "0.15.0", | ||
"@atjson/renderer-commonmark": "0.15.1", | ||
"@atjson/renderer-webcomponent": "0.12.2" | ||
}, | ||
"gitHead": "8c36a5e210bfbfadffa5219b1fe4d5411b233296" | ||
"gitHead": "bde5f416a3feee9dae17b7a089d8a81ae2bd969d" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8451006
154
10494
0
22
81
+ Added@atjson/editor@0.13.3(transitive)
+ Added@atjson/offset-annotations@0.13.10(transitive)
+ Added@atjson/renderer-commonmark@0.15.1(transitive)
- Removed@atjson/editor@0.13.2(transitive)
- Removed@atjson/offset-annotations@0.13.9(transitive)
- Removed@atjson/renderer-commonmark@0.15.0(transitive)
Updated@atjson/editor@0.13.3