@datalayer/agent-runtimes 1.6.21 → 1.6.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/dist-embed/chunks/{CollapsiblePlugin-B85HBp8b.js → CollapsiblePlugin-Bn70jFpi.js} +1 -1
- package/dist-embed/chunks/{DeckComponent-DnMHEQJo.js → DeckComponent-DuxVpxzx.js} +1 -1
- package/dist-embed/chunks/{DocumentView-3aE4btpU.js → DocumentView-DKLkbwvh.js} +1 -1
- package/dist-embed/chunks/{EphemeralDocument-DLAoDnRi.js → EphemeralDocument-CAXNOtEL.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawComponent-BJYnSolA.js → ExcalidrawComponent-mHitiMde.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawModal-DmcKDOu0.js → ExcalidrawModal-KB4MTQbk.js} +1 -1
- package/dist-embed/chunks/{JupyterLexicalExtension-D-dDKj_U.js → JupyterLexicalExtension-BtjDYMne.js} +5 -5
- package/dist-embed/chunks/{YouTubePlugin-B26ThLdI.js → YouTubePlugin-B6JmeO6g.js} +1 -1
- package/dist-embed/chunks/{ar-SA-G6X2FPQ2-DrKp-GT1.js → ar-SA-G6X2FPQ2-BtDm_vBV.js} +1 -1
- package/dist-embed/chunks/{az-AZ-76LH7QW2-kanwrGa7.js → az-AZ-76LH7QW2-CU9PzGa-.js} +1 -1
- package/dist-embed/chunks/babel-xT8DLG14.js +16 -0
- package/dist-embed/chunks/{bg-BG-XCXSNQG7-B-YkMqs9.js → bg-BG-XCXSNQG7-CcZG1sMf.js} +1 -1
- package/dist-embed/chunks/{bn-BD-2XOGV67Q-C2LRshMO.js → bn-BD-2XOGV67Q-CsBxRWS8.js} +1 -1
- package/dist-embed/chunks/{ca-ES-6MX7JW3Y-CH-XjE7A.js → ca-ES-6MX7JW3Y-DiPlBY-L.js} +1 -1
- package/dist-embed/chunks/{cs-CZ-2BRQDIVT-CZsinbV8.js → cs-CZ-2BRQDIVT-B2LG8kaF.js} +1 -1
- package/dist-embed/chunks/{da-DK-5WZEPLOC-BKE16CYd.js → da-DK-5WZEPLOC-CjiEJ2dL.js} +1 -1
- package/dist-embed/chunks/{de-DE-XR44H4JA-Bef67X55.js → de-DE-XR44H4JA-D2hSEI1m.js} +1 -1
- package/dist-embed/chunks/{el-GR-BZB4AONW-DdhJZ7Lx.js → el-GR-BZB4AONW-C7ps3kie.js} +1 -1
- package/dist-embed/chunks/{es-ES-U4NZUMDT-BYuerEZq.js → es-ES-U4NZUMDT-BfNMUvfg.js} +1 -1
- package/dist-embed/chunks/estree-BbkbXjhR.js +44 -0
- package/dist-embed/chunks/{eu-ES-A7QVB2H4-Bx1ZMbch.js → eu-ES-A7QVB2H4-CBQcRcNh.js} +1 -1
- package/dist-embed/chunks/{fa-IR-HGAKTJCU-DOlQSonG.js → fa-IR-HGAKTJCU-CKTkkQUk.js} +1 -1
- package/dist-embed/chunks/{fi-FI-Z5N7JZ37-CEvqx_B0.js → fi-FI-Z5N7JZ37-B2flJw4O.js} +1 -1
- package/dist-embed/chunks/{fr-FR-RHASNOE6-B6dmIROy.js → fr-FR-RHASNOE6-DCWxP6nh.js} +1 -1
- package/dist-embed/chunks/{gl-ES-HMX3MZ6V-DET0-zSB.js → gl-ES-HMX3MZ6V-BGEA0PhL.js} +1 -1
- package/dist-embed/chunks/{he-IL-6SHJWFNN-D8q7vnmN.js → he-IL-6SHJWFNN-BaHixqAA.js} +1 -1
- package/dist-embed/chunks/{hi-IN-IWLTKZ5I-WKOut6Ph.js → hi-IN-IWLTKZ5I-CrHbvHN0.js} +1 -1
- package/dist-embed/chunks/html-DVpylSNq.js +25 -0
- package/dist-embed/chunks/{hu-HU-A5ZG7DT2-D8S_FCMc.js → hu-HU-A5ZG7DT2-B9wQnRpK.js} +1 -1
- package/dist-embed/chunks/{id-ID-SAP4L64H-C1MpnR6j.js → id-ID-SAP4L64H-T0pQVB4m.js} +1 -1
- package/dist-embed/chunks/{it-IT-JPQ66NNP-CmSi2-kQ.js → it-IT-JPQ66NNP-ECgWHvcY.js} +1 -1
- package/dist-embed/chunks/{ja-JP-DBVTYXUO-f3Xycaxf.js → ja-JP-DBVTYXUO-Cz96ctDW.js} +1 -1
- package/dist-embed/chunks/{kaa-6HZHGXH3-CDjiUexP.js → kaa-6HZHGXH3-Cu7gLGxC.js} +1 -1
- package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-C7pc9jkA.js → kab-KAB-ZGHBKWFO-CoJI939s.js} +1 -1
- package/dist-embed/chunks/{kk-KZ-P5N5QNE5-DKB4lHwJ.js → kk-KZ-P5N5QNE5-DiEAZ9si.js} +1 -1
- package/dist-embed/chunks/{km-KH-HSX4SM5Z-Tct1wYe_.js → km-KH-HSX4SM5Z-CNF1qzO2.js} +1 -1
- package/dist-embed/chunks/{ko-KR-MTYHY66A-D75KXFFg.js → ko-KR-MTYHY66A-BCvHfgyK.js} +1 -1
- package/dist-embed/chunks/{ku-TR-6OUDTVRD-DFFv9y6o.js → ku-TR-6OUDTVRD-BV9JoFXu.js} +1 -1
- package/dist-embed/chunks/{lib-CWYlnae_.js → lib-BkW0DwuV.js} +1 -1
- package/dist-embed/chunks/{lt-LT-XHIRWOB4-b_ZSHKuX.js → lt-LT-XHIRWOB4-BpoBiZvj.js} +1 -1
- package/dist-embed/chunks/{lv-LV-5QDEKY6T-DOkd9vjo.js → lv-LV-5QDEKY6T-DWPLOycm.js} +1 -1
- package/dist-embed/chunks/markdown-Czq15M7Q.js +70 -0
- package/dist-embed/chunks/{mr-IN-CRQNXWMA-DgtGEhds.js → mr-IN-CRQNXWMA-C3XokKLN.js} +1 -1
- package/dist-embed/chunks/{my-MM-5M5IBNSE-Wx2nX-HX.js → my-MM-5M5IBNSE-bPDcBtIx.js} +1 -1
- package/dist-embed/chunks/{nb-NO-T6EIAALU-Bxg1hz2F.js → nb-NO-T6EIAALU-zGQywuc4.js} +1 -1
- package/dist-embed/chunks/{nl-NL-IS3SIHDZ-CuTty8ZU.js → nl-NL-IS3SIHDZ-D0N-QxdB.js} +1 -1
- package/dist-embed/chunks/{nn-NO-6E72VCQL-yF9Qjmvy.js → nn-NO-6E72VCQL-BeiBipEM.js} +1 -1
- package/dist-embed/chunks/{oc-FR-POXYY2M6-DzhTICBK.js → oc-FR-POXYY2M6-BSmiDtLw.js} +1 -1
- package/dist-embed/chunks/{pa-IN-N4M65BXN-BLaNcNfP.js → pa-IN-N4M65BXN-YTioBliU.js} +1 -1
- package/dist-embed/chunks/{percentages-BXMCSKIN-BSFk0Tks.js → percentages-BXMCSKIN-B5BZ64UL.js} +3 -3
- package/dist-embed/chunks/{pl-PL-T2D74RX3-Cny-MZTY.js → pl-PL-T2D74RX3-BmA-mIoA.js} +1 -1
- package/dist-embed/chunks/postcss-ClUAhyQz.js +62 -0
- package/dist-embed/chunks/{pt-BR-5N22H2LF-B0D69qws.js → pt-BR-5N22H2LF-DF1nGVg3.js} +1 -1
- package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BstfsxvV.js → pt-PT-UZXXM6DQ-DhiSFYNH.js} +1 -1
- package/dist-embed/chunks/{ro-RO-JPDTUUEW-BP5Qc7BF.js → ro-RO-JPDTUUEW-DN5nT_8E.js} +1 -1
- package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CnAMP9Hu.js → ru-RU-B4JR7IUQ-DJAZColu.js} +1 -1
- package/dist-embed/chunks/{si-LK-N5RQ5JYF-KUaQDZ4v.js → si-LK-N5RQ5JYF-BcJdGNJf.js} +1 -1
- package/dist-embed/chunks/{sk-SK-C5VTKIMK-CG7XdLGl.js → sk-SK-C5VTKIMK-Bs43X2b-.js} +1 -1
- package/dist-embed/chunks/{sl-SI-NN7IZMDC-e_SFsMsv.js → sl-SI-NN7IZMDC-CVhBQ31i.js} +1 -1
- package/dist-embed/chunks/standalone-BmUQQ5LE.js +29 -0
- package/dist-embed/chunks/{subset-shared.chunk-Cn_vjsJA.js → subset-shared.chunk-BkTdi2-W.js} +1 -1
- package/dist-embed/chunks/{subset-worker.chunk-W_rTkgB8.js → subset-worker.chunk-SkNsdM6t.js} +1 -1
- package/dist-embed/chunks/{sv-SE-XGPEYMSR-DHzvVSOu.js → sv-SE-XGPEYMSR-BR0XZMXJ.js} +1 -1
- package/dist-embed/chunks/{ta-IN-2NMHFXQM-opB0ehqF.js → ta-IN-2NMHFXQM-4CfGQQ8v.js} +1 -1
- package/dist-embed/chunks/{th-TH-HPSO5L25-DLQWbRw6.js → th-TH-HPSO5L25-CjO8TBa6.js} +1 -1
- package/dist-embed/chunks/{tr-TR-DEFEU3FU-BB46Zv5P.js → tr-TR-DEFEU3FU-B3tO43YQ.js} +1 -1
- package/dist-embed/chunks/typescript-BLZ3EhMp.js +22 -0
- package/dist-embed/chunks/{uk-UA-QMV73CPH-PSr9uqn6.js → uk-UA-QMV73CPH-DYk01HNs.js} +1 -1
- package/dist-embed/chunks/{vi-VN-M7AON7JQ-B8XFOV9x.js → vi-VN-M7AON7JQ-Dyd2Hf1G.js} +1 -1
- package/dist-embed/chunks/{zh-CN-LNUGB5OW-Cw-MnTuW.js → zh-CN-LNUGB5OW-Bs2W1BrY.js} +1 -1
- package/dist-embed/chunks/{zh-HK-E62DVLB3-C6TwyE2U.js → zh-HK-E62DVLB3-BwN2oc_m.js} +1 -1
- package/dist-embed/chunks/{zh-TW-RAJ6MFWO-CLS-sbQC.js → zh-TW-RAJ6MFWO-qOevWsjt.js} +1 -1
- package/dist-embed/datalayer-app-main.js +15 -9
- package/lib/specs/actions.js +7 -0
- package/lib/specs/agents/agents.d.ts +1 -0
- package/lib/specs/agents/agents.js +139 -1
- package/lib/specs/apps.d.ts +1 -0
- package/lib/specs/apps.js +352 -0
- package/lib/specs/backendTools.d.ts +5 -0
- package/lib/specs/backendTools.js +95 -0
- package/lib/specs/policies.d.ts +1 -0
- package/lib/specs/policies.js +17 -0
- package/package.json +1 -1
- package/dist-embed/chunks/babel-DYThBADt.js +0 -16
- package/dist-embed/chunks/estree-C_HWBWad.js +0 -44
- package/dist-embed/chunks/html-BdbYoS8g.js +0 -25
- package/dist-embed/chunks/markdown-BWelGxUI.js +0 -70
- package/dist-embed/chunks/postcss-Bqhj58AT.js +0 -62
- package/dist-embed/chunks/standalone-Lm5oSWJc.js +0 -29
- package/dist-embed/chunks/typescript-Ctd41k9v.js +0 -22
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{as as Zo}from"../datalayer-app-main.js";function el(ce,Xe){for(var A=0;A<Xe.length;A++){const P=Xe[A];if(typeof P!="string"&&!Array.isArray(P)){for(const D in P)if(D!=="default"&&!(D in ce)){const ue=Object.getOwnPropertyDescriptor(P,D);ue&&Object.defineProperty(ce,D,ue.get?ue:{enumerable:!0,get:()=>P[D]})}}}return Object.freeze(Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"}))}var At={exports:{}},an;function tl(){return an||(an=1,(function(ce,Xe){(function(A){function P(){var D=A();return D.default||D}ce.exports=P()})(function(){var A=Object.defineProperty,P=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,ue=Object.prototype.hasOwnProperty,Pt=e=>{throw TypeError(e)},un=(e,t,r)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mt=(e,t)=>{for(var r in t)A(e,r,{get:t[r],enumerable:!0})},pn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of D(t))!ue.call(e,a)&&a!==r&&A(e,a,{get:()=>t[a],enumerable:!(n=P(t,a))||n.enumerable});return e},hn=e=>pn(A({},"__esModule",{value:!0}),e),Bt=(e,t,r)=>un(e,typeof t!="symbol"?t+"":t,r),dn=(e,t,r)=>t.has(e)||Pt("Cannot "+r),Me=(e,t,r)=>(dn(e,t,"read from private field"),r?r.call(e):t.get(e)),mn=(e,t,r)=>t.has(e)?Pt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Ht={};Mt(Ht,{languages:()=>So,options:()=>bo,parsers:()=>Yr,printers:()=>Xo});var Ze=(e,t)=>(r,n,...a)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,a),gn=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},fn=Ze("replaceAll",function(){if(typeof this=="string")return gn}),C=fn;function vn(e){return this[e<0?this.length+e:e]}var _n=Ze("at",function(){if(Array.isArray(this)||typeof this=="string")return vn}),J=_n,Sn=()=>{},kn=Sn,Rt="string",Ft="array",Ut="cursor",et="indent",tt="align",Ot="trim",rt="group",nt="fill",at="if-break",it="indent-if-break",Vt="line-suffix",zt="line-suffix-boundary",Y="line",$t="label",st="break-parent",Wt=new Set([Ut,et,tt,Ot,rt,nt,at,it,Vt,zt,Y,$t,st]);function jt(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function bn(e){if(typeof e=="string")return Rt;if(Array.isArray(e))return Ft;if(!e)return;let{type:t}=e;if(Wt.has(t))return t}var Gt=bn,wn=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function yn(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
|
|
2
|
-
Expected it to be 'string' or 'object'.`;if(Gt(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=wn([...Wt].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
|
|
3
|
-
Expected it to be ${n}.`}var Cn=class extends Error{name="InvalidDocError";constructor(e){super(yn(e)),this.doc=e}},Tn=Cn;function Kt(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){return jt(r,i,a)}function a(i){switch(Gt(i)){case Ft:return t(i.map(n));case nt:return t({...i,parts:i.parts.map(n)});case at:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case rt:{let{expandedStates:s,contents:o}=i;return s?(s=s.map(n),o=s[0]):o=n(o),t({...i,contents:o,expandedStates:s})}case tt:case et:case it:case $t:case Vt:return t({...i,contents:n(i.contents)});case Rt:case Ut:case Ot:case zt:case Y:case st:return t(i);default:throw new Tn(i)}}}function q(e,t=Dn){return Kt(e,r=>typeof r=="string"?Q(t,r.split(`
|
|
4
|
-
`)):r)}var xn=kn;function I(e){return{type:et,contents:e}}function En(e,t){return{type:tt,contents:t,n:e}}function Ln(e){return En(Number.NEGATIVE_INFINITY,e)}var pe={type:st};function Jt(e){return{type:nt,parts:e}}function b(e,t={}){return xn(t.expandedStates),{type:rt,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function he(e,t="",r={}){return{type:at,breakContents:e,flatContents:t,groupId:r.groupId}}function Nn(e,t){return{type:it,contents:e,groupId:t.groupId,negate:t.negate}}function Q(e,t){let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var k={type:Y},y={type:Y,soft:!0},qn={type:Y,hard:!0},S=[qn,pe],An={type:Y,hard:!0,literal:!0},Dn=[An,pe],In=Object.freeze({character:"'",codePoint:39}),Pn=Object.freeze({character:'"',codePoint:34}),Mn=Object.freeze({preferred:Pn,alternate:In});function Bn(e,t){let{preferred:r,alternate:n}=Mn,{length:a}=e,i=0,s=0;for(let o=0;o<a;o++){let l=e.charCodeAt(o);l===r.codePoint?i++:l===n.codePoint&&s++}return(i>s?n:r).character}function Hn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rn=class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(J(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Hn([...this.#e].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,r=>t.has(r))}#t(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
|
|
5
|
-
`)){if(r.length===0)continue;let n=this.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
|
|
6
|
-
`).map(r=>r.slice(t)).join(`
|
|
7
|
-
`)}},Fn=Rn,Un=[" ",`
|
|
8
|
-
`,"\f","\r"," "],On=new Fn(Un),E=On,Vn=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},zn=Vn;function de(e,t=!0){return[I([y,e]),t?y:""]}function X(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression"||t.parser==="__ng_binding"||t.parser==="__ng_directive")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function L(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(s,o)=>{a=n(s,o)});let i=await t(e,r,t);return a?b(i):de(i)}function $n(e,t,r,n){let{node:a}=r,i=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/.test(i)?"":L(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},X)}var Wn=$n,jn=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),Z=jn,Gn=Array.prototype.toReversed??function(){return[...this].reverse()},Kn=Ze("toReversed",function(){if(Array.isArray(this))return Gn}),Jn=Kn;function Yn(){let e=globalThis,t=e.process?.platform;if(typeof t=="string")return t.startsWith("win");let r=e.Deno?.build?.os;return typeof r=="string"?r==="windows":e.navigator?.platform?.startsWith("Win")??!1}var Qn=Yn();function Yt(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function Xn(e){return e=Yt(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function Zn(e){e=Yt(e);let t=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(t=`\\\\${e.hostname}${t}`),t}function ea(e){return Qn?Zn(e):Xn(e)}var ta=e=>String(e).split(/[/\\]/).pop(),ra=e=>String(e).startsWith("file:");function na(e){return Array.isArray(e)&&e.length>0}var Be=na;function Qt(e,t){if(!t)return;let r=ta(t).toLowerCase();return e.find(({filenames:n})=>n?.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n?.some(a=>r.endsWith(a)))}function aa(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r?.includes(t))??e.find(({extensions:r})=>r?.includes(`.${t}`))}var ia=void 0;function Xt(e,t){if(t){if(ra(t))try{t=ea(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:r})=>r?.({filepath:t}))}}function sa(e,t){let r=Jn(0,e.plugins).flatMap(n=>n.languages??[]);return(aa(r,t.language)??Qt(r,t.physicalFile)??Qt(r,t.file)??Xt(r,t.physicalFile)??Xt(r,t.file)??ia?.(r,t.physicalFile))?.parsers[0]}var ot=sa,Zt=Symbol.for("PRETTIER_IS_FRONT_MATTER");function oa(e){return!!e?.[Zt]}var He=oa;function la(e){return C(0,e,/[^\n]/g," ")}var er=la,me=3;function ca(e){let t=e.slice(0,me);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(`
|
|
9
|
-
`,me);if(r===-1)return;let n=e.slice(me,r).trim(),a=e.indexOf(`
|
|
10
|
-
${t}`,r),i=n;if(i||(i=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&i==="yaml"&&(a=e.indexOf(`
|
|
11
|
-
...`,r)),a===-1)return;let s=a+1+me,o=e.charAt(s+1);if(!/\s?/.test(o))return;let l=e.slice(0,s),c;return{language:i,explicitLanguage:n||null,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:l.slice(-me),raw:l,start:{line:1,column:0,index:0},end:{index:l.length,get line(){return c??(c=l.split(`
|
|
12
|
-
`)),c.length},get column(){return c??(c=l.split(`
|
|
13
|
-
`)),J(0,c,-1).length}},[Zt]:!0}}function ua(e){let t=ca(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return er(r)+e.slice(r.length)}}:{content:e}}var pa=ua,ha="inline",tr={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",details:"block",summary:"block",marquee:"inline-block",option:"block",optgroup:"block",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block"},da="normal",rr={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function ma(e){return e.kind==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var ge=ma,ga=e=>C(0,e,/^[\t\f\r ]*\n/g,""),nr=e=>ga(E.trimEnd(e)),fa=e=>{let t=e,r=E.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=E.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function ar(e,t){return!!(e.kind==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.kind==="ieConditionalComment"&&!e.complete||U(e)&&e.children.some(r=>r.kind!=="text"&&r.kind!=="interpolation")||ut(e,t)&&!M(e,t)&&e.kind!=="interpolation")}function Re(e){return e.kind==="attribute"||!e.parent||!e.prev?!1:va(e.prev)}function va(e){return e.kind==="comment"&&e.value.trim()==="prettier-ignore"}function N(e){return e.kind==="text"||e.kind==="comment"}function M(e,t){return e.kind==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||e.fullName==="mj-style"&&t.parser==="mjml"||ge(e)&&(e.name==="script"||e.name==="style"))}function _a(e,t){return e.children&&!M(e,t)}function Sa(e,t){return M(e,t)||e.kind==="interpolation"||ir(e)}function ir(e){return dr(e).startsWith("pre")}function ka(e,t){let r=n();if(r&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf)return e.kind==="interpolation";return r;function n(){return He(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.prev&&(e.prev.kind==="text"||e.prev.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:U(e.parent)?!0:!(!e.prev&&(e.parent.kind==="root"||U(e)&&e.parent||M(e.parent,t)||Ue(e.parent,t)||!Na(e.parent.cssDisplay))||e.prev&&!Da(e.prev.cssDisplay))}}function ba(e,t){return He(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.next&&(e.next.kind==="text"||e.next.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:U(e.parent)?!0:!(!e.next&&(e.parent.kind==="root"||U(e)&&e.parent||M(e.parent,t)||Ue(e.parent,t)||!qa(e.parent.cssDisplay))||e.next&&!Aa(e.next.cssDisplay))}function wa(e,t){return Ia(e.cssDisplay)&&!M(e,t)}function Fe(e){return He(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function ya(e){return sr(e)||e.kind==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>Ta(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!=="text"&&lr(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||cr(e.lastChild))}function sr(e){return e.kind==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function lt(e){return ur(e)||e.prev&&Ca(e.prev)||or(e)}function Ca(e){return ur(e)||e.kind==="element"&&e.fullName==="br"||or(e)}function or(e){return lr(e)&&cr(e)}function lr(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.kind==="root"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function cr(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.kind==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function ur(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function ct(e){return e.lastChild?ct(e.lastChild):e}function Ta(e){return e.children?.some(t=>t.kind!=="text")}function pr(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"text/jsx":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function xa(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Z(n,"src"))return;let{type:a,lang:i}=e.attrMap;return!i&&!a?"babel":ot(t,{language:i})??pr(a)}function Ea(e,t){if(!ut(e,t))return;let{attrMap:r}=e;if(Z(r,"src"))return;let{type:n,lang:a}=r;return ot(t,{language:a})??pr(n)}function La(e,t){if(e.name==="style"){let{lang:r}=e.attrMap;return r?ot(t,{language:r}):"css"}if(e.name==="mj-style"&&t.parser==="mjml")return"css"}function hr(e,t){return xa(e,t)??La(e,t)??Ea(e,t)}function fe(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Na(e){return!fe(e)&&e!=="inline-block"}function qa(e){return!fe(e)&&e!=="inline-block"}function Aa(e){return!fe(e)}function Da(e){return!fe(e)}function Ia(e){return!fe(e)&&e!=="inline-block"}function U(e){return dr(e).startsWith("pre")}function Pa(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Ma(e,t){if(ee(e,t))return"block";if(e.prev?.kind==="comment"){let n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}let r=!1;if(e.kind==="element"&&e.namespace==="svg")if(Pa(e,n=>n.fullName==="svg:foreignObject"))r=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:if(e.kind==="element"&&(!e.namespace||r||ge(e))&&Z(tr,e.name))return tr[e.name]}return ha}function dr(e){return e.kind==="element"&&(!e.namespace||ge(e))&&Z(rr,e.name)?rr[e.name]:da}function mr(e){return C(0,C(0,e,"'","'"),""",'"')}function x(e){return mr(e.value)}var Ba=new Set(["template","style","script"]);function Ue(e,t){return ee(e,t)&&!Ba.has(e.fullName)}function ee(e,t){return t.parser==="vue"&&e.kind==="element"&&e.parent.kind==="root"&&e.fullName.toLowerCase()!=="html"}function ut(e,t){return ee(e,t)&&(Ue(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Ha(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Ra(e,t){let r=e.parent;if(!ee(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function gr(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?q(t):q(E.dedentString(nr(t)),S):Q(k,E.split(t))}function fr(e,t){return ee(e,t)&&e.name==="script"}function Fa(e){let{valueSpan:t,value:r}=e;return t.end.offset-t.start.offset===r.length+2}function vr(e,t){if(Fa(e))return!1;let{value:r}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r)||t.parser==="lwc"&&r.startsWith("{")&&r.endsWith("}")}var _r=/\{\{(.+?)\}\}/s,Ua=({node:{value:e}})=>_r.test(e);async function Oa(e,t,r){let n=x(r.node),a=[];for(let[i,s]of n.split(_r).entries())if(i%2===0)a.push(q(s));else try{a.push(b(["{{",I([k,await L(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),k,"}}"]))}catch{a.push("{{",q(s),"}}")}return a}var pt=e=>(t,r,n)=>L(x(n.node),t,{parser:e},X),Va=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:pt("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/.test(t)||/^ng-(?:if|show|hide|class|style)$/.test(t)},print:pt("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:pt("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/.test(e.node.fullName),print:za},{test:Ua,print:Oa}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="angular"&&e(r),print:t}));function za(e,t,{node:r}){let n=x(r);return de(Jt(gr(r,n.trim())),!n.includes("@@"))}var $a=Va,Wa=({node:e},t)=>!t.parentParser&&e.fullName==="class"&&!e.value.includes("{{"),ja=(e,t,r)=>C(0,x(r.node).trim(),/\s+/g," "),Ga=["onabort","onafterprint","onauxclick","onbeforeinput","onbeforematch","onbeforeprint","onbeforetoggle","onbeforeunload","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncommand","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],Ka=new Set(Ga),Ja=({node:e},t)=>Ka.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),Ya=(e,t,r)=>L(x(r.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1);function Qa(e){let t=[];for(let r of e.split(";")){if(r=E.trim(r),!r)continue;let[n,...a]=E.split(r);t.push({name:n,value:a})}return t}var Xa=Qa,Za=({node:e},t)=>e.fullName==="allow"&&!t.parentParser&&e.parent.fullName==="iframe"&&!e.value.includes("{{");function ei(e,t,r){let{node:n}=r,a=Xa(x(n));return a.length===0?[""]:de(a.map(({name:i,value:s},o)=>[[i,...s].join(" "),o===a.length-1?he(";"):[";",k]]))}function Sr(e){return e===" "||e===`
|
|
14
|
-
`||e==="\f"||e==="\r"||e===" "}var ti=/^[ \t\n\r\u000c]+/,ri=/^[, \t\n\r\u000c]+/,ni=/^[^ \t\n\r\u000c]+/,ai=/[,]+$/,kr=/^\d+$/,ii=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function si(e){let t=e.length,r,n,a,i,s,o=0,l;function c(p){let h,v=p.exec(e.substring(o));if(v)return[h]=v,o+=h.length,h}let u=[];for(;;){if(c(ri),o>=t){if(u.length===0)throw new Error("Must contain one or more image candidate strings.");return u}l=o,r=c(ni),n=[],r.slice(-1)===","?(r=r.replace(ai,""),g()):f()}function f(){for(c(ti),a="",i="in descriptor";;){if(s=e.charAt(o),i==="in descriptor")if(Sr(s))a&&(n.push(a),a="",i="after descriptor");else if(s===","){o+=1,a&&n.push(a),g();return}else if(s==="(")a+=s,i="in parens";else if(s===""){a&&n.push(a),g();return}else a+=s;else if(i==="in parens")if(s===")")a+=s,i="in descriptor";else if(s===""){n.push(a),g();return}else a+=s;else if(i==="after descriptor"&&!Sr(s))if(s===""){g();return}else i="in descriptor",o-=1;o+=1}}function g(){let p=!1,h,v,T,H,K={},F,Qe,le,Ie,qt;for(H=0;H<n.length;H++)F=n[H],Qe=F[F.length-1],le=F.substring(0,F.length-1),Ie=parseInt(le,10),qt=parseFloat(le),kr.test(le)&&Qe==="w"?((h||v)&&(p=!0),Ie===0?p=!0:h=Ie):ii.test(le)&&Qe==="x"?((h||v||T)&&(p=!0),qt<0?p=!0:v=qt):kr.test(le)&&Qe==="h"?((T||v)&&(p=!0),Ie===0?p=!0:T=Ie):p=!0;if(!p)K.source={value:r,startOffset:l},h&&(K.width={value:h}),v&&(K.density={value:v}),T&&(K.height={value:T}),u.push(K);else throw new Error(`Invalid srcset descriptor found in "${e}" at "${F}".`)}}var oi=si,li=e=>e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"),br={width:"w",height:"h",density:"x"},ci=Object.keys(br);function ui(e,t,r){let n=x(r.node),a=oi(n),i=ci.filter(p=>a.some(h=>Z(h,p)));if(i.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[s]=i,o=br[s],l=a.map(p=>p.source.value),c=Math.max(...l.map(p=>p.length)),u=a.map(p=>p[s]?String(p[s].value):""),f=u.map(p=>{let h=p.indexOf(".");return h===-1?p.length:h}),g=Math.max(...f);return de(Q([",",k],l.map((p,h)=>{let v=[p],T=u[h];if(T){let H=c-p.length+1,K=g-f[h],F=" ".repeat(H+K);v.push(he(F," "),T+o)}return v})))}var pi=({node:e},t)=>e.fullName==="style"&&!t.parentParser&&!e.value.includes("{{"),hi=async(e,t,r)=>de(await e(x(r.node),{parser:"css",__isHTMLStyleAttribute:!0})),di=new WeakMap;function mi(e,t){return jt(di,e.root,r=>r.children.some(n=>fr(n,t)&&["ts","typescript"].includes(n.attrMap.lang)))}var te=mi;function gi(e,t,r){let n=x(r.node);return L(`type T<${n}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},X)}function fi(e,t,r,n){let a=x(r.node),i=te(r,n)?"babel-ts":"babel";return L(`function _(${a}) {}`,e,{parser:i,__isVueBindings:!0})}async function vi(e,t,r,n){let a=x(r.node),{left:i,operator:s,right:o}=_i(a),l=te(r,n);return[b(await L(`function _(${i}) {}`,e,{parser:l?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",s," ",await L(o,e,{parser:l?"__ts_expression":"__js_expression"})]}function _i(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=e.match(t);if(!r)return;let n={for:r[3].trim()};if(!n.for)return;let a=/,([^,\]}]*)(?:,([^,\]}]*))?$/,i=/^\(|\)$/g,s=C(0,r[1].trim(),i,""),o=s.match(a);o?(n.alias=s.replace(a,""),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=s;let l=[n.alias,n.iterator1,n.iterator2];if(!l.some((c,u)=>!c&&(u===0||l.slice(u+1).some(Boolean))))return{left:l.filter(Boolean).join(","),operator:r[2],right:n.for}}var Si=[{test:e=>e.node.fullName==="v-for",print:vi},{test:(e,t)=>e.node.fullName==="generic"&&fr(e.parent,t),print:gi},{test:({node:e},t)=>Ha(e)||Ra(e,t),print:fi},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:ki},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:bi},{test:e=>e.node.fullName.startsWith("v-"),print:wr}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="vue"&&e(r,n),print:t}));async function ki(e,t,r,n){try{return await wr(e,t,r,n)}catch(s){if(s.cause?.code!=="BABEL_PARSER_SYNTAX_ERROR")throw s}let a=x(r.node),i=te(r,n)?"__vue_ts_event_binding":"__vue_event_binding";return L(a,e,{parser:i},X)}function bi(e,t,r,n){let a=x(r.node),i=te(r,n)?"__vue_ts_expression":"__vue_expression";return L(a,e,{parser:i},X)}function wr(e,t,r,n){let a=x(r.node),i=te(r,n)?"__ts_expression":"__js_expression";return L(a,e,{parser:i},X)}var wi=Si,yi=[{test:li,print:ui},{test:pi,print:hi},{test:Ja,print:Ya},{test:Wa,print:ja},{test:Za,print:ei},...wi,...$a].map(({test:e,print:t})=>({test:e,print:Ti(t)}));function Ci(e,t){let{node:r}=e,{value:n}=r;if(n)return vr(r,t)?[r.rawName,"=",n]:yi.find(({test:a})=>a(e,t))?.print}function Ti(e){return async(t,r,n,a)=>{let i=await e(t,r,n,a);if(i)return i=Kt(i,s=>typeof s=="string"?C(0,s,'"',"""):s),[n.node.rawName,'="',b(i),'"']}}var xi=Ci,re=e=>e.sourceSpan.start.offset,Oe=e=>e.sourceSpan.end.offset;function ht(e,t){return[e.isSelfClosing?"":Ei(e,t),ve(e,t)]}function Ei(e,t){return e.lastChild&&ne(e.lastChild)?"":[Li(e,t),dt(e,t)]}function ve(e,t){return(e.next?V(e.next):Se(e.parent))?"":[_e(e,t),O(e,t)]}function Li(e,t){return Se(e)?_e(e.lastChild,t):""}function O(e,t){return ne(e)?dt(e.parent,t):Ve(e)?gt(e.next,t):""}function dt(e,t){if(yr(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function _e(e,t){if(yr(e,t))return"";switch(e.kind){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function yr(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Re(e)||ar(e.parent,t))}function V(e){return e.prev&&e.prev.kind!=="docType"&&e.kind!=="angularControlFlowBlock"&&!N(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Se(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!N(ct(e.lastChild))&&!U(e)}function ne(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&N(ct(e))}function Ve(e){return e.next&&!N(e.next)&&N(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Ni(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function ze(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function qi(e,t,r){let{node:n}=e,{attrs:a=[],startTagComments:i=[]}=n;if(a.length===0&&i.length===0)return n.isSelfClosing?" ":"";let s=n.prev?.kind==="comment"&&Ni(n.prev.value),o=typeof s=="boolean"?()=>s:Array.isArray(s)?h=>s.includes(h.rawName):()=>!1,l=["attrs","startTagComments"].filter(h=>Be(n[h])),c=l.flatMap(h=>e.map(({node:v})=>({loc:re(v),printed:v.kind==="attribute"&&o(v)?q(t.originalText.slice(re(v),Oe(v))):r()}),h));l.length>1&&c.sort((h,v)=>h.loc-v.loc);let u=n.kind==="element"&&n.fullName==="script"&&a.length===1&&a[0].fullName==="src"&&n.children.length===0&&i.length===0,f=i.some(h=>h.type==="single"),g=f||t.singleAttributePerLine&&a.length>1&&!ee(n,t)?S:k,p=[I([u?" ":f?S:k,Q(g,c.map(({printed:h})=>h))])];return n.firstChild&&ze(n.firstChild)||n.isSelfClosing&&Se(n.parent)||u?p.push(n.isSelfClosing?" ":""):p.push(t.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?k:y),p}function Ai(e){return e.firstChild&&ze(e.firstChild)?"":ft(e)}function mt(e,t,r){let{node:n}=e;return[ke(n,t),qi(e,t,r),n.isSelfClosing?"":Ai(n)]}function ke(e,t){return e.prev&&Ve(e.prev)?"":[z(e,t),gt(e,t)]}function z(e,t){return ze(e)?ft(e.parent):V(e)?_e(e.prev,t):""}var Cr="<!doctype";function gt(e,t){switch(e.kind){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if(e.value==="html"){let{filepath:n}=t;if(n&&/\.html?$/.test(n))return Cr}let r=re(e);return t.originalText.slice(r,r+Cr.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function ft(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}function Di(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&ze(e.firstChild)&&(r-=ft(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ne(e.lastChild)?n+=dt(e,t).length:Se(e)&&(n-=_e(e.lastChild,t).length),t.originalText.slice(r,n)}var Tr=Di,Ii=new Set(["if","else if","for","switch","case"]);function Pi(e,t){let{node:r}=e;switch(r.kind){case"element":if(M(r,t)||r.kind==="interpolation")return;if(!r.isSelfClosing&&ut(r,t)){let n=hr(r,t);return n?async(a,i)=>{let s=Tr(r,t),o=/^\s*$/.test(s),l="";return o||(l=await a(nr(s),{parser:n,__embeddedInHtml:!0}),o=l===""),[z(r,t),b(mt(e,t,i)),o?"":S,l,o?"":S,ht(r,t),O(r,t)]}:void 0}break;case"text":if(M(r.parent,t)){let n=hr(r.parent,t);if(n)return async a=>{let i=n==="markdown"?E.dedentString(r.value.replace(/^[^\S\n]*\n/,"")):r.value,s={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let o="script",{attrMap:l}=r.parent;l&&(l.type==="module"||(l.type==="text/babel"||l.type==="text/jsx")&&l["data-type"]==="module")&&(o="module"),s.__babelSourceType=o}return[pe,z(r,t),await a(i,s),O(r,t)]}}else if(r.parent.kind==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=te(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[I([k,await n(r.value,a)]),r.parent.next&&V(r.parent.next)?" ":k]};break;case"attribute":return xi(e,t);case"angularControlFlowBlockParameters":return Ii.has(e.parent.name)?Wn:void 0;case"angularLetDeclarationInitializer":return n=>L(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var Mi=Pi,be=null;function we(e){if(be!==null&&typeof be.property){let t=be;return be=we.prototype=null,t}return be=we.prototype=e??Object.create(null),new we}var Bi=10;for(let e=0;e<=Bi;e++)we();function Hi(e){return we(e)}function Ri(e,t="type"){Hi(e);function r(n){let a=n[t],i=e[a];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return i}return r}var Fi=Ri,ye=[["children"]],Ui={root:ye[0],element:["attrs","startTagComments","children"],ieConditionalComment:ye[0],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:ye[0],text:ye[0],docType:[],comment:[],attribute:[],startTagComment:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:ye[0],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Oi=Fi(Ui,"kind"),Vi=Oi,zi=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),$i=new Set(["if","else if","for","switch","case"]);function xr(e,t,r){if(e.kind==="text"||e.kind==="comment")return null;if(e.kind==="yaml"&&delete t.value,e.kind==="attribute"){let{fullName:n,value:a}=e;n==="style"||n==="class"||n==="srcset"&&(r.fullName==="img"||r.fullName==="source")||n==="allow"&&r.fullName==="iframe"||n.startsWith("on")||n.startsWith("@")||n.startsWith(":")||n.startsWith(".")||n.startsWith("#")||n.startsWith("v-")||n==="vars"&&r.fullName==="style"||(n==="setup"||n==="generic")&&r.fullName==="script"||n==="slot-scope"||n.startsWith("(")||n.startsWith("[")||n.startsWith("*")||n.startsWith("bind")||n.startsWith("i18n")||n.startsWith("on-")||n.startsWith("ng-")||a?.includes("{{")?delete t.value:a&&(t.value=C(0,a,/'|"|'/g,'"'))}if(e.kind==="docType"&&(t.value=C(0,e.value.toLowerCase(),/\s+/g," ")),e.kind==="angularControlFlowBlock"&&e.parameters?.children)for(let n of t.parameters.children)$i.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.kind==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.kind==="angularLetDeclarationInitializer"&&delete t.value,e.kind==="element"&&e.isVoid&&!e.isSelfClosing&&(t.isSelfClosing=!0)}xr.ignoredProperties=zi;var Wi="format",ji=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/,Gi=/^\s*<!--\s*@(?:format|prettier)\s*-->/,Ki=e=>Gi.test(e),Ji=e=>ji.test(e),Yi=e=>`<!-- @${Wi} -->
|
|
15
|
-
|
|
16
|
-
${e}`,Qi=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])],["boundary",new Set(["error"])]]);function Er(e){let t=Oe(e);return e.kind==="element"&&!e.endSourceSpan&&Be(e.children)?Math.max(t,Er(J(0,e.children,-1))):t}function Ce(e,t,r){let n=e.node;if(Re(n)){let a=Er(n);return[z(n,t),q(E.trimEnd(t.originalText.slice(re(n)+(n.prev&&Ve(n.prev)?gt(n).length:0),a-(n.next&&V(n.next)?_e(n,t).length:0)))),O(n,t)]}return r()}function $e(e,t){return N(e)&&N(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?lt(t)?S:k:"":lt(t)?S:y:Ve(e)&&(Re(t)||t.firstChild||t.isSelfClosing||t.kind==="element"&&t.attrs.length>0)||e.kind==="element"&&e.isSelfClosing&&V(t)?"":t.kind==="comment"&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces?y:!t.isLeadingSpaceSensitive||lt(t)||V(t)&&e.lastChild&&ne(e.lastChild)&&e.lastChild.lastChild&&ne(e.lastChild.lastChild)?S:t.hasLeadingSpaces?k:y}function vt(e,t,r){let{node:n}=e;if(sr(n))return[pe,...e.map(()=>{let i=e.node,s=i.prev?$e(i.prev,i):"";return[s?[s,Fe(i.prev)?S:""]:"",Ce(e,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map(({node:i,index:s})=>{if(N(i)){if(i.prev&&N(i.prev)){let p=$e(i.prev,i);if(p)return Fe(i.prev)?[S,S,Ce(e,t,r)]:[p,Ce(e,t,r)]}return Ce(e,t,r)}let o=[],l=[],c=[],u=[],f=i.prev?$e(i.prev,i):"",g=i.next?$e(i,i.next):"";return f&&(Fe(i.prev)?o.push(S,S):f===S?o.push(S):N(i.prev)?l.push(f):l.push(he("",y,{groupId:a[s-1]}))),g&&(Fe(i)?N(i.next)&&u.push(S,S):g===S?N(i.next)&&u.push(S):c.push(g)),[...o,b([...l,b([Ce(e,t,r),...c],{id:a[s]})]),...u]},"children")}function Xi(e,t,r){let{node:n}=e,a=[];rs(e)&&a.push("} "),a.push("@",n.name);let i=es(n);if(n.parameters&&(i||a.push(" "),a.push("(",b(r("parameters")),")")),i)return a.push(";"),a;if(!ts(n)){a.push(" {");let s=Lr(n);n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(I([S,vt(e,t,r)])),s&&a.push(S,"}")):s&&a.push("}")}return b(a,{shouldBreak:!0})}function Lr(e){return!(e.next?.kind==="angularControlFlowBlock"&&Qi.get(e.name)?.has(e.next.name))}var Zi=e=>e?.kind==="angularControlFlowBlock"&&(e.name==="case"||e.name==="default"),es=e=>e?.kind==="angularControlFlowBlock"&&e.name==="default never";function ts(e){return Zi(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function rs(e){let{previous:t}=e;return t?.kind==="angularControlFlowBlock"&&!Re(t)&&!Lr(t)}function ns(e,t,r){return[I([y,Q([";",k],e.map(r,"children"))]),y]}function as(e,t,r){let{node:n}=e;return[ke(n,t),b([n.switchValue.trim(),", ",n.type,n.cases.length>0?[",",I([k,Q(k,e.map(r,"cases"))])]:"",y]),ve(n,t)]}function is(e,t,r){let{node:n}=e;return[n.value," {",b([I([y,e.map(({node:a,isLast:i})=>{let s=[r()];return a.kind==="text"&&(a.hasLeadingSpaces&&s.unshift(k),a.hasTrailingSpaces&&!i&&s.push(k)),s},"expression")]),y]),"}"]}function ss(e,t,r){let{node:n}=e;if(ar(n,t))return[z(n,t),b(mt(e,t,r)),q(Tr(n,t)),...ht(n,t),O(n,t)];let a=n.children.length===1&&(n.firstChild.kind==="interpolation"||n.firstChild.kind==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),s=u=>b([b(mt(e,t,r),{id:i}),u,ht(n,t)]);if(n.children.length===0)return s(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?k:"");let o=u=>a?Nn(u,{groupId:i}):(M(n,t)||Ue(n,t))&&n.parent.kind==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?u:I(u),l=()=>a?he(y,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?k:n.firstChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?Ln(y):y,c=()=>(n.next?V(n.next):Se(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":U(n)&&ne(n.lastChild)?"":a?he(y,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?k:(n.lastChild.kind==="comment"||n.lastChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":y;return s([ya(n)?pe:"",o([l(),vt(e,t,r)]),c()])}function os(e){let{node:{value:t,type:r}}=e;return r==="single"?`//${t.trimEnd()}`:["/*",q(t),"*/"]}var ls=(function(e){return e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA",e})({});function ae(e,t=!0){if(e[0]!=":")return[null,e];let r=e.indexOf(":",1);if(r===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,r),e.slice(r+1)]}function Nr(e){return ae(e)[1]==="ng-container"}function qr(e){return ae(e)[1]==="ng-content"}function We(e){return e===null?null:ae(e)[0]}function Te(e,t){return e?`:${e}:${t}`:t}var je,cs="math",_t=()=>Object.create(null);function us(){return je||(je=_t(),R(1,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),R(2,void 0,[["*",["style"]]]),R(4,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),R(4,cs,[["*",["href","xlink:href"]]]),R(5,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),R(4,"svg",[["a",["href","xlink:href"]]]),R(6,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),R(6,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),je)}function R(e,t,r){let n=t??"";for(let[i,s]of r){let o=i.toLowerCase();for(let l of s){var a;let c=l.toLowerCase(),u=(a=je)[c]??(a[c]=_t()),f=u[n]??(u[n]=_t());f[o]=e}}}function ps(e,t,r){let n=us()[t.toLowerCase()];if(!n)return 0;let a=e.toLowerCase(),i;if(r){let s=n[r];s&&(i=s[a]??s["*"])}if(i===void 0){let s=n[""];s&&(i=s[a]??s["*"])}if(i===void 0&&(!r||r==="")){let s=n.svg;s&&(i=s[a])}return i??0}var Ar={name:"custom-elements"},Dr={name:"no-errors-schema"},hs=/-+([a-z0-9])/g;function ds(e){return e.replace(hs,(...t)=>t[1].toUpperCase())}var ms=class{},gs="boolean",fs="number",vs="string",_s="object";function Ge(e){let t=e.toLowerCase(),[r,n]=ae(t,!1);return r==="svg"||r==="math"?`:${r}:${n}`:n}var Ss=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,!credentialless,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Ir=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),ks=Array.from(Ir).reduce((e,[t,r])=>(e.set(t,r),e),new Map),bs=class extends ms{_schema=new Map;_eventSchema=new Map;constructor(){super(),Ss.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),i=a.split(","),[s,o]=n.split("^");s.split(",").forEach(c=>{this._schema.set(c.toLowerCase(),t),this._eventSchema.set(c.toLowerCase(),r)});let l=o&&this._schema.get(o.toLowerCase());if(l){for(let[c,u]of l)t.set(c,u);for(let c of this._eventSchema.get(o.toLowerCase()))r.add(c)}i.forEach(c=>{if(c.length>0)switch(c[0]){case"*":r.add(c.substring(1));break;case"!":t.set(c.substring(1),gs);break;case"#":t.set(c.substring(1),fs);break;case"%":t.set(c.substring(1),_s);break;default:t.set(c,vs)}})})}hasProperty(e,t,r){if(r.some(a=>a.name===Dr.name))return!0;let n=Ge(e);if(n.includes("-")){if(Nr(n)||qr(n))return!1;if(r.some(a=>a.name===Ar.name))return!0}return(this._schema.get(n)||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some(n=>n.name===Dr.name))return!0;let r=Ge(e);return r.includes("-")&&(Nr(r)||qr(r)||t.some(n=>n.name===Ar.name))?!0:this._schema.has(r)}securityContext(e,t,r){r&&(t=this.getMappedPropName(t));let[n,a]=ae(e,!1);return ps(a,t,n)}getMappedPropName(e){return Ir.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
|
|
17
|
-
If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=Ge(e),r=this._schema.get(t)||this._schema.get("unknown");return Array.from(r.keys()).map(n=>ks.get(n)??n)}allKnownEventsOfElement(e){let t=Ge(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return ds(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),i=null;if(ws(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:a+n}}};function ws(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var m=class{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=2,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:s=!1,canSelfClose:o=!1}={}){e&&e.length>0&&e.forEach(l=>this.closedByChildren[l]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=s,this.canSelfClose=o??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},Pr,xe;function St(e){return xe||(Pr=new m({canSelfClose:!0}),xe=Object.assign(Object.create(null),{base:new m({isVoid:!0}),meta:new m({isVoid:!0}),area:new m({isVoid:!0}),embed:new m({isVoid:!0}),link:new m({isVoid:!0}),img:new m({isVoid:!0}),input:new m({isVoid:!0}),param:new m({isVoid:!0}),hr:new m({isVoid:!0}),br:new m({isVoid:!0}),source:new m({isVoid:!0}),track:new m({isVoid:!0}),wbr:new m({isVoid:!0}),p:new m({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new m({closedByChildren:["tbody","tfoot"]}),tbody:new m({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new m({closedByChildren:["tbody"],closedByParent:!0}),tr:new m({closedByChildren:["tr"],closedByParent:!0}),td:new m({closedByChildren:["td","th"],closedByParent:!0}),th:new m({closedByChildren:["td","th"],closedByParent:!0}),col:new m({isVoid:!0}),svg:new m({implicitNamespacePrefix:"svg"}),foreignObject:new m({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new m({implicitNamespacePrefix:"math"}),li:new m({closedByChildren:["li"],closedByParent:!0}),dt:new m({closedByChildren:["dt","dd"]}),dd:new m({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new m({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new m({closedByChildren:["optgroup"],closedByParent:!0}),option:new m({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new m({ignoreFirstLf:!0}),listing:new m({ignoreFirstLf:!0}),style:new m({contentType:0}),script:new m({contentType:0}),title:new m({contentType:{default:1,svg:2}}),textarea:new m({contentType:1,ignoreFirstLf:!0})}),new bs().allKnownElementNames().forEach(t=>{!xe[t]&&We(t)===null&&(xe[t]=new m({canSelfClose:!1}))})),xe[e]??Pr}var kt=class sn{file;offset;line;col;constructor(t,r,n,a){this.file=t,this.offset=r,this.line=n,this.col=a}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,a=this.offset,i=this.line,s=this.col;for(;a>0&&t<0;)if(a--,t++,r.charCodeAt(a)==10){i--;let o=r.substring(0,a-1).lastIndexOf(`
|
|
18
|
-
`);s=o>0?a-o:a}else s--;for(;a<n&&t>0;){let o=r.charCodeAt(a);a++,t--,o==10?(i++,s=0):s++}return new sn(this.file,a,i,s)}getContext(t,r){let n=this.file.content,a=this.offset;if(a!=null){a>n.length-1&&(a=n.length-1);let i=a,s=0,o=0;for(;s<t&&a>0&&(a--,s++,!(n[a]==`
|
|
19
|
-
`&&++o==r)););for(s=0,o=0;s<t&&i<n.length-1&&(i++,s++,!(n[i]==`
|
|
20
|
-
`&&++o==r)););return{before:n.substring(a,this.offset),after:n.substring(this.offset,i+1)}}return null}},Mr=class{content;url;constructor(e,t){this.content=e,this.url=t}},d=class{start;end;fullStart;details;constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},ys=(function(e){return e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR",e})({}),ie=class extends Error{span;msg;level;relatedError;constructor(e,t,r=1,n){super(t),this.span=e,this.msg=t,this.level=r,this.relatedError=n,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${ys[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},$=class{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}},Cs=class extends ${value;tokens;constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r}visit(e,t){return e.visitText(this,t)}kind="text"},Ts=class extends ${value;tokens;constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r}visit(e,t){return e.visitCdata(this,t)}kind="cdata"},xs=class extends ${switchValue;type;cases;switchValueSourceSpan;constructor(e,t,r,n,a,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}kind="expansion"},Es=class{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a}visit(e,t){return e.visitExpansionCase(this,t)}kind="expansionCase"},Ls=class extends ${name;value;keySpan;valueSpan;valueTokens;constructor(e,t,r,n,a,i,s){super(r,s),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=i}visit(e,t){return e.visitAttribute(this,t)}kind="attribute";get nameSpan(){return this.keySpan}},Ns=class{value;type;sourceSpan;constructor(e,t,r){this.value=e,this.type=t,this.sourceSpan=r}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}kind="startTagComment"},W=class extends ${name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;nameSpan;isVoid;comments;constructor(e,t,r,n,a,i,s,o=null,l=null,c,u,f=[]){super(i,u),this.name=e,this.attrs=t,this.directives=r,this.children=n,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=o,this.nameSpan=l,this.isVoid=c,this.comments=f}visit(e,t){return e.visitElement(this,t)}kind="element"},qs=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}kind="comment"},As=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitDocType(this,t)}kind="docType"},se=class extends ${name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,n,a,i,s=null,o){super(n,o),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=i,this.endSourceSpan=s}visit(e,t){return e.visitBlock(this,t)}kind="block"},B=class extends ${componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;comments;constructor(e,t,r,n,a,i,s,o,l,c=null,u,f=[]){super(o,u),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=n,this.directives=a,this.children=i,this.isSelfClosing=s,this.startSourceSpan=l,this.endSourceSpan=c,this.comments=f}visit(e,t){return e.visitComponent(this,t)}kind="component"},Ds=class{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,n,a=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=n,this.endSourceSpan=a}visit(e,t){return e.visitDirective(this,t)}kind="directive"},Br=class{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}kind="blockParameter";startSourceSpan=null;endSourceSpan=null},Hr=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a}visit(e,t){return e.visitLetDeclaration(this,t)}kind="letDeclaration";startSourceSpan=null;endSourceSpan=null};function Rr(e,t,r=null){let n=[],a=e.visit?i=>e.visit(i,r)||i.visit(e,r):i=>i.visit(e,r);return t.forEach(i=>{let s=a(i);s&&n.push(s)}),n}var Is=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.directives),r(e.comments),r(e.children)})}visitAttribute(e,t){}visitStartTagComment(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.comments),r(e.children)})}visitDirective(e,t){this.visitChildren(t,r=>{r(e.attrs)})}visitChildren(e,t){let r=[],n=this;function a(i){i&&r.push(Rr(n,i,e))}return t(a),Array.prototype.concat.apply([],r)}};function Ke(e){return e>=9&&e<=32||e==160}function Ee(e){return 48<=e&&e<=57}function Le(e){return e>=97&&e<=122||e>=65&&e<=90}function Ps(e){return e>=97&&e<=102||e>=65&&e<=70||Ee(e)}function Ne(e){return e===10||e===13}function Fr(e){return 48<=e&&e<=55}function bt(e){return e===39||e===34||e===96}var qe={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",af:"",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"",ic:"",InvisibleTimes:"",it:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",ZeroWidthSpace:"",NewLine:`
|
|
21
|
-
`,Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""};qe.ngsp="";var Ms=class{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function Bs(e,t,r,n={}){let a=new Vs(new Mr(e,t),r,n);return a.tokenize(),new Ms(Js(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}var Hs=/\r\n?/g;function j(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Ur(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function Rs(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var Fs=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@boundary","@error","@content"],Ae={start:"{{",end:"}}"},Us=/^default[^\S\r\n]+never/,Os=/^else[^\S\r\n]+if/,Vs=class{_getTagContentType;_cursor;_tokenizeIcu;_leadingTriviaCodePoints;_canSelfClose;_allowHtmComponentClosingTags;_allowStartTagComments;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_fullNameStack=[];_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,r){this._getTagContentType=t,this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1,this._allowStartTagComments=r.allowStartTagComments??!0;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Ys(e,n):new Wr(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0,this._selectorlessEnabled=r.selectorlessEnabled??!1;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Hs,`
|
|
22
|
-
`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(44),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();this._attemptCharCodeUntilFn(n=>Ke(n)?!e:Ks(n)?(e=!0,!1):!0);let r=this._cursor.getChars(t).trim();return Os.test(r)?r="else if":Us.test(r)&&(r="default never"),r}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(26,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(_),this._attemptCharCode(41))this._attemptCharCodeUntilFn(_);else{t.type=30;return}if(t.parts[0]==="default never"&&this._attemptCharCode(59)){this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([]);return}this._attemptCharCode(123)?(this._beginToken(27),this._endToken([])):this._isBlockStart()&&(t.parts[0]==="case"||t.parts[0]==="default")?(this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([])):t.type=30}_consumeBlockEnd(e){this._beginToken(28,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Vr);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(29);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&bt(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Vr)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(31,e),Ke(this._cursor.peek()))this._attemptCharCodeUntilFn(_);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=34;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(_),!this._attemptCharCode(61)){t.type=34;return}this._attemptCharCodeUntilFn(r=>_(r)&&!Ne(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(33),this._cursor.advance(),this._endToken([])):(t.type=34,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Le(r)||r===36||r===95||t&&Ee(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();this._beginToken(32,e),this._attemptUntilIgnoreQuotes(t=>t===59),this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(js(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new ie(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(this._currentTokenType===null)throw new ie(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new ie(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof wt&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ie)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Gs(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(j(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(j(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(j(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(j(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_attemptUntilIgnoreQuotes(e){for(;this._cursor.peek()!==0;){let t=this._cursor.peek();if(e(t))break;bt(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++){if(r.peek()!==e.charCodeAt(n))return!1;r.advance()}return!0}_isBlockStart(){return this._cursor.peek()===64&&Fs.some(e=>this._peekStr(e))}_isLetStart(){return this._cursor.peek()===64&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let r=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn($s),this._cursor.peek()!=59){this._cursor.advance();let i=r?"hexadecimal":"decimal";throw this._createError(Rs(i,this._cursor.getChars(t)),this._cursor.getSpan())}let a=this._cursor.getChars(n);this._cursor.advance();try{let i=parseInt(a,r?16:10);this._endToken([String.fromCodePoint(i),this._cursor.getChars(t)])}catch{throw this._createError(Ur(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ws),this._cursor.peek()!=59)this._beginToken(e,t),this._cursor=r,this._endToken(["&"]);else{let n=this._cursor.getChars(r);this._cursor.advance();let a=Z(qe,n)&&qe[n];if(!a)throw this._createError(Ur(n),this._cursor.getSpan(t));this._endToken([a,`&${n};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let r=[];for(;;){let n=this._cursor.clone(),a=t();if(this._cursor=n,a)break;e&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(6),this._beginToken(6)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(13,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(14),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(19,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(20),this._cursor.advance(),this._endToken([])}_consumeProcessingInstruction(e){this._beginToken(43,e);let t=this._cursor.clone();this._attemptUntilIgnoreQuotes(a=>a===63||a===62);let r=this._cursor.peek(),n=this._cursor.getChars(t);this._cursor.advance(),r===63&&this._requireCharCode(62),this._endToken([n])}_consumePrefixAndName(e){let t=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!zs(this._cursor.peek());)this._cursor.advance();let n;this._cursor.peek()===58?(r=this._cursor.getChars(t),this._cursor.advance(),n=this._cursor.clone()):n=t,this._requireCharCodeUntilFn(e,r===""?0:1);let a=this._cursor.getChars(n);return[r,a]}_consumeSingleLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(a=>Ne(a)||a===0);let r=this._cursor.clone(),n=r.getChars(t);this._beginToken(12,e),this._endToken([n,"single"],r),this._attemptCharCodeUntilFn(_)}_consumeMultiLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(i=>{if(i===0)return!0;if(i===42){let s=this._cursor.clone();return s.advance(),s.peek()===47}return!1});let r=this._cursor.clone(),n=r.getChars(t),a=r;this._attemptStr("*/")&&(a=this._cursor.clone(),this._attemptCharCodeUntilFn(_)),this._beginToken(12,e),this._endToken([n,"multi"],a)}_consumeTagOpen(e){let t,r,n,a,i=[];try{if(this._selectorlessEnabled&&Je(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[n,r,t]=a.parts,r&&(n+=`:${r}`),t&&(n+=`:${t}`),this._attemptCharCodeUntilFn(_);else{if(!Le(this._cursor.peek()))throw this._createError(j(this._cursor.peek()),this._cursor.getSpan(e));a=this._consumeTagOpenStart(e),r=a.parts[0],t=n=a.parts[1],this._attemptCharCodeUntilFn(_)}for(;;){if(this._allowStartTagComments){let o=this._cursor.clone();if(this._attemptStr("//")){this._consumeSingleLineComment(o);continue}if(this._attemptStr("/*")){this._consumeMultiLineComment(o);continue}}if($r(this._cursor.peek()))break;if(this._selectorlessEnabled&&this._cursor.peek()===64){let o=this._cursor.clone(),l=o.clone();l.advance(),Je(l.peek())&&this._consumeDirective(o,l)}else{let o=this._consumeAttribute();i.push(o)}}a.type===35?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(o){if(o instanceof ie){a?a.type=a.type===35?39:4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let s=this._getTagContentType(t,r,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(r,t),s===0?this._consumeRawTextWithTagClose(r,a,n,!1):s===1&&this._consumeRawTextWithTagClose(r,a,n,!0)}_consumeRawTextWithTagClose(e,t,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(_),!this._attemptStrCaseInsensitive(e&&t.type!==35?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(_),this._attemptCharCode(62))),this._beginToken(t.type===35?38:3),this._requireCharCodeUntilFn(a=>a===62,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName(G);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(35,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;zr(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),r="",n="";return this._cursor.peek()===58&&(this._cursor.advance(),[r,n]=this._consumePrefixAndName(G)),[t,r,n]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),r;return this._attemptCharCodeUntilFn(_),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(_),r=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(_),{prefix:e,name:t,value:r}}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(j(e),this._cursor.getSpan());this._beginToken(15);let t;if(this._openDirectiveCount>0){let n=0;t=a=>{if(this._openDirectiveCount>0){if(a===40)n++;else if(a===41){if(n===0)return!0;n--}}return G(a)}}else if(e===91){let n=0;t=a=>(a===91?n++:a===93&&n--,n<=0?G(a):Ne(a))}else t=G;let r=this._consumePrefixAndName(t);return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(17,18,r,r),this._consumeQuote(t)}else{let t=()=>G(this._cursor.peek());e=this._consumeWithInterpolation(17,18,t,t)}return e}_consumeQuote(e){this._beginToken(16),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?37:36;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;t.peek()!==62&&!Je(t.peek());)t.advance();if(Je(t.peek())){this._beginToken(38,e);let r=this._consumeComponentName();this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken(r);return}}if(this._beginToken(3,e),this._attemptCharCodeUntilFn(_),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName(G);this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(21),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(21),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(_),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(_)}_consumeExpansionCaseStart(){this._beginToken(22);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(_),this._beginToken(23),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.push(23)}_consumeExpansionCaseEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(25),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let s=this._cursor.clone();this._attemptStr(Ae.start)?(this._endToken([this._processCarriageReturns(a.join(""))],s),a.length=0,this._consumeInterpolation(t,s,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(a.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(Ae.start);let a=this._cursor.clone(),i=null,s=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let o=this._cursor.clone();if(this._isTagStart()){this._cursor=o,n.push(this._getProcessedChars(a,o)),this._endToken(n);return}if(i===null)if(this._attemptStr(Ae.end)){n.push(this._getProcessedChars(a,o)),n.push(Ae.end),this._endToken(n);return}else this._attemptStr("//")&&(s=!0);let l=this._cursor.peek();this._cursor.advance(),l===92?this._cursor.advance():l===i?i=null:!s&&i===null&&bt(l)&&(i=l)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();zr(this._cursor.peek());)this._cursor.advance();this._beginToken(40,e);let r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(_),this._cursor.peek()===40){for(this._openDirectiveCount++,this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(_);!$r(this._cursor.peek())&&this._cursor.peek()!==41;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(_),this._openDirectiveCount--,this._cursor.peek()!==41){if(this._cursor.peek()===62||this._cursor.peek()===47)return;throw this._createError(j(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(42),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(_)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._isLetStart()||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33||t===63)return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===23}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===21}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;let e=this._cursor.clone(),t=this._attemptStr(Ae.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let r=Te(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Te(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function _(e){return!Ke(e)||e===0}function G(e){return Ke(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function zs(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function $s(e){return e===59||e===0||!Ps(e)}function Ws(e){return e===59||e===0||!(Le(e)||Ee(e))}function js(e){return e!==125}function Gs(e,t){return Or(e)===Or(t)}function Or(e){return e>=97&&e<=122?e-97+65:e}function Ks(e){return Le(e)||Ee(e)||e===95}function Vr(e){return e!==59&&_(e)}function Je(e){return e===95||e>=65&&e<=90}function zr(e){return Le(e)||Ee(e)||e===95}function $r(e){return e===47||e===62||e===60||e===0}function Js(e){let t=[],r;for(let n=0;n<e.length;n++){let a=e[n];r&&r.type===5&&a.type===5||r&&r.type===17&&a.type===17?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,t.push(r))}return t}var Wr=class Dt{state;file;input;end;constructor(t,r){if(t instanceof Dt){this.file=t.file,this.input=t.input,this.end=t.end;let n=t.state;this.state={peek:n.peek,offset:n.offset,line:n.line,column:n.column}}else{if(!r)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new Dt(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,r){t=t||this;let n=t;if(r)for(;this.diff(t)>0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let a=this.locationFromCursor(t),i=this.locationFromCursor(this),s=n!==t?this.locationFromCursor(n):a;return new d(a,i,s)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new wt('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):Ne(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new kt(t.file,t.state.offset,t.state.line,t.state.column)}},Ys=class It extends Wr{internalState;constructor(t,r){t instanceof It?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new It(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(r.peek()),r.advance();return n}processEscapeSequence(){let t=()=>this.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(Fr(t())){let r="",n=0,a=this.clone();for(;Fr(t())&&n<3;)a=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=a.internalState}else Ne(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),a=parseInt(n,16);if(isNaN(a))throw t.state=t.internalState,new wt("Invalid hexadecimal escape sequence",t);return a}},wt=class extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},w=class on extends ie{elementName;static create(t,r,n){return new on(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},Qs=class{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}},Xs=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let i=p=>(h,...v)=>p(h.toLowerCase(),...v),s=n?this.getTagDefinition:i(this.getTagDefinition),o=p=>s(p).getContentType(),l=n?a:i(a),c=Bs(e,t,a?(p,h,v,T)=>{let H=l(p,h,v,T);return H!==void 0?H:o(p)}:o,r),u=r&&r.canSelfClose||!1,f=r&&r.allowHtmComponentClosingTags||!1,g=new Zs(c.tokens,s,u,f,n);return g.build(),new Qs(g.rootNodes,[...c.errors,...g.errors])}},Zs=class ln{tokens;tagDefinitionResolver;canSelfClose;allowHtmComponentClosingTags;isTagNameCaseSensitive;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(t,r,n,a,i){this.tokens=t,this.tagDefinitionResolver=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=a,this.isTagNameCaseSensitive=i,this._advance()}build(){for(;this._peek.type!==44;)this._peek.type===0||this._peek.type===4?this._consumeElementStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===13?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===21?this._consumeExpansion(this._advance()):this._peek.type===26?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===28?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===31?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===19?this._consumeDocType(this._advance()):this._peek.type===34?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===35||this._peek.type===39?this._consumeComponentStartTag(this._advance()):this._peek.type===38?this._consumeComponentEndTag(this._advance()):this._advance();for(let t of this._containerStack)t instanceof se&&this.errors.push(w.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],t}_advanceIf(t){return this._peek.type===t?this._advance():null}_consumeCdata(t){let r=this._advance(),n=this._getText(r),a=this._advanceIf(14);this._addToParent(new Ts(n,new d(t.sourceSpan.start,(a||r).sourceSpan.end),[r]))}_consumeComment(t){let r=this._advanceIf(7),n=this._advanceIf(11),a=r!=null?r.parts[0].trim():null,i=n==null?t.sourceSpan:new d(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new qs(a,i))}_consumeDocType(t){let r=this._advanceIf(7),n=this._advanceIf(20),a=r!=null?r.parts[0].trim():null,i=new d(t.sourceSpan.start,(n||r||t).sourceSpan.end);this._addToParent(new As(a,i))}_consumeExpansion(t){let r=this._advance(),n=this._advance(),a=[];for(;this._peek.type===22;){let s=this._parseExpansionCase();if(!s)return;a.push(s)}if(this._peek.type!==25){this.errors.push(w.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let i=new d(t.sourceSpan.start,this._peek.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new xs(r.parts[0],n.parts[0],a,i,r.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==23)return this.errors.push(w.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;let a=this._advance();n.push({type:44,parts:[],sourceSpan:a.sourceSpan});let i=new ln(n,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(i.build(),i.errors.length>0)return this.errors=this.errors.concat(i.errors),null;let s=new d(t.sourceSpan.start,a.sourceSpan.end,t.sourceSpan.fullStart),o=new d(r.sourceSpan.start,a.sourceSpan.end,r.sourceSpan.fullStart);return new Es(t.parts[0],i.rootNodes,s,t.sourceSpan,o)}_collectExpansionExpTokens(t){let r=[],n=[23];for(;;){if((this._peek.type===21||this._peek.type===23)&&n.push(this._peek.type),this._peek.type===24)if(jr(n,23)){if(n.pop(),n.length===0)return r}else return this.errors.push(w.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===25)if(jr(n,21))n.pop();else return this.errors.push(w.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===44)return this.errors.push(w.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==`
|
|
23
|
-
`){var n;let a=this._getClosestElementLikeParent();a!=null&&a.children.length==0&&!((n=this._getTagDefinition(a))===null||n===void 0)&&n.ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,a=t.parts[0];if(a.length>0&&a[0]===`
|
|
24
|
-
`){var i;let s=this._getContainer();s!=null&&s.children.length===0&&!((i=this._getTagDefinition(s))===null||i===void 0)&&i.ignoreFirstLf&&(a=a.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[a]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?a+=t.parts.join("").replace(/&([^;]+);/g,Gr):t.type===9?a+=t.parts[0]:a+=t.parts.join("");if(a.length>0){let s=t.sourceSpan;this._addToParent(new Cs(a,new d(n.start,s.end,n.fullStart,n.details),r))}}_closeVoidElement(){var t;let r=this._getContainer();r!==null&&!((t=this._getTagDefinition(r))===null||t===void 0)&&t.isVoid&&this._containerStack.pop()}_consumeElementStartTag(t){var r;let n=[],a=[],i=[];this._consumeAttributesAndDirectives(n,a,i);let s=this._getElementFullName(t,this._getClosestElementLikeParent()),o=this._getTagDefinition(s),l=!1;if(this._peek.type===2){this._advance(),l=!0;let T=this._getTagDefinition(s);this.canSelfClose||T?.canSelfClose||We(s)!==null||T?.isVoid||this.errors.push(w.create(s,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),l=!1);let c=this._peek.sourceSpan.fullStart,u=new d(t.sourceSpan.start,c,t.sourceSpan.fullStart),f=new d(t.sourceSpan.start,c,t.sourceSpan.fullStart),g=new d(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),p=new W(s,n,a,[],l,u,f,void 0,g,o?.isVoid??!1,void 0,i),h=this._getContainer(),v=h!==null&&!!(!((r=this._getTagDefinition(h))===null||r===void 0)&&r.isClosedByChild(p.name));this._pushContainer(p,v),l?this._popContainer(s,W,u):t.type===4&&(this._popContainer(s,W,null),this.errors.push(w.create(s,u,`Opening tag "${s}" not terminated.`)))}_consumeComponentStartTag(t){var r;let n=t.parts[0],a=[],i=[],s=[];this._consumeAttributesAndDirectives(a,i,s);let o=this._getClosestElementLikeParent(),l=this._getComponentTagName(t,o),c=this._getComponentFullName(t,o),u=this._peek.type===37;this._advance();let f=this._peek.sourceSpan.fullStart,g=new d(t.sourceSpan.start,f,t.sourceSpan.fullStart),p=new d(t.sourceSpan.start,f,t.sourceSpan.fullStart),h=new B(n,l,c,a,i,[],u,g,p,void 0,void 0,s),v=this._getContainer(),T=v!==null&&h.tagName!==null&&!!(!((r=this._getTagDefinition(v))===null||r===void 0)&&r.isClosedByChild(h.tagName));this._pushContainer(h,T),u?this._popContainer(c,B,g):t.type===39&&(this._popContainer(c,B,null),this.errors.push(w.create(c,g,`Opening tag "${c}" not terminated.`)))}_consumeAttributesAndDirectives(t,r,n){for(;this._peek.type===15||this._peek.type===40||this._peek.type===12;)if(this._peek.type===40)r.push(this._consumeDirective(this._peek));else if(this._peek.type===15)t.push(this._consumeAttr(this._advance()));else{let a=this._advance();n.push(new Ns(a.parts[0],a.parts[1],a.sourceSpan))}}_consumeComponentEndTag(t){let r=this._getComponentFullName(t,this._getClosestElementLikeParent());if(!this._popContainer(r,B,t.sourceSpan)){let n=this._containerStack[this._containerStack.length-1],a;n instanceof B&&n.componentName===t.parts[0]?a=`, did you mean "${n.fullName}"?`:a=". It may happen when the tag has already been closed by another tag.";let i=`Unexpected closing tag "${r}"${a}`;this.errors.push(w.create(r,t.sourceSpan,i))}}_getTagDefinition(t){return typeof t=="string"?this.tagDefinitionResolver(t):t instanceof W?this.tagDefinitionResolver(t.name):t instanceof B&&t.tagName!==null?this.tagDefinitionResolver(t.tagName):null}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeElementEndTag(t){var r;let n=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t,this._getClosestElementLikeParent());if(n&&!((r=this._getTagDefinition(n))===null||r===void 0)&&r.isVoid)this.errors.push(w.create(n,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(n,W,t.sourceSpan)){let a=`Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(w.create(n,t.sourceSpan,a))}}_popContainer(t,r,n){let a=!1;for(let s=this._containerStack.length-1;s>=0;s--){var i;let o=this._containerStack[s],l=o instanceof B?o.fullName:o.name;if(We(l)?l===t:(l===t||t===null)&&o instanceof r)return o.endSourceSpan=n,o.sourceSpan.end=n!==null?n.end:o.sourceSpan.end,this._containerStack.splice(s,this._containerStack.length-s),!a;(o instanceof se||!(!((i=this._getTagDefinition(o))===null||i===void 0)&&i.closedByParent))&&(a=!0)}return!1}_consumeAttr(t){let r=Te(t.parts[0],t.parts[1]),n=t.sourceSpan.end,a;this._peek.type===16&&(a=this._advance());let i="",s=[],o,l;if(this._peek.type===17)for(o=this._peek.sourceSpan,l=this._peek.sourceSpan.end;this._peek.type===17||this._peek.type===18||this._peek.type===9;){let u=this._advance();s.push(u),u.type===18?i+=u.parts.join("").replace(/&([^;]+);/g,Gr):u.type===9?i+=u.parts[0]:i+=u.parts.join(""),l=n=u.sourceSpan.end}this._peek.type===16&&(l=n=this._advance().sourceSpan.end);let c=o&&l&&new d(a?.sourceSpan.start??o.start,l,a?.sourceSpan.fullStart??o.fullStart);return new Ls(r,i,new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,c,s.length>0?s:void 0,void 0)}_consumeDirective(t){let r=[],n=t.sourceSpan.end,a=null;if(this._advance(),this._peek.type===41){for(n=this._peek.sourceSpan.end,this._advance();this._peek.type===15;)r.push(this._consumeAttr(this._advance()));this._peek.type===42?(a=this._peek.sourceSpan,this._advance()):this.errors.push(w.create(null,t.sourceSpan,"Unterminated directive definition"))}let i=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new d(i.start,a===null?t.sourceSpan.end:a.end,i.fullStart);return new Ds(t.parts[0],r,s,i,a)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===29;){let o=this._advance();r.push(new Br(o.parts[0],o.sourceSpan))}this._peek.type===27&&this._advance();let n=this._peek.sourceSpan.fullStart,a=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new se(t.parts[0],r,[],a,t.sourceSpan,i);this._pushContainer(s,!1)}_consumeBlockClose(t){let r=this._containerStack.length,n=this._containerStack[r-1];if(!this._popContainer(null,se,t.sourceSpan)){if(this._containerStack.length<r){let a=n instanceof B?n.fullName:n.name;this.errors.push(w.create(null,t.sourceSpan,`Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${a}> element? If you meant to write the \`}\` character, you should use the "}" HTML entity instead.`));return}this.errors.push(w.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "}" HTML entity instead.'))}}_consumeIncompleteBlock(t){let r=[];for(;this._peek.type===29;){let o=this._advance();r.push(new Br(o.parts[0],o.sourceSpan))}let n=this._peek.sourceSpan.fullStart,a=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new se(t.parts[0],r,[],a,t.sourceSpan,i);this._pushContainer(s,!1),this._popContainer(null,se,null),this.errors.push(w.create(t.parts[0],a,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(t){let r=t.parts[0],n,a;if(this._peek.type!==32){this.errors.push(w.create(t.parts[0],t.sourceSpan,`Invalid @let declaration "${r}". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==33){this.errors.push(w.create(t.parts[0],t.sourceSpan,`Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));return}else a=this._advance();let i=a.sourceSpan.end,s=new d(t.sourceSpan.start,i,t.sourceSpan.fullStart),o=t.sourceSpan.toString().lastIndexOf(r),l=t.sourceSpan.start.moveBy(o),c=new d(l,t.sourceSpan.end),u=new Hr(r,n.parts[0],s,c,n.sourceSpan);this._addToParent(u)}_consumeIncompleteLet(t){let r=t.parts[0]??"",n=r?` "${r}"`:"";if(r.length>0){let a=t.sourceSpan.toString().lastIndexOf(r),i=t.sourceSpan.start.moveBy(a),s=new d(i,t.sourceSpan.end),o=new d(t.sourceSpan.start,t.sourceSpan.start.moveBy(0)),l=new Hr(r,"",t.sourceSpan,s,o);this._addToParent(l)}this.errors.push(w.create(t.parts[0],t.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let t=this._containerStack.length-1;t>-1;t--){let r=this._containerStack[t];if(r instanceof W||r instanceof B)return r}return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r){let n=this._getPrefix(t,r);return Te(n,t.parts[1])}_getComponentFullName(t,r){let n=t.parts[0],a=this._getComponentTagName(t,r);return a===null?n:a.startsWith(":")?n+a:`${n}:${a}`}_getComponentTagName(t,r){let n=this._getPrefix(t,r),a=t.parts[2];return!n&&!a?null:!n&&a?a:Te(n,a||"ng-component")}_getPrefix(t,r){var n;let a,i;if(t.type===35||t.type===39||t.type===38?(a=t.parts[1],i=t.parts[2]):(a=t.parts[0],i=t.parts[1]),a=a||((n=this._getTagDefinition(i))===null||n===void 0?void 0:n.implicitNamespacePrefix)||"",!a&&r){let s=r instanceof W?r.name:r.tagName;if(s!==null){let o=ae(s)[1],l=this._getTagDefinition(o);l!==null&&!l.preventNamespaceInheritance&&(a=We(s))}}return a}};function jr(e,t){return e.length>0&&e[e.length-1]===t}function Gr(e,t){return qe[t]!==void 0?qe[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var eo=class extends Xs{constructor(){super(St)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},yt;function Ct(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,allowStartTagComments:a=!1,isTagNameCaseSensitive:i=!1,getTagContentType:s,tokenizeAngularBlocks:o=!1,tokenizeAngularLetDeclaration:l=!1,enableAngularSelectorlessSyntax:c=!1}=t;return yt??(yt=new eo),yt.parse(e,"angular-html-parser",{tokenizeExpansionForms:o,canSelfClose:r,allowHtmComponentClosingTags:n,allowStartTagComments:a,tokenizeBlocks:o,tokenizeLet:l,selectorlessEnabled:c},i,s)}var to=[no,ao,so,lo,co,ho,uo,po,mo,oo];function ro(e,t){for(let r of to)r(e,t);return e}function no(e){e.walk(t=>{if(t.kind==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].kind==="text"&&t.children[0].value[0]===`
|
|
25
|
-
`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function ao(e){let t=r=>r.kind==="element"&&r.prev?.kind==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&r.firstChild?.kind==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset;e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let i=a.prev,s=a.firstChild;r.removeChild(i),n--;let o=new d(i.sourceSpan.start,s.sourceSpan.end),l=new d(o.start,a.sourceSpan.end);a.condition=i.condition,a.sourceSpan=l,a.startSourceSpan=o,a.removeChild(s)}})}function io(e,t,r){e.walk(n=>{if(n.children)for(let a=0;a<n.children.length;a++){let i=n.children[a];if(i.kind!=="text"&&!t(i))continue;i.kind!=="text"&&(i.kind="text",i.value=r(i));let s=i.prev;!s||s.kind!=="text"||(s.value+=i.value,s.sourceSpan=new d(s.sourceSpan.start,i.sourceSpan.end),n.removeChild(i),a--)}})}function so(e){return io(e,t=>t.kind==="cdata",t=>`<![CDATA[${t.value}]]>`)}function oo(e){let t=r=>r.kind==="element"&&r.attrs.length===0&&!Be(r.startTagComments)&&r.children.length===1&&r.firstChild.kind==="text"&&!E.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&r.prev?.kind==="text"&&r.next?.kind==="text";e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let i=a.prev,s=a.next;i.value+=`<${a.rawName}>`+a.firstChild.value+`</${a.rawName}>`+s.value,i.sourceSpan=new d(i.sourceSpan.start,s.sourceSpan.end),i.isTrailingSpaceSensitive=s.isTrailingSpaceSensitive,i.hasTrailingSpaces=s.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(s)}})}function lo(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/s;e.walk(n=>{if(_a(n,t))for(let a of n.children){if(a.kind!=="text")continue;let i=a.sourceSpan.start,s,o=a.value.split(r);for(let l=0;l<o.length;l++,i=s){let c=o[l];if(l%2===0){s=i.moveBy(c.length),c.length>0&&n.insertChildBefore(a,{kind:"text",value:c,sourceSpan:new d(i,s)});continue}s=i.moveBy(c.length+4),n.insertChildBefore(a,{kind:"interpolation",sourceSpan:new d(i,s),children:c.length===0?[]:[{kind:"text",value:c,sourceSpan:new d(i.moveBy(2),s.moveBy(-2))}]})}n.removeChild(a)}})}function co(e,t){e.walk(r=>{let n=r.$children;if(!n)return;if(n.length===0||n.length===1&&n[0].kind==="text"&&E.trim(n[0].value).length===0){r.hasDanglingSpaces=n.length>0,r.$children=[];return}let a=Sa(r,t),i=ir(r);if(!a)for(let s=0;s<n.length;s++){let o=n[s];if(o.kind!=="text")continue;let{leadingWhitespace:l,text:c,trailingWhitespace:u}=fa(o.value),f=o.prev,g=o.next;c?(o.value=c,o.sourceSpan=new d(o.sourceSpan.start.moveBy(l.length),o.sourceSpan.end.moveBy(-u.length)),l&&(f&&(f.hasTrailingSpaces=!0),o.hasLeadingSpaces=!0),u&&(o.hasTrailingSpaces=!0,g&&(g.hasLeadingSpaces=!0))):(r.removeChild(o),s--,(l||u)&&(f&&(f.hasTrailingSpaces=!0),g&&(g.hasLeadingSpaces=!0)))}r.isWhitespaceSensitive=a,r.isIndentationSensitive=i})}function uo(e){e.walk(t=>{t.isSelfClosing=!t.children||t.kind==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function po(e,t){e.walk(r=>{r.kind==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function ho(e,t){e.walk(r=>{r.cssDisplay=Ma(r,t)})}function mo(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=wa(r,t);return}for(let a of n)a.isLeadingSpaceSensitive=ka(a,t),a.isTrailingSpaceSensitive=ba(a,t);for(let a=0;a<n.length;a++){let i=n[a];i.isLeadingSpaceSensitive=(a===0||i.prev.isTrailingSpaceSensitive)&&i.isLeadingSpaceSensitive,i.isTrailingSpaceSensitive=(a===n.length-1||i.next.isLeadingSpaceSensitive)&&i.isTrailingSpaceSensitive}}})}var go=ro;function fo(e,t,r){let{node:n}=e;switch(n.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[b(vt(e,t,r)),S];case"element":case"ieConditionalComment":return ss(e,t,r);case"angularControlFlowBlock":return Xi(e,t,r);case"angularControlFlowBlockParameters":return ns(e,t,r);case"angularControlFlowBlockParameter":return E.trim(n.expression);case"angularLetDeclaration":return b(["@let ",b([n.id," =",b(I([k,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return as(e,t,r);case"angularIcuCase":return is(e,t,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ke(n),ve(n)];case"interpolation":return[ke(n,t),...e.map(r,"children"),ve(n,t)];case"text":{if(n.parent.kind==="interpolation"){let o=/\n[^\S\n]*$/,l=o.test(n.value),c=l?n.value.replace(o,""):n.value;return[q(c),l?S:""]}let a=z(n,t),i=gr(n),s=O(n,t);return i[0]=[a,i[0]],i.push([i.pop(),s]),Jt(i)}case"docType":return[b([ke(n,t)," ",C(0,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),ve(n,t)];case"comment":return[z(n,t),q(t.originalText.slice(re(n),Oe(n))),O(n,t)];case"attribute":{if(n.value===null)return n.rawName;let a=mr(n.value),i=vr(n,t)?"":Bn(a);return[n.rawName,"=",i,q(i==='"'?C(0,a,'"',"""):C(0,a,"'","'")),i]}case"startTagComment":return os(e);default:throw new zn(n,"HTML")}}var vo={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:go,print:fo,insertPragma:Yi,massageAstNode:xr,embed:Mi,getVisitorKeys:Vi},_o=vo,So=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["LWC","lwc"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"text.html.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],Kr={bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Jr="HTML",ko={bracketSameLine:Kr.bracketSameLine,htmlWhitespaceSensitivity:{category:Jr,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Kr.singleAttributePerLine,vueIndentScriptAndStyle:{category:Jr,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},bo=ko,Yr={};Mt(Yr,{angular:()=>Jo,html:()=>jo,lwc:()=>Qo,mjml:()=>Ko,vue:()=>Yo});function wo(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var yo=wo,Co={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,allowStartTagComments:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function Qr(e){return{...Co,...e}}function Xr(e){let{canSelfClose:t,allowHtmComponentClosingTags:r,allowStartTagComments:n,isTagNameCaseSensitive:a,shouldParseAsRawText:i,tokenizeAngularBlocks:s,tokenizeAngularLetDeclaration:o}=e;return{canSelfClose:t,allowHtmComponentClosingTags:r,allowStartTagComments:n,isTagNameCaseSensitive:a,getTagContentType:i?(...l)=>i(...l)?ls.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:s,tokenizeAngularLetDeclaration:o}}var Tt=new Map([["*",new Set(["accesskey","autocapitalize","autocorrect","autofocus","class","contenteditable","dir","draggable","enterkeyhint","exportparts","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["command","commandfor","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["closedby","open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alpha","alt","autocomplete","checked","colorspace","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootmode","shadowrootserializable"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),To=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fencedframe","fieldset","figcaption","figure","font","footer","form","frame","frameset","geolocation","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","selectedcontent","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),Ye={attrs:!0,children:!0,cases:!0,expression:!0},Zr=new Set(["parent"]),oe,xt,Et,xo=class Pe{constructor(t={}){mn(this,oe),Bt(this,"kind"),Bt(this,"parent");for(let r of new Set([...Zr,...Object.keys(t)]))this.setProperty(r,t[r]);if(He(t))for(let r of Object.getOwnPropertySymbols(t))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in Ye&&(r=r.map(n=>this.createChild(n))),!Zr.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in Ye){let a=this[n];if(a){let i=Lo(a,s=>s.map(t));r!==a&&(r??(r=new Pe({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in Ye||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in Ye){let n=this[r];if(n)for(let a=0;a<n.length;a++)n[a].walk(t)}t(this)}createChild(t){let r=t instanceof Pe?t.clone():new Pe(t);return r.setProperty("parent",this),r}insertChildBefore(t,r){let n=this.$children;n.splice(n.indexOf(t),0,this.createChild(r))}removeChild(t){let r=this.$children;r.splice(r.indexOf(t),1)}replaceChild(t,r){let n=this.$children;n[n.indexOf(t)]=this.createChild(r)}clone(){return new Pe(this)}get $children(){return this[Me(this,oe,xt)]}set $children(t){this[Me(this,oe,xt)]=t}get firstChild(){return this.$children?.[0]}get lastChild(){return J(1,this.$children,-1)}get prev(){let t=Me(this,oe,Et);return t[t.indexOf(this)-1]}get next(){let t=Me(this,oe,Et);return t[t.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(t=>[t.fullName,t.value]))}};oe=new WeakSet,xt=function(){return this.kind==="angularIcuCase"?"expression":this.kind==="angularIcuExpression"?"cases":"children"},Et=function(){return this.parent?.$children??[]};var Eo=xo;function Lo(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}var No=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/s,parse:Ao},{regex:/^\[if(?<condition>[^\]]*)\]><!$/,parse:Do},{regex:/^<!\s*\[endif\]$/,parse:Io}];function qo(e,t){if(e.value)for(let{regex:r,parse:n}of No){let a=e.value.match(r);if(a)return n(e,a,t)}return null}function Ao(e,t,r){let{openingTagSuffix:n,condition:a,data:i}=t.groups,s=4+n.length,o=e.sourceSpan.start.moveBy(s),l=o.moveBy(i.length),[c,u]=(()=>{try{return[!0,r(i,o).children]}catch{return[!1,[{kind:"text",value:i,sourceSpan:new d(o,l)}]]}})();return{kind:"ieConditionalComment",complete:c,children:u,condition:C(0,a.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new d(e.sourceSpan.start,o),endSourceSpan:new d(l,e.sourceSpan.end)}}function Do(e,t){let{condition:r}=t.groups;return{kind:"ieConditionalStartComment",condition:C(0,r.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function Io(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}var Po=class extends Is{visitExpansionCase(e,t){t.parseOptions.name==="angular"&&this.visitChildren(t,r=>{r(e.expression)})}visit(e,{parseOptions:t}){Fo(e),Uo(e,t),Vo(e,t),Oo(e)}};function Mo(e,t,r,n){let a=r.name==="angular";Rr(new Po,e.children,{parseOptions:r}),t&&e.children.unshift(t);let i=new Eo(e);return i.walk(s=>{if(s.kind==="comment"){let o=qo(s,n);o&&s.parent.replaceChild(s,o)}else a&&s.kind==="element"&&s.comments&&(s.startTagComments=s.comments,delete s.comments);a&&(Bo(s),Ho(s),Ro(s))}),i}function Bo(e){if(e.kind==="block"){if(e.name=C(0,e.name.toLowerCase(),/\s+/g," ").trim(),e.kind="angularControlFlowBlock",!Be(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.kind="angularControlFlowBlockParameter";e.parameters={kind:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new d(e.parameters[0].sourceSpan.start,J(0,e.parameters,-1).sourceSpan.end)}}}function Ho(e){e.kind==="letDeclaration"&&(e.kind="angularLetDeclaration",e.id=e.name,e.init={kind:"angularLetDeclarationInitializer",sourceSpan:new d(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Ro(e){e.kind==="expansion"&&(e.kind="angularIcuExpression"),e.kind==="expansionCase"&&(e.kind="angularIcuCase")}function en(e,t){let r=e.toLowerCase();return t(r)?r:e}function tn(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":",1)[0]:null,r=e.nameSpan.toString(),n=t!==null&&r.startsWith(`${t}:`),a=n?r.slice(t.length+1):r;e.name=a,e.namespace=t,e.hasExplicitNamespace=n}function Fo(e){switch(e.kind){case"element":tn(e);for(let t of e.attrs)tn(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString();break}}function Uo(e,t){if(e.kind==="element"){let r=St(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===r.implicitNamespacePrefix||ge(e)?e.tagDefinition=r:e.tagDefinition=St("")}}function Oo(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new d(e.sourceSpan.start,e.endSourceSpan.end))}function Vo(e,t){if(e.kind==="element"&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||ge(e))&&(e.name=en(e.name,r=>To.has(r))),t.normalizeAttributeName))for(let r of e.attrs)r.namespace||(r.name=en(r.name,n=>Tt.has(e.name)&&(Tt.get("*").has(n)||Tt.get(e.name).has(n))))}function rn(e,t){let{rootNodes:r,errors:n}=Ct(e,Xr(t));return n.length>0&&Lt(n[0]),{parseOptions:t,rootNodes:r}}function zo(e,t){let r=Xr(t),{rootNodes:n,errors:a}=Ct(e,r);if(n.some(l=>l.kind==="docType"&&l.value==="html"||l.kind==="element"&&l.name.toLowerCase()==="html"))return rn(e,Nt);let i,s=()=>i??(i=Ct(e,{...r,getTagContentType:void 0})),o=l=>{let{offset:c}=l.startSourceSpan.start;return s().rootNodes.find(u=>u.kind==="element"&&u.startSourceSpan.start.offset===c)??l};for(let[l,c]of n.entries())if(c.kind==="element"){if(c.isVoid)a=s().errors,n[l]=o(c);else if($o(c)){let{endSourceSpan:u,startSourceSpan:f}=c,g=s().errors.find(p=>p.span.start.offset>f.start.offset&&p.span.start.offset<u.end.offset);g&&Lt(g),n[l]=o(c)}}return a.length>0&&Lt(a[0]),{parseOptions:t,rootNodes:n}}function $o(e){if(e.kind!=="element"||e.name!=="template")return!1;let t=e.attrs.find(r=>r.name==="lang")?.value;return!t||t==="html"}function Lt(e){let{msg:t,span:{start:r,end:n}}=e;throw yo(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Wo(e,t,r,n,a,i){let{offset:s}=n,o=er(t.slice(0,s))+r,l=nn(o,e,{...a,shouldParseFrontMatter:!1},i);l.sourceSpan=new d(n,J(0,l.children,-1).sourceSpan.end);let c=l.children[0];return c.length===s?l.children.shift():(c.sourceSpan=new d(c.sourceSpan.start.moveBy(s),c.sourceSpan.end),c.value=c.value.slice(s)),l}function nn(e,t,r,n={}){let{frontMatter:a,content:i}=r.shouldParseFrontMatter?pa(e):{content:e},s=new Mr(e,n.filepath),o=new kt(s,0,0,0),l=o.moveBy(e.length),{parseOptions:c,rootNodes:u}=t(i,r),f={kind:"root",sourceSpan:new d(o,l),children:u},g;if(a){let[p,h]=[a.start,a.end].map(v=>new kt(s,v.index,v.line-1,v.column));g={...a,kind:"frontMatter",sourceSpan:new d(p,h)}}return Mo(f,g,c,(p,h)=>Wo(t,e,p,h,c,n))}var Nt=Qr({name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0});function De(e){let t=Qr(e),r=t.name==="vue"?zo:rn;return{parse:(n,a)=>nn(n,r,t,a),hasPragma:Ki,hasIgnorePragma:Ji,astFormat:"html",locStart:re,locEnd:Oe}}var jo=De(Nt),Go=new Set(["mj-style","mj-raw"]),Ko=De({...Nt,name:"mjml",shouldParseAsRawText:e=>Go.has(e)}),Jo=De({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0,allowStartTagComments:!0}),Yo=De({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!=="html"&&!r&&(e!=="template"||n.some(({name:a,value:i})=>a==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),Qo=De({name:"lwc",canSelfClose:!1}),Xo={html:_o};return hn(Ht)})})(At)),At.exports}var cn=tl();const rl=Zo(cn),al=el({__proto__:null,default:rl},[cn]);export{al as h};
|