vitepress-openapi 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OAJSONEditor-BPdzinnW.js → OAJSONEditor-BfaXXObm.js} +2 -2
- package/dist/{OAJSONEditor-cdYfH8pW.cjs → OAJSONEditor-fTqoBDiY.cjs} +1 -1
- package/dist/{angular-html-BoKsRe8T.cjs → angular-html-Dk2XGZ_t.cjs} +1 -1
- package/dist/{angular-html-D5QwJSjx.js → angular-html-Dl5L_ndT.js} +2 -2
- package/dist/{angular-ts-CXuTnAMH.cjs → angular-ts-ByuE09su.cjs} +1 -1
- package/dist/{angular-ts-B0kZpGGd.js → angular-ts-DATG01QH.js} +2 -2
- package/dist/{apl-CO2hi6pu.js → apl-B903Y1iI.js} +5 -5
- package/dist/{apl-CjAWNKej.cjs → apl-REpE4EOr.cjs} +1 -1
- package/dist/{astro-C8AbPvmY.js → astro-B6XJ1XzP.js} +5 -5
- package/dist/{astro-C6WzLepe.cjs → astro-wd_9JORh.cjs} +1 -1
- package/dist/{blade-bJOeoSe0.cjs → blade-CJNVUHnO.cjs} +1 -1
- package/dist/{blade-B3TXqIqP.js → blade-DU7K6RH3.js} +7 -7
- package/dist/{c-BTzN4Ylc.js → c-BFcbaMUO.js} +1 -1
- package/dist/{c-BCyoZ90X.cjs → c-DkEd8-YD.cjs} +1 -1
- package/dist/{chapel-D3SOeXgF.cjs → chapel-BDpe9hj3.cjs} +1 -1
- package/dist/{chapel-DqUUkRYq.js → chapel-CyR2VtwX.js} +1 -1
- package/dist/{cobol-dlQjEakv.cjs → cobol-CDgLba1H.cjs} +1 -1
- package/dist/{cobol-DFLW8ca0.js → cobol-ZUVB5fnm.js} +2 -2
- package/dist/{coffee-TUzF5uor.cjs → coffee-BxVt1U7S.cjs} +1 -1
- package/dist/{coffee-1KoIHtzW.js → coffee-D9j_lkLc.js} +1 -1
- package/dist/{core-x4pNOQS7.cjs → core-DCROFLpl.cjs} +1 -1
- package/dist/{core-CSILRXKH.js → core-ZiHa6_mm.js} +1 -1
- package/dist/{cpp-tnOfy09q.cjs → cpp-BPWm4FiD.cjs} +1 -1
- package/dist/{cpp-yEMsPd-1.js → cpp-NN3vBjLe.js} +3 -3
- package/dist/{crystal-CENIitzj.js → crystal-BCSv9BMD.js} +6 -6
- package/dist/{crystal-D_nHX3jS.cjs → crystal-Cg-JMHNA.cjs} +1 -1
- package/dist/{css-B-WLUKlS.js → css-BDew7Z2b.js} +1 -1
- package/dist/{css-02TmpFbt.cjs → css-Cca861pZ.cjs} +1 -1
- package/dist/{dist-C1v4Xm4x.js → dist-CN9hkg4t.js} +1 -1
- package/dist/{dist-BxzxjMCz.cjs → dist-Dsa_0AoM.cjs} +1 -1
- package/dist/{edge-f2PDRzgK.cjs → edge-CMIfIdja.cjs} +1 -1
- package/dist/{edge-BEj_2N8x.js → edge-DXKIJOV7.js} +3 -3
- package/dist/{elixir-CQkxmVTM.js → elixir-BjNct3TS.js} +1 -1
- package/dist/{elixir-CIcaqRsY.cjs → elixir-BmJsBojU.cjs} +1 -1
- package/dist/{elm-DzGi_nR3.js → elm-CPQSACRc.js} +1 -1
- package/dist/{elm-7G0I-hE6.cjs → elm-rLsOgMwT.cjs} +1 -1
- package/dist/{engine-javascript-DsJlQOsE.cjs → engine-javascript-B9hqc1Sn.cjs} +1 -1
- package/dist/{engine-javascript-DSMQf2z2.js → engine-javascript-CtAw-nzg.js} +2 -2
- package/dist/{erb-COP2UPZ7.js → erb-CQUldNHj.js} +2 -2
- package/dist/{erb-B9-cGaTm.cjs → erb-CiTsuMX9.cjs} +1 -1
- package/dist/{git-rebase-DTYLKCWV.js → git-rebase-5OapP1hA.js} +1 -1
- package/dist/{git-rebase-Ku61ihN2.cjs → git-rebase-CjFDc1kk.cjs} +1 -1
- package/dist/{glimmer-js-izmglT1O.cjs → glimmer-js-CPs3ZMWA.cjs} +1 -1
- package/dist/{glimmer-js-D29AEl8t.js → glimmer-js-DJj4duzR.js} +4 -4
- package/dist/{glimmer-ts-DJ1fakxz.cjs → glimmer-ts-CuERAYsk.cjs} +1 -1
- package/dist/{glimmer-ts-DYj3qCHB.js → glimmer-ts-drtM04VL.js} +4 -4
- package/dist/{glsl-Bc6nFncG.js → glsl-DPV3oxNS.js} +2 -2
- package/dist/{glsl-BGTPqLyQ.cjs → glsl-vKFvWHtP.cjs} +1 -1
- package/dist/{graphql-DdYH_Rp2.cjs → graphql-DG0SCdKc.cjs} +1 -1
- package/dist/{graphql-Ds5Ubte9.js → graphql-b3MqwVzn.js} +5 -5
- package/dist/{hack-B6E-ISVN.js → hack-BV8Fk8S0.js} +2 -2
- package/dist/{hack-DlUSG6ek.cjs → hack-Dnr29SMc.cjs} +1 -1
- package/dist/{haml-DSK5muqV.js → haml-DYADyojV.js} +3 -3
- package/dist/{haml-D-xAsnlc.cjs → haml-cdCU_QQV.cjs} +1 -1
- package/dist/{handlebars-CGjGomme.js → handlebars-D7Wg8zxD.js} +4 -4
- package/dist/{handlebars-BxmkFTU3.cjs → handlebars-XYDCrTNM.cjs} +1 -1
- package/dist/{html-BYiFDapk.cjs → html-DOohh95v.cjs} +1 -1
- package/dist/{html-derivative--Yb6fTDM.js → html-derivative-7yg_dBt4.js} +1 -1
- package/dist/{html-derivative-Due6nHaa.cjs → html-derivative-B_93GY2L.cjs} +1 -1
- package/dist/{html-DvKVaMAh.js → html-oFWSlHLM.js} +3 -3
- package/dist/{http-BDb2okFn.cjs → http-BpWcfGzO.cjs} +1 -1
- package/dist/{http-Wf5dll9t.js → http-C-Hd6Lz4.js} +4 -4
- package/dist/{hurl-Ds566NU_.cjs → hurl-D53hSFo7.cjs} +1 -1
- package/dist/{hurl-1Afa28rK.js → hurl-DjXOdham.js} +2 -2
- package/dist/{java-DMU2lkyP.js → java-CcAzK28d.js} +1 -1
- package/dist/{java-DwnayQnb.cjs → java-YSQdp8jH.cjs} +1 -1
- package/dist/{javascript-CkOfli2O.js → javascript-CFpHKvG0.js} +1 -1
- package/dist/{javascript-CSKossUl.cjs → javascript-CcZ4Z9Pe.cjs} +1 -1
- package/dist/{jinja-C_EeM5kX.js → jinja-BzmRQBYE.js} +1 -1
- package/dist/{jinja-D65--viX.cjs → jinja-DhuEKxK7.cjs} +1 -1
- package/dist/{jison-D5yGxh57.js → jison-CfNmROg3.js} +1 -1
- package/dist/{jison-CgJDwgW4.cjs → jison-DkP6w3Kb.cjs} +1 -1
- package/dist/{js-yaml-uHYMr7LM.cjs → js-yaml-D7HstSVO.cjs} +1 -1
- package/dist/{js-yaml-CA-Iojzo.js → js-yaml-xxJ42vHJ.js} +1 -1
- package/dist/{json-DnSlp2pP.js → json-BUhydBtV.js} +1 -1
- package/dist/{json-DMvxal4O.cjs → json-BuUbxxHW.cjs} +1 -1
- package/dist/{jsx-DIHyTcyM.js → jsx-BgXsA-DL.js} +1 -1
- package/dist/{jsx-CJAVXoYP.cjs → jsx-LBqujUwg.cjs} +1 -1
- package/dist/{julia-Upv7yuF3.cjs → julia-CFY_QNYf.cjs} +1 -1
- package/dist/{julia-pnYWyN4H.js → julia-QFUzXXyx.js} +4 -4
- package/dist/{just-Rux3ihaI.js → just-BQQqo7uc.js} +5 -5
- package/dist/{just-kcvRoQaC.cjs → just-unRxJYdl.cjs} +1 -1
- package/dist/{latex-BNmmGRr9.js → latex-61rhD9l1.js} +1 -1
- package/dist/{latex-ssVj4acX.cjs → latex-CMXzYJ7A.cjs} +1 -1
- package/dist/{liquid-CkFTSuz5.js → liquid-DJCM2ZDj.js} +4 -4
- package/dist/{liquid-D9-xfAH9.cjs → liquid-Dlc1A5fD.cjs} +1 -1
- package/dist/{lua-BPZzb4jg.js → lua-CQxTc8eB.js} +2 -2
- package/dist/{lua-CbILlNRp.cjs → lua-De5jN6Ym.cjs} +1 -1
- package/dist/{marko-U5lgzX4W.js → marko-Dd0qsahM.js} +3 -3
- package/dist/{marko-CckGih8c.cjs → marko-lDIEsg9U.cjs} +1 -1
- package/dist/{mdc-CIgbmpvb.cjs → mdc-CyWtd_UH.cjs} +1 -1
- package/dist/{mdc-ftW0jKss.js → mdc-_80um6kj.js} +2 -2
- package/dist/{nginx-pp3BriFA.cjs → nginx-Bys-Mt_F.cjs} +1 -1
- package/dist/{nginx-CO6FbhYm.js → nginx-DDrDrYzT.js} +1 -1
- package/dist/{nim-xNROytAe.cjs → nim-B-WnW_TA.cjs} +1 -1
- package/dist/{nim-CJpN9IuJ.js → nim-BKM9BEwv.js} +6 -6
- package/dist/{org-BfvkBzjQ.cjs → org-BQi9zqMo.cjs} +1 -1
- package/dist/{org-BLgfq4oa.js → org-DFPWKQMZ.js} +26 -26
- package/dist/{perl-4iy1AzjP.js → perl-BIiCtWTQ.js} +5 -5
- package/dist/{perl-gYxlBF7Z.cjs → perl-CkLK5ExR.cjs} +1 -1
- package/dist/{php-D7tWq26a.cjs → php-CgjckyHQ.cjs} +1 -1
- package/dist/{php-DBpFECnW.js → php-DOw5HPZo.js} +6 -6
- package/dist/{pug-B3SC-VJn.js → pug-BGkLdaFt.js} +3 -3
- package/dist/{pug-CYLX2lIo.cjs → pug-ZRJG_B3i.cjs} +1 -1
- package/dist/{qml-CjtYDlYC.cjs → qml-BHFWpY8E.cjs} +1 -1
- package/dist/{qml-BJryVNLB.js → qml-Bpj0emxI.js} +1 -1
- package/dist/{r-DKRgTYMs.cjs → r-CP5u50Ge.cjs} +1 -1
- package/dist/{r-CO3AGhxE.js → r-beK_-64Q.js} +1 -1
- package/dist/{razor-Cjwm6SbM.cjs → razor-COBqjWAJ.cjs} +1 -1
- package/dist/{razor-fizwqQUn.js → razor-Q3MoMGDn.js} +1 -1
- package/dist/{regexp-BlBS23LV.js → regexp-BsdKen3m.js} +1 -1
- package/dist/{regexp-BbrbtHcV.cjs → regexp-Cquj00oh.cjs} +1 -1
- package/dist/{rst-uzixnQEN.cjs → rst-B0t1spY-.cjs} +1 -1
- package/dist/{rst-CQ-BOew2.js → rst-DpM5_nag.js} +6 -6
- package/dist/{ruby-DcF3FpOo.cjs → ruby-CsFQlb64.cjs} +1 -1
- package/dist/{ruby-DYscwpKq.js → ruby-kbh8ViY5.js} +12 -12
- package/dist/{sas-xf7cYJ8D.js → sas-BgQhrf78.js} +1 -1
- package/dist/{sas-CQkHM7U4.cjs → sas-CnYUys8b.cjs} +1 -1
- package/dist/{scss-B6SEboBH.cjs → scss-FW7lpUTk.cjs} +1 -1
- package/dist/{scss-D5Ro0FPj.js → scss-NPDrxHVt.js} +2 -2
- package/dist/{shellscript-UM_LESkp.cjs → shellscript-C1Cbf_Wu.cjs} +1 -1
- package/dist/{shellscript-DVhVbKuT.js → shellscript-DhwNgJpI.js} +1 -1
- package/dist/{shellsession-DCV0F4Wc.js → shellsession-BzIHueWc.js} +1 -1
- package/dist/{shellsession-CfBYvvpU.cjs → shellsession-D7Pf_B_j.cjs} +1 -1
- package/dist/{soy-HCmyBkD1.cjs → soy-Bacl__9y.cjs} +1 -1
- package/dist/{soy-DqvPS_mm.js → soy-xHdJtla5.js} +1 -1
- package/dist/{sql-C8Kl76rR.js → sql-AGUE5-dk.js} +1 -1
- package/dist/{sql-B2O4UoSw.cjs → sql-BCbZO9Vk.cjs} +1 -1
- package/dist/{stata-CJiPjcNk.js → stata-BpsgLaw1.js} +1 -1
- package/dist/{stata-B1WKRY4L.cjs → stata-ByZ8yj3l.cjs} +1 -1
- package/dist/{surrealql-1H6TjudE.js → surrealql-CE6SK0JG.js} +1 -1
- package/dist/{surrealql-D34WxIUj.cjs → surrealql-Dfwdqk76.cjs} +1 -1
- package/dist/{svelte-CIN2FBHe.js → svelte-B8Y6hosE.js} +3 -3
- package/dist/{svelte-BdqWwltV.cjs → svelte-DRtnTFsc.cjs} +1 -1
- package/dist/{templ-DRfIS7Yk.cjs → templ-BIgW0e2S.cjs} +1 -1
- package/dist/{templ-DfCxDv8S.js → templ-BofvAMnQ.js} +2 -2
- package/dist/{tex-BTjGzapI.js → tex-CLtxJoaQ.js} +2 -2
- package/dist/{tex-W_Dxzamg.cjs → tex-UEva1VjO.cjs} +1 -1
- package/dist/{ts-tags-T_iDSaWH.cjs → ts-tags-Cv2SdymF.cjs} +1 -1
- package/dist/{ts-tags-CV7DYDTm.js → ts-tags-DRRvATIb.js} +7 -7
- package/dist/{tsx-C9xVNnaW.js → tsx--6NZUZt2.js} +1 -1
- package/dist/{tsx-B3iFrpuZ.cjs → tsx-CRyT9Jau.cjs} +1 -1
- package/dist/{twig-C4i_cRPo.js → twig-BTg98s4P.js} +5 -5
- package/dist/{twig-D914CUNQ.cjs → twig-C8K9fEv7.cjs} +1 -1
- package/dist/types/src/composables/useTheme.d.ts +7 -0
- package/dist/types/src/lib/markdown/sanitizeHtml.d.ts +5 -0
- package/dist/{typescript-Ai8puZIn.cjs → typescript-BbUbA8EZ.cjs} +1 -1
- package/dist/{typescript-Chl77Ui1.js → typescript-DBKp3fLc.js} +1 -1
- package/dist/{typst-BgQE6TAB.js → typst-BMPcWpxF.js} +29 -29
- package/dist/{typst-C6fVPKNq.cjs → typst-wzR7m38K.cjs} +1 -1
- package/dist/{useOpenapi-D3rJQzeG.cjs → useOpenapi-Bt0dpttK.cjs} +1 -1
- package/dist/{useOpenapi-DVLwqpMR.js → useOpenapi-Dr3AneGd.js} +6 -4
- package/dist/vitepress-openapi.client.cjs.js +1 -1
- package/dist/vitepress-openapi.client.es.js +2 -2
- package/dist/vitepress-openapi.css +1 -1
- package/dist/vitepress-openapi.node.cjs.js +1 -1
- package/dist/vitepress-openapi.node.es.js +1 -1
- package/dist/vitepress-openapi.vue.cjs.js +1 -1
- package/dist/vitepress-openapi.vue.es.js +2 -2
- package/dist/{vue-DpVGGK22.js → vue-CPzdKbEl.js} +2121 -1469
- package/dist/{vue-CaajMfVy.cjs → vue-DLzq6csB.cjs} +1 -1
- package/dist/{vue-J95qJkfJ.js → vue-DWAybQg2.js} +6 -6
- package/dist/{vue-Cdo23EVh.cjs → vue-Da82SaTm.cjs} +5 -4
- package/dist/{vue-html-BjrCwjva.js → vue-html-BSam2lRJ.js} +1 -1
- package/dist/{vue-html-CtmhMKZ8.cjs → vue-html-IeY1Py_m.cjs} +1 -1
- package/dist/{vue-vine-DHwm8nhC.cjs → vue-vine-Db6Q7xvd.cjs} +1 -1
- package/dist/{vue-vine-C4hFAX9j.js → vue-vine-icUsAH0H.js} +3 -3
- package/dist/{xml-C1x13bX0.cjs → xml-An_1AySF.cjs} +1 -1
- package/dist/{xml-4tT4oeZd.js → xml-Cj_af9Z1.js} +2 -2
- package/dist/{xsl-ZTs2D31w.js → xsl-D-tBFomZ.js} +1 -1
- package/dist/{xsl-gK25ns76.cjs → xsl-DblyyLAc.cjs} +1 -1
- package/dist/{yaml-BUexFoMb.cjs → yaml-BZ7EODQj.cjs} +1 -1
- package/dist/{yaml-Cr99duBz.js → yaml-D4q2Gm3x.js} +1 -1
- package/package.json +3 -2
- package/src/composables/useMarkdown.ts +8 -2
- package/src/composables/useTheme.ts +12 -0
- package/src/lib/markdown/operationLink.ts +10 -3
- package/src/lib/markdown/sanitizeHtml.ts +92 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./javascript-
|
|
2
|
-
import { t } from "./css-
|
|
3
|
-
import { t as n } from "./scss-
|
|
1
|
+
import { t as e } from "./javascript-CFpHKvG0.js";
|
|
2
|
+
import { t } from "./css-BDew7Z2b.js";
|
|
3
|
+
import { t as n } from "./scss-NPDrxHVt.js";
|
|
4
4
|
import r from "./python-D0AaDoWC.js";
|
|
5
|
-
import i from "./ruby-
|
|
6
|
-
import a from "./php-
|
|
5
|
+
import i from "./ruby-kbh8ViY5.js";
|
|
6
|
+
import a from "./php-DOw5HPZo.js";
|
|
7
7
|
//#region node_modules/.pnpm/@shikijs+langs@4.4.3/node_modules/@shikijs/langs/dist/twig.mjs
|
|
8
8
|
var o = Object.freeze(JSON.parse("{\"displayName\":\"Twig\",\"fileTypes\":[\"twig\",\"html.twig\"],\"firstLineMatch\":\"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#\",\"foldingStartMarker\":\"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))\",\"foldingStopMarker\":\"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))\",\"name\":\"twig\",\"patterns\":[{\"begin\":\"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.html\"}},\"end\":\"(>(<)/)(\\\\2)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"meta.scope.between-tag-pair.html\"},\"3\":{\"name\":\"entity.name.tag.html\"},\"4\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"meta.tag.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(<\\\\?)(xml)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.xml.html\"}},\"end\":\"(\\\\?>)\",\"name\":\"meta.tag.preprocessor.xml.html\",\"patterns\":[{\"include\":\"#tag-generic-attribute\"},{\"include\":\"#string-double-quoted\"},{\"include\":\"#string-single-quoted\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"--\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"},{\"include\":\"#embedded-code\"}]},{\"begin\":\"<!\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\">\",\"name\":\"meta.tag.sgml.html\",\"patterns\":[{\"begin\":\"(?i:DOCTYPE)\",\"captures\":{\"1\":{\"name\":\"entity.name.tag.doctype.html\"}},\"end\":\"(?=>)\",\"name\":\"meta.tag.sgml.doctype.html\",\"patterns\":[{\"match\":\"\\\"[^\\\">]*\\\"\",\"name\":\"string.quoted.double.doctype.identifiers-and-DTDs.html\"}]},{\"begin\":\"\\\\[CDATA\\\\[\",\"end\":\"]](?=>)\",\"name\":\"constant.other.inline-data.html\"},{\"match\":\"(\\\\s*)(?!--|>)\\\\S(\\\\s*)\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]},{\"include\":\"#embedded-code\"},{\"begin\":\"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.style.html\"},\"3\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\"(</)((?i:style))(>)(?:\\\\s*\\\\n)?\",\"name\":\"source.css.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\"(?=</(?i:style))\",\"patterns\":[{\"include\":\"#embedded-code\"},{\"include\":\"source.css\"}]}]},{\"begin\":\"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?\",\"endCaptures\":{\"2\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"source.js.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<!</(?:script|SCRIPT))(>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(</)((?i:script))\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.js\"}},\"match\":\"(//).*?((?=<\/script)|$\\\\n?)\",\"name\":\"comment.line.double-slash.js\"},{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.js\"}},\"end\":\"\\\\*/|(?=<\/script)\",\"name\":\"comment.block.js\"},{\"include\":\"#php\"},{\"include\":\"#twig-print-tag\"},{\"include\":\"#twig-statement-tag\"},{\"include\":\"#twig-comment-tag\"},{\"include\":\"source.js\"}]}]},{\"begin\":\"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})\",\"end\":\"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})\",\"name\":\"source.js.embedded.twig\",\"patterns\":[{\"include\":\"source.js\"}]},{\"begin\":\"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})\",\"end\":\"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})\",\"name\":\"source.css.embedded.twig\",\"patterns\":[{\"include\":\"source.css\"}]},{\"begin\":\"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})\",\"end\":\"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})\",\"name\":\"source.css.scss.embedded.twig\",\"patterns\":[{\"include\":\"source.css.scss\"}]},{\"begin\":\"(</?)((?i:body|head|html))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.structure.any.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.structure.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.block.any.html\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.block.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.inline.any.html\"}},\"end\":\"((?: ?/)?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.inline.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)([0-:A-Za-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.other.html\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.other.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"include\":\"#entities\"},{\"match\":\"<>\",\"name\":\"invalid.illegal.incomplete.html\"},{\"match\":\"<\",\"name\":\"invalid.illegal.bad-angle-bracket.html\"},{\"include\":\"#twig-verbatim\"},{\"include\":\"#twig-print-tag\"},{\"include\":\"#twig-statement-tag\"},{\"include\":\"#twig-comment-tag\"}],\"repository\":{\"embedded-code\":{\"patterns\":[{\"include\":\"#ruby\"},{\"include\":\"#php\"},{\"include\":\"#twig-print-tag\"},{\"include\":\"#twig-statement-tag\"},{\"include\":\"#twig-comment-tag\"},{\"include\":\"#python\"}]},\"entities\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.entity.html\"},\"3\":{\"name\":\"punctuation.definition.entity.html\"}},\"match\":\"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.html\"},{\"match\":\"&\",\"name\":\"invalid.illegal.bad-ampersand.html\"}]},\"php\":{\"begin\":\"(?=(^\\\\s*)?<\\\\?)\",\"end\":\"(?!(^\\\\s*)?<\\\\?)\",\"patterns\":[{\"include\":\"source.php\"}]},\"python\":{\"begin\":\"^\\\\s*<\\\\?python(?!.*\\\\?>)\",\"end\":\"\\\\?>(?:\\\\s*$\\\\n)?\",\"name\":\"source.python.embedded.html\",\"patterns\":[{\"include\":\"source.python\"}]},\"ruby\":{\"patterns\":[{\"begin\":\"<%+#\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.erb\"}},\"end\":\"%>\",\"name\":\"comment.block.erb\"},{\"begin\":\"<%+(?!>)=?\",\"captures\":{\"0\":{\"name\":\"punctuation.section.embedded.ruby\"}},\"end\":\"-?%>\",\"name\":\"source.ruby.embedded.html\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.ruby\"}},\"match\":\"(#).*?(?=-?%>)\",\"name\":\"comment.line.number-sign.ruby\"},{\"include\":\"source.ruby\"}]},{\"begin\":\"<\\\\?r(?!>)=?\",\"captures\":{\"0\":{\"name\":\"punctuation.section.embedded.ruby.nitro\"}},\"end\":\"-?\\\\?>\",\"name\":\"source.ruby.nitro.embedded.html\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.ruby.nitro\"}},\"match\":\"(#).*?(?=-?\\\\?>)\",\"name\":\"comment.line.number-sign.ruby.nitro\"},{\"include\":\"source.ruby\"}]}]},\"string-double-quoted\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.double.html\",\"patterns\":[{\"include\":\"#embedded-code\"},{\"include\":\"#entities\"}]},\"string-single-quoted\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.single.html\",\"patterns\":[{\"include\":\"#embedded-code\"},{\"include\":\"#entities\"}]},\"tag-generic-attribute\":{\"match\":\"\\\\b([-:A-Za-z]+)\",\"name\":\"entity.other.attribute-name.html\"},\"tag-id-attribute\":{\"begin\":\"\\\\b(id)\\\\b\\\\s*(=)\",\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.id.html\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"}},\"end\":\"(?<=[\\\"'])\",\"name\":\"meta.attribute-with-value.id.html\",\"patterns\":[{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"contentName\":\"meta.toc-list.id.html\",\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.double.html\",\"patterns\":[{\"include\":\"#embedded-code\"},{\"include\":\"#entities\"}]},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"contentName\":\"meta.toc-list.id.html\",\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.single.html\",\"patterns\":[{\"include\":\"#embedded-code\"},{\"include\":\"#entities\"}]}]},\"tag-stuff\":{\"patterns\":[{\"include\":\"#tag-id-attribute\"},{\"include\":\"#tag-generic-attribute\"},{\"include\":\"#string-double-quoted\"},{\"include\":\"#string-single-quoted\"},{\"include\":\"#embedded-code\"}]},\"twig-arrays\":{\"begin\":\"(?<=[(,:\\\\[{\\\\s])\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.array.begin.twig\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.array.end.twig\"}},\"name\":\"meta.array.twig\",\"patterns\":[{\"include\":\"#twig-arrays\"},{\"include\":\"#twig-hashes\"},{\"include\":\"#twig-constants\"},{\"include\":\"#twig-operators\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"match\":\",\",\"name\":\"punctuation.separator.object.twig\"}]},\"twig-comment-tag\":{\"begin\":\"\\\\{#-?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.twig\"}},\"end\":\"-?#}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.twig\"}},\"name\":\"comment.block.twig\"},\"twig-constants\":{\"patterns\":[{\"match\":\"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])\",\"name\":\"constant.language.twig\"},{\"match\":\"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)\",\"name\":\"constant.numeric.twig\"}]},\"twig-filters\":{\"captures\":{\"1\":{\"name\":\"support.function.twig\"}},\"match\":\"(?<=[]\\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)\"},\"twig-filters-ud\":{\"captures\":{\"1\":{\"name\":\"meta.function-call.other.twig\"}},\"match\":\"(?<=[]\\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)\"},\"twig-filters-warg\":{\"begin\":\"(?<=[]\\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.twig\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.twig\"}},\"contentName\":\"meta.function.arguments.twig\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.twig\"}},\"patterns\":[{\"include\":\"#twig-constants\"},{\"include\":\"#twig-operators\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-arrays\"},{\"include\":\"#twig-hashes\"}]},\"twig-filters-warg-ud\":{\"begin\":\"(?<=[]\\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"meta.function-call.other.twig\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.twig\"}},\"contentName\":\"meta.function.arguments.twig\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.twig\"}},\"patterns\":[{\"include\":\"#twig-constants\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-arrays\"},{\"include\":\"#twig-hashes\"}]},\"twig-functions\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.logical.twig\"},\"2\":{\"name\":\"support.function.twig\"}},\"match\":\"(?<=is\\\\s)(?:(not)\\\\s+)?(defined|empty|even|iterable|odd|null|same\\\\s+as)\"},\"twig-functions-warg\":{\"begin\":\"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.twig\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.twig\"}},\"contentName\":\"meta.function.arguments.twig\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.twig\"}},\"patterns\":[{\"include\":\"#twig-constants\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-arrays\"}]},\"twig-hashes\":{\"begin\":\"(?<=[(,:\\\\[{\\\\s])\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.hash.begin.twig\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.hash.end.twig\"}},\"name\":\"meta.hash.twig\",\"patterns\":[{\"include\":\"#twig-hashes\"},{\"include\":\"#twig-arrays\"},{\"include\":\"#twig-constants\"},{\"include\":\"#twig-operators\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"match\":\":\",\"name\":\"punctuation.separator.key-value.twig\"},{\"match\":\",\",\"name\":\"punctuation.separator.object.twig\"}]},\"twig-keywords\":{\"match\":\"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|types|use|with)(?=\\\\s)\",\"name\":\"keyword.control.twig\"},\"twig-macros\":{\"begin\":\"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"meta.function-call.twig\"},\"2\":{\"name\":\"punctuation.separator.property.twig\"},\"3\":{\"name\":\"variable.other.property.twig\"},\"4\":{\"name\":\"punctuation.definition.parameters.begin.twig\"}},\"contentName\":\"meta.function.arguments.twig\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.twig\"}},\"patterns\":[{\"include\":\"#twig-constants\"},{\"include\":\"#twig-operators\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-arrays\"},{\"include\":\"#twig-hashes\"}]},\"twig-objects\":{\"captures\":{\"1\":{\"name\":\"variable.other.twig\"}},\"match\":\"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])\"},\"twig-operators\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.arithmetic.twig\"}},\"match\":\"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.assignment.twig\"}},\"match\":\"(?<=\\\\s)([=~])(?=\\\\s)\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.bitwise.twig\"}},\"match\":\"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.comparison.twig\"}},\"match\":\"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.logical.twig\"}},\"match\":\"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)\"},{\"captures\":{\"0\":{\"name\":\"keyword.operator.other.twig\"}},\"match\":\"(?<=[]\\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\\"'0-9A-Z_a-z\\\\x7F-ÿ])\"},{\"captures\":{\"0\":{\"name\":\"keyword.operator.other.twig\"}},\"match\":\"(?<=[]\\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])\"}]},\"twig-print-tag\":{\"begin\":\"\\\\{\\\\{-?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.tag.twig\"}},\"end\":\"-?}}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.tag.twig\"}},\"name\":\"meta.tag.template.value.twig\",\"patterns\":[{\"include\":\"#twig-constants\"},{\"include\":\"#twig-operators\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-arrays\"},{\"include\":\"#twig-hashes\"}]},\"twig-properties\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.separator.property.twig\"},\"2\":{\"name\":\"variable.other.property.twig\"}},\"match\":\"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])\"},{\"begin\":\"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.property.twig\"},\"2\":{\"name\":\"variable.other.property.twig\"},\"3\":{\"name\":\"punctuation.definition.parameters.begin.twig\"}},\"contentName\":\"meta.function.arguments.twig\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.twig\"}},\"patterns\":[{\"include\":\"#twig-constants\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-arrays\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.section.array.begin.twig\"},\"2\":{\"name\":\"variable.other.property.twig\"},\"3\":{\"name\":\"punctuation.section.array.end.twig\"},\"4\":{\"name\":\"punctuation.section.array.begin.twig\"},\"5\":{\"name\":\"variable.other.property.twig\"},\"6\":{\"name\":\"punctuation.section.array.end.twig\"},\"7\":{\"name\":\"punctuation.section.array.begin.twig\"},\"8\":{\"name\":\"variable.other.property.twig\"},\"9\":{\"name\":\"punctuation.section.array.end.twig\"}},\"match\":\"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))\"}]},\"twig-statement-tag\":{\"begin\":\"\\\\{%-?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.tag.twig\"}},\"end\":\"-?%}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.tag.twig\"}},\"name\":\"meta.tag.template.block.twig\",\"patterns\":[{\"include\":\"#twig-constants\"},{\"include\":\"#twig-keywords\"},{\"include\":\"#twig-operators\"},{\"include\":\"#twig-functions-warg\"},{\"include\":\"#twig-functions\"},{\"include\":\"#twig-macros\"},{\"include\":\"#twig-filters-warg\"},{\"include\":\"#twig-filters\"},{\"include\":\"#twig-filters-warg-ud\"},{\"include\":\"#twig-filters-ud\"},{\"include\":\"#twig-objects\"},{\"include\":\"#twig-properties\"},{\"include\":\"#twig-strings\"},{\"include\":\"#twig-arrays\"},{\"include\":\"#twig-hashes\"}]},\"twig-strings\":{\"patterns\":[{\"begin\":\"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.twig\"}},\"end\":\"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.twig\"}},\"name\":\"string.quoted.single.twig\"},{\"begin\":\"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.twig\"}},\"end\":\"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.twig\"}},\"name\":\"string.quoted.double.twig\"}]},\"twig-verbatim\":{\"begin\":\"(\\\\{%-?)\\\\s*(verbatim)\\\\s*(-?%})\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.twig\"},\"2\":{\"name\":\"keyword.control.twig\"},\"3\":{\"name\":\"punctuation.definition.tag.twig\"}},\"contentName\":\"string.unquoted.verbatim.twig\",\"end\":\"(\\\\{%-?)\\\\s*(endverbatim)\\\\s*(-?%})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.twig\"},\"2\":{\"name\":\"keyword.control.twig\"},\"3\":{\"name\":\"punctuation.definition.tag.twig\"}},\"name\":\"meta.tag.template.verbatim.twig\"}},\"scopeName\":\"text.html.twig\",\"embeddedLangs\":[\"css\",\"javascript\",\"scss\",\"php\",\"python\",\"ruby\"]}")), s = [
|
|
9
9
|
...t,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./javascript-CSKossUl.cjs"),t=require("./css-02TmpFbt.cjs"),n=require("./scss-B6SEboBH.cjs"),r=require("./python-CoEq_Gwh.cjs"),i=require("./ruby-DcF3FpOo.cjs"),a=require("./php-D7tWq26a.cjs");var o=Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-verbatim"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"keyword.operator.logical.twig"},"2":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(?:(not)\\\\s+)?(defined|empty|even|iterable|odd|null|same\\\\s+as)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|types|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]},"twig-verbatim":{"begin":"(\\\\{%-?)\\\\s*(verbatim)\\\\s*(-?%})","beginCaptures":{"1":{"name":"punctuation.definition.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.definition.tag.twig"}},"contentName":"string.unquoted.verbatim.twig","end":"(\\\\{%-?)\\\\s*(endverbatim)\\\\s*(-?%})","endCaptures":{"1":{"name":"punctuation.definition.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.definition.tag.twig"}},"name":"meta.tag.template.verbatim.twig"}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)),s=[...t.t,...e.t,...n.t,...a.default,...r.default,...i.default,o];exports.default=s;
|
|
1
|
+
const e=require("./javascript-CcZ4Z9Pe.cjs"),t=require("./css-Cca861pZ.cjs"),n=require("./scss-FW7lpUTk.cjs"),r=require("./python-CoEq_Gwh.cjs"),i=require("./ruby-CsFQlb64.cjs"),a=require("./php-CgjckyHQ.cjs");var o=Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-verbatim"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"keyword.operator.logical.twig"},"2":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(?:(not)\\\\s+)?(defined|empty|even|iterable|odd|null|same\\\\s+as)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|types|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]},"twig-verbatim":{"begin":"(\\\\{%-?)\\\\s*(verbatim)\\\\s*(-?%})","beginCaptures":{"1":{"name":"punctuation.definition.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.definition.tag.twig"}},"contentName":"string.unquoted.verbatim.twig","end":"(\\\\{%-?)\\\\s*(endverbatim)\\\\s*(-?%})","endCaptures":{"1":{"name":"punctuation.definition.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.definition.tag.twig"}},"name":"meta.tag.template.verbatim.twig"}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)),s=[...t.t,...e.t,...n.t,...a.default,...r.default,...i.default,o];exports.default=s;
|
|
@@ -128,6 +128,12 @@ export interface MarkdownConfig {
|
|
|
128
128
|
operationLink?: OperationLinkConfig | false;
|
|
129
129
|
externalLinksNewTab?: boolean;
|
|
130
130
|
config?: (md: MarkdownIt) => MarkdownIt | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Sanitize the HTML rendered from Markdown descriptions.
|
|
133
|
+
* `true` (default) uses the built-in sanitizer, `false` disables it (only for fully trusted specs),
|
|
134
|
+
* and a function replaces the built-in sanitizer.
|
|
135
|
+
*/
|
|
136
|
+
sanitize?: boolean | ((html: string) => string);
|
|
131
137
|
}
|
|
132
138
|
export interface UseThemeConfig {
|
|
133
139
|
theme?: Partial<ThemeConfig>;
|
|
@@ -338,6 +344,7 @@ export declare function useTheme(initialConfig?: PartialUseThemeConfig): {
|
|
|
338
344
|
} | undefined;
|
|
339
345
|
externalLinksNewTab?: boolean | undefined;
|
|
340
346
|
config?: {} | undefined;
|
|
347
|
+
sanitize?: boolean | {} | undefined;
|
|
341
348
|
} | undefined;
|
|
342
349
|
};
|
|
343
350
|
getLocale: () => Languages;
|