@kong-ui-public/documentation 0.3.42 → 0.4.0
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/Tableau10-GLA_9iAD-BMurskAd.js +9 -0
- package/dist/arc-BSRpyMf3-C5dasNo_.js +86 -0
- package/dist/array-CqVTtuYm-fKLgkG2b.js +6 -0
- package/dist/astro-mwoSwJnq-CNh-xuM0.js +27 -0
- package/dist/blockDiagram-6b2b5046-D02VCbQO-CPmGy0xX.js +1224 -0
- package/dist/c-eDnjw9rh-eDnjw9rh.js +87 -0
- package/dist/c4Diagram-b947cdbb-gYcL5VzP-DIDY83e1.js +1578 -0
- package/dist/channel-DHTQ8Ynn-7OPGex2S.js +5 -0
- package/dist/classDiagram-35230388-JdSKLSZv-D2crBRy-.js +217 -0
- package/dist/classDiagram-v2-412acd34-DFFRHXE_-B6aCxlD1.js +200 -0
- package/dist/clone-p6h9XXNm-3JQ-HRC6.js +8 -0
- package/dist/coffee-CRlSxcc3-CY091_1T.js +108 -0
- package/dist/cpp-DizfY48B-CA38N4Mn.js +208 -0
- package/dist/createText-423428c9-LivTKT7b-BXNfjcdp.js +2964 -0
- package/dist/csharp-uGDiXTZn-uGDiXTZn.js +762 -0
- package/dist/css-CAzixsid-CEpuX1HY.js +511 -0
- package/dist/csv-D4BoHddH-D4BoHddH.js +7 -0
- package/dist/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
- package/dist/docker-B10O2enb-B10O2enb.js +7 -0
- package/dist/documentation.es.js +5 -3130
- package/dist/documentation.umd.js +10152 -50
- package/dist/edges-d417c7a0-C1ggiwWz-Aj0OUf7e.js +1082 -0
- package/dist/erDiagram-0ea73325-mz0Z_-DA-Dr01LsTB.js +924 -0
- package/dist/flowDb-d35e309a-CPyxEMIt-lofeyUuw.js +1126 -0
- package/dist/flowDiagram-d949d7c1-DqCa0HNN-BK5wNO9Z.js +782 -0
- package/dist/flowDiagram-v2-49332944-UMosz1sZ-BG39AuNP.js +17 -0
- package/dist/flowchart-elk-definition-27cc417a-D2UKpS6N-r2p34307.js +48387 -0
- package/dist/ganttDiagram-5c869e3b-CVBHw4pG-CaG9QXQM.js +2490 -0
- package/dist/git-commit-CWf81VOF-DtOZSoIU.js +9 -0
- package/dist/git-rebase-sR-yVH_J-D5M2oE9O.js +9 -0
- package/dist/gitGraphDiagram-b9d81de9-BGm3fU0n-CbCpf-4j.js +1262 -0
- package/dist/go-BCCWZWY1-BCCWZWY1.js +7 -0
- package/dist/graph-4FyIWFHN-774TpNLL.js +870 -0
- package/dist/graphql-CT32SSoq-1pBWfpcR.js +18 -0
- package/dist/haml-8RvrfhLO-Bbc4xoLP.js +19 -0
- package/dist/handlebars-Cr5ro0bH-CLcCNLtV.js +15 -0
- package/dist/haskell-BfFu8DD8-BmkPJdLL.js +565 -0
- package/dist/html-BZB5lEhh-B74zAnWx.js +84 -0
- package/dist/html-derivative-0y7sV5Qc-D8-muTWn.js +9 -0
- package/dist/index-8fae9850-_CN7MNjP-Cq-s0PmS.js +373 -0
- package/dist/index-B-5DuDrq.js +29996 -0
- package/dist/infoDiagram-db7b18fc-V446j9uR-GSa8bniv.js +319 -0
- package/dist/ini-BsUFIxsI-BsUFIxsI.js +7 -0
- package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
- package/dist/java-Bk2JzfKB-Bk2JzfKB.js +74 -0
- package/dist/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
- package/dist/journeyDiagram-d5636530-CFiu7dnV-DJMu6A22.js +803 -0
- package/dist/json-B12k4-6m-B12k4-6m.js +31 -0
- package/dist/json5-CvqQZK9I-CvqQZK9I.js +23 -0
- package/dist/jsonc-v2qGKRJY-v2qGKRJY.js +31 -0
- package/dist/jsonl-izxnMeZX-izxnMeZX.js +31 -0
- package/dist/jsx-aDp7j9_Z-aDp7j9_Z.js +705 -0
- package/dist/kotlin-NOMOielb-NOMOielb.js +7 -0
- package/dist/latex-Bw_ghldO-BlUAi6pB.js +339 -0
- package/dist/layout-2-aEcfuw-BqqWy5wB.js +1524 -0
- package/dist/less-CW2GmQHL-CW2GmQHL.js +165 -0
- package/dist/line-nVq5kEiy-DtZd3PHZ.js +34 -0
- package/dist/linear-Bz4oRFvQ-C869GXbm.js +447 -0
- package/dist/liquid-DJ2rh7oT-FwZwa67Y.js +28 -0
- package/dist/lua-5TZ-G8Be-CogscVHC.js +9 -0
- package/dist/make-whncTQWE-whncTQWE.js +7 -0
- package/dist/markdown-DYKdIx5--DYKdIx5-.js +135 -0
- package/dist/material-theme-lighter-BRE1Bis3-BRE1Bis3.js +769 -0
- package/dist/material-theme-palenight-Dhz61Tee-Dhz61Tee.js +769 -0
- package/dist/mdc-D0DPLwil-BfE3hy8_.js +88 -0
- package/dist/mdx-CKDMxEaL-CKDMxEaL.js +7 -0
- package/dist/mermaid-BxNM-z-u-BxNM-z-u.js +7 -0
- package/dist/mindmap-definition-377f8f1f-C2vFYDMs-B71SGbvx.js +19078 -0
- package/dist/nginx-C082G13W-vryM9k1W.js +9 -0
- package/dist/objective-c-BVtzkNiv-BVtzkNiv.js +115 -0
- package/dist/onig-BonMD2gC-BonMD2gC.js +4 -0
- package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
- package/dist/pascal-CrvtytWS-CrvtytWS.js +7 -0
- package/dist/path-Crsf9Nsj-SiSjwXsf.js +91 -0
- package/dist/perl-D29UPKP6-Dez6-HRy.js +17 -0
- package/dist/php-D7Tl-iS7-BtPFrDEt.js +789 -0
- package/dist/pieDiagram-b0208e96-DhA_SoTh-CfDd9YdA.js +501 -0
- package/dist/plsql-8SPzZKaa-8SPzZKaa.js +7 -0
- package/dist/postcss-Cz2vjx_4-Cz2vjx_4.js +7 -0
- package/dist/powershell-B0buHCuS-B0buHCuS.js +7 -0
- package/dist/proto-6YaU_lta-6YaU_lta.js +7 -0
- package/dist/pug-DbFO7359-duYD8LVa.js +21 -0
- package/dist/python-BQXev0_W-BQXev0_W.js +524 -0
- package/dist/quadrantDiagram-0332be45-C8q96Ohm-DMblaqnx.js +903 -0
- package/dist/r-DU7Q70f1-DU7Q70f1.js +7 -0
- package/dist/reg-DoGLEyFr-DoGLEyFr.js +7 -0
- package/dist/requirementDiagram-bf7890df-D30zCZjB-B_JBC9RM.js +767 -0
- package/dist/rst-Bm1i8IkK-C9EaDq6g.js +26 -0
- package/dist/ruby-CZZKXaz8-BxaDEkRP.js +102 -0
- package/dist/rust-CIl6NRUt-CIl6NRUt.js +7 -0
- package/dist/sankeyDiagram-0acdec17-B4vNjMaS-Bauvtonp.js +816 -0
- package/dist/sass-LqXmC1Fh-LqXmC1Fh.js +8 -0
- package/dist/scss-DjxgF7f7-DGTzny6p.js +98 -0
- package/dist/sequenceDiagram-c18d009d-BniqGSPK-DuYYUmiZ.js +2201 -0
- package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +7 -0
- package/dist/shellsession-BIPXtZci-D6avbCwN.js +9 -0
- package/dist/splunk-C0K00wNV-C0K00wNV.js +7 -0
- package/dist/sql-DkzN59UV-DkzN59UV.js +27 -0
- package/dist/ssh-config-BbWAW6SY-BbWAW6SY.js +7 -0
- package/dist/stateDiagram-43596fc0-F0V9suMd-L2Ywe-J_.js +266 -0
- package/dist/stateDiagram-v2-2ead4f9c-DUgJH8tF-BVo1q2i1.js +184 -0
- package/dist/style.css +1 -1
- package/dist/styles-6860f46c-Dflmq0ac-BRNSwis6.js +1089 -0
- package/dist/styles-7383a064-Dg7mXkpq-C4bItohl.js +430 -0
- package/dist/styles-b2c874b6-HpcOhE4Y-Bj0upXzO.js +960 -0
- package/dist/stylus-CAHdVuhm-CAHdVuhm.js +21 -0
- package/dist/svelte-DAxjO8Sh-D0e501jC.js +29 -0
- package/dist/svgDrawCommon-0ee1b4e9-CNkCfzsJ-Bz_doYLk.js +64 -0
- package/dist/swift-x2DVyVjN-Bz5PC9YM.js +550 -0
- package/dist/timeline-definition-d977decf-Cl38e_0g-D_Dlqa-R.js +794 -0
- package/dist/toml-Dbtbfmwk-Dbtbfmwk.js +75 -0
- package/dist/tsx-BmwsDeeh-BmwsDeeh.js +705 -0
- package/dist/twig-B_Gr-ODl-Cl9Q0GWo.js +58 -0
- package/dist/types/components/DocumentationContent.vue.d.ts +8 -1
- package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
- package/dist/types/components/DocumentationDisplay.vue.d.ts +5 -1
- package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
- package/dist/types/components/ProductDocumentModal.vue.d.ts +1 -1
- package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
- package/dist/types/composables/useI18n.d.ts +4 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -1
- package/dist/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
- package/dist/v-BuvBsUKm-BuvBsUKm.js +7 -0
- package/dist/vb-cqjo5dul-cqjo5dul.js +7 -0
- package/dist/viml-h3ATW6He-h3ATW6He.js +7 -0
- package/dist/vue-Dz-azHaT-B9qBHMZi.js +71 -0
- package/dist/vue-html-DIGKAAs4-BeHSIJcx.js +11 -0
- package/dist/wasm-xOGcJ9Ts-xOGcJ9Ts.js +7 -0
- package/dist/wgsl-hGLOfCya-hGLOfCya.js +7 -0
- package/dist/xml-CfRpfi_B-BH3JRQfc.js +9 -0
- package/dist/xsl-BAqhSCYL-BTKPZRNQ.js +9 -0
- package/dist/xychartDiagram-e50adddc-JdLmRUgg-HmDalTeo.js +1282 -0
- package/dist/yaml-PGla5xPP-HJurM_FJ.js +206 -0
- package/package.json +13 -13
- package/dist/prism-bash.min-DDo5CyRs-DihCfXgx.js +0 -7
- package/dist/prism-css.min-BrrzZC7b-BrrzZC7b.js +0 -7
- package/dist/prism-docker.min-DnIEokC3-D0v8IWN_.js +0 -22
- package/dist/prism-go.min-C7UmK6TW-C7UmK6TW.js +0 -1
- package/dist/prism-http.min-CsU3-jB8-CQ8PCDXl.js +0 -23
- package/dist/prism-javascript.min-CEqHqgbm-CEqHqgbm.js +0 -8
- package/dist/prism-jq.min-Q555vXZm-Q555vXZm.js +0 -8
- package/dist/prism-json.min-B1GJqK1k-B1GJqK1k.js +0 -1
- package/dist/prism-log.min-SDopTpKN-SDopTpKN.js +0 -1
- package/dist/prism-lua.min-DwRnUVfS-DwRnUVfS.js +0 -1
- package/dist/prism-makefile.min-DyutknhE-DyutknhE.js +0 -1
- package/dist/prism-markdown.min-B7US-xc7-DB9aF_ZA.js +0 -63
- package/dist/prism-python.min-BIfpAh5K-BIfpAh5K.js +0 -1
- package/dist/prism-regex.min-f8DNqi8X-f8DNqi8X.js +0 -4
- package/dist/prism-rest.min-B6veHRJF-B6veHRJF.js +0 -1
- package/dist/prism-rust.min-Cb-Mi-h0-Cb-Mi-h0.js +0 -9
- package/dist/prism-scss.min-B0csyGJo-B0csyGJo.js +0 -1
- package/dist/prism-sql.min-BHXzX-c_-BHXzX-c_.js +0 -1
- package/dist/prism-typescript.min-oSVeWCAd-oSVeWCAd.js +0 -5
- package/dist/prism-xml-doc.min-yj0YzRGe-KgTQx-dc.js +0 -7
- package/dist/prism-yaml.min-CTetcdKA-C1YzP_OY.js +0 -28
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import t from "./javascript-DqVBMyXe-DqVBMyXe.js";
|
|
2
|
+
import e from "./css-CAzixsid-CEpuX1HY.js";
|
|
3
|
+
const n = Object.freeze({ displayName: "HTML", injections: { "R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)": { comment: "Uses R: to ensure this matches after any other injections.", patterns: [{ match: "<", name: "invalid.illegal.bad-angle-bracket.html" }] } }, name: "html", patterns: [{ include: "#xml-processing" }, { include: "#comment" }, { include: "#doctype" }, { include: "#cdata" }, { include: "#tags-valid" }, { include: "#tags-invalid" }, { include: "#entities" }], repository: { attribute: { patterns: [{ begin: "(s(hape|cope|t(ep|art)|ize(s)?|p(ellcheck|an)|elected|lot|andbox|rc(set|doc|lang)?)|h(ttp-equiv|i(dden|gh)|e(ight|aders)|ref(lang)?)|n(o(nce|validate|module)|ame)|c(h(ecked|arset)|ite|o(nt(ent(editable)?|rols)|ords|l(s(pan)?|or))|lass|rossorigin)|t(ype(mustmatch)?|itle|a(rget|bindex)|ranslate)|i(s(map)?|n(tegrity|putmode)|tem(scope|type|id|prop|ref)|d)|op(timum|en)|d(i(sabled|r(name)?)|ownload|e(coding|f(er|ault))|at(etime|a)|raggable)|usemap|p(ing|oster|la(ysinline|ceholder)|attern|reload)|enctype|value|kind|for(m(novalidate|target|enctype|action|method)?)?|w(idth|rap)|l(ist|o(op|w)|a(ng|bel))|a(s(ync)?|c(ce(sskey|pt(-charset)?)|tion)|uto(c(omplete|apitalize)|play|focus)|l(t|low(usermedia|paymentrequest|fullscreen))|bbr)|r(ows(pan)?|e(versed|quired|ferrerpolicy|l|adonly))|m(in(length)?|u(ted|ltiple)|e(thod|dia)|a(nifest|x(length)?)))(?![\\w:-])", beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, comment: "HTML5 attributes, not event handlers", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.html", patterns: [{ include: "#attribute-interior" }] }, { begin: "style(?![\\w:-])", beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, comment: "HTML5 style attribute", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.style.html", patterns: [{ begin: "=", beginCaptures: { 0: { name: "punctuation.separator.key-value.html" } }, end: "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", patterns: [{ begin: "(?=[^\\s=<>`/]|/(?!>))", end: "(?!\\G)", name: "meta.embedded.line.css", patterns: [{ captures: { 0: { name: "source.css" } }, match: "([^\\s\"'=<>`/]|/(?!>))+", name: "string.unquoted.html" }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "source.css", end: '(")', endCaptures: { 0: { name: "punctuation.definition.string.end.html" }, 1: { name: "source.css" } }, name: "string.quoted.double.html", patterns: [{ include: "#entities" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "source.css", end: "(')", endCaptures: { 0: { name: "punctuation.definition.string.end.html" }, 1: { name: "source.css" } }, name: "string.quoted.single.html", patterns: [{ include: "#entities" }] }] }, { match: "=", name: "invalid.illegal.unexpected-equals-sign.html" }] }] }, { begin: "on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o(nline|ffline)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d(data|metadata)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur))(?![\\w:-])", beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, comment: "HTML5 attributes, event handlers", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.event-handler.$1.html", patterns: [{ begin: "=", beginCaptures: { 0: { name: "punctuation.separator.key-value.html" } }, end: "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", patterns: [{ begin: "(?=[^\\s=<>`/]|/(?!>))", end: "(?!\\G)", name: "meta.embedded.line.js", patterns: [{ captures: { 0: { name: "source.js" }, 1: { patterns: [{ include: "source.js" }] } }, match: "(([^\\s\"'=<>`/]|/(?!>))+)", name: "string.unquoted.html" }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "source.js", end: '(")', endCaptures: { 0: { name: "punctuation.definition.string.end.html" }, 1: { name: "source.js" } }, name: "string.quoted.double.html", patterns: [{ captures: { 0: { patterns: [{ include: "source.js" }] } }, match: '([^\\n"/]|/(?![/*]))+' }, { begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.js" } }, end: '(?=")|\\n', name: "comment.line.double-slash.js" }, { begin: "/\\*", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.js" } }, end: '(?=")|\\*/', endCaptures: { 0: { name: "punctuation.definition.comment.end.js" } }, name: "comment.block.js" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "source.js", end: "(')", endCaptures: { 0: { name: "punctuation.definition.string.end.html" }, 1: { name: "source.js" } }, name: "string.quoted.single.html", patterns: [{ captures: { 0: { patterns: [{ include: "source.js" }] } }, match: "([^\\n'/]|/(?![/*]))+" }, { begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.js" } }, end: "(?=')|\\n", name: "comment.line.double-slash.js" }, { begin: "/\\*", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.js" } }, end: "(?=')|\\*/", endCaptures: { 0: { name: "punctuation.definition.comment.end.js" } }, name: "comment.block.js" }] }] }, { match: "=", name: "invalid.illegal.unexpected-equals-sign.html" }] }] }, { begin: "(data-[a-z\\-]+)(?![\\w:-])", beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, comment: "HTML5 attributes, data-*", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.data-x.$1.html", patterns: [{ include: "#attribute-interior" }] }, { begin: "(align|bgcolor|border)(?![\\w:-])", beginCaptures: { 0: { name: "invalid.deprecated.entity.other.attribute-name.html" } }, comment: "HTML attributes, deprecated", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.html", patterns: [{ include: "#attribute-interior" }] }, { begin: `([^\\x{0020}"'<>/=\\x{0000}-\\x{001F}\\x{007F}-\\x{009F}\\x{FDD0}-\\x{FDEF}\\x{FFFE}\\x{FFFF}\\x{1FFFE}\\x{1FFFF}\\x{2FFFE}\\x{2FFFF}\\x{3FFFE}\\x{3FFFF}\\x{4FFFE}\\x{4FFFF}\\x{5FFFE}\\x{5FFFF}\\x{6FFFE}\\x{6FFFF}\\x{7FFFE}\\x{7FFFF}\\x{8FFFE}\\x{8FFFF}\\x{9FFFE}\\x{9FFFF}\\x{AFFFE}\\x{AFFFF}\\x{BFFFE}\\x{BFFFF}\\x{CFFFE}\\x{CFFFF}\\x{DFFFE}\\x{DFFFF}\\x{EFFFE}\\x{EFFFF}\\x{FFFFE}\\x{FFFFF}\\x{10FFFE}\\x{10FFFF}]+)`, beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, comment: "Anything else that is valid", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.unrecognized.$1.html", patterns: [{ include: "#attribute-interior" }] }, { match: "[^\\s>]+", name: "invalid.illegal.character-not-allowed-here.html" }] }, "attribute-interior": { patterns: [{ begin: "=", beginCaptures: { 0: { name: "punctuation.separator.key-value.html" } }, end: "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", patterns: [{ match: "([^\\s\"'=<>`/]|/(?!>))+", name: "string.unquoted.html" }, { 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: "#entities" }] }, { 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: "#entities" }] }, { match: "=", name: "invalid.illegal.unexpected-equals-sign.html" }] }] }, cdata: { begin: "<!\\[CDATA\\[", beginCaptures: { 0: { name: "punctuation.definition.tag.begin.html" } }, contentName: "string.other.inline-data.html", end: "]]>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.cdata.html" }, comment: { begin: "<!--", captures: { 0: { name: "punctuation.definition.comment.html" } }, end: "-->", name: "comment.block.html", patterns: [{ match: "\\G-?>", name: "invalid.illegal.characters-not-allowed-here.html" }, { match: "<!--(?!>)|<!-(?=-->)", name: "invalid.illegal.characters-not-allowed-here.html" }, { match: "--!>", name: "invalid.illegal.characters-not-allowed-here.html" }] }, "core-minus-invalid": { comment: "This should be the root pattern array includes minus #tags-invalid", patterns: [{ include: "#xml-processing" }, { include: "#comment" }, { include: "#doctype" }, { include: "#cdata" }, { include: "#tags-valid" }, { include: "#entities" }] }, doctype: { begin: "<!(?=(?i:DOCTYPE\\s))", beginCaptures: { 0: { name: "punctuation.definition.tag.begin.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.doctype.html", patterns: [{ match: "\\G(?i:DOCTYPE)", name: "entity.name.tag.html" }, { begin: '"', end: '"', name: "string.quoted.double.html" }, { match: "[^\\s>]+", name: "entity.other.attribute-name.html" }] }, entities: { patterns: [{ captures: { 1: { name: "punctuation.definition.entity.html" }, 912: { name: "punctuation.definition.entity.html" } }, comment: "Yes this is a bit ridiculous, there are quite a lot of these", match: `(?x)
|
|
4
|
+
(&) (?=[a-zA-Z])
|
|
5
|
+
(
|
|
6
|
+
(a(s(ymp(eq)?|cr|t)|n(d(slope|d|v|and)?|g(s(t|ph)|zarr|e|le|rt(vb(d)?)?|msd(a(h|c|d|e|f|a|g|b))?)?)|c(y|irc|d|ute|E)?|tilde|o(pf|gon)|uml|p(id|os|prox(eq)?|e|E|acir)?|elig|f(r)?|w(conint|int)|l(pha|e(ph|fsym))|acute|ring|grave|m(p|a(cr|lg))|breve)|A(s(sign|cr)|nd|MP|c(y|irc)|tilde|o(pf|gon)|uml|pplyFunction|fr|Elig|lpha|acute|ring|grave|macr|breve))
|
|
7
|
+
| (B(scr|cy|opf|umpeq|e(cause|ta|rnoullis)|fr|a(ckslash|r(v|wed))|reve)|b(s(cr|im(e)?|ol(hsub|b)?|emi)|n(ot|e(quiv)?)|c(y|ong)|ig(s(tar|qcup)|c(irc|up|ap)|triangle(down|up)|o(times|dot|plus)|uplus|vee|wedge)|o(t(tom)?|pf|wtie|x(h(d|u|D|U)?|times|H(d|u|D|U)?|d(R|l|r|L)|u(R|l|r|L)|plus|D(R|l|r|L)|v(R|h|H|l|r|L)?|U(R|l|r|L)|V(R|h|H|l|r|L)?|minus|box))|Not|dquo|u(ll(et)?|mp(e(q)?|E)?)|prime|e(caus(e)?|t(h|ween|a)|psi|rnou|mptyv)|karow|fr|l(ock|k(1(2|4)|34)|a(nk|ck(square|triangle(down|left|right)?|lozenge)))|a(ck(sim(eq)?|cong|prime|epsilon)|r(vee|wed(ge)?))|r(eve|vbar)|brk(tbrk)?))
|
|
8
|
+
| (c(s(cr|u(p(e)?|b(e)?))|h(cy|i|eck(mark)?)|ylcty|c(irc|ups(sm)?|edil|a(ps|ron))|tdot|ir(scir|c(eq|le(d(R|circ|S|dash|ast)|arrow(left|right)))?|e|fnint|E|mid)?|o(n(int|g(dot)?)|p(y(sr)?|f|rod)|lon(e(q)?)?|m(p(fn|le(xes|ment))?|ma(t)?))|dot|u(darr(l|r)|p(s|c(up|ap)|or|dot|brcap)?|e(sc|pr)|vee|wed|larr(p)?|r(vearrow(left|right)|ly(eq(succ|prec)|vee|wedge)|arr(m)?|ren))|e(nt(erdot)?|dil|mptyv)|fr|w(conint|int)|lubs(uit)?|a(cute|p(s|c(up|ap)|dot|and|brcup)?|r(on|et))|r(oss|arr))|C(scr|hi|c(irc|onint|edil|aron)|ircle(Minus|Times|Dot|Plus)|Hcy|o(n(tourIntegral|int|gruent)|unterClockwiseContourIntegral|p(f|roduct)|lon(e)?)|dot|up(Cap)?|OPY|e(nterDot|dilla)|fr|lo(seCurly(DoubleQuote|Quote)|ckwiseContourIntegral)|a(yleys|cute|p(italDifferentialD)?)|ross))
|
|
9
|
+
| (d(s(c(y|r)|trok|ol)|har(l|r)|c(y|aron)|t(dot|ri(f)?)|i(sin|e|v(ide(ontimes)?|onx)?|am(s|ond(suit)?)?|gamma)|Har|z(cy|igrarr)|o(t(square|plus|eq(dot)?|minus)?|ublebarwedge|pf|wn(harpoon(left|right)|downarrows|arrow)|llar)|d(otseq|a(rr|gger))?|u(har|arr)|jcy|e(lta|g|mptyv)|f(isht|r)|wangle|lc(orn|rop)|a(sh(v)?|leth|rr|gger)|r(c(orn|rop)|bkarow)|b(karow|lac)|Arr)|D(s(cr|trok)|c(y|aron)|Scy|i(fferentialD|a(critical(Grave|Tilde|Do(t|ubleAcute)|Acute)|mond))|o(t(Dot|Equal)?|uble(Right(Tee|Arrow)|ContourIntegral|Do(t|wnArrow)|Up(DownArrow|Arrow)|VerticalBar|L(ong(RightArrow|Left(RightArrow|Arrow))|eft(RightArrow|Tee|Arrow)))|pf|wn(Right(TeeVector|Vector(Bar)?)|Breve|Tee(Arrow)?|arrow|Left(RightVector|TeeVector|Vector(Bar)?)|Arrow(Bar|UpArrow)?))|Zcy|el(ta)?|D(otrahd)?|Jcy|fr|a(shv|rr|gger)))
|
|
10
|
+
| (e(s(cr|im|dot)|n(sp|g)|c(y|ir(c)?|olon|aron)|t(h|a)|o(pf|gon)|dot|u(ro|ml)|p(si(v|lon)?|lus|ar(sl)?)|e|D(ot|Dot)|q(s(im|lant(less|gtr))|c(irc|olon)|u(iv(DD)?|est|als)|vparsl)|f(Dot|r)|l(s(dot)?|inters|l)?|a(ster|cute)|r(Dot|arr)|g(s(dot)?|rave)?|x(cl|ist|p(onentiale|ectation))|m(sp(1(3|4))?|pty(set|v)?|acr))|E(s(cr|im)|c(y|irc|aron)|ta|o(pf|gon)|NG|dot|uml|TH|psilon|qu(ilibrium|al(Tilde)?)|fr|lement|acute|grave|x(ists|ponentialE)|m(pty(SmallSquare|VerySmallSquare)|acr)))
|
|
11
|
+
| (f(scr|nof|cy|ilig|o(pf|r(k(v)?|all))|jlig|partint|emale|f(ilig|l(ig|lig)|r)|l(tns|lig|at)|allingdotseq|r(own|a(sl|c(1(2|8|3|4|5|6)|78|2(3|5)|3(8|4|5)|45|5(8|6)))))|F(scr|cy|illed(SmallSquare|VerySmallSquare)|o(uriertrf|pf|rAll)|fr))
|
|
12
|
+
| (G(scr|c(y|irc|edil)|t|opf|dot|T|Jcy|fr|amma(d)?|reater(Greater|SlantEqual|Tilde|Equal(Less)?|FullEqual|Less)|g|breve)|g(s(cr|im(e|l)?)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|irc)|t(c(c|ir)|dot|quest|lPar|r(sim|dot|eq(qless|less)|less|a(pprox|rr)))?|imel|opf|dot|jcy|e(s(cc|dot(o(l)?)?|l(es)?)?|q(slant|q)?|l)?|v(nE|ertneqq)|fr|E(l)?|l(j|E|a)?|a(cute|p|mma(d)?)|rave|g(g)?|breve))
|
|
13
|
+
| (h(s(cr|trok|lash)|y(phen|bull)|circ|o(ok(leftarrow|rightarrow)|pf|arr|rbar|mtht)|e(llip|arts(uit)?|rcon)|ks(earow|warow)|fr|a(irsp|lf|r(dcy|r(cir|w)?)|milt)|bar|Arr)|H(s(cr|trok)|circ|ilbertSpace|o(pf|rizontalLine)|ump(DownHump|Equal)|fr|a(cek|t)|ARDcy))
|
|
14
|
+
| (i(s(cr|in(s(v)?|dot|v|E)?)|n(care|t(cal|prod|e(rcal|gers)|larhk)?|odot|fin(tie)?)?|c(y|irc)?|t(ilde)?|i(nfin|i(nt|int)|ota)?|o(cy|ta|pf|gon)|u(kcy|ml)|jlig|prod|e(cy|xcl)|quest|f(f|r)|acute|grave|m(of|ped|a(cr|th|g(part|e|line))))|I(scr|n(t(e(rsection|gral))?|visible(Comma|Times))|c(y|irc)|tilde|o(ta|pf|gon)|dot|u(kcy|ml)|Ocy|Jlig|fr|Ecy|acute|grave|m(plies|a(cr|ginaryI))?))
|
|
15
|
+
| (j(s(cr|ercy)|c(y|irc)|opf|ukcy|fr|math)|J(s(cr|ercy)|c(y|irc)|opf|ukcy|fr))
|
|
16
|
+
| (k(scr|hcy|c(y|edil)|opf|jcy|fr|appa(v)?|green)|K(scr|c(y|edil)|Hcy|opf|Jcy|fr|appa))
|
|
17
|
+
| (l(s(h|cr|trok|im(e|g)?|q(uo(r)?|b)|aquo)|h(ar(d|u(l)?)|blk)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|ub|e(il|dil)|aron)|Barr|t(hree|c(c|ir)|imes|dot|quest|larr|r(i(e|f)?|Par))?|Har|o(ng(left(arrow|rightarrow)|rightarrow|mapsto)|times|z(enge|f)?|oparrow(left|right)|p(f|lus|ar)|w(ast|bar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|r(dhar|ushar))|ur(dshar|uhar)|jcy|par(lt)?|e(s(s(sim|dot|eq(qgtr|gtr)|approx|gtr)|cc|dot(o(r)?)?|g(es)?)?|q(slant|q)?|ft(harpoon(down|up)|threetimes|leftarrows|arrow(tail)?|right(squigarrow|harpoons|arrow(s)?))|g)?|v(nE|ertneqq)|f(isht|loor|r)|E(g)?|l(hard|corner|tri|arr)?|a(ng(d|le)?|cute|t(e(s)?|ail)?|p|emptyv|quo|rr(sim|hk|tl|pl|fs|lp|b(fs)?)?|gran|mbda)|r(har(d)?|corner|tri|arr|m)|g(E)?|m(idot|oust(ache)?)|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr))|L(s(h|cr|trok)|c(y|edil|aron)|t|o(ng(RightArrow|left(arrow|rightarrow)|rightarrow|Left(RightArrow|Arrow))|pf|wer(RightArrow|LeftArrow))|T|e(ss(Greater|SlantEqual|Tilde|EqualGreater|FullEqual|Less)|ft(Right(Vector|Arrow)|Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|rightarrow|Floor|A(ngleBracket|rrow(RightArrow|Bar)?)))|Jcy|fr|l(eftarrow)?|a(ng|cute|placetrf|rr|mbda)|midot))
|
|
18
|
+
| (M(scr|cy|inusPlus|opf|u|e(diumSpace|llintrf)|fr|ap)|m(s(cr|tpos)|ho|nplus|c(y|omma)|i(nus(d(u)?|b)?|cro|d(cir|dot|ast)?)|o(dels|pf)|dash|u(ltimap|map)?|p|easuredangle|DDot|fr|l(cp|dr)|a(cr|p(sto(down|up|left)?)?|l(t(ese)?|e)|rker)))
|
|
19
|
+
| (n(s(hort(parallel|mid)|c(cue|e|r)?|im(e(q)?)?|u(cc(eq)?|p(set(eq(q)?)?|e|E)?|b(set(eq(q)?)?|e|E)?)|par|qsu(pe|be)|mid)|Rightarrow|h(par|arr|Arr)|G(t(v)?|g)|c(y|ong(dot)?|up|edil|a(p|ron))|t(ilde|lg|riangle(left(eq)?|right(eq)?)|gl)|i(s(d)?|v)?|o(t(ni(v(c|a|b))?|in(dot|v(c|a|b)|E)?)?|pf)|dash|u(m(sp|ero)?)?|jcy|p(olint|ar(sl|t|allel)?|r(cue|e(c(eq)?)?)?)|e(s(im|ear)|dot|quiv|ar(hk|r(ow)?)|xist(s)?|Arr)?|v(sim|infin|Harr|dash|Dash|l(t(rie)?|e|Arr)|ap|r(trie|Arr)|g(t|e))|fr|w(near|ar(hk|r(ow)?)|Arr)|V(dash|Dash)|l(sim|t(ri(e)?)?|dr|e(s(s)?|q(slant|q)?|ft(arrow|rightarrow))?|E|arr|Arr)|a(ng|cute|tur(al(s)?)?|p(id|os|prox|E)?|bla)|r(tri(e)?|ightarrow|arr(c|w)?|Arr)|g(sim|t(r)?|e(s|q(slant|q)?)?|E)|mid|L(t(v)?|eft(arrow|rightarrow)|l)|b(sp|ump(e)?))|N(scr|c(y|edil|aron)|tilde|o(nBreakingSpace|Break|t(R(ightTriangle(Bar|Equal)?|everseElement)|Greater(Greater|SlantEqual|Tilde|Equal|FullEqual|Less)?|S(u(cceeds(SlantEqual|Tilde|Equal)?|perset(Equal)?|bset(Equal)?)|quareSu(perset(Equal)?|bset(Equal)?))|Hump(DownHump|Equal)|Nested(GreaterGreater|LessLess)|C(ongruent|upCap)|Tilde(Tilde|Equal|FullEqual)?|DoubleVerticalBar|Precedes(SlantEqual|Equal)?|E(qual(Tilde)?|lement|xists)|VerticalBar|Le(ss(Greater|SlantEqual|Tilde|Equal|Less)?|ftTriangle(Bar|Equal)?))?|pf)|u|e(sted(GreaterGreater|LessLess)|wLine|gative(MediumSpace|Thi(nSpace|ckSpace)|VeryThinSpace))|Jcy|fr|acute))
|
|
20
|
+
| (o(s(cr|ol|lash)|h(m|bar)|c(y|ir(c)?)|ti(lde|mes(as)?)|S|int|opf|d(sold|iv|ot|ash|blac)|uml|p(erp|lus|ar)|elig|vbar|f(cir|r)|l(c(ir|ross)|t|ine|arr)|a(st|cute)|r(slope|igof|or|d(er(of)?|f|m)?|v|arr)?|g(t|on|rave)|m(i(nus|cron|d)|ega|acr))|O(s(cr|lash)|c(y|irc)|ti(lde|mes)|opf|dblac|uml|penCurly(DoubleQuote|Quote)|ver(B(ar|rac(e|ket))|Parenthesis)|fr|Elig|acute|r|grave|m(icron|ega|acr)))
|
|
21
|
+
| (p(s(cr|i)|h(i(v)?|one|mmat)|cy|i(tchfork|v)?|o(intint|und|pf)|uncsp|er(cnt|tenk|iod|p|mil)|fr|l(us(sim|cir|two|d(o|u)|e|acir|mn|b)?|an(ck(h)?|kv))|ar(s(im|l)|t|a(llel)?)?|r(sim|n(sim|E|ap)|cue|ime(s)?|o(d|p(to)?|f(surf|line|alar))|urel|e(c(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?)?|E|ap)?|m)|P(s(cr|i)|hi|cy|i|o(incareplane|pf)|fr|lusMinus|artialD|r(ime|o(duct|portion(al)?)|ecedes(SlantEqual|Tilde|Equal)?)?))
|
|
22
|
+
| (q(scr|int|opf|u(ot|est(eq)?|at(int|ernions))|prime|fr)|Q(scr|opf|UOT|fr))
|
|
23
|
+
| (R(s(h|cr)|ho|c(y|edil|aron)|Barr|ight(Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|Floor|A(ngleBracket|rrow(Bar|LeftArrow)?))|o(undImplies|pf)|uleDelayed|e(verse(UpEquilibrium|E(quilibrium|lement)))?|fr|EG|a(ng|cute|rr(tl)?)|rightarrow)|r(s(h|cr|q(uo(r)?|b)|aquo)|h(o(v)?|ar(d|u(l)?))|nmid|c(y|ub|e(il|dil)|aron)|Barr|t(hree|imes|ri(e|f|ltri)?)|i(singdotseq|ng|ght(squigarrow|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(tail)?|rightarrows))|Har|o(times|p(f|lus|ar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|ldhar)|uluhar|p(polint|ar(gt)?)|e(ct|al(s|ine|part)?|g)|f(isht|loor|r)|l(har|arr|m)|a(ng(d|e|le)?|c(ute|e)|t(io(nals)?|ail)|dic|emptyv|quo|rr(sim|hk|c|tl|pl|fs|w|lp|ap|b(fs)?)?)|rarr|x|moust(ache)?|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr)))
|
|
24
|
+
| (s(s(cr|tarf|etmn|mile)|h(y|c(hcy|y)|ort(parallel|mid)|arp)|c(sim|y|n(sim|E|ap)|cue|irc|polint|e(dil)?|E|a(p|ron))?|t(ar(f)?|r(ns|aight(phi|epsilon)))|i(gma(v|f)?|m(ne|dot|plus|e(q)?|l(E)?|rarr|g(E)?)?)|zlig|o(pf|ftcy|l(b(ar)?)?)|dot(e|b)?|u(ng|cc(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?|p(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|hs(ol|ub)|1|n(e|E)|2|d(sub|ot)|3|plus|e(dot)?|E|larr|mult)?|m|b(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|n(e|E)|dot|plus|e(dot)?|E|rarr|mult)?)|pa(des(uit)?|r)|e(swar|ct|tm(n|inus)|ar(hk|r(ow)?)|xt|mi|Arr)|q(su(p(set(eq)?|e)?|b(set(eq)?|e)?)|c(up(s)?|ap(s)?)|u(f|ar(e|f))?)|fr(own)?|w(nwar|ar(hk|r(ow)?)|Arr)|larr|acute|rarr|m(t(e(s)?)?|i(d|le)|eparsl|a(shp|llsetminus))|bquo)|S(scr|hort(RightArrow|DownArrow|UpArrow|LeftArrow)|c(y|irc|edil|aron)?|tar|igma|H(cy|CHcy)|opf|u(c(hThat|ceeds(SlantEqual|Tilde|Equal)?)|p(set|erset(Equal)?)?|m|b(set(Equal)?)?)|OFTcy|q(uare(Su(perset(Equal)?|bset(Equal)?)|Intersection|Union)?|rt)|fr|acute|mallCircle))
|
|
25
|
+
| (t(s(hcy|c(y|r)|trok)|h(i(nsp|ck(sim|approx))|orn|e(ta(sym|v)?|re(4|fore))|k(sim|ap))|c(y|edil|aron)|i(nt|lde|mes(d|b(ar)?)?)|o(sa|p(cir|f(ork)?|bot)?|ea)|dot|prime|elrec|fr|w(ixt|ohead(leftarrow|rightarrow))|a(u|rget)|r(i(sb|time|dot|plus|e|angle(down|q|left(eq)?|right(eq)?)?|minus)|pezium|ade)|brk)|T(s(cr|trok)|RADE|h(i(nSpace|ckSpace)|e(ta|refore))|c(y|edil|aron)|S(cy|Hcy)|ilde(Tilde|Equal|FullEqual)?|HORN|opf|fr|a(u|b)|ripleDot))
|
|
26
|
+
| (u(scr|h(ar(l|r)|blk)|c(y|irc)|t(ilde|dot|ri(f)?)|Har|o(pf|gon)|d(har|arr|blac)|u(arr|ml)|p(si(h|lon)?|harpoon(left|right)|downarrow|uparrows|lus|arrow)|f(isht|r)|wangle|l(c(orn(er)?|rop)|tri)|a(cute|rr)|r(c(orn(er)?|rop)|tri|ing)|grave|m(l|acr)|br(cy|eve)|Arr)|U(scr|n(ion(Plus)?|der(B(ar|rac(e|ket))|Parenthesis))|c(y|irc)|tilde|o(pf|gon)|dblac|uml|p(si(lon)?|downarrow|Tee(Arrow)?|per(RightArrow|LeftArrow)|DownArrow|Equilibrium|arrow|Arrow(Bar|DownArrow)?)|fr|a(cute|rr(ocir)?)|ring|grave|macr|br(cy|eve)))
|
|
27
|
+
| (v(s(cr|u(pn(e|E)|bn(e|E)))|nsu(p|b)|cy|Bar(v)?|zigzag|opf|dash|prop|e(e(eq|bar)?|llip|r(t|bar))|Dash|fr|ltri|a(ngrt|r(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|t(heta|riangle(left|right))|p(hi|i|ropto)|epsilon|kappa|r(ho)?))|rtri|Arr)|V(scr|cy|opf|dash(l)?|e(e|r(yThinSpace|t(ical(Bar|Separator|Tilde|Line))?|bar))|Dash|vdash|fr|bar))
|
|
28
|
+
| (w(scr|circ|opf|p|e(ierp|d(ge(q)?|bar))|fr|r(eath)?)|W(scr|circ|opf|edge|fr))
|
|
29
|
+
| (X(scr|i|opf|fr)|x(s(cr|qcup)|h(arr|Arr)|nis|c(irc|up|ap)|i|o(time|dot|p(f|lus))|dtri|u(tri|plus)|vee|fr|wedge|l(arr|Arr)|r(arr|Arr)|map))
|
|
30
|
+
| (y(scr|c(y|irc)|icy|opf|u(cy|ml)|en|fr|ac(y|ute))|Y(scr|c(y|irc)|opf|uml|Icy|Ucy|fr|acute|Acy))
|
|
31
|
+
| (z(scr|hcy|c(y|aron)|igrarr|opf|dot|e(ta|etrf)|fr|w(nj|j)|acute)|Z(scr|c(y|aron)|Hcy|opf|dot|e(ta|roWidthSpace)|fr|acute))
|
|
32
|
+
)
|
|
33
|
+
(;)
|
|
34
|
+
`, name: "constant.character.entity.named.$2.html" }, { captures: { 1: { name: "punctuation.definition.entity.html" }, 3: { name: "punctuation.definition.entity.html" } }, match: "(&)#[0-9]+(;)", name: "constant.character.entity.numeric.decimal.html" }, { captures: { 1: { name: "punctuation.definition.entity.html" }, 3: { name: "punctuation.definition.entity.html" } }, match: "(&)#[xX][0-9a-fA-F]+(;)", name: "constant.character.entity.numeric.hexadecimal.html" }, { match: "&(?=[a-zA-Z0-9]+;)", name: "invalid.illegal.ambiguous-ampersand.html" }] }, math: { patterns: [{ begin: `(?i)(<)(math)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.structure.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)", endCaptures: { 0: { name: "meta.tag.structure.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.structure.$2.html", patterns: [{ begin: "(?<!>)\\G", end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }], repository: { attribute: { patterns: [{ begin: "(s(hift|ymmetric|cript(sizemultiplier|level|minsize)|t(ackalign|retchy)|ide|u(pscriptshift|bscriptshift)|e(parator(s)?|lection)|rc)|h(eight|ref)|n(otation|umalign)|c(haralign|olumn(spa(n|cing)|width|lines|align)|lose|rossout)|i(n(dent(shift(first|last)?|target|align(first|last)?)|fixlinebreakstyle)|d)|o(pen|verflow)|d(i(splay(style)?|r)|e(nomalign|cimalpoint|pth))|position|e(dge|qual(columns|rows))|voffset|f(orm|ence|rame(spacing)?)|width|l(space|ine(thickness|leading|break(style|multchar)?)|o(ngdivstyle|cation)|ength|quote|argeop)|a(c(cent(under)?|tiontype)|l(t(text|img(-(height|valign|width))?)|ign(mentscope)?))|r(space|ow(spa(n|cing)|lines|align)|quote)|groupalign|x(link:href|mlns)|m(in(size|labelspacing)|ovablelimits|a(th(size|color|variant|background)|xsize))|bevelled)(?![\\w:-])", beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.html", patterns: [{ include: "#attribute-interior" }] }, { begin: `([^\\x{0020}"'<>/=\\x{0000}-\\x{001F}\\x{007F}-\\x{009F}\\x{FDD0}-\\x{FDEF}\\x{FFFE}\\x{FFFF}\\x{1FFFE}\\x{1FFFF}\\x{2FFFE}\\x{2FFFF}\\x{3FFFE}\\x{3FFFF}\\x{4FFFE}\\x{4FFFF}\\x{5FFFE}\\x{5FFFF}\\x{6FFFE}\\x{6FFFF}\\x{7FFFE}\\x{7FFFF}\\x{8FFFE}\\x{8FFFF}\\x{9FFFE}\\x{9FFFF}\\x{AFFFE}\\x{AFFFF}\\x{BFFFE}\\x{BFFFF}\\x{CFFFE}\\x{CFFFF}\\x{DFFFE}\\x{DFFFF}\\x{EFFFE}\\x{EFFFF}\\x{FFFFE}\\x{FFFFF}\\x{10FFFE}\\x{10FFFF}]+)`, beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, comment: "Anything else that is valid", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.unrecognized.$1.html", patterns: [{ include: "#attribute-interior" }] }, { match: "[^\\s>]+", name: "invalid.illegal.character-not-allowed-here.html" }] }, tags: { patterns: [{ include: "#comment" }, { include: "#cdata" }, { captures: { 0: { name: "meta.tag.structure.math.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(annotation|annotation-xml|semantics|menclose|merror|mfenced|mfrac|mpadded|mphantom|mroot|mrow|msqrt|mstyle|mmultiscripts|mover|mprescripts|msub|msubsup|msup|munder|munderover|none|mlabeledtr|mtable|mtd|mtr|mlongdiv|mscarries|mscarry|msgroup|msline|msrow|mstack|maction)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.structure.math.$2.html" }, { begin: `(?i)(<)(annotation|annotation-xml|semantics|menclose|merror|mfenced|mfrac|mpadded|mphantom|mroot|mrow|msqrt|mstyle|mmultiscripts|mover|mprescripts|msub|msubsup|msup|munder|munderover|none|mlabeledtr|mtable|mtd|mtr|mlongdiv|mscarries|mscarry|msgroup|msline|msrow|mstack|maction)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.structure.math.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.structure.math.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.structure.math.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.inline.math.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(mi|mn|mo|ms|mspace|mtext|maligngroup|malignmark)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.inline.math.$2.html" }, { begin: `(?i)(<)(mi|mn|mo|ms|mspace|mtext|maligngroup|malignmark)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.inline.math.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.inline.math.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.inline.math.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.object.math.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(mglyph)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.object.math.$2.html" }, { begin: `(?i)(<)(mglyph)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.object.math.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.object.math.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.object.math.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.other.invalid.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.unrecognized-tag.html" }, 4: { patterns: [{ include: "#attribute" }] }, 6: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(([\\w:]+))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.other.invalid.html" }, { begin: `(?i)(<)((\\w[^\\s>]*))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.other.invalid.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.unrecognized-tag.html" }, 4: { patterns: [{ include: "#attribute" }] }, 6: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)((\\2))\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.other.invalid.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.unrecognized-tag.html" }, 4: { name: "punctuation.definition.tag.end.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.other.invalid.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.invalid.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { include: "#tags-invalid" }] } } }, svg: { patterns: [{ begin: `(?i)(<)(svg)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.structure.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)", endCaptures: { 0: { name: "meta.tag.structure.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.structure.$2.html", patterns: [{ begin: "(?<!>)\\G", end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }], repository: { attribute: { patterns: [{ begin: "(s(hape-rendering|ystemLanguage|cale|t(yle|itchTiles|op-(color|opacity)|dDeviation|em(h|v)|artOffset|r(i(ng|kethrough-(thickness|position))|oke(-(opacity|dash(offset|array)|width|line(cap|join)|miterlimit))?))|urfaceScale|p(e(cular(Constant|Exponent)|ed)|acing|readMethod)|eed|lope)|h(oriz-(origin-x|adv-x)|eight|anging|ref(lang)?)|y(1|2|ChannelSelector)?|n(umOctaves|ame)|c(y|o(ntentS(criptType|tyleType)|lor(-(interpolation(-filters)?|profile|rendering))?)|ursor|l(ip(-(path|rule)|PathUnits)?|ass)|a(p-height|lcMode)|x)|t(ype|o|ext(-(decoration|anchor|rendering)|Length)|a(rget(X|Y)?|b(index|leValues))|ransform)|i(n(tercept|2)?|d(eographic)?|mage-rendering)|z(oomAndPan)?|o(p(erator|acity)|ver(flow|line-(thickness|position))|ffset|r(i(ent(ation)?|gin)|der))|d(y|i(splay|visor|ffuseConstant|rection)|ominant-baseline|ur|e(scent|celerate)|x)?|u(1|n(i(code(-(range|bidi))?|ts-per-em)|derline-(thickness|position))|2)|p(ing|oint(s(At(X|Y|Z))?|er-events)|a(nose-1|t(h(Length)?|tern(ContentUnits|Transform|Units))|int-order)|r(imitiveUnits|eserveA(spectRatio|lpha)))|e(n(d|able-background)|dgeMode|levation|x(ternalResourcesRequired|ponent))|v(i(sibility|ew(Box|Target))|-(hanging|ideographic|alphabetic|mathematical)|e(ctor-effect|r(sion|t-(origin-(y|x)|adv-y)))|alues)|k(1|2|3|e(y(Splines|Times|Points)|rn(ing|el(Matrix|UnitLength)))|4)?|f(y|il(ter(Res|Units)?|l(-(opacity|rule))?)|o(nt-(s(t(yle|retch)|ize(-adjust)?)|variant|family|weight)|rmat)|lood-(color|opacity)|r(om)?|x)|w(idth(s)?|ord-spacing|riting-mode)|l(i(ghting-color|mitingConeAngle)|ocal|e(ngthAdjust|tter-spacing)|ang)|a(scent|cc(umulate|ent-height)|ttribute(Name|Type)|zimuth|dditive|utoReverse|l(ignment-baseline|phabetic|lowReorder)|rabic-form|mplitude)|r(y|otate|e(s(tart|ult)|ndering-intent|peat(Count|Dur)|quired(Extensions|Features)|f(X|Y|errerPolicy)|l)|adius|x)?|g(1|2|lyph(Ref|-(name|orientation-(horizontal|vertical)))|radient(Transform|Units))|x(1|2|ChannelSelector|-height|link:(show|href|t(ype|itle)|a(ctuate|rcrole)|role)|ml:(space|lang|base))?|m(in|ode|e(thod|dia)|a(sk(ContentUnits|Units)?|thematical|rker(Height|-(start|end|mid)|Units|Width)|x))|b(y|ias|egin|ase(Profile|line-shift|Frequency)|box))(?![\\w:-])", beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.html", patterns: [{ include: "#attribute-interior" }] }, { begin: `([^\\x{0020}"'<>/=\\x{0000}-\\x{001F}\\x{007F}-\\x{009F}\\x{FDD0}-\\x{FDEF}\\x{FFFE}\\x{FFFF}\\x{1FFFE}\\x{1FFFF}\\x{2FFFE}\\x{2FFFF}\\x{3FFFE}\\x{3FFFF}\\x{4FFFE}\\x{4FFFF}\\x{5FFFE}\\x{5FFFF}\\x{6FFFE}\\x{6FFFF}\\x{7FFFE}\\x{7FFFF}\\x{8FFFE}\\x{8FFFF}\\x{9FFFE}\\x{9FFFF}\\x{AFFFE}\\x{AFFFF}\\x{BFFFE}\\x{BFFFF}\\x{CFFFE}\\x{CFFFF}\\x{DFFFE}\\x{DFFFF}\\x{EFFFE}\\x{EFFFF}\\x{FFFFE}\\x{FFFFF}\\x{10FFFE}\\x{10FFFF}]+)`, beginCaptures: { 0: { name: "entity.other.attribute-name.html" } }, comment: "Anything else that is valid", end: "(?=\\s*+[^=\\s])", name: "meta.attribute.unrecognized.$1.html", patterns: [{ include: "#attribute-interior" }] }, { match: "[^\\s>]+", name: "invalid.illegal.character-not-allowed-here.html" }] }, tags: { patterns: [{ include: "#comment" }, { include: "#cdata" }, { captures: { 0: { name: "meta.tag.metadata.svg.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(color-profile|desc|metadata|script|style|title)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.metadata.svg.$2.html" }, { begin: `(?i)(<)(color-profile|desc|metadata|script|style|title)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.metadata.svg.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.metadata.svg.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.metadata.svg.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.structure.svg.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(animateMotion|clipPath|defs|feComponentTransfer|feDiffuseLighting|feMerge|feSpecularLighting|filter|g|hatch|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|pattern|radialGradient|switch|text|textPath)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.structure.svg.$2.html" }, { begin: `(?i)(<)(animateMotion|clipPath|defs|feComponentTransfer|feDiffuseLighting|feMerge|feSpecularLighting|filter|g|hatch|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|pattern|radialGradient|switch|text|textPath)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.structure.svg.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.structure.svg.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.structure.svg.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.inline.svg.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(a|animate|discard|feBlend|feColorMatrix|feComposite|feConvolveMatrix|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feMergeNode|feMorphology|feOffset|fePointLight|feSpotLight|feTile|feTurbulence|hatchPath|mpath|set|solidcolor|stop|tspan)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.inline.svg.$2.html" }, { begin: `(?i)(<)(a|animate|discard|feBlend|feColorMatrix|feComposite|feConvolveMatrix|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feMergeNode|feMorphology|feOffset|fePointLight|feSpotLight|feTile|feTurbulence|hatchPath|mpath|set|solidcolor|stop|tspan)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.inline.svg.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.inline.svg.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.inline.svg.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.object.svg.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(circle|ellipse|feImage|foreignObject|image|line|path|polygon|polyline|rect|symbol|use|view)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.object.svg.$2.html" }, { begin: `(?i)(<)(a|circle|ellipse|feImage|foreignObject|image|line|path|polygon|polyline|rect|symbol|use|view)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.object.svg.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { patterns: [{ include: "#attribute" }] }, 5: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)(\\2)\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.object.svg.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.object.svg.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.other.svg.$2.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" }, 4: { patterns: [{ include: "#attribute" }] }, 6: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)((altGlyph|altGlyphDef|altGlyphItem|animateColor|animateTransform|cursor|font|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|glyph|glyphRef|hkern|missing-glyph|tref|vkern))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.other.svg.$2.html" }, { begin: `(?i)(<)((altGlyph|altGlyphDef|altGlyphItem|animateColor|animateTransform|cursor|font|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|glyph|glyphRef|hkern|missing-glyph|tref|vkern))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.other.svg.$2.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" }, 4: { patterns: [{ include: "#attribute" }] }, 6: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)((\\2))\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.other.svg.$2.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" }, 4: { name: "punctuation.definition.tag.end.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.other.svg.$2.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { captures: { 0: { name: "meta.tag.other.invalid.void.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.unrecognized-tag.html" }, 4: { patterns: [{ include: "#attribute" }] }, 6: { name: "punctuation.definition.tag.end.html" } }, match: `(?i)(<)(([\\w:]+))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`, name: "meta.element.other.invalid.html" }, { begin: `(?i)(<)((\\w[^\\s>]*))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`, beginCaptures: { 0: { name: "meta.tag.other.invalid.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.unrecognized-tag.html" }, 4: { patterns: [{ include: "#attribute" }] }, 6: { name: "punctuation.definition.tag.end.html" } }, end: "(?i)(</)((\\2))\\s*(>)|(/>)|(?=</\\w+)", endCaptures: { 0: { name: "meta.tag.other.invalid.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.unrecognized-tag.html" }, 4: { name: "punctuation.definition.tag.end.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.element.other.invalid.html", patterns: [{ begin: "(?<!>)\\G", end: "(?=/>)|>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.invalid.start.html", patterns: [{ include: "#attribute" }] }, { include: "#tags" }] }, { include: "#tags-invalid" }] } } }, "tags-invalid": { patterns: [{ begin: "(</?)((\\w[^\\s>]*))(?<!/)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.unrecognized-tag.html" } }, end: "((?: ?/)?>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.$2.html", patterns: [{ include: "#attribute" }] }] }, "tags-valid": { patterns: [{ begin: "(^[ \\t]+)?(?=<(?i:style)\\b(?!-))", beginCaptures: { 1: { name: "punctuation.whitespace.embedded.leading.html" } }, end: "(?!\\G)([ \\t]*$\\n?)?", endCaptures: { 1: { name: "punctuation.whitespace.embedded.trailing.html" } }, patterns: [{ begin: "(?i)(<)(style)(?=\\s|/?>)", beginCaptures: { 0: { name: "meta.tag.metadata.style.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "(?i)((<)/)(style)\\s*(>)", endCaptures: { 0: { name: "meta.tag.metadata.style.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "source.css-ignored-vscode" }, 3: { name: "entity.name.tag.html" }, 4: { name: "punctuation.definition.tag.end.html" } }, name: "meta.embedded.block.html", patterns: [{ begin: "\\G", captures: { 1: { name: "punctuation.definition.tag.end.html" } }, end: "(>)", name: "meta.tag.metadata.style.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?!\\G)", end: "(?=</(?i:style))", name: "source.css", patterns: [{ include: "source.css" }] }] }] }, { begin: "(^[ \\t]+)?(?=<(?i:script)\\b(?!-))", beginCaptures: { 1: { name: "punctuation.whitespace.embedded.leading.html" } }, end: "(?!\\G)([ \\t]*$\\n?)?", endCaptures: { 1: { name: "punctuation.whitespace.embedded.trailing.html" } }, patterns: [{ begin: "(<)((?i:script))\\b", beginCaptures: { 0: { name: "meta.tag.metadata.script.start.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "(/)((?i:script))(>)", endCaptures: { 0: { name: "meta.tag.metadata.script.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "punctuation.definition.tag.end.html" } }, name: "meta.embedded.block.html", patterns: [{ begin: "\\G", end: "(?=/)", patterns: [{ begin: "(>)", beginCaptures: { 0: { name: "meta.tag.metadata.script.start.html" }, 1: { name: "punctuation.definition.tag.end.html" } }, end: "((<))(?=/(?i:script))", endCaptures: { 0: { name: "meta.tag.metadata.script.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "source.js-ignored-vscode" } }, patterns: [{ begin: "\\G", end: "(?=</(?i:script))", name: "source.js", patterns: [{ begin: "(^[ \\t]+)?(?=//)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.js" } }, end: "(?!\\G)", patterns: [{ begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.js" } }, end: "(?=<\/script)|\\n", name: "comment.line.double-slash.js" }] }, { begin: "/\\*", captures: { 0: { name: "punctuation.definition.comment.js" } }, end: "\\*/|(?=<\/script)", name: "comment.block.js" }, { include: "source.js" }] }] }, { begin: "\\G", end: `(?ix:
|
|
35
|
+
(?=>
|
|
36
|
+
| type(?=[\\s=])
|
|
37
|
+
(?!\\s*=\\s*
|
|
38
|
+
(
|
|
39
|
+
''
|
|
40
|
+
| ""
|
|
41
|
+
| ('|"|)
|
|
42
|
+
(
|
|
43
|
+
text/
|
|
44
|
+
(
|
|
45
|
+
javascript(1\\.[0-5])?
|
|
46
|
+
| x-javascript
|
|
47
|
+
| jscript
|
|
48
|
+
| livescript
|
|
49
|
+
| (x-)?ecmascript
|
|
50
|
+
| babel
|
|
51
|
+
|
|
52
|
+
)
|
|
53
|
+
| application/
|
|
54
|
+
(
|
|
55
|
+
(x-)?javascript
|
|
56
|
+
| (x-)?ecmascript
|
|
57
|
+
)
|
|
58
|
+
| module
|
|
59
|
+
)
|
|
60
|
+
[\\s"'>]
|
|
61
|
+
)
|
|
62
|
+
)
|
|
63
|
+
)
|
|
64
|
+
)`, name: "meta.tag.metadata.script.start.html", patterns: [{ include: "#attribute" }] }, { begin: `(?ix:
|
|
65
|
+
(?=
|
|
66
|
+
type\\s*=\\s*
|
|
67
|
+
('|"|)
|
|
68
|
+
text/
|
|
69
|
+
(
|
|
70
|
+
x-handlebars
|
|
71
|
+
| (x-(handlebars-)?|ng-)?template
|
|
72
|
+
| html
|
|
73
|
+
)
|
|
74
|
+
[\\s"'>]
|
|
75
|
+
)
|
|
76
|
+
)`, end: "((<))(?=/(?i:script))", endCaptures: { 0: { name: "meta.tag.metadata.script.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "text.html.basic" } }, patterns: [{ begin: "\\G", end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.script.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?!\\G)", end: "(?=</(?i:script))", name: "text.html.basic", patterns: [{ include: "text.html.basic" }] }] }, { begin: "(?=(?i:type))", end: "(<)(?=/(?i:script))", endCaptures: { 0: { name: "meta.tag.metadata.script.end.html" }, 1: { name: "punctuation.definition.tag.begin.html" } }, patterns: [{ begin: "\\G", end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.script.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?!\\G)", end: "(?=</(?i:script))", name: "source.unknown" }] }] }] }] }, { begin: "(?i)(<)(base|link|meta)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "/?>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.$2.void.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)(noscript|title)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)(noscript|title)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.$2.end.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)(col|hr|input)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "/?>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.$2.void.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)(address|article|aside|blockquote|body|button|caption|colgroup|datalist|dd|details|dialog|div|dl|dt|fieldset|figcaption|figure|footer|form|head|header|hgroup|html|h[1-6]|label|legend|li|main|map|menu|meter|nav|ol|optgroup|option|output|p|pre|progress|section|select|slot|summary|table|tbody|td|template|textarea|tfoot|th|thead|tr|ul)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)(address|article|aside|blockquote|body|button|caption|colgroup|datalist|dd|details|dialog|div|dl|dt|fieldset|figcaption|figure|footer|form|head|header|hgroup|html|h[1-6]|label|legend|li|main|map|menu|meter|nav|ol|optgroup|option|output|p|pre|progress|section|select|slot|summary|table|tbody|td|template|textarea|tfoot|th|thead|tr|ul)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.$2.end.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)(area|br|wbr)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "/?>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.$2.void.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)(a|abbr|b|bdi|bdo|cite|code|data|del|dfn|em|i|ins|kbd|mark|q|rp|rt|ruby|s|samp|small|span|strong|sub|sup|time|u|var)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)(a|abbr|b|bdi|bdo|cite|code|data|del|dfn|em|i|ins|kbd|mark|q|rp|rt|ruby|s|samp|small|span|strong|sub|sup|time|u|var)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.$2.end.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)(embed|img|param|source|track)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "/?>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.$2.void.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)(audio|canvas|iframe|object|picture|video)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)(audio|canvas|iframe|object|picture|video)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.$2.end.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)((basefont|isindex))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: "/?>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.metadata.$2.void.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)((center|frameset|noembed|noframes))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)((center|frameset|noembed|noframes))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.$2.end.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)((acronym|big|blink|font|strike|tt|xmp))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)((acronym|big|blink|font|strike|tt|xmp))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.$2.end.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)((frame))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: "/?>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.$2.void.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)((applet))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)((applet))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.deprecated.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.object.$2.end.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(<)((dir|keygen|listing|menuitem|plaintext|spacer))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.no-longer-supported.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.$2.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(?i)(</)((dir|keygen|listing|menuitem|plaintext|spacer))(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" }, 3: { name: "invalid.illegal.no-longer-supported.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.$2.end.html", patterns: [{ include: "#attribute" }] }, { include: "#math" }, { include: "#svg" }, { begin: "(<)([a-zA-Z][.0-9_a-zA-Z\\x{00B7}\\x{00C0}-\\x{00D6}\\x{00D8}-\\x{00F6}\\x{00F8}-\\x{037D}\\x{037F}-\\x{1FFF}\\x{200C}-\\x{200D}\\x{203F}-\\x{2040}\\x{2070}-\\x{218F}\\x{2C00}-\\x{2FEF}\\x{3001}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFFD}\\x{10000}-\\x{EFFFF}]*-[\\-.0-9_a-zA-Z\\x{00B7}\\x{00C0}-\\x{00D6}\\x{00D8}-\\x{00F6}\\x{00F8}-\\x{037D}\\x{037F}-\\x{1FFF}\\x{200C}-\\x{200D}\\x{203F}-\\x{2040}\\x{2070}-\\x{218F}\\x{2C00}-\\x{2FEF}\\x{3001}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFFD}\\x{10000}-\\x{EFFFF}]*)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "/?>", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.custom.start.html", patterns: [{ include: "#attribute" }] }, { begin: "(</)([a-zA-Z][.0-9_a-zA-Z\\x{00B7}\\x{00C0}-\\x{00D6}\\x{00D8}-\\x{00F6}\\x{00F8}-\\x{037D}\\x{037F}-\\x{1FFF}\\x{200C}-\\x{200D}\\x{203F}-\\x{2040}\\x{2070}-\\x{218F}\\x{2C00}-\\x{2FEF}\\x{3001}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFFD}\\x{10000}-\\x{EFFFF}]*-[\\-.0-9_a-zA-Z\\x{00B7}\\x{00C0}-\\x{00D6}\\x{00D8}-\\x{00F6}\\x{00F8}-\\x{037D}\\x{037F}-\\x{1FFF}\\x{200C}-\\x{200D}\\x{203F}-\\x{2040}\\x{2070}-\\x{218F}\\x{2C00}-\\x{2FEF}\\x{3001}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFFD}\\x{10000}-\\x{EFFFF}]*)(?=\\s|/?>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: ">", endCaptures: { 0: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.custom.end.html", patterns: [{ include: "#attribute" }] }] }, "xml-processing": { begin: "(<\\?)(xml)", captures: { 1: { name: "punctuation.definition.tag.html" }, 2: { name: "entity.name.tag.html" } }, end: "(\\?>)", name: "meta.tag.metadata.processing.xml.html", patterns: [{ include: "#attribute" }] } }, scopeName: "text.html.basic", embeddedLangs: ["javascript", "css"] });
|
|
77
|
+
var r = [
|
|
78
|
+
...t,
|
|
79
|
+
...e,
|
|
80
|
+
n
|
|
81
|
+
];
|
|
82
|
+
export {
|
|
83
|
+
r as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import t from "./html-BZB5lEhh-B74zAnWx.js";
|
|
2
|
+
const e = Object.freeze({ displayName: "HTML (Derivative)", injections: { "R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)": { comment: "Uses R: to ensure this matches after any other injections.", patterns: [{ match: "<", name: "invalid.illegal.bad-angle-bracket.html" }] } }, name: "html-derivative", patterns: [{ include: "text.html.basic#core-minus-invalid" }, { begin: "(</?)(\\w[^\\s>]*)(?<!/)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "((?: ?/)?>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.unrecognized.html.derivative", patterns: [{ include: "text.html.basic#attribute" }] }], scopeName: "text.html.derivative", embeddedLangs: ["html"] });
|
|
3
|
+
var n = [
|
|
4
|
+
...t,
|
|
5
|
+
e
|
|
6
|
+
];
|
|
7
|
+
export {
|
|
8
|
+
n
|
|
9
|
+
};
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
import { d as E, Z as j } from "./graph-4FyIWFHN-774TpNLL.js";
|
|
2
|
+
import { m as J, A } from "./layout-2-aEcfuw-BqqWy5wB.js";
|
|
3
|
+
import { a as U } from "./clone-p6h9XXNm-3JQ-HRC6.js";
|
|
4
|
+
import { h as Z, m as H, y as W, o as q, d as z, t as B, f as O, u as K, g as Q, p as V, x as Y, R, E as T } from "./edges-d417c7a0-C1ggiwWz-Aj0OUf7e.js";
|
|
5
|
+
import { l as i, c as D, p as N, h as G } from "./index-B-5DuDrq.js";
|
|
6
|
+
import { U as _ } from "./createText-423428c9-LivTKT7b-BXNfjcdp.js";
|
|
7
|
+
function y(r) {
|
|
8
|
+
var e = {
|
|
9
|
+
options: {
|
|
10
|
+
directed: r.isDirected(),
|
|
11
|
+
multigraph: r.isMultigraph(),
|
|
12
|
+
compound: r.isCompound()
|
|
13
|
+
},
|
|
14
|
+
nodes: ee(r),
|
|
15
|
+
edges: te(r)
|
|
16
|
+
};
|
|
17
|
+
return E(r.graph()) || (e.value = U(r.graph())), e;
|
|
18
|
+
}
|
|
19
|
+
function ee(r) {
|
|
20
|
+
return J(r.nodes(), function(e) {
|
|
21
|
+
var t = r.node(e), a = r.parent(e), n = { v: e };
|
|
22
|
+
return E(t) || (n.value = t), E(a) || (n.parent = a), n;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function te(r) {
|
|
26
|
+
return J(r.edges(), function(e) {
|
|
27
|
+
var t = r.edge(e), a = { v: e.v, w: e.w };
|
|
28
|
+
return E(e.name) || (a.name = e.name), E(t) || (a.value = t), a;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
let l = {}, u = {}, $ = {};
|
|
32
|
+
const re = () => {
|
|
33
|
+
u = {}, $ = {}, l = {};
|
|
34
|
+
}, S = (r, e) => (i.trace("In isDecendant", e, " ", r, " = ", u[e].includes(r)), !!u[e].includes(r)), ne = (r, e) => (i.info("Decendants of ", e, " is ", u[e]), i.info("Edge is ", r), r.v === e || r.w === e ? !1 : u[e] ? u[e].includes(r.v) || S(r.v, e) || S(r.w, e) || u[e].includes(r.w) : (i.debug("Tilt, ", e, ",not in decendants"), !1)), I = (r, e, t, a) => {
|
|
35
|
+
i.warn(
|
|
36
|
+
"Copying children of ",
|
|
37
|
+
r,
|
|
38
|
+
"root",
|
|
39
|
+
a,
|
|
40
|
+
"data",
|
|
41
|
+
e.node(r),
|
|
42
|
+
a
|
|
43
|
+
);
|
|
44
|
+
const n = e.children(r) || [];
|
|
45
|
+
r !== a && n.push(r), i.warn("Copying (nodes) clusterId", r, "nodes", n), n.forEach((o) => {
|
|
46
|
+
if (e.children(o).length > 0)
|
|
47
|
+
I(o, e, t, a);
|
|
48
|
+
else {
|
|
49
|
+
const c = e.node(o);
|
|
50
|
+
i.info("cp ", o, " to ", a, " with parent ", r), t.setNode(o, c), a !== e.parent(o) && (i.warn("Setting parent", o, e.parent(o)), t.setParent(o, e.parent(o))), r !== a && o !== r ? (i.debug("Setting parent", o, r), t.setParent(o, r)) : (i.info("In copy ", r, "root", a, "data", e.node(r), a), i.debug(
|
|
51
|
+
"Not Setting parent for node=",
|
|
52
|
+
o,
|
|
53
|
+
"cluster!==rootId",
|
|
54
|
+
r !== a,
|
|
55
|
+
"node!==clusterId",
|
|
56
|
+
o !== r
|
|
57
|
+
));
|
|
58
|
+
const g = e.edges(o);
|
|
59
|
+
i.debug("Copying Edges", g), g.forEach((h) => {
|
|
60
|
+
i.info("Edge", h);
|
|
61
|
+
const f = e.edge(h.v, h.w, h.name);
|
|
62
|
+
i.info("Edge data", f, a);
|
|
63
|
+
try {
|
|
64
|
+
ne(h, a) ? (i.info("Copying as ", h.v, h.w, f, h.name), t.setEdge(h.v, h.w, f, h.name), i.info("newGraph edges ", t.edges(), t.edge(t.edges()[0]))) : i.info(
|
|
65
|
+
"Skipping copy of edge ",
|
|
66
|
+
h.v,
|
|
67
|
+
"-->",
|
|
68
|
+
h.w,
|
|
69
|
+
" rootId: ",
|
|
70
|
+
a,
|
|
71
|
+
" clusterId:",
|
|
72
|
+
r
|
|
73
|
+
);
|
|
74
|
+
} catch (w) {
|
|
75
|
+
i.error(w);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
i.debug("Removing node", o), e.removeNode(o);
|
|
80
|
+
});
|
|
81
|
+
}, k = (r, e) => {
|
|
82
|
+
const t = e.children(r);
|
|
83
|
+
let a = [...t];
|
|
84
|
+
for (const n of t)
|
|
85
|
+
$[n] = r, a = [...a, ...k(n, e)];
|
|
86
|
+
return a;
|
|
87
|
+
}, X = (r, e) => {
|
|
88
|
+
i.trace("Searching", r);
|
|
89
|
+
const t = e.children(r);
|
|
90
|
+
if (i.trace("Searching children of id ", r, t), t.length < 1)
|
|
91
|
+
return i.trace("This is a valid node", r), r;
|
|
92
|
+
for (const a of t) {
|
|
93
|
+
const n = X(a, e);
|
|
94
|
+
if (n)
|
|
95
|
+
return i.trace("Found replacement for", r, " => ", n), n;
|
|
96
|
+
}
|
|
97
|
+
}, C = (r) => !l[r] || !l[r].externalConnections ? r : l[r] ? l[r].id : r, ie = (r, e) => {
|
|
98
|
+
if (!r || e > 10) {
|
|
99
|
+
i.debug("Opting out, no graph ");
|
|
100
|
+
return;
|
|
101
|
+
} else
|
|
102
|
+
i.debug("Opting in, graph ");
|
|
103
|
+
r.nodes().forEach(function(t) {
|
|
104
|
+
r.children(t).length > 0 && (i.warn(
|
|
105
|
+
"Cluster identified",
|
|
106
|
+
t,
|
|
107
|
+
" Replacement id in edges: ",
|
|
108
|
+
X(t, r)
|
|
109
|
+
), u[t] = k(t, r), l[t] = { id: X(t, r), clusterData: r.node(t) });
|
|
110
|
+
}), r.nodes().forEach(function(t) {
|
|
111
|
+
const a = r.children(t), n = r.edges();
|
|
112
|
+
a.length > 0 ? (i.debug("Cluster identified", t, u), n.forEach((o) => {
|
|
113
|
+
if (o.v !== t && o.w !== t) {
|
|
114
|
+
const c = S(o.v, t), g = S(o.w, t);
|
|
115
|
+
c ^ g && (i.warn("Edge: ", o, " leaves cluster ", t), i.warn("Decendants of XXX ", t, ": ", u[t]), l[t].externalConnections = !0);
|
|
116
|
+
}
|
|
117
|
+
})) : i.debug("Not a cluster ", t, u);
|
|
118
|
+
});
|
|
119
|
+
for (let t of Object.keys(l)) {
|
|
120
|
+
const a = l[t].id, n = r.parent(a);
|
|
121
|
+
n !== t && l[n] && !l[n].externalConnections && (l[t].id = n);
|
|
122
|
+
}
|
|
123
|
+
r.edges().forEach(function(t) {
|
|
124
|
+
const a = r.edge(t);
|
|
125
|
+
i.warn("Edge " + t.v + " -> " + t.w + ": " + JSON.stringify(t)), i.warn("Edge " + t.v + " -> " + t.w + ": " + JSON.stringify(r.edge(t)));
|
|
126
|
+
let n = t.v, o = t.w;
|
|
127
|
+
if (i.warn(
|
|
128
|
+
"Fix XXX",
|
|
129
|
+
l,
|
|
130
|
+
"ids:",
|
|
131
|
+
t.v,
|
|
132
|
+
t.w,
|
|
133
|
+
"Translating: ",
|
|
134
|
+
l[t.v],
|
|
135
|
+
" --- ",
|
|
136
|
+
l[t.w]
|
|
137
|
+
), l[t.v] && l[t.w] && l[t.v] === l[t.w]) {
|
|
138
|
+
i.warn("Fixing and trixing link to self - removing XXX", t.v, t.w, t.name), i.warn("Fixing and trixing - removing XXX", t.v, t.w, t.name), n = C(t.v), o = C(t.w), r.removeEdge(t.v, t.w, t.name);
|
|
139
|
+
const c = t.w + "---" + t.v;
|
|
140
|
+
r.setNode(c, {
|
|
141
|
+
domId: c,
|
|
142
|
+
id: c,
|
|
143
|
+
labelStyle: "",
|
|
144
|
+
labelText: a.label,
|
|
145
|
+
padding: 0,
|
|
146
|
+
shape: "labelRect",
|
|
147
|
+
style: ""
|
|
148
|
+
});
|
|
149
|
+
const g = structuredClone(a), h = structuredClone(a);
|
|
150
|
+
g.label = "", g.arrowTypeEnd = "none", h.label = "", g.fromCluster = t.v, h.toCluster = t.v, r.setEdge(n, c, g, t.name + "-cyclic-special"), r.setEdge(c, o, h, t.name + "-cyclic-special");
|
|
151
|
+
} else if (l[t.v] || l[t.w]) {
|
|
152
|
+
if (i.warn("Fixing and trixing - removing XXX", t.v, t.w, t.name), n = C(t.v), o = C(t.w), r.removeEdge(t.v, t.w, t.name), n !== t.v) {
|
|
153
|
+
const c = r.parent(n);
|
|
154
|
+
l[c].externalConnections = !0, a.fromCluster = t.v;
|
|
155
|
+
}
|
|
156
|
+
if (o !== t.w) {
|
|
157
|
+
const c = r.parent(o);
|
|
158
|
+
l[c].externalConnections = !0, a.toCluster = t.w;
|
|
159
|
+
}
|
|
160
|
+
i.warn("Fix Replacing with XXX", n, o, t.name), r.setEdge(n, o, a, t.name);
|
|
161
|
+
}
|
|
162
|
+
}), i.warn("Adjusted Graph", y(r)), F(r, 0), i.trace(l);
|
|
163
|
+
}, F = (r, e) => {
|
|
164
|
+
if (i.warn("extractor - ", e, y(r), r.children("D")), e > 10) {
|
|
165
|
+
i.error("Bailing out");
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
let t = r.nodes(), a = !1;
|
|
169
|
+
for (const n of t) {
|
|
170
|
+
const o = r.children(n);
|
|
171
|
+
a = a || o.length > 0;
|
|
172
|
+
}
|
|
173
|
+
if (!a) {
|
|
174
|
+
i.debug("Done, no node has children", r.nodes());
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
i.debug("Nodes = ", t, e);
|
|
178
|
+
for (const n of t)
|
|
179
|
+
if (i.debug(
|
|
180
|
+
"Extracting node",
|
|
181
|
+
n,
|
|
182
|
+
l,
|
|
183
|
+
l[n] && !l[n].externalConnections,
|
|
184
|
+
!r.parent(n),
|
|
185
|
+
r.node(n),
|
|
186
|
+
r.children("D"),
|
|
187
|
+
" Depth ",
|
|
188
|
+
e
|
|
189
|
+
), !l[n])
|
|
190
|
+
i.debug("Not a cluster", n, e);
|
|
191
|
+
else if (!l[n].externalConnections && // !graph.parent(node) &&
|
|
192
|
+
r.children(n) && r.children(n).length > 0) {
|
|
193
|
+
i.warn(
|
|
194
|
+
"Cluster without external connections, without a parent and with children",
|
|
195
|
+
n,
|
|
196
|
+
e
|
|
197
|
+
);
|
|
198
|
+
let o = r.graph().rankdir === "TB" ? "LR" : "TB";
|
|
199
|
+
l[n] && l[n].clusterData && l[n].clusterData.dir && (o = l[n].clusterData.dir, i.warn("Fixing dir", l[n].clusterData.dir, o));
|
|
200
|
+
const c = new j({
|
|
201
|
+
multigraph: !0,
|
|
202
|
+
compound: !0
|
|
203
|
+
}).setGraph({
|
|
204
|
+
rankdir: o,
|
|
205
|
+
// Todo: set proper spacing
|
|
206
|
+
nodesep: 50,
|
|
207
|
+
ranksep: 50,
|
|
208
|
+
marginx: 8,
|
|
209
|
+
marginy: 8
|
|
210
|
+
}).setDefaultEdgeLabel(function() {
|
|
211
|
+
return {};
|
|
212
|
+
});
|
|
213
|
+
i.warn("Old graph before copy", y(r)), I(n, r, c, n), r.setNode(n, {
|
|
214
|
+
clusterNode: !0,
|
|
215
|
+
id: n,
|
|
216
|
+
clusterData: l[n].clusterData,
|
|
217
|
+
labelText: l[n].labelText,
|
|
218
|
+
graph: c
|
|
219
|
+
}), i.warn("New graph after copy node: (", n, ")", y(c)), i.debug("Old graph after copy", y(r));
|
|
220
|
+
} else
|
|
221
|
+
i.warn(
|
|
222
|
+
"Cluster ** ",
|
|
223
|
+
n,
|
|
224
|
+
" **not meeting the criteria !externalConnections:",
|
|
225
|
+
!l[n].externalConnections,
|
|
226
|
+
" no parent: ",
|
|
227
|
+
!r.parent(n),
|
|
228
|
+
" children ",
|
|
229
|
+
r.children(n) && r.children(n).length > 0,
|
|
230
|
+
r.children("D"),
|
|
231
|
+
e
|
|
232
|
+
), i.debug(l);
|
|
233
|
+
t = r.nodes(), i.warn("New list of nodes", t);
|
|
234
|
+
for (const n of t) {
|
|
235
|
+
const o = r.node(n);
|
|
236
|
+
i.warn(" Now next level", n, o), o.clusterNode && F(o.graph, e + 1);
|
|
237
|
+
}
|
|
238
|
+
}, L = (r, e) => {
|
|
239
|
+
if (e.length === 0)
|
|
240
|
+
return [];
|
|
241
|
+
let t = Object.assign(e);
|
|
242
|
+
return e.forEach((a) => {
|
|
243
|
+
const n = r.children(a), o = L(r, n);
|
|
244
|
+
t = [...t, ...o];
|
|
245
|
+
}), t;
|
|
246
|
+
}, ae = (r) => L(r, r.children()), oe = (r, e) => {
|
|
247
|
+
i.info("Creating subgraph rect for ", e.id, e);
|
|
248
|
+
const t = D(), a = r.insert("g").attr("class", "cluster" + (e.class ? " " + e.class : "")).attr("id", e.id), n = a.insert("rect", ":first-child"), o = N(t.flowchart.htmlLabels), c = a.insert("g").attr("class", "cluster-label"), g = e.labelType === "markdown" ? _(c, e.labelText, { style: e.labelStyle, useHtmlLabels: o }) : c.node().appendChild(R(e.labelText, e.labelStyle, void 0, !0));
|
|
249
|
+
let h = g.getBBox();
|
|
250
|
+
if (N(t.flowchart.htmlLabels)) {
|
|
251
|
+
const d = g.children[0], s = G(g);
|
|
252
|
+
h = d.getBoundingClientRect(), s.attr("width", h.width), s.attr("height", h.height);
|
|
253
|
+
}
|
|
254
|
+
const f = 0 * e.padding, w = f / 2, p = e.width <= h.width + f ? h.width + f : e.width;
|
|
255
|
+
e.width <= h.width + f ? e.diff = (h.width - e.width) / 2 - e.padding / 2 : e.diff = -e.padding / 2, i.trace("Data ", e, JSON.stringify(e)), n.attr("style", e.style).attr("rx", e.rx).attr("ry", e.ry).attr("x", e.x - p / 2).attr("y", e.y - e.height / 2 - w).attr("width", p).attr("height", e.height + f);
|
|
256
|
+
const { subGraphTitleTopMargin: x } = B(t);
|
|
257
|
+
o ? c.attr(
|
|
258
|
+
"transform",
|
|
259
|
+
// This puts the labal on top of the box instead of inside it
|
|
260
|
+
`translate(${e.x - h.width / 2}, ${e.y - e.height / 2 + x})`
|
|
261
|
+
) : c.attr(
|
|
262
|
+
"transform",
|
|
263
|
+
// This puts the labal on top of the box instead of inside it
|
|
264
|
+
`translate(${e.x}, ${e.y - e.height / 2 + x})`
|
|
265
|
+
);
|
|
266
|
+
const v = n.node().getBBox();
|
|
267
|
+
return e.width = v.width, e.height = v.height, e.intersect = function(d) {
|
|
268
|
+
return T(e, d);
|
|
269
|
+
}, a;
|
|
270
|
+
}, de = (r, e) => {
|
|
271
|
+
const t = r.insert("g").attr("class", "note-cluster").attr("id", e.id), a = t.insert("rect", ":first-child"), n = 0 * e.padding, o = n / 2;
|
|
272
|
+
a.attr("rx", e.rx).attr("ry", e.ry).attr("x", e.x - e.width / 2 - o).attr("y", e.y - e.height / 2 - o).attr("width", e.width + n).attr("height", e.height + n).attr("fill", "none");
|
|
273
|
+
const c = a.node().getBBox();
|
|
274
|
+
return e.width = c.width, e.height = c.height, e.intersect = function(g) {
|
|
275
|
+
return T(e, g);
|
|
276
|
+
}, t;
|
|
277
|
+
}, se = (r, e) => {
|
|
278
|
+
const t = D(), a = r.insert("g").attr("class", e.classes).attr("id", e.id), n = a.insert("rect", ":first-child"), o = a.insert("g").attr("class", "cluster-label"), c = a.append("rect"), g = o.node().appendChild(R(e.labelText, e.labelStyle, void 0, !0));
|
|
279
|
+
let h = g.getBBox();
|
|
280
|
+
if (N(t.flowchart.htmlLabels)) {
|
|
281
|
+
const d = g.children[0], s = G(g);
|
|
282
|
+
h = d.getBoundingClientRect(), s.attr("width", h.width), s.attr("height", h.height);
|
|
283
|
+
}
|
|
284
|
+
h = g.getBBox();
|
|
285
|
+
const f = 0 * e.padding, w = f / 2, p = e.width <= h.width + e.padding ? h.width + e.padding : e.width;
|
|
286
|
+
e.width <= h.width + e.padding ? e.diff = (h.width + e.padding * 0 - e.width) / 2 : e.diff = -e.padding / 2, n.attr("class", "outer").attr("x", e.x - p / 2 - w).attr("y", e.y - e.height / 2 - w).attr("width", p + f).attr("height", e.height + f), c.attr("class", "inner").attr("x", e.x - p / 2 - w).attr("y", e.y - e.height / 2 - w + h.height - 1).attr("width", p + f).attr("height", e.height + f - h.height - 3);
|
|
287
|
+
const { subGraphTitleTopMargin: x } = B(t);
|
|
288
|
+
o.attr(
|
|
289
|
+
"transform",
|
|
290
|
+
`translate(${e.x - h.width / 2}, ${e.y - e.height / 2 - e.padding / 3 + (N(t.flowchart.htmlLabels) ? 5 : 3) + x})`
|
|
291
|
+
);
|
|
292
|
+
const v = n.node().getBBox();
|
|
293
|
+
return e.height = v.height, e.intersect = function(d) {
|
|
294
|
+
return T(e, d);
|
|
295
|
+
}, a;
|
|
296
|
+
}, le = (r, e) => {
|
|
297
|
+
const t = r.insert("g").attr("class", e.classes).attr("id", e.id), a = t.insert("rect", ":first-child"), n = 0 * e.padding, o = n / 2;
|
|
298
|
+
a.attr("class", "divider").attr("x", e.x - e.width / 2 - o).attr("y", e.y - e.height / 2).attr("width", e.width + n).attr("height", e.height + n);
|
|
299
|
+
const c = a.node().getBBox();
|
|
300
|
+
return e.width = c.width, e.height = c.height, e.diff = -e.padding / 2, e.intersect = function(g) {
|
|
301
|
+
return T(e, g);
|
|
302
|
+
}, t;
|
|
303
|
+
}, he = { rect: oe, roundedWithTitle: se, noteGroup: de, divider: le };
|
|
304
|
+
let P = {};
|
|
305
|
+
const ce = (r, e) => {
|
|
306
|
+
i.trace("Inserting cluster");
|
|
307
|
+
const t = e.shape || "rect";
|
|
308
|
+
P[e.id] = he[t](r, e);
|
|
309
|
+
}, ge = () => {
|
|
310
|
+
P = {};
|
|
311
|
+
}, M = async (r, e, t, a, n, o) => {
|
|
312
|
+
i.info("Graph in recursive render: XXX", y(e), n);
|
|
313
|
+
const c = e.graph().rankdir;
|
|
314
|
+
i.trace("Dir in recursive render - dir:", c);
|
|
315
|
+
const g = r.insert("g").attr("class", "root");
|
|
316
|
+
e.nodes() ? i.info("Recursive render XXX", e.nodes()) : i.info("No nodes found for", e), e.edges().length > 0 && i.trace("Recursive edges", e.edge(e.edges()[0]));
|
|
317
|
+
const h = g.insert("g").attr("class", "clusters"), f = g.insert("g").attr("class", "edgePaths"), w = g.insert("g").attr("class", "edgeLabels"), p = g.insert("g").attr("class", "nodes");
|
|
318
|
+
await Promise.all(
|
|
319
|
+
e.nodes().map(async function(d) {
|
|
320
|
+
const s = e.node(d);
|
|
321
|
+
if (n !== void 0) {
|
|
322
|
+
const m = JSON.parse(JSON.stringify(n.clusterData));
|
|
323
|
+
i.info("Setting data for cluster XXX (", d, ") ", m, n), e.setNode(n.id, m), e.parent(d) || (i.trace("Setting parent", d, n.id), e.setParent(d, n.id, m));
|
|
324
|
+
}
|
|
325
|
+
if (i.info("(Insert) Node XXX" + d + ": " + JSON.stringify(e.node(d))), s && s.clusterNode) {
|
|
326
|
+
i.info("Cluster identified", d, s.width, e.node(d));
|
|
327
|
+
const m = await M(
|
|
328
|
+
p,
|
|
329
|
+
s.graph,
|
|
330
|
+
t,
|
|
331
|
+
a,
|
|
332
|
+
e.node(d),
|
|
333
|
+
o
|
|
334
|
+
), b = m.elem;
|
|
335
|
+
H(s, b), s.diff = m.diff || 0, i.info("Node bounds (abc123)", d, s, s.width, s.x, s.y), W(b, s), i.warn("Recursive render complete ", b, s);
|
|
336
|
+
} else
|
|
337
|
+
e.children(d).length > 0 ? (i.info("Cluster - the non recursive path XXX", d, s.id, s, e), i.info(X(s.id, e)), l[s.id] = { id: X(s.id, e), node: s }) : (i.info("Node - the non recursive path", d, s.id, s), await q(p, e.node(d), c));
|
|
338
|
+
})
|
|
339
|
+
), e.edges().forEach(function(d) {
|
|
340
|
+
const s = e.edge(d.v, d.w, d.name);
|
|
341
|
+
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(d)), i.info("Edge " + d.v + " -> " + d.w + ": ", d, " ", JSON.stringify(e.edge(d))), i.info("Fix", l, "ids:", d.v, d.w, "Translateing: ", l[d.v], l[d.w]), z(w, s);
|
|
342
|
+
}), e.edges().forEach(function(d) {
|
|
343
|
+
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(d));
|
|
344
|
+
}), i.info("#############################################"), i.info("### Layout ###"), i.info("#############################################"), i.info(e), A(e), i.info("Graph after layout:", y(e));
|
|
345
|
+
let x = 0;
|
|
346
|
+
const { subGraphTitleTotalMargin: v } = B(o);
|
|
347
|
+
return ae(e).forEach(function(d) {
|
|
348
|
+
const s = e.node(d);
|
|
349
|
+
i.info("Position " + d + ": " + JSON.stringify(e.node(d))), i.info(
|
|
350
|
+
"Position " + d + ": (" + s.x,
|
|
351
|
+
"," + s.y,
|
|
352
|
+
") width: ",
|
|
353
|
+
s.width,
|
|
354
|
+
" height: ",
|
|
355
|
+
s.height
|
|
356
|
+
), s && s.clusterNode ? (s.y += v, O(s)) : e.children(d).length > 0 ? (s.height += v, ce(h, s), l[s.id].node = s) : (s.y += v / 2, O(s));
|
|
357
|
+
}), e.edges().forEach(function(d) {
|
|
358
|
+
const s = e.edge(d);
|
|
359
|
+
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(s), s), s.points.forEach((b) => b.y += v / 2);
|
|
360
|
+
const m = K(f, d, s, l, t, e, a);
|
|
361
|
+
Q(s, m);
|
|
362
|
+
}), e.nodes().forEach(function(d) {
|
|
363
|
+
const s = e.node(d);
|
|
364
|
+
i.info(d, s.type, s.diff), s.type === "group" && (x = s.diff);
|
|
365
|
+
}), { elem: g, diff: x };
|
|
366
|
+
}, me = async (r, e, t, a, n) => {
|
|
367
|
+
Z(r, t, a, n), V(), Y(), ge(), re(), i.warn("Graph at first:", JSON.stringify(y(e))), ie(e), i.warn("Graph after:", JSON.stringify(y(e)));
|
|
368
|
+
const o = D();
|
|
369
|
+
await M(r, e, a, n, void 0, o);
|
|
370
|
+
};
|
|
371
|
+
export {
|
|
372
|
+
me as b
|
|
373
|
+
};
|