mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-04 14:38:32 +08:00
1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"version":3,"file":"2334.js","mappings":"4JAKIA,EAAiB,CACjB,OACA,OACA,KACA,MACA,QACA,KACA,MACA,QACA,SACA,OACA,WACA,OACA,QACA,SACA,QACA,OAEOC,EAAO,CACdC,YAAa,iFACbC,SAAU,CACNC,aAAc,CAAC,UAAQ,WAE3BC,SAAU,CACN,CAAC,UAAQ,UACT,CAAC,IAAK,KACN,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,MAExBC,iBAAkB,CACd,CAAEF,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,MAExBE,aAAc,CACV,CACIC,WAAY,IAAIC,OAAO,UAAYZ,EAAea,KAAK,KAAO,+CAAgD,KAC9GC,UAAW,gCACXC,OAAQ,CACJC,aAAc,KAAUC,aAAaC,gBAG7C,CACIP,WAAY,IAAIC,OAAO,UAAYZ,EAAea,KAAK,KAAO,uCAAwC,KACtGE,OAAQ,CAAEC,aAAc,KAAUC,aAAaE,UAGvDC,QAAS,CACLC,QAAS,CACLC,MAAO,IAAIV,OAAO,sCAClBW,IAAK,IAAIX,OAAO,4CAIjBY,EAAW,CAClBC,aAAc,GACdC,aAAc,QACdC,YAAY,EAEZC,UAAW,CACPC,KAAM,CACF,CAAC,YAAa,UAAW,YACzB,CAAC,OAAQ,UAAW,YACpB,CAAC,sCAAuC,CAAC,YAAa,MAAO,GA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mBACd,CAAC,UAAW,kBACZ,CAAC,IAAK,aACN,CAAC,cACD,CAAC,gBAAiB,CAAEN,MAAO,WAAYC,KAAM,UAEjDU,eAAgB,CACZ,CAAC,YAAa,CAAEX,MAAO,WAAYC,KAAM,OAAQK,aAAc,SAC/D,CAAC,QAAS,KAKdM,MAAO,CACH,CAAC,OAAQ,iBAAkB,mBAC3B,CAAC,YAAa,mBACd,CAAC,YAAa,mBACd,CAAC,UAAW,kBACZ,CAAC,IAAK,aACN,CACI,IACA,CACIZ,MAAO,YACPC,KAAM,iBACNK,aAAc,aAGtB,CAAC,cACD,CAAC,qBAAsB,CAAC,YAAa,MAAO,CAAEN,MAAO,YAAaC,KAAM,WAG5EY,eAAgB,CACZ,CAAC,IAAK,YAAa,yBACnB,CACI,IACA,CACIb,MAAO,YACPC,KAAM,iBACNK,aAAc,aAGtB,CAAC,cACD,CAAC,eAAgB,CAAEN,MAAO,WAAYC,KAAM,UAGhDa,qBAAsB,CAClB,CACI,YACA,CACId,MAAO,kBACPS,SAAU,4BAGlB,CACI,YACA,CACIT,MAAO,kBACPS,SAAU,4BAGlB,CACI,IACA,CACIT,MAAO,YACPC,KAAM,iBACNK,aAAc,aAGtB,CAAC,cACD,CAAC,eAAgB,CAAEN,MAAO,WAAYC,KAAM,UAGhDc,oBAAqB,CACjB,CACI,IACA,CACIf,MAAO,YACPC,KAAM,qBACNK,aAAc,QAGtB,CAAC,YAAa,mBACd,CAAC,YAAa,mBACd,CAAC,UAAW,kBACZ,CAAC,IAAK,aACN,CAAC,cACD,CAAC,eAAgB,CAAEN,MAAO,WAAYC,KAAM,UAEhDe,cAAe,CACX,CAAC,WAAY,CAAEhB,MAAO,WAAYC,KAAM,OAAQK,aAAc,SAC9D,CAAC,QAAS,M","sources":["webpack://web/../../node_modules/monaco-editor/esm/vs/basic-languages/html/html.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 comments: {\r\n blockComment: ['<!--', '-->']\r\n },\r\n brackets: [\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 ],\r\n surroundingPairs: [\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 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 folding: {\r\n markers: {\r\n start: new RegExp('^\\\\s*<!--\\\\s*#region\\\\b.*-->'),\r\n end: new RegExp('^\\\\s*<!--\\\\s*#endregion\\\\b.*-->')\r\n }\r\n }\r\n};\r\nexport var language = {\r\n defaultToken: '',\r\n tokenPostfix: '.html',\r\n ignoreCase: true,\r\n // The main tokenizer for our languages\r\n tokenizer: {\r\n root: [\r\n [/<!DOCTYPE/, 'metatag', '@doctype'],\r\n [/<!--/, 'comment', '@comment'],\r\n [/(<)((?:[\\w\\-]+:)?[\\w\\-]+)(\\s*)(\\/>)/, ['delimiter', 'tag', '', 'delimiter']],\r\n [/(<)(script)/, ['delimiter', { token: 'tag', next: '@script' }]],\r\n [/(<)(style)/, ['delimiter', { token: 'tag', next: '@style' }]],\r\n [/(<)((?:[\\w\\-]+:)?[\\w\\-]+)/, ['delimiter', { token: 'tag', next: '@otherTag' }]],\r\n [/(<\\/)((?:[\\w\\-]+:)?[\\w\\-]+)/, ['delimiter', { token: 'tag', next: '@otherTag' }]],\r\n [/</, 'delimiter'],\r\n [/[^<]+/] // text\r\n ],\r\n doctype: [\r\n [/[^>]+/, 'metatag.content'],\r\n [/>/, 'metatag', '@pop']\r\n ],\r\n comment: [\r\n [/-->/, 'comment', '@pop'],\r\n [/[^-]+/, 'comment.content'],\r\n [/./, 'comment.content']\r\n ],\r\n otherTag: [\r\n [/\\/?>/, 'delimiter', '@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 // -- BEGIN <script> tags handling\r\n // After <script\r\n script: [\r\n [/type/, 'attribute.name', '@scriptAfterType'],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@scriptEmbedded',\r\n nextEmbedded: 'text/javascript'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/(<\\/)(script\\s*)(>)/, ['delimiter', 'tag', { token: 'delimiter', next: '@pop' }]]\r\n ],\r\n // After <script ... type\r\n scriptAfterType: [\r\n [/=/, 'delimiter', '@scriptAfterTypeEquals'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@scriptEmbedded',\r\n nextEmbedded: 'text/javascript'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <script ... type =\r\n scriptAfterTypeEquals: [\r\n [\r\n /\"([^\"]*)\"/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@scriptWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n /'([^']*)'/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@scriptWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@scriptEmbedded',\r\n nextEmbedded: 'text/javascript'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <script ... type = $S2\r\n scriptWithCustomType: [\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@scriptEmbedded.$S2',\r\n nextEmbedded: '$S2'\r\n }\r\n ],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n scriptEmbedded: [\r\n [/<\\/script/, { token: '@rematch', next: '@pop', nextEmbedded: '@pop' }],\r\n [/[^<]+/, '']\r\n ],\r\n // -- END <script> tags handling\r\n // -- BEGIN <style> tags handling\r\n // After <style\r\n style: [\r\n [/type/, 'attribute.name', '@styleAfterType'],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@styleEmbedded',\r\n nextEmbedded: 'text/css'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/(<\\/)(style\\s*)(>)/, ['delimiter', 'tag', { token: 'delimiter', next: '@pop' }]]\r\n ],\r\n // After <style ... type\r\n styleAfterType: [\r\n [/=/, 'delimiter', '@styleAfterTypeEquals'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@styleEmbedded',\r\n nextEmbedded: 'text/css'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <style ... type =\r\n styleAfterTypeEquals: [\r\n [\r\n /\"([^\"]*)\"/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@styleWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n /'([^']*)'/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@styleWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@styleEmbedded',\r\n nextEmbedded: 'text/css'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <style ... type = $S2\r\n styleWithCustomType: [\r\n [\r\n />/,\r\n {\r\n token: 'delimiter',\r\n next: '@styleEmbedded.$S2',\r\n nextEmbedded: '$S2'\r\n }\r\n ],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n styleEmbedded: [\r\n [/<\\/style/, { token: '@rematch', next: '@pop', nextEmbedded: '@pop' }],\r\n [/[^<]+/, '']\r\n ]\r\n // -- END <style> tags handling\r\n }\r\n};\r\n// TESTED WITH:\r\n// <!DOCTYPE html>\r\n// <html>\r\n// <head>\r\n// <title>Monarch Workbench</title>\r\n// <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\r\n// <!----\r\n// -- -- -- a comment -- -- --\r\n// ---->\r\n// <style bah=\"bah\">\r\n// body { font-family: Consolas; } /* nice */\r\n// </style>\r\n// </head\r\n// >\r\n// a = \"asd\"\r\n// <body>\r\n// <br/>\r\n// <div\r\n// class\r\n// =\r\n// \"test\"\r\n// >\r\n// <script>\r\n// function() {\r\n// alert(\"hi </ script>\"); // javascript\r\n// };\r\n// </script>\r\n// <script\r\n// \tbah=\"asdfg\"\r\n// \ttype=\"text/css\"\r\n// \t>\r\n// .bar { text-decoration: underline; }\r\n// </script>\r\n// </div>\r\n// </body>\r\n// </html>\r\n"],"names":["EMPTY_ELEMENTS","conf","wordPattern","comments","blockComment","brackets","autoClosingPairs","open","close","surroundingPairs","onEnterRules","beforeText","RegExp","join","afterText","action","indentAction","IndentAction","IndentOutdent","Indent","folding","markers","start","end","language","defaultToken","tokenPostfix","ignoreCase","tokenizer","root","token","next","doctype","comment","otherTag","script","nextEmbedded","scriptAfterType","scriptAfterTypeEquals","switchTo","scriptWithCustomType","scriptEmbedded","style","styleAfterType","styleAfterTypeEquals","styleWithCustomType","styleEmbedded"],"sourceRoot":""} |