phantasmal-world/247.js.map
2024-07-14 11:04:53 +00:00

1 line
9.8 KiB
Plaintext

{"version":3,"sources":["webpack://web/../node_modules/source-map-loader/dist/node_modules/monaco-editor/esm/vs/basic-languages/liquid/liquid.js"],"names":["EMPTY_ELEMENTS","conf","wordPattern","brackets","autoClosingPairs","open","close","surroundingPairs","onEnterRules","beforeText","RegExp","join","afterText","action","indentAction","language","defaultToken","tokenPostfix","builtinTags","builtinFilters","constants","operators","symbol","identifier","tokenizer","root","token","switchTo","next","comment","otherTag","liquidState","include","liquidRaw","liquidRoot","cases"],"mappings":"gJAKIA,EAAiB,CACjB,OACA,OACA,KACA,MACA,QACA,KACA,MACA,QACA,SACA,OACA,WACA,OACA,QACA,SACA,QACA,OAEOC,EAAO,CACdC,YAAa,iFACbC,SAAU,CACN,CAAC,UAAQ,UACT,CAAC,IAAK,KACN,CAAC,KAAM,MACP,CAAC,KAAM,MACP,CAAC,IAAK,KACN,CAAC,IAAK,MAEVC,iBAAkB,CACd,CAAEC,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,MAExBC,iBAAkB,CACd,CAAEF,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,MAExBE,aAAc,CACV,CACIC,WAAY,IAAIC,OAAO,UAAYV,EAAeW,KAAK,KAAO,uCAAwC,KACtGC,UAAW,wBACXC,OAAQ,CACJC,aAAc,kCAGtB,CACIL,WAAY,IAAIC,OAAO,UAAYV,EAAeW,KAAK,KAAO,uCAAwC,KACtGE,OAAQ,CAAEC,aAAc,6BAIzBC,EAAW,CAClBC,aAAc,GACdC,aAAc,GACdC,YAAa,CACT,KACA,OACA,SACA,QACA,SACA,SACA,UACA,aACA,OACA,UACA,UACA,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S,eAEfC,UAAW,CACP,CAAC,+BACD,CAAC,OAAQ,wBACT,CAAC,eACD,CAAC,OAAQ,CAAEP,MAAO,uBAAwBE,KAAM,WAEpDM,WAAY,CACR,CAAC,cAAe,iBAChB,CAAC,UAAW,iBACZ,CAAC,UAAW,iBACZ,CAAC,OACD,CACI,UACA,CACIC,MAAO,CACH,aAAc,kBACd,WAAY,MAIxB,CAAC,MACD,CACI,cACA,CACIA,MAAO,CACH,aAAc,iBACd,kBAAmB,oBACnB,eAAgB,oBAChB,WAAY,qBAIxB,CAAC,SAAU,qB","file":"247.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nimport { languages } from '../fillers/monaco-editor-core.js';\r\nvar EMPTY_ELEMENTS = [\r\n 'area',\r\n 'base',\r\n 'br',\r\n 'col',\r\n 'embed',\r\n 'hr',\r\n 'img',\r\n 'input',\r\n 'keygen',\r\n 'link',\r\n 'menuitem',\r\n 'meta',\r\n 'param',\r\n 'source',\r\n 'track',\r\n 'wbr'\r\n];\r\nexport var conf = {\r\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)/g,\r\n brackets: [\r\n ['<!--', '-->'],\r\n ['<', '>'],\r\n ['{{', '}}'],\r\n ['{%', '%}'],\r\n ['{', '}'],\r\n ['(', ')']\r\n ],\r\n autoClosingPairs: [\r\n { open: '{', close: '}' },\r\n { open: '%', close: '%' },\r\n { open: '[', close: ']' },\r\n { open: '(', close: ')' },\r\n { open: '\"', close: '\"' },\r\n { open: \"'\", close: \"'\" }\r\n ],\r\n surroundingPairs: [\r\n { open: '<', close: '>' },\r\n { open: '\"', close: '\"' },\r\n { open: \"'\", close: \"'\" }\r\n ],\r\n onEnterRules: [\r\n {\r\n beforeText: new RegExp(\"<(?!(?:\" + EMPTY_ELEMENTS.join('|') + \"))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$\", 'i'),\r\n afterText: /^<\\/(\\w[\\w\\d]*)\\s*>$/i,\r\n action: {\r\n indentAction: languages.IndentAction.IndentOutdent\r\n }\r\n },\r\n {\r\n beforeText: new RegExp(\"<(?!(?:\" + EMPTY_ELEMENTS.join('|') + \"))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$\", 'i'),\r\n action: { indentAction: languages.IndentAction.Indent }\r\n }\r\n ]\r\n};\r\nexport var language = {\r\n defaultToken: '',\r\n tokenPostfix: '',\r\n builtinTags: [\r\n 'if',\r\n 'else',\r\n 'elseif',\r\n 'endif',\r\n 'render',\r\n 'assign',\r\n 'capture',\r\n 'endcapture',\r\n 'case',\r\n 'endcase',\r\n 'comment',\r\n 'endcomment',\r\n 'cycle',\r\n 'decrement',\r\n 'for',\r\n 'endfor',\r\n 'include',\r\n 'increment',\r\n 'layout',\r\n 'raw',\r\n 'endraw',\r\n 'render',\r\n 'tablerow',\r\n 'endtablerow',\r\n 'unless',\r\n 'endunless'\r\n ],\r\n builtinFilters: [\r\n 'abs',\r\n 'append',\r\n 'at_least',\r\n 'at_most',\r\n 'capitalize',\r\n 'ceil',\r\n 'compact',\r\n 'date',\r\n 'default',\r\n 'divided_by',\r\n 'downcase',\r\n 'escape',\r\n 'escape_once',\r\n 'first',\r\n 'floor',\r\n 'join',\r\n 'json',\r\n 'last',\r\n 'lstrip',\r\n 'map',\r\n 'minus',\r\n 'modulo',\r\n 'newline_to_br',\r\n 'plus',\r\n 'prepend',\r\n 'remove',\r\n 'remove_first',\r\n 'replace',\r\n 'replace_first',\r\n 'reverse',\r\n 'round',\r\n 'rstrip',\r\n 'size',\r\n 'slice',\r\n 'sort',\r\n 'sort_natural',\r\n 'split',\r\n 'strip',\r\n 'strip_html',\r\n 'strip_newlines',\r\n 'times',\r\n 'truncate',\r\n 'truncatewords',\r\n 'uniq',\r\n 'upcase',\r\n 'url_decode',\r\n 'url_encode',\r\n 'where'\r\n ],\r\n constants: ['true', 'false'],\r\n operators: ['==', '!=', '>', '<', '>=', '<='],\r\n symbol: /[=><!]+/,\r\n identifier: /[a-zA-Z_][\\w]*/,\r\n tokenizer: {\r\n root: [\r\n [/\\{\\%\\s*comment\\s*\\%\\}/, 'comment.start.liquid', '@comment'],\r\n [/\\{\\{/, { token: '@rematch', switchTo: '@liquidState.root' }],\r\n [/\\{\\%/, { token: '@rematch', switchTo: '@liquidState.root' }],\r\n [/(<)(\\w+)(\\/>)/, ['delimiter.html', 'tag.html', 'delimiter.html']],\r\n [/(<)([:\\w]+)/, ['delimiter.html', { token: 'tag.html', next: '@otherTag' }]],\r\n [/(<\\/)(\\w+)/, ['delimiter.html', { token: 'tag.html', next: '@otherTag' }]],\r\n [/</, 'delimiter.html'],\r\n [/\\{/, 'delimiter.html'],\r\n [/[^<{]+/] // text\r\n ],\r\n comment: [\r\n [/\\{\\%\\s*endcomment\\s*\\%\\}/, 'comment.end.liquid', '@pop'],\r\n [/./, 'comment.content.liquid']\r\n ],\r\n otherTag: [\r\n [\r\n /\\{\\{/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@liquidState.otherTag'\r\n }\r\n ],\r\n [\r\n /\\{\\%/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@liquidState.otherTag'\r\n }\r\n ],\r\n [/\\/?>/, 'delimiter.html', '@pop'],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [/[ \\t\\r\\n]+/] // whitespace\r\n ],\r\n liquidState: [\r\n [/\\{\\{/, 'delimiter.output.liquid'],\r\n [/\\}\\}/, { token: 'delimiter.output.liquid', switchTo: '@$S2.$S3' }],\r\n [/\\{\\%/, 'delimiter.tag.liquid'],\r\n [/raw\\s*\\%\\}/, 'delimiter.tag.liquid', '@liquidRaw'],\r\n [/\\%\\}/, { token: 'delimiter.tag.liquid', switchTo: '@$S2.$S3' }],\r\n { include: 'liquidRoot' }\r\n ],\r\n liquidRaw: [\r\n [/^(?!\\{\\%\\s*endraw\\s*\\%\\}).+/],\r\n [/\\{\\%/, 'delimiter.tag.liquid'],\r\n [/@identifier/],\r\n [/\\%\\}/, { token: 'delimiter.tag.liquid', next: '@root' }],\r\n ],\r\n liquidRoot: [\r\n [/\\d+(\\.\\d+)?/, 'number.liquid'],\r\n [/\"[^\"]*\"/, 'string.liquid'],\r\n [/'[^']*'/, 'string.liquid'],\r\n [/\\s+/],\r\n [\r\n /@symbol/,\r\n {\r\n cases: {\r\n '@operators': 'operator.liquid',\r\n '@default': ''\r\n }\r\n }\r\n ],\r\n [/\\./],\r\n [\r\n /@identifier/,\r\n {\r\n cases: {\r\n '@constants': 'keyword.liquid',\r\n '@builtinFilters': 'predefined.liquid',\r\n '@builtinTags': 'predefined.liquid',\r\n '@default': 'variable.liquid'\r\n }\r\n }\r\n ],\r\n [/[^}|%]/, 'variable.liquid']\r\n ]\r\n }\r\n};\r\n"],"sourceRoot":""}