dimcode-web 0.1.0-alpha.22 → 0.1.0-alpha.23
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/package.json +1 -1
- package/release-manifest.json +90 -90
- package/web/assets/{AccountSettings-DfRy4FKf.js → AccountSettings-KJxLwnAQ.js} +1 -1
- package/web/assets/{AgentSettings-BGscZ7XR.js → AgentSettings-AtjhW1u9.js} +1 -1
- package/web/assets/{AppearanceSettings-nOg3PQrY.js → AppearanceSettings-B2hfRF8G.js} +1 -1
- package/web/assets/{ArchivedSettings-CbHXLff1.js → ArchivedSettings-zfBiREJC.js} +1 -1
- package/web/assets/{CodeBlockNode-Bd39FF6a.js → CodeBlockNode-C0MXs3Mw.js} +2 -2
- package/web/assets/{DiagnosticsSettings-Bgvgfinf.js → DiagnosticsSettings-3WeumMYl.js} +1 -1
- package/web/assets/{McpSettings-5QWem-_Q.js → McpSettings-8O2EQkfU.js} +1 -1
- package/web/assets/{ModalitySettings-BYzKRZMq.js → ModalitySettings-qp9qr-DE.js} +1 -1
- package/web/assets/{PermissionsSettings-Djz5ej32.js → PermissionsSettings-DRaeZ5ry.js} +1 -1
- package/web/assets/{PluginSettings-DHTFs6A-.js → PluginSettings-B_YwUXUy.js} +1 -1
- package/web/assets/{PreCodeBlock-EmkuulAn.js → PreCodeBlock-ChATSWPq.js} +1 -1
- package/web/assets/{ProviderAuthFlow.vue_vue_type_script_setup_true_lang-BIKBfXEK.js → ProviderAuthFlow.vue_vue_type_script_setup_true_lang-BwVv780g.js} +1 -1
- package/web/assets/{ProviderSettings-X8I8ouBv.js → ProviderSettings-CxnpSWBK.js} +1 -1
- package/web/assets/{ScheduledSettings-UR7ruTuh.js → ScheduledSettings-CNSQQAYZ.js} +1 -1
- package/web/assets/{SettingsPage-C9it3TxZ.js → SettingsPage-DIs3PPbX.js} +1 -1
- package/web/assets/{SkillSettings-Cq_PJMAR.js → SkillSettings-BI01BTVt.js} +1 -1
- package/web/assets/{Tooltip-DtSQGS8r.js → Tooltip-ObkSf90_.js} +1 -1
- package/web/assets/{abnfDiagram-N423BO3Z-qdwpXweL.js → abnfDiagram-N423BO3Z-pIlACrRT.js} +1 -1
- package/web/assets/{arc-ChwiLyeJ.js → arc-agS2EdKv.js} +1 -1
- package/web/assets/{architectureDiagram-T3A2C74G-Vyp_SKKI.js → architectureDiagram-T3A2C74G-hrd9AvKA.js} +1 -1
- package/web/assets/{arrow-left-BMlp5p9I.js → arrow-left-DMez556f.js} +1 -1
- package/web/assets/{blockDiagram-VBNYF7ZC-fZhwbx9h.js → blockDiagram-VBNYF7ZC-BuKPFjea.js} +1 -1
- package/web/assets/{c4Diagram-5PPSVZJV-BReKAhqr.js → c4Diagram-5PPSVZJV-BXJhp8Sw.js} +1 -1
- package/web/assets/channel-BWOS3_Qf.js +1 -0
- package/web/assets/{chunk-2GRJ4B5K-D__y6Xbp.js → chunk-2GRJ4B5K-Cm6dqK-Y.js} +1 -1
- package/web/assets/{chunk-2Q5K7J3B-BlJ67aOM.js → chunk-2Q5K7J3B-C_-X-KAN.js} +1 -1
- package/web/assets/{chunk-5RXB4S5H-Cg9AJo3p.js → chunk-5RXB4S5H-D-NnfZGZ.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-BxLCysN6.js → chunk-5VM5RSS4-IJ_i-zuI.js} +1 -1
- package/web/assets/{chunk-6Q2QTUOP-6RWO61Fj.js → chunk-6Q2QTUOP-D3VQN0jj.js} +1 -1
- package/web/assets/{chunk-GF5L2VYU-DBllyN1t.js → chunk-GF5L2VYU-C2uoEo9L.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-D6QJRjk8.js → chunk-JWPE2WC7-B3JrwNpe.js} +1 -1
- package/web/assets/{chunk-KBJHAD2P-DfYkzODQ.js → chunk-KBJHAD2P-D0hr5xrP.js} +1 -1
- package/web/assets/{chunk-RYQCIY6F-VNHy2JaX.js → chunk-RYQCIY6F-SwL94E05.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-lViskce2.js → chunk-XXDRQBXY-Cwup4DJz.js} +1 -1
- package/web/assets/classDiagram-JCYQIIEL-BEjQaM9K.js +1 -0
- package/web/assets/classDiagram-v2-OCEON4UE-BEjQaM9K.js +1 -0
- package/web/assets/{clock-3-sBLTh51Q.js → clock-3-ZiStq2y-.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-BjDJgw9o.js → cose-bilkent-JH36ORCC-DFrmUkID.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-Dg8ugnPm.js → cynefin-OW5HDTMX-Co06-7f6.js} +1 -1
- package/web/assets/{cynefinDiagram-MW4NZA55-StQvxk_B.js → cynefinDiagram-MW4NZA55-Bu536scJ.js} +1 -1
- package/web/assets/{dagre-VZM6K2ZE-npNiKhDW.js → dagre-VZM6K2ZE-D4cHzDFq.js} +1 -1
- package/web/assets/{diagram-7IWD3JNH-CEe0yMOr.js → diagram-7IWD3JNH-oovM8Sc7.js} +1 -1
- package/web/assets/{diagram-B4RE2ZJO-wbBMiuFy.js → diagram-B4RE2ZJO-BdOdIOgB.js} +1 -1
- package/web/assets/{diagram-LBJQPF4R-D-yqGKHu.js → diagram-LBJQPF4R-CjfEUzok.js} +1 -1
- package/web/assets/{diagram-Q27KOJAE-CZ1J8Fa3.js → diagram-Q27KOJAE-C6AZJ1Do.js} +1 -1
- package/web/assets/{diagram-UB23O5K3-CP6a_Dy-.js → diagram-UB23O5K3-BUVY_zgS.js} +1 -1
- package/web/assets/{ebnfDiagram-BXEA7PRR-DbXYcw15.js → ebnfDiagram-BXEA7PRR-Bl_DPMOL.js} +1 -1
- package/web/assets/{erDiagram-JOGREHBK-DZGSjcRk.js → erDiagram-JOGREHBK-CjrdFPg3.js} +1 -1
- package/web/assets/{flowDiagram-UKHOOZJN-GtRlv81V.js → flowDiagram-UKHOOZJN-D9YAMCtz.js} +1 -1
- package/web/assets/{ganttDiagram-PKOTCBZU-De6F04m9.js → ganttDiagram-PKOTCBZU-BZjsjDEI.js} +1 -1
- package/web/assets/{gitGraphDiagram-DS77QQ5N-CZ3i_iEx.js → gitGraphDiagram-DS77QQ5N-DmJzxq0N.js} +1 -1
- package/web/assets/{index-CQZ6OdDB.js → index-6bKx5FLu.js} +5 -5
- package/web/assets/{index-CgdK2dbO.js → index-BEYRi-K7.js} +1 -1
- package/web/assets/{index-B0IMqptZ.css → index-Bkes3xCC.css} +1 -1
- package/web/assets/index-Dx0dig4j.js +251 -0
- package/web/assets/{index10-CkpIXeMb.js → index10-BwtjQn99.js} +1 -1
- package/web/assets/{index5-G_HeS3bg.js → index5-7Gb8JgnB.js} +1 -1
- package/web/assets/{index6-CCaL2o_-.js → index6-CtKexy1_.js} +1 -1
- package/web/assets/{index8-BkoNmFNP.js → index8-VR16_ODJ.js} +1 -1
- package/web/assets/{index9-DUMryx9I.js → index9-_nJa0ns1.js} +1 -1
- package/web/assets/{infoDiagram-6WML65LV-H-vWlHOC.js → infoDiagram-6WML65LV-BRlxsenA.js} +1 -1
- package/web/assets/{ishikawaDiagram-WSZJBQD7-COnBf46l.js → ishikawaDiagram-WSZJBQD7-Dn2JFwxS.js} +1 -1
- package/web/assets/{journeyDiagram-NVQOT4AX-BVq-AIkO.js → journeyDiagram-NVQOT4AX-B6oYvZJd.js} +1 -1
- package/web/assets/{kanban-definition-27J2QSJJ-BOWGegaK.js → kanban-definition-27J2QSJJ-Bv0r7KvM.js} +1 -1
- package/web/assets/{linear-C4I5GRhh.js → linear-tKjbaK9-.js} +1 -1
- package/web/assets/{markstream-Wa42oKS7.js → markstream-BjjYM-oL.js} +2 -2
- package/web/assets/{mermaid.core-DA741hV3.js → mermaid.core-B51U-Fe_.js} +4 -4
- package/web/assets/{mindmap-definition-FAOFIHXS-BfX7X_XE.js → mindmap-definition-FAOFIHXS-7Mnvm5Ff.js} +1 -1
- package/web/assets/{pegDiagram-VL7TDLO6-DfDvda36.js → pegDiagram-VL7TDLO6-D_NG6zax.js} +1 -1
- package/web/assets/{pieDiagram-7S7Q4E2Y-Cxikr8aP.js → pieDiagram-7S7Q4E2Y-CjKiVkku.js} +1 -1
- package/web/assets/{quadrantDiagram-CIZ2JOQS-DuXnmlyL.js → quadrantDiagram-CIZ2JOQS-CJUGbKH_.js} +1 -1
- package/web/assets/{railroadDiagram-AXF67PYL-BvcEt9iN.js → railroadDiagram-AXF67PYL-DG1bLqc1.js} +1 -1
- package/web/assets/{refresh-cw-DlGPfj-W.js → refresh-cw-DjhCdimB.js} +1 -1
- package/web/assets/{requirementDiagram-LRYGKXZP-DZ4YxhJD.js → requirementDiagram-LRYGKXZP-D56CPqbp.js} +1 -1
- package/web/assets/{sankeyDiagram-W5VNT64P-DemPNZFM.js → sankeyDiagram-W5VNT64P-DZ2GHKGE.js} +1 -1
- package/web/assets/{sequenceDiagram-SI44F4Z6-BNpurukn.js → sequenceDiagram-SI44F4Z6-J_TEZjUz.js} +1 -1
- package/web/assets/{sizeCapture-X5ZJPWSS-CD_Ma_i5.js → sizeCapture-X5ZJPWSS-Cz7_0YL6.js} +1 -1
- package/web/assets/{stateDiagram-OKZ733FA-D5Vl7wY4.js → stateDiagram-OKZ733FA-DXh9K0Bi.js} +1 -1
- package/web/assets/stateDiagram-v2-UEYNNEHI-iBah7iBd.js +1 -0
- package/web/assets/{swimlanes-SLNWSIFB-11a6daOW.js → swimlanes-SLNWSIFB-I9_WGhlP.js} +2 -2
- package/web/assets/swimlanesDiagram-ULZ7WXOC-Bh3nmJRl.js +8 -0
- package/web/assets/{timeline-definition-Z64GVDOM-BNaFzezx.js → timeline-definition-Z64GVDOM-BFlT-0N5.js} +1 -1
- package/web/assets/{vennDiagram-T6HMQDX7-4AwbW_28.js → vennDiagram-T6HMQDX7-C8ase2Ip.js} +1 -1
- package/web/assets/{wardleyDiagram-T6FBY63Y-BWyaxS7T.js → wardleyDiagram-T6FBY63Y-mTJRmNI-.js} +1 -1
- package/web/assets/{xychartDiagram-ELKLHX3M-C6V-W4Q7.js → xychartDiagram-ELKLHX3M-DnizrE8y.js} +1 -1
- package/web/assets/{zh-CN-CJTbN_T1.js → zh-CN-C34hOQsk.js} +1 -1
- package/web/dimcode-web.json +2 -2
- package/web/index.html +2 -2
- package/web/assets/channel-X_ahm7Fy.js +0 -1
- package/web/assets/classDiagram-JCYQIIEL-T6C1c80a.js +0 -1
- package/web/assets/classDiagram-v2-OCEON4UE-T6C1c80a.js +0 -1
- package/web/assets/index-CGK2yaFp.js +0 -249
- package/web/assets/stateDiagram-v2-UEYNNEHI-BDZMJq1f.js +0 -1
- package/web/assets/swimlanesDiagram-ULZ7WXOC-NysPA9eU.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-BpR8Pn47.js","assets/html-GMplVEZG.js","assets/javascript-wDzz0qaB.js","assets/css-DPfMkruS.js","assets/cpp-B-lmv-kZ.js","assets/regexp-CDVJQ6XC.js","assets/c-BIGW1oBm.js","assets/sql-BLtJtn59.js","assets/elixir-CDX3lj18.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/graphql-ChdNCCLP.js","assets/typescript-BPQ3VLAy.js","assets/jsx-g9-lgVsj.js","assets/tsx-COt5Ahok.js","assets/latex-CR2LgHuU.js","assets/r-Dspwwk_N.js","assets/lua-BaeVxFsk.js","assets/nginx-BpAMiNFr.js","assets/perl-C0TMdlhV.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/php-Dhbhpdrm.js","assets/json-Cp-IABpG.js","assets/ruby-BymL1q8G.js","assets/shellscript-Yzrsuije.js","assets/yaml-Buea-lGh.js","assets/scss-OYdSNvt2.js","assets/svelte-DZMnMd3x.js","assets/vue-DVfSmUF7.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var Vc=Object.defineProperty;var Gc=Object.getPrototypeOf;var Wc=Reflect.get;var ro=t=>{throw TypeError(t)};var jc=(t,e,n)=>e in t?Vc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var g=(t,e,n)=>jc(t,typeof e!="symbol"?e+"":e,n),lr=(t,e,n)=>e.has(t)||ro("Cannot "+n);var ge=(t,e,n)=>(lr(t,e,"read from private field"),n?n.call(t):e.get(t)),kt=(t,e,n)=>e.has(t)?ro("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),ze=(t,e,n,i)=>(lr(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),dr=(t,e,n)=>(lr(t,e,"access private method"),n);var so=(t,e,n)=>Wc(Gc(t),n,e);import{_ as L}from"./index-CGK2yaFp.js";import"./vendor-vue-BSuwZuJF.js";const al="diffs-container",qc=(()=>{try{return!1}catch{return!1}})(),Kc=/(?=^From [a-f0-9]+ .+$)/m,ll=/(?=^diff --git)/gm,cS=/(?=^---\s+\S)/gm,uS=/(?=^@@ )/gm,Xc=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@(?: (.*))?/m,Yc=new RegExp("(?<=\\n)"),Qc=/^(---|\+\+\+)\s+([^\t\r\n]+)/,Zc=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i,hS=/^<{7,}(?:\s.*)?$/,fS=/^\|{7,}(?:\s.*)?$/,pS=/^={7,}$/,gS=/^>{7,}(?:\s.*)?$/,ws="header-prefix",xs="header-filename-suffix",ks="header-metadata",Ls="header-custom",j={dark:"pierre-dark",light:"pierre-light"},dl="data-theme-css",cl="data-unsafe-css",Jc="data-core-css",eu="data-diffs-scrollbar-measure",tu="data-diffs-code-view-header",nu="data-diffs-code-view-footer",ul="--diffs-scrollbar-gutter-measured",mS=1,iu=1e5,Es={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,spacing:8},mn={...Es,hunkLineCount:1},ru={paddingTop:8,paddingBottom:8,gap:8},su={omega:.015,positionEpsilon:.5,velocityEpsilon:.05},ou=Object.freeze({fromStart:0,fromEnd:0}),Jt={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},hl={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0},wt=new Map,cr=new Map,Gr=new Map,Ri=new Set;function An(t){for(const e of Array.isArray(t)?t:[t])if(!(e==="text"||e==="ansi")&&!Ri.has(e))return!1;return!0}function oo(t,e){t=Array.isArray(t)?t:[t];for(const n of t){if(Ri.has(n.name))continue;let i=wt.get(n.name);i==null&&(i=n,wt.set(n.name,i));const r=i.data.find(s=>{var o;return s.name===i.name||((o=s.aliases)==null?void 0:o.includes(i.name))===!0});if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${i.name}" as its name or an alias.`);e.loadLanguageSync(i.data);try{e.getLanguage(i.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${i.name}". Load the alias first or give the grammar a unique name.`)}Ri.add(i.name)}}function au(){wt.clear(),Ri.clear()}function fl(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}let J=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function lu(t){return Rs(t)}function Rs(t){return Array.isArray(t)?du(t):t instanceof RegExp?t:typeof t=="object"?cu(t):t}function du(t){let e=[];for(let n=0,i=t.length;n<i;n++)e[n]=Rs(t[n]);return e}function cu(t){let e={};for(let n in t)e[n]=Rs(t[n]);return e}function pl(t,...e){return e.forEach(n=>{for(let i in n)t[i]=n[i]}),t}function gl(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?gl(t.substring(0,t.length-1)):t.substr(~e+1)}var ur=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Kn=class{static hasCaptures(t){return t===null?!1:(ur.lastIndex=0,ur.test(t))}static replaceCaptures(t,e,n){return t.replace(ur,(i,r,s,o)=>{let l=n[parseInt(r||s,10)];if(l){let a=e.substring(l.start,l.end);for(;a[0]===".";)a=a.substring(1);switch(o){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return i})}};function ml(t,e){return t<e?-1:t>e?1:0}function yl(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,i=e.length;if(n===i){for(let r=0;r<n;r++){let s=ml(t[r],e[r]);if(s!==0)return s}return 0}return n-i}function ao(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function vl(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Cl=class{constructor(t){g(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},_i=class{constructor(t,e,n){g(this,"_cachedMatchRoot",new Cl(t=>this._root.match(t)));this._colorMap=t,this._defaults=e,this._root=n}static createFromRawTheme(t,e){return this.createFromParsedTheme(fu(t),e)}static createFromParsedTheme(t,e){return gu(t,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,i=this._cachedMatchRoot.get(e).find(r=>uu(t.parent,r.parentScopes));return i?new Sl(i.fontStyle,i.foreground,i.background):null}},hr=class vi{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const i of n)e=new vi(e,i);return e}static from(...e){let n=null;for(let i=0;i<e.length;i++)n=new vi(n,e[i]);return n}push(e){return new vi(this,e)}getSegments(){let e=this;const n=[];for(;e;)n.push(e.scopeName),e=e.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const n=[];let i=this;for(;i&&i!==e;)n.push(i.scopeName),i=i.parent;return i===e?n.reverse():void 0}};function uu(t,e){if(e.length===0)return!0;for(let n=0;n<e.length;n++){let i=e[n],r=!1;if(i===">"){if(n===e.length-1)return!1;i=e[++n],r=!0}for(;t&&!hu(t.scopeName,i);){if(r)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function hu(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var Sl=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function fu(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],i=0;for(let r=0,s=e.length;r<s;r++){let o=e[r];if(!o.settings)continue;let l;if(typeof o.scope=="string"){let u=o.scope;u=u.replace(/^[,]+/,""),u=u.replace(/[,]+$/,""),l=u.split(",")}else Array.isArray(o.scope)?l=o.scope:l=[""];let a=-1;if(typeof o.settings.fontStyle=="string"){a=0;let u=o.settings.fontStyle.split(" ");for(let h=0,f=u.length;h<f;h++)switch(u[h]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let d=null;typeof o.settings.foreground=="string"&&ao(o.settings.foreground)&&(d=o.settings.foreground);let c=null;typeof o.settings.background=="string"&&ao(o.settings.background)&&(c=o.settings.background);for(let u=0,h=l.length;u<h;u++){let p=l[u].trim().split(" "),y=p[p.length-1],v=null;p.length>1&&(v=p.slice(0,p.length-1),v.reverse()),n[i++]=new pu(y,v,r,a,d,c)}}return n}var pu=class{constructor(t,e,n,i,r,s){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=i,this.foreground=r,this.background=s}},fe=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))(fe||{});function gu(t,e){t.sort((a,d)=>{let c=ml(a.scope,d.scope);return c!==0||(c=yl(a.parentScopes,d.parentScopes),c!==0)?c:a.index-d.index});let n=0,i="#000000",r="#ffffff";for(;t.length>=1&&t[0].scope==="";){let a=t.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(i=a.foreground),a.background!==null&&(r=a.background)}let s=new mu(e),o=new Sl(n,s.getId(i),s.getId(r)),l=new vu(new Wr(0,null,-1,0,0),[]);for(let a=0,d=t.length;a<d;a++){let c=t[a];l.insert(0,c.scope,c.parentScopes,c.fontStyle,s.getId(c.foreground),s.getId(c.background))}return new _i(s,o,l)}var mu=class{constructor(t){g(this,"_isFrozen");g(this,"_lastColorId");g(this,"_id2color");g(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},yu=Object.freeze([]),Wr=class bl{constructor(e,n,i,r,s){g(this,"scopeDepth");g(this,"parentScopes");g(this,"fontStyle");g(this,"foreground");g(this,"background");this.scopeDepth=e,this.parentScopes=n||yu,this.fontStyle=i,this.foreground=r,this.background=s}clone(){return new bl(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let n=[];for(let i=0,r=e.length;i<r;i++)n[i]=e[i].clone();return n}acceptOverwrite(e,n,i,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),i!==0&&(this.foreground=i),r!==0&&(this.background=r)}},vu=class jr{constructor(e,n=[],i={}){g(this,"_rulesWithParentScopes");this._mainRule=e,this._children=i,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let i=0,r=0;for(;e.parentScopes[i]===">"&&i++,n.parentScopes[r]===">"&&r++,!(i>=e.parentScopes.length||r>=n.parentScopes.length);){const s=n.parentScopes[r].length-e.parentScopes[i].length;if(s!==0)return s;i++,r++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),r,s;if(i===-1?(r=e,s=""):(r=e.substring(0,i),s=e.substring(i+1)),this._children.hasOwnProperty(r))return this._children[r].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(jr._cmpBySpecificity),n}insert(e,n,i,r,s,o){if(n===""){this._doInsertHere(e,i,r,s,o);return}let l=n.indexOf("."),a,d;l===-1?(a=n,d=""):(a=n.substring(0,l),d=n.substring(l+1));let c;this._children.hasOwnProperty(a)?c=this._children[a]:(c=new jr(this._mainRule.clone(),Wr.cloneArr(this._rulesWithParentScopes)),this._children[a]=c),c.insert(e+1,d,i,r,s,o)}_doInsertHere(e,n,i,r,s){if(n===null){this._mainRule.acceptOverwrite(e,i,r,s);return}for(let o=0,l=this._rulesWithParentScopes.length;o<l;o++){let a=this._rulesWithParentScopes[o];if(yl(a.parentScopes,n)===0){a.acceptOverwrite(e,i,r,s);return}}i===-1&&(i=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Wr(e,n,i,r,s))}},en=class De{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const n=De.getLanguageId(e),i=De.getTokenType(e),r=De.getFontStyle(e),s=De.getForeground(e),o=De.getBackground(e);console.log({languageId:n,tokenType:i,fontStyle:r,foreground:s,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,i,r,s,o,l){let a=De.getLanguageId(e),d=De.getTokenType(e),c=De.containsBalancedBrackets(e)?1:0,u=De.getFontStyle(e),h=De.getForeground(e),f=De.getBackground(e);return n!==0&&(a=n),i!==8&&(d=i),r!==null&&(c=r?1:0),s!==-1&&(u=s),o!==0&&(h=o),l!==0&&(f=l),(a<<0|d<<8|c<<10|u<<11|h<<15|f<<24)>>>0}};function Ti(t,e){const n=[],i=Cu(t);let r=i.next();for(;r!==null;){let a=0;if(r.length===2&&r.charAt(1)===":"){switch(r.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${r} in scope selector`)}r=i.next()}let d=o();if(n.push({matcher:d,priority:a}),r!==",")break;r=i.next()}return n;function s(){if(r==="-"){r=i.next();const a=s();return d=>!!a&&!a(d)}if(r==="("){r=i.next();const a=l();return r===")"&&(r=i.next()),a}if(lo(r)){const a=[];do a.push(r),r=i.next();while(lo(r));return d=>e(a,d)}return null}function o(){const a=[];let d=s();for(;d;)a.push(d),d=s();return c=>a.every(u=>u(c))}function l(){const a=[];let d=o();for(;d&&(a.push(d),r==="|"||r===",");){do r=i.next();while(r==="|"||r===",");d=o()}return c=>a.some(u=>u(c))}}function lo(t){return!!t&&!!t.match(/[\w\.:]+/)}function Cu(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const i=n[0];return n=e.exec(t),i}}}function wl(t){typeof t.dispose=="function"&&t.dispose()}var Pn=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},Su=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},bu=class{constructor(){g(this,"_references",[]);g(this,"_seenReferenceKeys",new Set);g(this,"visitedRule",new Set)}get references(){return this._references}add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},wu=class{constructor(t,e){g(this,"seenFullScopeRequests",new Set);g(this,"seenPartialScopeRequests",new Set);g(this,"Q");this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Pn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const e=new bu;for(const n of t)xu(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Pn){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function xu(t,e,n,i){const r=n.lookup(t.scopeName);if(!r){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const s=n.lookup(e);t instanceof Pn?Ci({baseGrammar:s,selfGrammar:r},i):qr(t.ruleName,{baseGrammar:s,selfGrammar:r,repository:r.repository},i);const o=n.injections(t.scopeName);if(o)for(const l of o)i.add(new Pn(l))}function qr(t,e,n){if(e.repository&&e.repository[t]){const i=e.repository[t];Ii([i],e,n)}}function Ci(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&Ii(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&Ii(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function Ii(t,e,n){for(const i of t){if(n.visitedRule.has(i))continue;n.visitedRule.add(i);const r=i.repository?pl({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ii(i.patterns,{...e,repository:r},n);const s=i.include;if(!s)continue;const o=xl(s);switch(o.kind){case 0:Ci({...e,selfGrammar:e.baseGrammar},n);break;case 1:Ci(e,n);break;case 2:qr(o.ruleName,{...e,repository:r},n);break;case 3:case 4:const l=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(l){const a={baseGrammar:e.baseGrammar,selfGrammar:l,repository:r};o.kind===4?qr(o.ruleName,a,n):Ci(a,n)}else o.kind===4?n.add(new Su(o.scopeName,o.ruleName)):n.add(new Pn(o.scopeName));break}}}var ku=class{constructor(){g(this,"kind",0)}},Lu=class{constructor(){g(this,"kind",1)}},Eu=class{constructor(t){g(this,"kind",2);this.ruleName=t}},Ru=class{constructor(t){g(this,"kind",3);this.scopeName=t}},_u=class{constructor(t,e){g(this,"kind",4);this.scopeName=t,this.ruleName=e}};function xl(t){if(t==="$base")return new ku;if(t==="$self")return new Lu;const e=t.indexOf("#");if(e===-1)return new Ru(t);if(e===0)return new Eu(t.substring(1));{const n=t.substring(0,e),i=t.substring(e+1);return new _u(n,i)}}var Tu=/\\(\d+)/,co=/\\(\d+)/g,Iu=-1,kl=-2;var Wn=class{constructor(t,e,n,i){g(this,"$location");g(this,"id");g(this,"_nameIsCapturing");g(this,"_name");g(this,"_contentNameIsCapturing");g(this,"_contentName");this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=Kn.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Kn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${gl(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:Kn.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Kn.replaceCaptures(this._contentName,t,e)}},Au=class extends Wn{constructor(e,n,i,r,s){super(e,n,i,r);g(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,n){throw new Error("Not supported!")}compile(e,n){throw new Error("Not supported!")}compileAG(e,n,i,r){throw new Error("Not supported!")}},Pu=class extends Wn{constructor(e,n,i,r,s){super(e,n,i,null);g(this,"_match");g(this,"captures");g(this,"_cachedCompiledPatterns");this._match=new Mn(r,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,n){n.push(this._match)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e).compileAG(e,i,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Dn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},uo=class extends Wn{constructor(e,n,i,r,s){super(e,n,i,r);g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,n){for(const i of this.patterns)e.getRule(i).collectPatterns(e,n)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e).compileAG(e,i,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Dn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Kr=class extends Wn{constructor(e,n,i,r,s,o,l,a,d,c){super(e,n,i,r);g(this,"_begin");g(this,"beginCaptures");g(this,"_end");g(this,"endHasBackReferences");g(this,"endCaptures");g(this,"applyEndPatternLast");g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");this._begin=new Mn(s,this.id),this.beginCaptures=o,this._end=new Mn(l||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=d||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,n){return this._end.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e,n).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e,n).compileAG(e,i,r)}_getCachedCompiledPatterns(e,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Dn;for(const i of this.patterns)e.getRule(i).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},Ai=class extends Wn{constructor(e,n,i,r,s,o,l,a,d){super(e,n,i,r);g(this,"_begin");g(this,"beginCaptures");g(this,"whileCaptures");g(this,"_while");g(this,"whileHasBackReferences");g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");g(this,"_cachedCompiledWhilePatterns");this._begin=new Mn(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new Mn(l,kl),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,n){return this._while.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e).compileAG(e,i,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Dn;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,n){return this._getCachedCompiledWhilePatterns(e,n).compile(e)}compileWhileAG(e,n,i,r){return this._getCachedCompiledWhilePatterns(e,n).compileAG(e,i,r)}_getCachedCompiledWhilePatterns(e,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Dn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},Ll=class ce{static createCaptureRule(e,n,i,r,s){return e.registerRule(o=>new Au(n,o,i,r,s))}static getCompiledRuleId(e,n,i){return e.id||n.registerRule(r=>{if(e.id=r,e.match)return new Pu(e.$vscodeTextmateLocation,e.id,e.name,e.match,ce._compileCaptures(e.captures,n,i));if(typeof e.begin>"u"){e.repository&&(i=pl({},i,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new uo(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,ce._compilePatterns(s,n,i))}return e.while?new Ai(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,ce._compileCaptures(e.beginCaptures||e.captures,n,i),e.while,ce._compileCaptures(e.whileCaptures||e.captures,n,i),ce._compilePatterns(e.patterns,n,i)):new Kr(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,ce._compileCaptures(e.beginCaptures||e.captures,n,i),e.end,ce._compileCaptures(e.endCaptures||e.captures,n,i),e.applyEndPatternLast,ce._compilePatterns(e.patterns,n,i))}),e.id}static _compileCaptures(e,n,i){let r=[];if(e){let s=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const l=parseInt(o,10);l>s&&(s=l)}for(let o=0;o<=s;o++)r[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const l=parseInt(o,10);let a=0;e[o].patterns&&(a=ce.getCompiledRuleId(e[o],n,i)),r[l]=ce.createCaptureRule(n,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,a)}}return r}static _compilePatterns(e,n,i){let r=[];if(e)for(let s=0,o=e.length;s<o;s++){const l=e[s];let a=-1;if(l.include){const d=xl(l.include);switch(d.kind){case 0:case 1:a=ce.getCompiledRuleId(i[l.include],n,i);break;case 2:let c=i[d.ruleName];c&&(a=ce.getCompiledRuleId(c,n,i));break;case 3:case 4:const u=d.scopeName,h=d.kind===4?d.ruleName:null,f=n.getExternalGrammar(u,i);if(f)if(h){let p=f.repository[h];p&&(a=ce.getCompiledRuleId(p,n,f.repository))}else a=ce.getCompiledRuleId(f.repository.$self,n,f.repository);break}}else a=ce.getCompiledRuleId(l,n,i);if(a!==-1){const d=n.getRule(a);let c=!1;if((d instanceof uo||d instanceof Kr||d instanceof Ai)&&d.hasMissingPatterns&&d.patterns.length===0&&(c=!0),c)continue;r.push(a)}}return{patterns:r,hasMissingPatterns:(e?e.length:0)!==r.length}}},Mn=class El{constructor(e,n){g(this,"source");g(this,"ruleId");g(this,"hasAnchor");g(this,"hasBackReferences");g(this,"_anchorCache");if(e&&typeof e=="string"){const i=e.length;let r=0,s=[],o=!1;for(let l=0;l<i;l++)if(e.charAt(l)==="\\"&&l+1<i){const d=e.charAt(l+1);d==="z"?(s.push(e.substring(r,l)),s.push("$(?!\\n)(?<!\\n)"),r=l+2):(d==="A"||d==="G")&&(o=!0),l++}this.hasAnchor=o,r===0?this.source=e:(s.push(e.substring(r,i)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Tu.test(this.source):this.hasBackReferences=!1}clone(){return new El(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let i=n.map(r=>e.substring(r.start,r.end));return co.lastIndex=0,this.source.replace(co,(r,s)=>vl(i[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],i=[],r=[],s,o,l,a;for(s=0,o=this.source.length;s<o;s++)l=this.source.charAt(s),e[s]=l,n[s]=l,i[s]=l,r[s]=l,l==="\\"&&s+1<o&&(a=this.source.charAt(s+1),a==="A"?(e[s+1]="",n[s+1]="",i[s+1]="A",r[s+1]="A"):a==="G"?(e[s+1]="",n[s+1]="G",i[s+1]="",r[s+1]="G"):(e[s+1]=a,n[s+1]=a,i[s+1]=a,r[s+1]=a),s++);return{A0_G0:e.join(""),A0_G1:n.join(""),A1_G0:i.join(""),A1_G1:r.join("")}}resolveAnchors(e,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Dn=class{constructor(){g(this,"_items");g(this,"_hasAnchors");g(this,"_cached");g(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new ho(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let i=this._items.map(r=>r.resolveAnchors(e,n));return new ho(t,i,this._items.map(r=>r.ruleId))}},ho=class{constructor(t,e,n){g(this,"scanner");this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e<n;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
|
|
2
|
+
var Vc=Object.defineProperty;var Gc=Object.getPrototypeOf;var Wc=Reflect.get;var ro=t=>{throw TypeError(t)};var jc=(t,e,n)=>e in t?Vc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var g=(t,e,n)=>jc(t,typeof e!="symbol"?e+"":e,n),lr=(t,e,n)=>e.has(t)||ro("Cannot "+n);var ge=(t,e,n)=>(lr(t,e,"read from private field"),n?n.call(t):e.get(t)),kt=(t,e,n)=>e.has(t)?ro("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),ze=(t,e,n,i)=>(lr(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),dr=(t,e,n)=>(lr(t,e,"access private method"),n);var so=(t,e,n)=>Wc(Gc(t),n,e);import{_ as L}from"./index-Dx0dig4j.js";import"./vendor-vue-BSuwZuJF.js";const al="diffs-container",qc=(()=>{try{return!1}catch{return!1}})(),Kc=/(?=^From [a-f0-9]+ .+$)/m,ll=/(?=^diff --git)/gm,cS=/(?=^---\s+\S)/gm,uS=/(?=^@@ )/gm,Xc=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@(?: (.*))?/m,Yc=new RegExp("(?<=\\n)"),Qc=/^(---|\+\+\+)\s+([^\t\r\n]+)/,Zc=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i,hS=/^<{7,}(?:\s.*)?$/,fS=/^\|{7,}(?:\s.*)?$/,pS=/^={7,}$/,gS=/^>{7,}(?:\s.*)?$/,ws="header-prefix",xs="header-filename-suffix",ks="header-metadata",Ls="header-custom",j={dark:"pierre-dark",light:"pierre-light"},dl="data-theme-css",cl="data-unsafe-css",Jc="data-core-css",eu="data-diffs-scrollbar-measure",tu="data-diffs-code-view-header",nu="data-diffs-code-view-footer",ul="--diffs-scrollbar-gutter-measured",mS=1,iu=1e5,Es={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,spacing:8},mn={...Es,hunkLineCount:1},ru={paddingTop:8,paddingBottom:8,gap:8},su={omega:.015,positionEpsilon:.5,velocityEpsilon:.05},ou=Object.freeze({fromStart:0,fromEnd:0}),Jt={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},hl={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0},wt=new Map,cr=new Map,Gr=new Map,Ri=new Set;function An(t){for(const e of Array.isArray(t)?t:[t])if(!(e==="text"||e==="ansi")&&!Ri.has(e))return!1;return!0}function oo(t,e){t=Array.isArray(t)?t:[t];for(const n of t){if(Ri.has(n.name))continue;let i=wt.get(n.name);i==null&&(i=n,wt.set(n.name,i));const r=i.data.find(s=>{var o;return s.name===i.name||((o=s.aliases)==null?void 0:o.includes(i.name))===!0});if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${i.name}" as its name or an alias.`);e.loadLanguageSync(i.data);try{e.getLanguage(i.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${i.name}". Load the alias first or give the grammar a unique name.`)}Ri.add(i.name)}}function au(){wt.clear(),Ri.clear()}function fl(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}let J=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function lu(t){return Rs(t)}function Rs(t){return Array.isArray(t)?du(t):t instanceof RegExp?t:typeof t=="object"?cu(t):t}function du(t){let e=[];for(let n=0,i=t.length;n<i;n++)e[n]=Rs(t[n]);return e}function cu(t){let e={};for(let n in t)e[n]=Rs(t[n]);return e}function pl(t,...e){return e.forEach(n=>{for(let i in n)t[i]=n[i]}),t}function gl(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?gl(t.substring(0,t.length-1)):t.substr(~e+1)}var ur=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Kn=class{static hasCaptures(t){return t===null?!1:(ur.lastIndex=0,ur.test(t))}static replaceCaptures(t,e,n){return t.replace(ur,(i,r,s,o)=>{let l=n[parseInt(r||s,10)];if(l){let a=e.substring(l.start,l.end);for(;a[0]===".";)a=a.substring(1);switch(o){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return i})}};function ml(t,e){return t<e?-1:t>e?1:0}function yl(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,i=e.length;if(n===i){for(let r=0;r<n;r++){let s=ml(t[r],e[r]);if(s!==0)return s}return 0}return n-i}function ao(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function vl(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Cl=class{constructor(t){g(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},_i=class{constructor(t,e,n){g(this,"_cachedMatchRoot",new Cl(t=>this._root.match(t)));this._colorMap=t,this._defaults=e,this._root=n}static createFromRawTheme(t,e){return this.createFromParsedTheme(fu(t),e)}static createFromParsedTheme(t,e){return gu(t,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,i=this._cachedMatchRoot.get(e).find(r=>uu(t.parent,r.parentScopes));return i?new Sl(i.fontStyle,i.foreground,i.background):null}},hr=class vi{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const i of n)e=new vi(e,i);return e}static from(...e){let n=null;for(let i=0;i<e.length;i++)n=new vi(n,e[i]);return n}push(e){return new vi(this,e)}getSegments(){let e=this;const n=[];for(;e;)n.push(e.scopeName),e=e.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const n=[];let i=this;for(;i&&i!==e;)n.push(i.scopeName),i=i.parent;return i===e?n.reverse():void 0}};function uu(t,e){if(e.length===0)return!0;for(let n=0;n<e.length;n++){let i=e[n],r=!1;if(i===">"){if(n===e.length-1)return!1;i=e[++n],r=!0}for(;t&&!hu(t.scopeName,i);){if(r)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function hu(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var Sl=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function fu(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],i=0;for(let r=0,s=e.length;r<s;r++){let o=e[r];if(!o.settings)continue;let l;if(typeof o.scope=="string"){let u=o.scope;u=u.replace(/^[,]+/,""),u=u.replace(/[,]+$/,""),l=u.split(",")}else Array.isArray(o.scope)?l=o.scope:l=[""];let a=-1;if(typeof o.settings.fontStyle=="string"){a=0;let u=o.settings.fontStyle.split(" ");for(let h=0,f=u.length;h<f;h++)switch(u[h]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let d=null;typeof o.settings.foreground=="string"&&ao(o.settings.foreground)&&(d=o.settings.foreground);let c=null;typeof o.settings.background=="string"&&ao(o.settings.background)&&(c=o.settings.background);for(let u=0,h=l.length;u<h;u++){let p=l[u].trim().split(" "),y=p[p.length-1],v=null;p.length>1&&(v=p.slice(0,p.length-1),v.reverse()),n[i++]=new pu(y,v,r,a,d,c)}}return n}var pu=class{constructor(t,e,n,i,r,s){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=i,this.foreground=r,this.background=s}},fe=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))(fe||{});function gu(t,e){t.sort((a,d)=>{let c=ml(a.scope,d.scope);return c!==0||(c=yl(a.parentScopes,d.parentScopes),c!==0)?c:a.index-d.index});let n=0,i="#000000",r="#ffffff";for(;t.length>=1&&t[0].scope==="";){let a=t.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(i=a.foreground),a.background!==null&&(r=a.background)}let s=new mu(e),o=new Sl(n,s.getId(i),s.getId(r)),l=new vu(new Wr(0,null,-1,0,0),[]);for(let a=0,d=t.length;a<d;a++){let c=t[a];l.insert(0,c.scope,c.parentScopes,c.fontStyle,s.getId(c.foreground),s.getId(c.background))}return new _i(s,o,l)}var mu=class{constructor(t){g(this,"_isFrozen");g(this,"_lastColorId");g(this,"_id2color");g(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},yu=Object.freeze([]),Wr=class bl{constructor(e,n,i,r,s){g(this,"scopeDepth");g(this,"parentScopes");g(this,"fontStyle");g(this,"foreground");g(this,"background");this.scopeDepth=e,this.parentScopes=n||yu,this.fontStyle=i,this.foreground=r,this.background=s}clone(){return new bl(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let n=[];for(let i=0,r=e.length;i<r;i++)n[i]=e[i].clone();return n}acceptOverwrite(e,n,i,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),i!==0&&(this.foreground=i),r!==0&&(this.background=r)}},vu=class jr{constructor(e,n=[],i={}){g(this,"_rulesWithParentScopes");this._mainRule=e,this._children=i,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let i=0,r=0;for(;e.parentScopes[i]===">"&&i++,n.parentScopes[r]===">"&&r++,!(i>=e.parentScopes.length||r>=n.parentScopes.length);){const s=n.parentScopes[r].length-e.parentScopes[i].length;if(s!==0)return s;i++,r++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),r,s;if(i===-1?(r=e,s=""):(r=e.substring(0,i),s=e.substring(i+1)),this._children.hasOwnProperty(r))return this._children[r].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(jr._cmpBySpecificity),n}insert(e,n,i,r,s,o){if(n===""){this._doInsertHere(e,i,r,s,o);return}let l=n.indexOf("."),a,d;l===-1?(a=n,d=""):(a=n.substring(0,l),d=n.substring(l+1));let c;this._children.hasOwnProperty(a)?c=this._children[a]:(c=new jr(this._mainRule.clone(),Wr.cloneArr(this._rulesWithParentScopes)),this._children[a]=c),c.insert(e+1,d,i,r,s,o)}_doInsertHere(e,n,i,r,s){if(n===null){this._mainRule.acceptOverwrite(e,i,r,s);return}for(let o=0,l=this._rulesWithParentScopes.length;o<l;o++){let a=this._rulesWithParentScopes[o];if(yl(a.parentScopes,n)===0){a.acceptOverwrite(e,i,r,s);return}}i===-1&&(i=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Wr(e,n,i,r,s))}},en=class De{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const n=De.getLanguageId(e),i=De.getTokenType(e),r=De.getFontStyle(e),s=De.getForeground(e),o=De.getBackground(e);console.log({languageId:n,tokenType:i,fontStyle:r,foreground:s,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,i,r,s,o,l){let a=De.getLanguageId(e),d=De.getTokenType(e),c=De.containsBalancedBrackets(e)?1:0,u=De.getFontStyle(e),h=De.getForeground(e),f=De.getBackground(e);return n!==0&&(a=n),i!==8&&(d=i),r!==null&&(c=r?1:0),s!==-1&&(u=s),o!==0&&(h=o),l!==0&&(f=l),(a<<0|d<<8|c<<10|u<<11|h<<15|f<<24)>>>0}};function Ti(t,e){const n=[],i=Cu(t);let r=i.next();for(;r!==null;){let a=0;if(r.length===2&&r.charAt(1)===":"){switch(r.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${r} in scope selector`)}r=i.next()}let d=o();if(n.push({matcher:d,priority:a}),r!==",")break;r=i.next()}return n;function s(){if(r==="-"){r=i.next();const a=s();return d=>!!a&&!a(d)}if(r==="("){r=i.next();const a=l();return r===")"&&(r=i.next()),a}if(lo(r)){const a=[];do a.push(r),r=i.next();while(lo(r));return d=>e(a,d)}return null}function o(){const a=[];let d=s();for(;d;)a.push(d),d=s();return c=>a.every(u=>u(c))}function l(){const a=[];let d=o();for(;d&&(a.push(d),r==="|"||r===",");){do r=i.next();while(r==="|"||r===",");d=o()}return c=>a.some(u=>u(c))}}function lo(t){return!!t&&!!t.match(/[\w\.:]+/)}function Cu(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const i=n[0];return n=e.exec(t),i}}}function wl(t){typeof t.dispose=="function"&&t.dispose()}var Pn=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},Su=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},bu=class{constructor(){g(this,"_references",[]);g(this,"_seenReferenceKeys",new Set);g(this,"visitedRule",new Set)}get references(){return this._references}add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},wu=class{constructor(t,e){g(this,"seenFullScopeRequests",new Set);g(this,"seenPartialScopeRequests",new Set);g(this,"Q");this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Pn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const e=new bu;for(const n of t)xu(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Pn){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function xu(t,e,n,i){const r=n.lookup(t.scopeName);if(!r){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const s=n.lookup(e);t instanceof Pn?Ci({baseGrammar:s,selfGrammar:r},i):qr(t.ruleName,{baseGrammar:s,selfGrammar:r,repository:r.repository},i);const o=n.injections(t.scopeName);if(o)for(const l of o)i.add(new Pn(l))}function qr(t,e,n){if(e.repository&&e.repository[t]){const i=e.repository[t];Ii([i],e,n)}}function Ci(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&Ii(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&Ii(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function Ii(t,e,n){for(const i of t){if(n.visitedRule.has(i))continue;n.visitedRule.add(i);const r=i.repository?pl({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ii(i.patterns,{...e,repository:r},n);const s=i.include;if(!s)continue;const o=xl(s);switch(o.kind){case 0:Ci({...e,selfGrammar:e.baseGrammar},n);break;case 1:Ci(e,n);break;case 2:qr(o.ruleName,{...e,repository:r},n);break;case 3:case 4:const l=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(l){const a={baseGrammar:e.baseGrammar,selfGrammar:l,repository:r};o.kind===4?qr(o.ruleName,a,n):Ci(a,n)}else o.kind===4?n.add(new Su(o.scopeName,o.ruleName)):n.add(new Pn(o.scopeName));break}}}var ku=class{constructor(){g(this,"kind",0)}},Lu=class{constructor(){g(this,"kind",1)}},Eu=class{constructor(t){g(this,"kind",2);this.ruleName=t}},Ru=class{constructor(t){g(this,"kind",3);this.scopeName=t}},_u=class{constructor(t,e){g(this,"kind",4);this.scopeName=t,this.ruleName=e}};function xl(t){if(t==="$base")return new ku;if(t==="$self")return new Lu;const e=t.indexOf("#");if(e===-1)return new Ru(t);if(e===0)return new Eu(t.substring(1));{const n=t.substring(0,e),i=t.substring(e+1);return new _u(n,i)}}var Tu=/\\(\d+)/,co=/\\(\d+)/g,Iu=-1,kl=-2;var Wn=class{constructor(t,e,n,i){g(this,"$location");g(this,"id");g(this,"_nameIsCapturing");g(this,"_name");g(this,"_contentNameIsCapturing");g(this,"_contentName");this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=Kn.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Kn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${gl(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:Kn.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Kn.replaceCaptures(this._contentName,t,e)}},Au=class extends Wn{constructor(e,n,i,r,s){super(e,n,i,r);g(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,n){throw new Error("Not supported!")}compile(e,n){throw new Error("Not supported!")}compileAG(e,n,i,r){throw new Error("Not supported!")}},Pu=class extends Wn{constructor(e,n,i,r,s){super(e,n,i,null);g(this,"_match");g(this,"captures");g(this,"_cachedCompiledPatterns");this._match=new Mn(r,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,n){n.push(this._match)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e).compileAG(e,i,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Dn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},uo=class extends Wn{constructor(e,n,i,r,s){super(e,n,i,r);g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,n){for(const i of this.patterns)e.getRule(i).collectPatterns(e,n)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e).compileAG(e,i,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Dn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Kr=class extends Wn{constructor(e,n,i,r,s,o,l,a,d,c){super(e,n,i,r);g(this,"_begin");g(this,"beginCaptures");g(this,"_end");g(this,"endHasBackReferences");g(this,"endCaptures");g(this,"applyEndPatternLast");g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");this._begin=new Mn(s,this.id),this.beginCaptures=o,this._end=new Mn(l||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=d||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,n){return this._end.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e,n).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e,n).compileAG(e,i,r)}_getCachedCompiledPatterns(e,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Dn;for(const i of this.patterns)e.getRule(i).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},Ai=class extends Wn{constructor(e,n,i,r,s,o,l,a,d){super(e,n,i,r);g(this,"_begin");g(this,"beginCaptures");g(this,"whileCaptures");g(this,"_while");g(this,"whileHasBackReferences");g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");g(this,"_cachedCompiledWhilePatterns");this._begin=new Mn(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new Mn(l,kl),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,n){return this._while.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,i,r){return this._getCachedCompiledPatterns(e).compileAG(e,i,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Dn;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,n){return this._getCachedCompiledWhilePatterns(e,n).compile(e)}compileWhileAG(e,n,i,r){return this._getCachedCompiledWhilePatterns(e,n).compileAG(e,i,r)}_getCachedCompiledWhilePatterns(e,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Dn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},Ll=class ce{static createCaptureRule(e,n,i,r,s){return e.registerRule(o=>new Au(n,o,i,r,s))}static getCompiledRuleId(e,n,i){return e.id||n.registerRule(r=>{if(e.id=r,e.match)return new Pu(e.$vscodeTextmateLocation,e.id,e.name,e.match,ce._compileCaptures(e.captures,n,i));if(typeof e.begin>"u"){e.repository&&(i=pl({},i,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new uo(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,ce._compilePatterns(s,n,i))}return e.while?new Ai(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,ce._compileCaptures(e.beginCaptures||e.captures,n,i),e.while,ce._compileCaptures(e.whileCaptures||e.captures,n,i),ce._compilePatterns(e.patterns,n,i)):new Kr(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,ce._compileCaptures(e.beginCaptures||e.captures,n,i),e.end,ce._compileCaptures(e.endCaptures||e.captures,n,i),e.applyEndPatternLast,ce._compilePatterns(e.patterns,n,i))}),e.id}static _compileCaptures(e,n,i){let r=[];if(e){let s=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const l=parseInt(o,10);l>s&&(s=l)}for(let o=0;o<=s;o++)r[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const l=parseInt(o,10);let a=0;e[o].patterns&&(a=ce.getCompiledRuleId(e[o],n,i)),r[l]=ce.createCaptureRule(n,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,a)}}return r}static _compilePatterns(e,n,i){let r=[];if(e)for(let s=0,o=e.length;s<o;s++){const l=e[s];let a=-1;if(l.include){const d=xl(l.include);switch(d.kind){case 0:case 1:a=ce.getCompiledRuleId(i[l.include],n,i);break;case 2:let c=i[d.ruleName];c&&(a=ce.getCompiledRuleId(c,n,i));break;case 3:case 4:const u=d.scopeName,h=d.kind===4?d.ruleName:null,f=n.getExternalGrammar(u,i);if(f)if(h){let p=f.repository[h];p&&(a=ce.getCompiledRuleId(p,n,f.repository))}else a=ce.getCompiledRuleId(f.repository.$self,n,f.repository);break}}else a=ce.getCompiledRuleId(l,n,i);if(a!==-1){const d=n.getRule(a);let c=!1;if((d instanceof uo||d instanceof Kr||d instanceof Ai)&&d.hasMissingPatterns&&d.patterns.length===0&&(c=!0),c)continue;r.push(a)}}return{patterns:r,hasMissingPatterns:(e?e.length:0)!==r.length}}},Mn=class El{constructor(e,n){g(this,"source");g(this,"ruleId");g(this,"hasAnchor");g(this,"hasBackReferences");g(this,"_anchorCache");if(e&&typeof e=="string"){const i=e.length;let r=0,s=[],o=!1;for(let l=0;l<i;l++)if(e.charAt(l)==="\\"&&l+1<i){const d=e.charAt(l+1);d==="z"?(s.push(e.substring(r,l)),s.push("$(?!\\n)(?<!\\n)"),r=l+2):(d==="A"||d==="G")&&(o=!0),l++}this.hasAnchor=o,r===0?this.source=e:(s.push(e.substring(r,i)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Tu.test(this.source):this.hasBackReferences=!1}clone(){return new El(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let i=n.map(r=>e.substring(r.start,r.end));return co.lastIndex=0,this.source.replace(co,(r,s)=>vl(i[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],i=[],r=[],s,o,l,a;for(s=0,o=this.source.length;s<o;s++)l=this.source.charAt(s),e[s]=l,n[s]=l,i[s]=l,r[s]=l,l==="\\"&&s+1<o&&(a=this.source.charAt(s+1),a==="A"?(e[s+1]="",n[s+1]="",i[s+1]="A",r[s+1]="A"):a==="G"?(e[s+1]="",n[s+1]="G",i[s+1]="",r[s+1]="G"):(e[s+1]=a,n[s+1]=a,i[s+1]=a,r[s+1]=a),s++);return{A0_G0:e.join(""),A0_G1:n.join(""),A1_G0:i.join(""),A1_G1:r.join("")}}resolveAnchors(e,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Dn=class{constructor(){g(this,"_items");g(this,"_hasAnchors");g(this,"_cached");g(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new ho(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let i=this._items.map(r=>r.resolveAnchors(e,n));return new ho(t,i,this._items.map(r=>r.ruleId))}},ho=class{constructor(t,e,n){g(this,"scanner");this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e<n;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
|
|
3
3
|
`)}findNextMatchSync(t,e,n){const i=this.scanner.findNextMatchSync(t,e,n);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},fr=class{constructor(t,e){this.languageId=t,this.tokenType=e}},st,Mu=(st=class{constructor(e,n){g(this,"_defaultAttributes");g(this,"_embeddedLanguagesMatcher");g(this,"_getBasicScopeAttributes",new Cl(e=>{const n=this._scopeToLanguage(e),i=this._toStandardTokenType(e);return new fr(n,i)}));this._defaultAttributes=new fr(e,8),this._embeddedLanguagesMatcher=new Du(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?st._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(st.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},g(st,"_NULL_SCOPE_METADATA",new fr(0,0)),g(st,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),st),Du=class{constructor(t){g(this,"values");g(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([n,i])=>vl(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},fo=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function Rl(t,e,n,i,r,s,o,l){const a=e.content.length;let d=!1,c=-1;if(o){const f=Hu(t,e,n,i,r,s);r=f.stack,i=f.linePos,n=f.isFirstLine,c=f.anchorPosition}const u=Date.now();for(;!d;){if(l!==0&&Date.now()-u>l)return new fo(r,!0);h()}return new fo(r,!1);function h(){const f=Ou(t,e,n,i,r,c);if(!f){s.produce(r,a),d=!0;return}const p=f.captureIndices,y=f.matchedRuleId,v=p&&p.length>0?p[0].end>i:!1;if(y===Iu){const m=r.getRule(t);s.produce(r,p[0].start),r=r.withContentNameScopesList(r.nameScopesList),wn(t,e,n,r,s,m.endCaptures,p),s.produce(r,p[0].end);const C=r;if(r=r.parent,c=C.getAnchorPos(),!v&&C.getEnterPos()===i){r=C,s.produce(r,a),d=!0;return}}else{const m=t.getRule(y);s.produce(r,p[0].start);const C=r,S=m.getName(e.content,p),w=r.contentNameScopesList.pushAttributed(S,t);if(r=r.push(y,i,c,p[0].end===a,null,w,w),m instanceof Kr){const b=m;wn(t,e,n,r,s,b.beginCaptures,p),s.produce(r,p[0].end),c=p[0].end;const k=b.getContentName(e.content,p),x=w.pushAttributed(k,t);if(r=r.withContentNameScopesList(x),b.endHasBackReferences&&(r=r.withEndRule(b.getEndWithResolvedBackReferences(e.content,p))),!v&&C.hasSameRuleAs(r)){r=r.pop(),s.produce(r,a),d=!0;return}}else if(m instanceof Ai){const b=m;wn(t,e,n,r,s,b.beginCaptures,p),s.produce(r,p[0].end),c=p[0].end;const k=b.getContentName(e.content,p),x=w.pushAttributed(k,t);if(r=r.withContentNameScopesList(x),b.whileHasBackReferences&&(r=r.withEndRule(b.getWhileWithResolvedBackReferences(e.content,p))),!v&&C.hasSameRuleAs(r)){r=r.pop(),s.produce(r,a),d=!0;return}}else if(wn(t,e,n,r,s,m.captures,p),s.produce(r,p[0].end),r=r.pop(),!v){r=r.safePop(),s.produce(r,a),d=!0;return}}p[0].end>i&&(i=p[0].end,n=!1)}}function Hu(t,e,n,i,r,s){let o=r.beginRuleCapturedEOL?0:-1;const l=[];for(let a=r;a;a=a.pop()){const d=a.getRule(t);d instanceof Ai&&l.push({rule:d,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:d,findOptions:c}=$u(a.rule,t,a.stack.endRule,n,i===o),u=d.findNextMatchSync(e,i,c);if(u){if(u.ruleId!==kl){r=a.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(s.produce(a.stack,u.captureIndices[0].start),wn(t,e,n,a.stack,s,a.rule.whileCaptures,u.captureIndices),s.produce(a.stack,u.captureIndices[0].end),o=u.captureIndices[0].end,u.captureIndices[0].end>i&&(i=u.captureIndices[0].end,n=!1))}else{r=a.stack.pop();break}}return{stack:r,linePos:i,anchorPosition:o,isFirstLine:n}}function Ou(t,e,n,i,r,s){const o=Nu(t,e,n,i,r,s),l=t.getInjections();if(l.length===0)return o;const a=Fu(l,t,e,n,i,r,s);if(!a)return o;if(!o)return a;const d=o.captureIndices[0].start,c=a.captureIndices[0].start;return c<d||a.priorityMatch&&c===d?a:o}function Nu(t,e,n,i,r,s){const o=r.getRule(t),{ruleScanner:l,findOptions:a}=_l(o,t,r.endRule,n,i===s),d=l.findNextMatchSync(e,i,a);return d?{captureIndices:d.captureIndices,matchedRuleId:d.ruleId}:null}function Fu(t,e,n,i,r,s,o){let l=Number.MAX_VALUE,a=null,d,c=0;const u=s.contentNameScopesList.getScopeNames();for(let h=0,f=t.length;h<f;h++){const p=t[h];if(!p.matcher(u))continue;const y=e.getRule(p.ruleId),{ruleScanner:v,findOptions:m}=_l(y,e,null,i,r===o),C=v.findNextMatchSync(n,r,m);if(!C)continue;const S=C.captureIndices[0].start;if(!(S>=l)&&(l=S,a=C.captureIndices,d=C.ruleId,c=p.priority,l===r))break}return a?{priorityMatch:c===-1,captureIndices:a,matchedRuleId:d}:null}function _l(t,e,n,i,r){return{ruleScanner:t.compileAG(e,n,i,r),findOptions:0}}function $u(t,e,n,i,r){return{ruleScanner:t.compileWhileAG(e,n,i,r),findOptions:0}}function wn(t,e,n,i,r,s,o){if(s.length===0)return;const l=e.content,a=Math.min(s.length,o.length),d=[],c=o[0].end;for(let u=0;u<a;u++){const h=s[u];if(h===null)continue;const f=o[u];if(f.length===0)continue;if(f.start>c)break;for(;d.length>0&&d[d.length-1].endPos<=f.start;)r.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop();if(d.length>0?r.produceFromScopes(d[d.length-1].scopes,f.start):r.produce(i,f.start),h.retokenizeCapturedWithRuleId){const y=h.getName(l,o),v=i.contentNameScopesList.pushAttributed(y,t),m=h.getContentName(l,o),C=v.pushAttributed(m,t),S=i.push(h.retokenizeCapturedWithRuleId,f.start,-1,!1,null,v,C),w=t.createOnigString(l.substring(0,f.end));Rl(t,w,n&&f.start===0,f.start,S,r,!1,0),wl(w);continue}const p=h.getName(l,o);if(p!==null){const v=(d.length>0?d[d.length-1].scopes:i.contentNameScopesList).pushAttributed(p,t);d.push(new zu(v,f.end))}}for(;d.length>0;)r.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop()}var zu=class{constructor(t,e){g(this,"scopes");g(this,"endPos");this.scopes=t,this.endPos=e}};function Uu(t,e,n,i,r,s,o,l){return new Vu(t,e,n,i,r,s,o,l)}function po(t,e,n,i,r){const s=Ti(e,Pi),o=Ll.getCompiledRuleId(n,i,r.repository);for(const l of s)t.push({debugSelector:e,matcher:l.matcher,ruleId:o,grammar:r,priority:l.priority})}function Pi(t,e){if(e.length<t.length)return!1;let n=0;return t.every(i=>{for(let r=n;r<e.length;r++)if(Bu(e[r],i))return n=r+1,!0;return!1})}function Bu(t,e){if(!t)return!1;if(t===e)return!0;const n=e.length;return t.length>n&&t.substr(0,n)===e&&t[n]==="."}var Vu=class{constructor(t,e,n,i,r,s,o,l){g(this,"_rootId");g(this,"_lastRuleId");g(this,"_ruleId2desc");g(this,"_includedGrammars");g(this,"_grammarRepository");g(this,"_grammar");g(this,"_injections");g(this,"_basicScopeAttributesProvider");g(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=l,this._basicScopeAttributesProvider=new Mu(n,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=go(e,null),this._injections=null,this._tokenTypeMatchers=[],r)for(const a of Object.keys(r)){const d=Ti(a,Pi);for(const c of d)this._tokenTypeMatchers.push({matcher:c.matcher,type:r[a]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:r=>r===this._rootScopeName?this._grammar:this.getExternalGrammar(r),injections:r=>this._grammarRepository.injections(r)},e=[],n=this._rootScopeName,i=t.lookup(n);if(i){const r=i.injections;if(r)for(let o in r)po(e,o,r[o],this,i);const s=this._grammarRepository.injections(n);s&&s.forEach(o=>{const l=this.getExternalGrammar(o);if(l){const a=l.injectionSelector;a&&po(e,a,l,this,l)}})}return e.sort((r,s)=>r.priority-s.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,n=t(e);return this._ruleId2desc[e]=n,n}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const n=this._grammarRepository.lookup(t);if(n)return this._includedGrammars[t]=go(n,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,n=0){const i=this._tokenize(t,e,!1,n);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(t,e,n=0){const i=this._tokenize(t,e,!0,n);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(t,e,n,i){this._rootId===-1&&(this._rootId=Ll.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let r;if(!e||e===Xr.NULL){r=!0;const d=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),u=en.set(0,d.languageId,d.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),h=this.getRule(this._rootId).getName(null,null);let f;h?f=Rn.createRootAndLookUpScopeName(h,u,this):f=Rn.createRoot("unknown",u),e=new Xr(null,this._rootId,-1,-1,!1,null,f,f)}else r=!1,e.reset();t=t+`
|
|
4
4
|
`;const s=this.createOnigString(t),o=s.content.length,l=new Wu(n,t,this._tokenTypeMatchers,this.balancedBracketSelectors),a=Rl(this,s,r,0,e,l,!0,i);return wl(s),{lineLength:o,lineTokens:l,ruleStack:a.stack,stoppedEarly:a.stoppedEarly}}};function go(t,e){return t=lu(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=e||t.repository.$self,t}var Rn=class Ke{constructor(e,n,i){this.parent=e,this.scopePath=n,this.tokenAttributes=i}static fromExtension(e,n){let i=e,r=(e==null?void 0:e.scopePath)??null;for(const s of n)r=hr.push(r,s.scopeNames),i=new Ke(i,r,s.encodedTokenAttributes);return i}static createRoot(e,n){return new Ke(null,new hr(null,e),n)}static createRootAndLookUpScopeName(e,n,i){const r=i.getMetadataForScope(e),s=new hr(null,e),o=i.themeProvider.themeMatch(s),l=Ke.mergeAttributes(n,r,o);return new Ke(null,s,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return Ke.equals(this,e)}static equals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.scopeName!==n.scopeName||e.tokenAttributes!==n.tokenAttributes)return!1;e=e.parent,n=n.parent}while(!0)}static mergeAttributes(e,n,i){let r=-1,s=0,o=0;return i!==null&&(r=i.fontStyle,s=i.foregroundId,o=i.backgroundId),en.set(e,n.languageId,n.tokenType,null,r,s,o)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return Ke._pushAttributed(this,e,n);const i=e.split(/ /g);let r=this;for(const s of i)r=Ke._pushAttributed(r,s,n);return r}static _pushAttributed(e,n,i){const r=i.getMetadataForScope(n),s=e.scopePath.push(n),o=i.themeProvider.themeMatch(s),l=Ke.mergeAttributes(e.tokenAttributes,r,o);return new Ke(e,s,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var r;const n=[];let i=this;for(;i&&i!==e;)n.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((r=i.parent)==null?void 0:r.scopePath)??null)}),i=i.parent;return i===e?n.reverse():void 0}},He,Xr=(He=class{constructor(e,n,i,r,s,o,l,a){g(this,"_stackElementBrand");g(this,"_enterPos");g(this,"_anchorPos");g(this,"depth");this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=r}equals(e){return e===null?!1:He._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?Rn.equals(e.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.depth!==n.depth||e.ruleId!==n.ruleId||e.endRule!==n.endRule)return!1;e=e.parent,n=n.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){He._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,i,r,s,o,l){return new He(this,e,n,i,r,s,o,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,n){var i,r;return this.parent&&(n=this.parent._writeString(e,n)),e[n++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(r=this.contentNameScopesList)==null?void 0:r.toString()})`,n}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new He(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let n=this;for(;n&&n._enterPos===e._enterPos;){if(n.ruleId===e.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var e,n,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,n){const i=Rn.fromExtension((e==null?void 0:e.nameScopesList)??null,n.nameScopesList);return new He(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,i,Rn.fromExtension(i,n.contentNameScopesList))}},g(He,"NULL",new He(null,0,0,0,!1,null,null,null)),He),Gu=class{constructor(t,e){g(this,"balancedBracketScopes");g(this,"unbalancedBracketScopes");g(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Ti(n,Pi).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>Ti(n,Pi).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const e of this.unbalancedBracketScopes)if(e(t))return!1;for(const e of this.balancedBracketScopes)if(e(t))return!0;return this.allowAny}},Wu=class{constructor(t,e,n,i){g(this,"_emitBinaryTokens");g(this,"_lineText");g(this,"_tokens");g(this,"_binaryTokens");g(this,"_lastTokenEndIndex");g(this,"_tokenTypeOverrides");this.balancedBracketSelectors=i,this._emitBinaryTokens=t,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,e){this.produceFromScopes(t.contentNameScopesList,e)}produceFromScopes(t,e){var i;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let r=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(t==null?void 0:t.getScopeNames())??[];for(const l of this._tokenTypeOverrides)l.matcher(o)&&(r=en.set(r,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(r=en.set(r,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=e;return}const n=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:n}),this._lastTokenEndIndex=e}getResult(t,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let i=0,r=this._binaryTokens.length;i<r;i++)n[i]=this._binaryTokens[i];return n}},ju=class{constructor(t,e){g(this,"_grammars",new Map);g(this,"_rawGrammars",new Map);g(this,"_injectionGrammars",new Map);g(this,"_theme");this._onigLib=e,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,e){this._rawGrammars.set(t.scopeName,t),e&&this._injectionGrammars.set(t.scopeName,e)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}grammarForScopeName(t,e,n,i,r){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,Uu(t,s,e,n,i,r,this,this._onigLib))}return this._grammars.get(t)}},qu=class{constructor(e){g(this,"_options");g(this,"_syncRegistry");g(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new ju(_i.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,n){this._syncRegistry.setTheme(_i.createFromRawTheme(e,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,n,i){return this.loadGrammarWithConfiguration(e,n,{embeddedLanguages:i})}loadGrammarWithConfiguration(e,n,i){return this._loadGrammar(e,n,i.embeddedLanguages,i.tokenTypes,new Gu(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,n,i,r,s){const o=new wu(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(l=>this._loadSingleGrammar(l.scopeName)),o.processQueue();return this._grammarForScopeName(e,n,i,r,s)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const n=this._options.loadGrammar(e);if(n){const i=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(n,i)}}addGrammar(e,n=[],i=0,r=null){return this._syncRegistry.addGrammar(e,n),this._grammarForScopeName(e.scopeName,i,r)}_grammarForScopeName(e,n=0,i=null,r=null,s=null){return this._syncRegistry.grammarForScopeName(e,n,i,r,s)}},Yr=Xr.NULL;const Ku=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class jn{constructor(e,n,i){this.normal=n,this.property=e,i&&(this.space=i)}}jn.prototype.normal={};jn.prototype.property={};jn.prototype.space=void 0;function Tl(t,e){const n={},i={};for(const r of t)Object.assign(n,r.property),Object.assign(i,r.normal);return new jn(n,i,e)}function Qr(t){return t.toLowerCase()}class Ee{constructor(e,n){this.attribute=n,this.property=e}}Ee.prototype.attribute="";Ee.prototype.booleanish=!1;Ee.prototype.boolean=!1;Ee.prototype.commaOrSpaceSeparated=!1;Ee.prototype.commaSeparated=!1;Ee.prototype.defined=!1;Ee.prototype.mustUseProperty=!1;Ee.prototype.number=!1;Ee.prototype.overloadedBoolean=!1;Ee.prototype.property="";Ee.prototype.spaceSeparated=!1;Ee.prototype.space=void 0;let Xu=0;const O=$t(),Q=$t(),Zr=$t(),T=$t(),W=$t(),Pt=$t(),Te=$t();function $t(){return 2**++Xu}const Jr=Object.freeze(Object.defineProperty({__proto__:null,boolean:O,booleanish:Q,commaOrSpaceSeparated:Te,commaSeparated:Pt,number:T,overloadedBoolean:Zr,spaceSeparated:W},Symbol.toStringTag,{value:"Module"})),pr=Object.keys(Jr);class _s extends Ee{constructor(e,n,i,r){let s=-1;if(super(e,n),mo(this,"space",r),typeof i=="number")for(;++s<pr.length;){const o=pr[s];mo(this,pr[s],(i&Jr[o])===Jr[o])}}}_s.prototype.defined=!0;function mo(t,e,n){n&&(t[e]=n)}function on(t){const e={},n={};for(const[i,r]of Object.entries(t.properties)){const s=new _s(i,t.transform(t.attributes||{},i),r,t.space);t.mustUseProperty&&t.mustUseProperty.includes(i)&&(s.mustUseProperty=!0),e[i]=s,n[Qr(i)]=i,n[Qr(s.attribute)]=i}return new jn(e,n,t.space)}const Il=on({properties:{ariaActiveDescendant:null,ariaAtomic:Q,ariaAutoComplete:null,ariaBusy:Q,ariaChecked:Q,ariaColCount:T,ariaColIndex:T,ariaColSpan:T,ariaControls:W,ariaCurrent:null,ariaDescribedBy:W,ariaDetails:null,ariaDisabled:Q,ariaDropEffect:W,ariaErrorMessage:null,ariaExpanded:Q,ariaFlowTo:W,ariaGrabbed:Q,ariaHasPopup:null,ariaHidden:Q,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:W,ariaLevel:T,ariaLive:null,ariaModal:Q,ariaMultiLine:Q,ariaMultiSelectable:Q,ariaOrientation:null,ariaOwns:W,ariaPlaceholder:null,ariaPosInSet:T,ariaPressed:Q,ariaReadOnly:Q,ariaRelevant:null,ariaRequired:Q,ariaRoleDescription:W,ariaRowCount:T,ariaRowIndex:T,ariaRowSpan:T,ariaSelected:Q,ariaSetSize:T,ariaSort:null,ariaValueMax:T,ariaValueMin:T,ariaValueNow:T,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function Al(t,e){return e in t?t[e]:e}function Pl(t,e){return Al(t,e.toLowerCase())}const Yu=on({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pt,acceptCharset:W,accessKey:W,action:null,allow:null,allowFullScreen:O,allowPaymentRequest:O,allowUserMedia:O,alpha:O,alt:null,as:null,async:O,autoCapitalize:null,autoComplete:W,autoFocus:O,autoPlay:O,blocking:W,capture:null,charSet:null,checked:O,cite:null,className:W,closedBy:null,colorSpace:null,cols:T,colSpan:T,command:null,commandFor:null,content:null,contentEditable:Q,controls:O,controlsList:W,coords:T|Pt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:O,defer:O,dir:null,dirName:null,disabled:O,download:Zr,draggable:Q,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:O,formTarget:null,headers:W,height:T,hidden:Zr,high:T,href:null,hrefLang:null,htmlFor:W,httpEquiv:W,id:null,imageSizes:null,imageSrcSet:null,inert:O,inputMode:null,integrity:null,is:null,isMap:O,itemId:null,itemProp:W,itemRef:W,itemScope:O,itemType:W,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:O,low:T,manifest:null,max:null,maxLength:T,media:null,method:null,min:null,minLength:T,multiple:O,muted:O,name:null,nonce:null,noModule:O,noValidate:O,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:O,optimum:T,pattern:null,ping:W,placeholder:null,playsInline:O,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:O,referrerPolicy:null,rel:W,required:O,reversed:O,rows:T,rowSpan:T,sandbox:W,scope:null,scoped:O,seamless:O,selected:O,shadowRootClonable:O,shadowRootCustomElementRegistry:O,shadowRootDelegatesFocus:O,shadowRootMode:null,shadowRootSerializable:O,shape:null,size:T,sizes:null,slot:null,span:T,spellCheck:Q,src:null,srcDoc:null,srcLang:null,srcSet:null,start:T,step:null,style:null,tabIndex:T,target:null,title:null,translate:null,type:null,typeMustMatch:O,useMap:null,value:Q,width:T,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:W,axis:null,background:null,bgColor:null,border:T,borderColor:null,bottomMargin:T,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:O,declare:O,event:null,face:null,frame:null,frameBorder:null,hSpace:T,leftMargin:T,link:null,longDesc:null,lowSrc:null,marginHeight:T,marginWidth:T,noResize:O,noHref:O,noShade:O,noWrap:O,object:null,profile:null,prompt:null,rev:null,rightMargin:T,rules:null,scheme:null,scrolling:Q,standby:null,summary:null,text:null,topMargin:T,valueType:null,version:null,vAlign:null,vLink:null,vSpace:T,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:O,disablePictureInPicture:O,disableRemotePlayback:O,exportParts:Pt,part:W,prefix:null,property:null,results:T,security:null,unselectable:null},space:"html",transform:Pl}),Qu=on({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Te,accentHeight:T,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:T,amplitude:T,arabicForm:null,ascent:T,attributeName:null,attributeType:null,azimuth:T,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:T,by:null,calcMode:null,capHeight:T,className:W,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:T,diffuseConstant:T,direction:null,display:null,dur:null,divisor:T,dominantBaseline:null,download:O,dx:null,dy:null,edgeMode:null,editable:null,elevation:T,enableBackground:null,end:null,event:null,exponent:T,externalResourcesRequired:null,fill:null,fillOpacity:T,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Pt,g2:Pt,glyphName:Pt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:T,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:T,horizOriginX:T,horizOriginY:T,id:null,ideographic:T,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:T,k:T,k1:T,k2:T,k3:T,k4:T,kernelMatrix:Te,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:T,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:T,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:T,overlineThickness:T,paintOrder:null,panose1:null,path:null,pathLength:T,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:W,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:T,pointsAtY:T,pointsAtZ:T,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Te,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Te,rev:Te,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Te,requiredFeatures:Te,requiredFonts:Te,requiredFormats:Te,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:T,specularExponent:T,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:T,strikethroughThickness:T,string:null,stroke:null,strokeDashArray:Te,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:T,strokeOpacity:T,strokeWidth:null,style:null,surfaceScale:T,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Te,tabIndex:T,tableValues:null,target:null,targetX:T,targetY:T,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Te,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:T,underlineThickness:T,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:T,values:null,vAlphabetic:T,vMathematical:T,vectorEffect:null,vHanging:T,vIdeographic:T,version:null,vertAdvY:T,vertOriginX:T,vertOriginY:T,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:T,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Al}),Ml=on({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),Dl=on({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Pl}),Hl=on({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),Zu=/[A-Z]/g,yo=/-[a-z]/g,Ju=/^data[-\w.:]+$/i;function eh(t,e){const n=Qr(e);let i=e,r=Ee;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Ju.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(yo,nh);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!yo.test(s)){let o=s.replace(Zu,th);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}r=_s}return new r(i,e)}function th(t){return"-"+t.toLowerCase()}function nh(t){return t.charAt(1).toUpperCase()}const ih=Tl([Il,Yu,Ml,Dl,Hl],"html"),Ol=Tl([Il,Qu,Ml,Dl,Hl],"svg"),vo={}.hasOwnProperty;function rh(t,e){const n=e||{};function i(r,...s){let o=i.invalid;const l=i.handlers;if(r&&vo.call(r,t)){const a=String(r[t]);o=vo.call(l,a)?l[a]:i.unknown}if(o)return o.call(this,r,...s)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}const sh=/["&'<>`]/g,oh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ah=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,lh=/[|\\{}()[\]^$+*?.]/g,Co=new WeakMap;function dh(t,e){if(t=t.replace(e.subset?ch(e.subset):sh,i),e.subset||e.escapeOnly)return t;return t.replace(oh,n).replace(ah,i);function n(r,s,o){return e.format((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),e)}function i(r,s,o){return e.format(r.charCodeAt(0),o.charCodeAt(s+1),e)}}function ch(t){let e=Co.get(t);return e||(e=uh(t),Co.set(t,e)),e}function uh(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(lh,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const hh=/[\dA-Fa-f]/;function fh(t,e,n){const i="&#x"+t.toString(16).toUpperCase();return n&&e&&!hh.test(String.fromCharCode(e))?i:i+";"}const ph=/\d/;function gh(t,e,n){const i="&#"+String(t);return n&&e&&!ph.test(String.fromCharCode(e))?i:i+";"}const mh=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],gr={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},yh=["cent","copy","divide","gt","lt","not","para","times"],Nl={}.hasOwnProperty,es={};let Xn;for(Xn in gr)Nl.call(gr,Xn)&&(es[gr[Xn]]=Xn);const vh=/[^\dA-Za-z]/;function Ch(t,e,n,i){const r=String.fromCharCode(t);if(Nl.call(es,r)){const s=es[r],o="&"+s;return n&&mh.includes(s)&&!yh.includes(s)&&(!i||e&&e!==61&&vh.test(String.fromCharCode(e)))?o:o+";"}return""}function Sh(t,e,n){let i=fh(t,e,n.omitOptionalSemicolons),r;if((n.useNamedReferences||n.useShortestReferences)&&(r=Ch(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const s=gh(t,e,n.omitOptionalSemicolons);s.length<i.length&&(i=s)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function Zt(t,e){return dh(t,Object.assign({format:Sh},e))}const bh=/^>|^->|<!--|-->|--!>|<!-$/g,wh=[">"],xh=["<",">"];function kh(t,e,n,i){return i.settings.bogusComments?"<?"+Zt(t.value,Object.assign({},i.settings.characterReferences,{subset:wh}))+">":"<!--"+t.value.replace(bh,r)+"-->";function r(s){return Zt(s,Object.assign({},i.settings.characterReferences,{subset:xh}))}}function Lh(t,e,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function So(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let i=0,r=n.indexOf(e);for(;r!==-1;)i++,r=n.indexOf(e,r+e.length);return i}function Eh(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Rh(t){return t.join(" ").trim()}const _h=/[ \t\n\f\r]/g;function Ts(t){return typeof t=="object"?t.type==="text"?bo(t.value):!1:bo(t)}function bo(t){return t.replace(_h,"")===""}const ie=$l(1),Fl=$l(-1),Th=[];function $l(t){return e;function e(n,i,r){const s=n?n.children:Th;let o=(i||0)+t,l=s[o];if(!r)for(;l&&Ts(l);)o+=t,l=s[o];return l}}const Ih={}.hasOwnProperty;function zl(t){return e;function e(n,i,r){return Ih.call(t,n.tagName)&&t[n.tagName](n,i,r)}}const Is=zl({body:Ph,caption:mr,colgroup:mr,dd:Oh,dt:Hh,head:mr,html:Ah,li:Dh,optgroup:Nh,option:Fh,p:Mh,rp:wo,rt:wo,tbody:zh,td:xo,tfoot:Uh,th:xo,thead:$h,tr:Bh});function mr(t,e,n){const i=ie(n,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&Ts(i.value.charAt(0)))}function Ah(t,e,n){const i=ie(n,e);return!i||i.type!=="comment"}function Ph(t,e,n){const i=ie(n,e);return!i||i.type!=="comment"}function Mh(t,e,n){const i=ie(n,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Dh(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&i.tagName==="li"}function Hh(t,e,n){const i=ie(n,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function Oh(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function wo(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function Nh(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function Fh(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function $h(t,e,n){const i=ie(n,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function zh(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function Uh(t,e,n){return!ie(n,e)}function Bh(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&i.tagName==="tr"}function xo(t,e,n){const i=ie(n,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const Vh=zl({body:jh,colgroup:qh,head:Wh,html:Gh,tbody:Kh});function Gh(t){const e=ie(t,-1);return!e||e.type!=="comment"}function Wh(t){const e=new Set;for(const i of t.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(e.has(i.tagName))return!1;e.add(i.tagName)}const n=t.children[0];return!n||n.type==="element"}function jh(t){const e=ie(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ts(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function qh(t,e,n){const i=Fl(n,e),r=ie(t,-1,!0);return n&&i&&i.type==="element"&&i.tagName==="colgroup"&&Is(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function Kh(t,e,n){const i=Fl(n,e),r=ie(t,-1);return n&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&Is(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}const Yn={name:[[`
|
|
5
5
|
\f\r &/=>`.split(""),`
|