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ACA,CACEtB,MAAO,iBACPC,KAAM,iBACNc,aAAc,aAGlB,CAAC,cACD,CAAC,eAAgB,CAAEf,MAAO,WAAYC,KAAM,UAE9CsB,qBAAsB,CACpB,CACE,YACA,CACEvB,MAAO,uBACPkB,SAAU,4BAGd,CACE,YACA,CACElB,MAAO,uBACPkB,SAAU,4BAGd,CACE,IACA,CACElB,MAAO,iBACPC,KAAM,iBACNc,aAAc,aAGlB,CAAC,cACD,CAAC,eAAgB,CAAEf,MAAO,WAAYC,KAAM,UAE9CuB,oBAAqB,CACnB,CACE,IACA,CACExB,MAAO,iBACPC,KAAM,qBACNc,aAAc,QAGlB,CAAC,YAAa,wBACd,CAAC,YAAa,wBACd,CAAC,UAAW,uBACZ,CAAC,IAAK,kBACN,CAAC,cACD,CAAC,eAAgB,CAAEf,MAAO,WAAYC,KAAM,UAE9CwB,cAAe,CACb,CAAC,WAAY,CAAEzB,MAAO,WAAYC,KAAM,OAAQc,aAAc,SAC9D,CAAC,QAAS","sources":["webpack://grafana/../../opt/drone/yarncache/monaco-editor-npm-0.31.1-d8d5ee78bb-65be40c557.zip/node_modules/monaco-editor/esm/vs/basic-languages/twig/twig.js"],"sourcesContent":["/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/twig/twig.ts\nvar conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)/g,\n comments: {\n blockComment: [\"{#\", \"#}\"]\n },\n brackets: [\n [\"{#\", \"#}\"],\n [\"{%\", \"%}\"],\n [\"{{\", \"}}\"],\n [\"(\", \")\"],\n [\"[\", \"]\"],\n [\"<!--\", \"-->\"],\n [\"<\", \">\"]\n ],\n autoClosingPairs: [\n { open: \"{# \", close: \" #}\" },\n { open: \"{% \", close: \" %}\" },\n { open: \"{{ \", close: \" }}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"<\", close: \">\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \"\",\n ignoreCase: true,\n keywords: [\n \"apply\",\n \"autoescape\",\n \"block\",\n \"deprecated\",\n \"do\",\n \"embed\",\n \"extends\",\n \"flush\",\n \"for\",\n \"from\",\n \"if\",\n \"import\",\n \"include\",\n \"macro\",\n \"sandbox\",\n \"set\",\n \"use\",\n \"verbatim\",\n \"with\",\n \"endapply\",\n \"endautoescape\",\n \"endblock\",\n \"endembed\",\n \"endfor\",\n \"endif\",\n \"endmacro\",\n \"endsandbox\",\n \"endset\",\n \"endwith\",\n \"true\",\n \"false\"\n ],\n tokenizer: {\n root: [\n [/\\s+/],\n [/{#/, \"comment.twig\", \"@commentState\"],\n [/{%[-~]?/, \"delimiter.twig\", \"@blockState\"],\n [/{{[-~]?/, \"delimiter.twig\", \"@variableState\"],\n [/<!DOCTYPE/, \"metatag.html\", \"@doctype\"],\n [/<!--/, \"comment.html\", \"@comment\"],\n [/(<)((?:[\\w\\-]+:)?[\\w\\-]+)(\\s*)(\\/>)/, [\"delimiter.html\", \"tag.html\", \"\", \"delimiter.html\"]],\n [/(<)(script)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@script\" }]],\n [/(<)(style)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@style\" }]],\n [/(<)((?:[\\w\\-]+:)?[\\w\\-]+)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@otherTag\" }]],\n [/(<\\/)((?:[\\w\\-]+:)?[\\w\\-]+)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@otherTag\" }]],\n [/</, \"delimiter.html\"],\n [/[^<]+/]\n ],\n commentState: [\n [/#}/, \"comment.twig\", \"@pop\"],\n [/./, \"comment.twig\"]\n ],\n blockState: [\n [/[-~]?%}/, \"delimiter.twig\", \"@pop\"],\n [/\\s+/],\n [\n /(verbatim)(\\s*)([-~]?%})/,\n [\"keyword.twig\", \"\", { token: \"delimiter.twig\", next: \"@rawDataState\" }]\n ],\n { include: \"expression\" }\n ],\n rawDataState: [\n [\n /({%[-~]?)(\\s*)(endverbatim)(\\s*)([-~]?%})/,\n [\"delimiter.twig\", \"\", \"keyword.twig\", \"\", { token: \"delimiter.twig\", next: \"@popall\" }]\n ],\n [/./, \"string.twig\"]\n ],\n variableState: [[/[-~]?}}/, \"delimiter.twig\", \"@pop\"], { include: \"expression\" }],\n stringState: [\n [/\"/, \"string.twig\", \"@pop\"],\n [/#{\\s*/, \"string.twig\", \"@interpolationState\"],\n [/[^#\"\\\\]*(?:(?:\\\\.|#(?!\\{))[^#\"\\\\]*)*/, \"string.twig\"]\n ],\n interpolationState: [\n [/}/, \"string.twig\", \"@pop\"],\n { include: \"expression\" }\n ],\n expression: [\n [/\\s+/],\n [/\\+|-|\\/{1,2}|%|\\*{1,2}/, \"operators.twig\"],\n [/(and|or|not|b-and|b-xor|b-or)(\\s+)/, [\"operators.twig\", \"\"]],\n [/==|!=|<|>|>=|<=/, \"operators.twig\"],\n [/(starts with|ends with|matches)(\\s+)/, [\"operators.twig\", \"\"]],\n [/(in)(\\s+)/, [\"operators.twig\", \"\"]],\n [/(is)(\\s+)/, [\"operators.twig\", \"\"]],\n [/\\||~|:|\\.{1,2}|\\?{1,2}/, \"operators.twig\"],\n [\n /[^\\W\\d][\\w]*/,\n {\n cases: {\n \"@keywords\": \"keyword.twig\",\n \"@default\": \"variable.twig\"\n }\n }\n ],\n [/\\d+(\\.\\d+)?/, \"number.twig\"],\n [/\\(|\\)|\\[|\\]|{|}|,/, \"delimiter.twig\"],\n [/\"([^#\"\\\\]*(?:\\\\.[^#\"\\\\]*)*)\"|\\'([^\\'\\\\]*(?:\\\\.[^\\'\\\\]*)*)\\'/, \"string.twig\"],\n [/\"/, \"string.twig\", \"@stringState\"],\n [/=>/, \"operators.twig\"],\n [/=/, \"operators.twig\"]\n ],\n doctype: [\n [/[^>]+/, \"metatag.content.html\"],\n [/>/, \"metatag.html\", \"@pop\"]\n ],\n comment: [\n [/-->/, \"comment.html\", \"@pop\"],\n [/[^-]+/, \"comment.content.html\"],\n [/./, \"comment.content.html\"]\n ],\n otherTag: [\n [/\\/?>/, \"delimiter.html\", \"@pop\"],\n [/\"([^\"]*)\"/, \"attribute.value.html\"],\n [/'([^']*)'/, \"attribute.value.html\"],\n [/[\\w\\-]+/, \"attribute.name.html\"],\n [/=/, \"delimiter.html\"],\n [/[ \\t\\r\\n]+/]\n ],\n script: [\n [/type/, \"attribute.name.html\", \"@scriptAfterType\"],\n [/\"([^\"]*)\"/, \"attribute.value.html\"],\n [/'([^']*)'/, \"attribute.value.html\"],\n [/[\\w\\-]+/, \"attribute.name.html\"],\n [/=/, \"delimiter.html\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [\n /(<\\/)(script\\s*)(>)/,\n [\"delimiter.html\", \"tag.html\", { token: \"delimiter.html\", next: \"@pop\" }]\n ]\n ],\n scriptAfterType: [\n [/=/, \"delimiter.html\", \"@scriptAfterTypeEquals\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptAfterTypeEquals: [\n [\n /\"([^\"]*)\"/,\n {\n token: \"attribute.value.html\",\n switchTo: \"@scriptWithCustomType.$1\"\n }\n ],\n [\n /'([^']*)'/,\n {\n token: \"attribute.value.html\",\n switchTo: \"@scriptWithCustomType.$1\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptWithCustomType: [\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.$S2\",\n nextEmbedded: \"$S2\"\n }\n ],\n [/\"([^\"]*)\"/, \"attribute.value.html\"],\n [/'([^']*)'/, \"attribute.value.html\"],\n [/[\\w\\-]+/, \"attribute.name.html\"],\n [/=/, \"delimiter.html\"],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptEmbedded: [\n [/<\\/script/, { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" }],\n [/[^<]+/, \"\"]\n ],\n style: [\n [/type/, \"attribute.name.html\", \"@styleAfterType\"],\n [/\"([^\"]*)\"/, \"attribute.value.html\"],\n [/'([^']*)'/, \"attribute.value.html\"],\n [/[\\w\\-]+/, \"attribute.name.html\"],\n [/=/, \"delimiter.html\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [\n /(<\\/)(style\\s*)(>)/,\n [\"delimiter.html\", \"tag.html\", { token: \"delimiter.html\", next: \"@pop\" }]\n ]\n ],\n styleAfterType: [\n [/=/, \"delimiter.html\", \"@styleAfterTypeEquals\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleAfterTypeEquals: [\n [\n /\"([^\"]*)\"/,\n {\n token: \"attribute.value.html\",\n switchTo: \"@styleWithCustomType.$1\"\n }\n ],\n [\n /'([^']*)'/,\n {\n token: \"attribute.value.html\",\n switchTo: \"@styleWithCustomType.$1\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleWithCustomType: [\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.$S2\",\n nextEmbedded: \"$S2\"\n }\n ],\n [/\"([^\"]*)\"/, \"attribute.value.html\"],\n [/'([^']*)'/, \"attribute.value.html\"],\n [/[\\w\\-]+/, \"attribute.name.html\"],\n [/=/, \"delimiter.html\"],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleEmbedded: [\n [/<\\/style/, { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" }],\n [/[^<]+/, \"\"]\n ]\n }\n};\nexport {\n conf,\n language\n};\n"],"names":["conf","wordPattern","comments","blockComment","brackets","autoClosingPairs","open","close","surroundingPairs","language","defaultToken","tokenPostfix","ignoreCase","keywords","tokenizer","root","token","next","commentState","blockState","include","rawDataState","variableState","stringState","interpolationState","expression","cases","doctype","comment","otherTag","script","nextEmbedded","scriptAfterType","scriptAfterTypeEquals","switchTo","scriptWithCustomType","scriptEmbedded","style","styleAfterType","styleAfterTypeEquals","styleWithCustomType","styleEmbedded"],"sourceRoot":""}
|