var _n=Object.defineProperty;var It=e=>{throw TypeError(e)};var Cn=(e,t,r)=>t in e?_n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Je=(e,t,r)=>Cn(e,typeof t!="symbol"?t+"":t,r),Qe=(e,t,r)=>t.has(e)||It("Cannot "+r);var I=(e,t,r)=>(Qe(e,t,"read from private field"),r?r.call(e):t.get(e)),Ze=(e,t,r)=>t.has(e)?It("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Rt=(e,t,r,n)=>(Qe(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Mt=(e,t,r)=>(Qe(e,t,"access private method"),r);var _r=Object.defineProperty,Cr=e=>{throw TypeError(e)},En=(e,t,r)=>t in e?_r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Er=(e,t)=>{for(var r in t)_r(e,r,{get:t[r],enumerable:!0})},qt=(e,t,r)=>En(e,typeof t!="symbol"?t+"":t,r),vn=(e,t,r)=>t.has(e)||Cr("Cannot "+r),Le=(e,t,r)=>(vn(e,t,"read from private field"),r?r.call(e):t.get(e)),Sn=(e,t,r)=>t.has(e)?Cr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),An={};Er(An,{languages:()=>fo,options:()=>Co,parsers:()=>hn,printers:()=>Ko});var Ct=(e,t)=>(r,n,...a)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,a),Tn=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},kn=Ct("replaceAll",function(){if(typeof this=="string")return Tn}),b=kn;function bn(e){return this[e<0?this.length+e:e]}var wn=Ct("at",function(){if(Array.isArray(this)||typeof this=="string")return bn}),te=wn,yn=()=>{},Dn=yn,vr="string",Sr="array",Ar="cursor",Et="indent",vt="align",Tr="trim",St="group",At="fill",Tt="if-break",kt="indent-if-break",kr="line-suffix",br="line-suffix-boundary",re="line",wr="label",bt="break-parent",yr=new Set([Ar,Et,vt,Tr,St,At,Tt,kt,kr,br,re,wr,bt]);function xn(e){if(typeof e=="string")return vr;if(Array.isArray(e))return Sr;if(!e)return;let{type:t}=e;if(yr.has(t))return t}var Dr=xn,Nn=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Bn(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', 
Expected it to be 'string' or 'object'.`;if(Dr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Nn([...yr].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
Expected it to be ${n}.`}var Ln=class extends Error{constructor(t){super(Bn(t));Je(this,"name","InvalidDocError");this.doc=t}},On=Ln;function xr(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let s=a(i);return r.set(i,s),s}function a(i){switch(Dr(i)){case Sr:return t(i.map(n));case At:return t({...i,parts:i.parts.map(n)});case Tt:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case St:{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 vt:case Et:case kt:case wr:case kr:return t({...i,contents:n(i.contents)});case vr:case Ar:case Tr:case br:case re:case bt:return t(i);default:throw new On(i)}}}function O(e,t=Hn){return xr(e,r=>typeof r=="string"?ne(t,r.split(`
`)):r)}var Fn=Dn;function F(e){return{type:Et,contents:e}}function Pn(e,t){return{type:vt,contents:t,n:e}}function In(e){return Pn(Number.NEGATIVE_INFINITY,e)}var Te={type:bt};function Nr(e){return{type:At,parts:e}}function A(e,t={}){return Fn(t.expandedStates),{type:St,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Ee(e,t="",r={}){return{type:Tt,breakContents:e,flatContents:t,groupId:r.groupId}}function Rn(e,t){return{type:kt,contents:e,groupId:t.groupId,negate:t.negate}}function ne(e,t){let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var S={type:re},k={type:re,soft:!0},Mn={type:re,hard:!0},v=[Mn,Te],qn={type:re,hard:!0,literal:!0},Hn=[qn,Te],Br=Object.freeze({character:"'",codePoint:39}),Lr=Object.freeze({character:'"',codePoint:34}),Vn=Object.freeze({preferred:Br,alternate:Lr}),Un=Object.freeze({preferred:Lr,alternate:Br});function Wn(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?Vn:Un,{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}var zn=Wn;function $n(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var D,Ve,Or,fr,jn=(fr=class{constructor(e){Ze(this,Ve);Ze(this,D);Rt(this,D,new Set(e))}getLeadingWhitespaceCount(e){let t=I(this,D),r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=I(this,D),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 I(this,D).has(e.charAt(0))}hasTrailingWhitespace(e){return I(this,D).has(te(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=`[${$n([...I(this,D)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=I(this,D);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=I(this,D);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=I(this,D);return Array.prototype.every.call(e,r=>t.has(r))}dedentString(e){let t=Mt(this,Ve,Or).call(this,e);return t===0?e:e.split(`
`).map(r=>r.slice(t)).join(`
`)}},D=new WeakMap,Ve=new WeakSet,Or=function(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
`)){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},fr),Xn=jn,Gn=["	",`
`,"\f","\r"," "],Kn=new Xn(Gn),N=Kn,Yn=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);Je(this,"name","UnexpectedNodeError");this.node=t}},Jn=Yn,Qn=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Zn=new Set(["if","else if","for","switch","case"]);function Fr(e,t,r){var n;if(e.kind==="text"||e.kind==="comment")return null;if(e.kind==="yaml"&&delete t.value,e.kind==="attribute"){let{fullName:a,value:i}=e;a==="style"||a==="class"||a==="srcset"&&(r.fullName==="img"||r.fullName==="source")||a==="allow"&&r.fullName==="iframe"||a.startsWith("on")||a.startsWith("@")||a.startsWith(":")||a.startsWith(".")||a.startsWith("#")||a.startsWith("v-")||a==="vars"&&r.fullName==="style"||(a==="setup"||a==="generic")&&r.fullName==="script"||a==="slot-scope"||a.startsWith("(")||a.startsWith("[")||a.startsWith("*")||a.startsWith("bind")||a.startsWith("i18n")||a.startsWith("on-")||a.startsWith("ng-")||i!=null&&i.includes("{{")?delete t.value:i&&(t.value=b(0,i,/'|&quot;|&apos;/gu,'"'))}if(e.kind==="docType"&&(t.value=b(0,e.value.toLowerCase(),/\s+/gu," ")),e.kind==="angularControlFlowBlock"&&((n=e.parameters)==null?void 0:n.children))for(let a of t.parameters.children)Zn.has(e.name)?delete a.expression:a.expression=a.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)}Fr.ignoredProperties=Qn;var ea=Fr;function ke(e,t=!0){return[F([k,e]),t?k:""]}function ae(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 B(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?A(i):ke(i)}function ta(e,t,r,n){let{node:a}=r,i=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(i)?"":B(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},ae)}var ra=ta,na=Array.prototype.toReversed??function(){return[...this].reverse()},aa=Ct("toReversed",function(){if(Array.isArray(this))return na}),ia=aa;function sa(){var r,n,a,i,s,o;let e=globalThis,t=(n=(r=e.Deno)==null?void 0:r.build)==null?void 0:n.os;return typeof t=="string"?t==="windows":((i=(a=e.navigator)==null?void 0:a.platform)==null?void 0:i.startsWith("Win"))??((o=(s=e.process)==null?void 0:s.platform)==null?void 0:o.startsWith("win"))??!1}var oa=sa();function Pr(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 ua(e){return e=Pr(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function la(e){e=Pr(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 ca(e){return oa?la(e):ua(e)}var pa=e=>String(e).split(/[/\\]/u).pop(),ha=e=>String(e).startsWith("file:");function da(e){return Array.isArray(e)&&e.length>0}var wt=da;function Ht(e,t){if(!t)return;let r=pa(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function ma(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}var et=void 0;function Vt(e,t){if(t){if(ha(t))try{t=ca(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:r})=>r==null?void 0:r({filepath:t}))}}function ga(e,t){var n;let r=ia(0,e.plugins).flatMap(a=>a.languages??[]);return(n=ma(r,t.language)??Ht(r,t.physicalFile)??Ht(r,t.file)??Vt(r,t.physicalFile)??Vt(r,t.file)??(et==null?void 0:et(r,t.physicalFile)))==null?void 0:n.parsers[0]}var yt=ga,Ir=Symbol.for("PRETTIER_IS_FRONT_MATTER");function fa(e){return!!(e!=null&&e[Ir])}var Ue=fa,ue=3;function _a(e){let t=e.slice(0,ue);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(`
`,ue);if(r===-1)return;let n=e.slice(ue,r).trim(),a=e.indexOf(`
${t}`,r),i=n;if(i||(i=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&i==="yaml"&&(a=e.indexOf(`
...`,r)),a===-1)return;let s=a+1+ue,o=e.charAt(s+1);if(!/\s?/u.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(-ue),raw:l,start:{line:1,column:0,index:0},end:{index:l.length,get line(){return c??(c=l.split(`
`)),c.length},get column(){return c??(c=l.split(`
`)),te(0,c,-1).length}},[Ir]:!0}}function Ca(e){let t=_a(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return b(0,r,/[^\n]/gu," ")+e.slice(r.length)}}:{content:e}}var Ea=Ca,va="inline",Ut={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",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",option:"block",optgroup:"block"},Sa="normal",Wt={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Aa(e){return e.kind==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var be=Aa,Ta=e=>b(0,e,/^[\t\f\r ]*\n/gu,""),Rr=e=>Ta(N.trimEnd(e)),ka=e=>{let t=e,r=N.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=N.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function Mr(e,t){return!!(e.kind==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.kind==="ieConditionalComment"&&!e.complete||ee(e)&&e.children.some(r=>r.kind!=="text"&&r.kind!=="interpolation")||xt(e,t)&&!M(e,t)&&e.kind!=="interpolation")}function We(e){return e.kind==="attribute"||!e.parent||!e.prev?!1:ba(e.prev)}function ba(e){return e.kind==="comment"&&e.value.trim()==="prettier-ignore"}function x(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"||be(e)&&(e.name==="script"||e.name==="style"))}function wa(e,t){return e.children&&!M(e,t)}function ya(e,t){return M(e,t)||e.kind==="interpolation"||qr(e)}function qr(e){return jr(e).startsWith("pre")}function Da(e,t){var a,i;let r=n();if(r&&!e.prev&&((i=(a=e.parent)==null?void 0:a.tagDefinition)!=null&&i.ignoreFirstLf))return e.kind==="interpolation";return r;function n(){return Ue(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:ee(e.parent)?!0:!(!e.prev&&(e.parent.kind==="root"||ee(e)&&e.parent||M(e.parent,t)||ze(e.parent,t)||!Ra(e.parent.cssDisplay))||e.prev&&!Ha(e.prev.cssDisplay))}}function xa(e,t){return Ue(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:ee(e.parent)?!0:!(!e.next&&(e.parent.kind==="root"||ee(e)&&e.parent||M(e.parent,t)||ze(e.parent,t)||!Ma(e.parent.cssDisplay))||e.next&&!qa(e.next.cssDisplay))}function Na(e,t){return Va(e.cssDisplay)&&!M(e,t)}function Oe(e){return Ue(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function Ba(e){return Hr(e)||e.kind==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>Oa(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!=="text"&&Ur(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Wr(e.lastChild))}function Hr(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 tt(e){return zr(e)||e.prev&&La(e.prev)||Vr(e)}function La(e){return zr(e)||e.kind==="element"&&e.fullName==="br"||Vr(e)}function Vr(e){return Ur(e)&&Wr(e)}function Ur(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 Wr(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 zr(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Dt(e){return e.lastChild?Dt(e.lastChild):e}function Oa(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.kind!=="text")}function $r(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 Fa(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:i}=e.attrMap;return!i&&!a?"babel":yt(t,{language:i})??$r(a)}function Pa(e,t){if(!xt(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return yt(t,{language:a})??$r(n)}function Ia(e,t){if(e.name==="style"){let{lang:r}=e.attrMap;return r?yt(t,{language:r}):"css"}if(e.name==="mj-style"&&t.parser==="mjml")return"css"}function zt(e,t){return Fa(e,t)??Ia(e,t)??Pa(e,t)}function we(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Ra(e){return!we(e)&&e!=="inline-block"}function Ma(e){return!we(e)&&e!=="inline-block"}function qa(e){return!we(e)}function Ha(e){return!we(e)}function Va(e){return!we(e)&&e!=="inline-block"}function ee(e){return jr(e).startsWith("pre")}function Ua(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Wa(e,t){var n;if(ie(e,t))return"block";if(((n=e.prev)==null?void 0:n.kind)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let r=!1;if(e.kind==="element"&&e.namespace==="svg")if(Ua(e,a=>a.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||be(e))&&Object.prototype.hasOwnProperty.call(Ut,e.name))return Ut[e.name]}return va}function jr(e){return e.kind==="element"&&(!e.namespace||be(e))&&Object.prototype.hasOwnProperty.call(Wt,e.name)?Wt[e.name]:Sa}function Xr(e){return b(0,b(0,e,"&apos;","'"),"&quot;",'"')}function w(e){return Xr(e.value)}var za=new Set(["template","style","script"]);function ze(e,t){return ie(e,t)&&!za.has(e.fullName)}function ie(e,t){return t.parser==="vue"&&e.kind==="element"&&e.parent.kind==="root"&&e.fullName.toLowerCase()!=="html"}function xt(e,t){return ie(e,t)&&(ze(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function $a(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function ja(e,t){let r=e.parent;if(!ie(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?O(t):O(N.dedentString(Rr(t)),v):ne(S,N.split(t))}function Kr(e,t){return ie(e,t)&&e.name==="script"}function Xa(e){let{valueSpan:t,value:r}=e;return t.end.offset-t.start.offset===r.length+2}function Yr(e,t){if(Xa(e))return!1;let{value:r}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r)||t.parser==="lwc"&&r.startsWith("{")&&r.endsWith("}")}var Jr=/\{\{(.+?)\}\}/su,Ga=({node:{value:e}})=>Jr.test(e);async function Ka(e,t,r){let n=w(r.node),a=[];for(let[i,s]of n.split(Jr).entries())if(i%2===0)a.push(O(s));else try{a.push(A(["{{",F([S,await B(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),S,"}}"]))}catch{a.push("{{",O(s),"}}")}return a}var rt=e=>(t,r,n)=>B(w(n.node),t,{parser:e},ae),Ya=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:rt("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/u.test(t)||/^ng-(?:if|show|hide|class|style)$/u.test(t)},print:rt("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:rt("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/u.test(e.node.fullName),print:Ja},{test:Ga,print:Ka}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="angular"&&e(r),print:t}));function Ja(e,t,{node:r}){let n=w(r);return ke(Nr(Gr(r,n.trim())),!n.includes("@@"))}var Qa=Ya,Za=({node:e},t)=>!t.parentParser&&e.fullName==="class"&&!e.value.includes("{{"),ei=(e,t,r)=>w(r.node).trim().split(/\s+/u).join(" "),ti=["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"],ri=new Set(ti),ni=({node:e},t)=>ri.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),ai=(e,t,r)=>B(w(r.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1);function ii(e){let t=[];for(let r of e.split(";")){if(r=N.trim(r),!r)continue;let[n,...a]=N.split(r);t.push({name:n,value:a})}return t}var si=ii,oi=({node:e},t)=>e.fullName==="allow"&&!t.parentParser&&e.parent.fullName==="iframe"&&!e.value.includes("{{");function ui(e,t,r){let{node:n}=r,a=si(w(n));return a.length===0?[""]:ke(a.map(({name:i,value:s},o)=>[[i,...s].join(" "),o===a.length-1?Ee(";"):[";",S]]))}function $t(e){return e==="	"||e===`
`||e==="\f"||e==="\r"||e===" "}var li=/^[ \t\n\r\u000c]+/,ci=/^[, \t\n\r\u000c]+/,pi=/^[^ \t\n\r\u000c]+/,hi=/[,]+$/,jt=/^\d+$/,di=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function mi(e){let t=e.length,r,n,a,i,s,o=0,l;function c(h){let _,C=h.exec(e.substring(o));if(C)return[_]=C,o+=_.length,_}let p=[];for(;;){if(c(ci),o>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}l=o,r=c(pi),n=[],r.slice(-1)===","?(r=r.replace(hi,""),f()):g()}function g(){for(c(li),a="",i="in descriptor";;){if(s=e.charAt(o),i==="in descriptor")if($t(s))a&&(n.push(a),a="",i="after descriptor");else if(s===","){o+=1,a&&n.push(a),f();return}else if(s==="(")a+=s,i="in parens";else if(s===""){a&&n.push(a),f();return}else a+=s;else if(i==="in parens")if(s===")")a+=s,i="in descriptor";else if(s===""){n.push(a),f();return}else a+=s;else if(i==="after descriptor"&&!$t(s))if(s===""){f();return}else i="in descriptor",o-=1;o+=1}}function f(){let h=!1,_,C,L,P,V={},q,Be,K,oe,Ye;for(P=0;P<n.length;P++)q=n[P],Be=q[q.length-1],K=q.substring(0,q.length-1),oe=parseInt(K,10),Ye=parseFloat(K),jt.test(K)&&Be==="w"?((_||C)&&(h=!0),oe===0?h=!0:_=oe):di.test(K)&&Be==="x"?((_||C||L)&&(h=!0),Ye<0?h=!0:C=Ye):jt.test(K)&&Be==="h"?((L||C)&&(h=!0),oe===0?h=!0:L=oe):h=!0;if(!h)V.source={value:r,startOffset:l},_&&(V.width={value:_}),C&&(V.density={value:C}),L&&(V.height={value:L}),p.push(V);else throw new Error(`Invalid srcset descriptor found in "${e}" at "${q}".`)}}var gi=mi,fi=e=>e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"),Qr={width:"w",height:"h",density:"x"},_i=Object.keys(Qr);function Ci(e,t,r){let n=w(r.node),a=gi(n),i=_i.filter(h=>a.some(_=>Object.prototype.hasOwnProperty.call(_,h)));if(i.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[s]=i,o=Qr[s],l=a.map(h=>h.source.value),c=Math.max(...l.map(h=>h.length)),p=a.map(h=>h[s]?String(h[s].value):""),g=p.map(h=>{let _=h.indexOf(".");return _===-1?h.length:_}),f=Math.max(...g);return ke(ne([",",S],l.map((h,_)=>{let C=[h],L=p[_];if(L){let P=c-h.length+1,V=f-g[_],q=" ".repeat(P+V);C.push(Ee(q," "),L+o)}return C})))}var Ei=({node:e},t)=>e.fullName==="style"&&!t.parentParser&&!e.value.includes("{{"),vi=async(e,t,r)=>ke(await e(w(r.node),{parser:"css",__isHTMLStyleAttribute:!0})),nt=new WeakMap;function Si(e,t){let{root:r}=e;return nt.has(r)||nt.set(r,r.children.some(n=>Kr(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),nt.get(r)}var se=Si;function Ai(e,t,r){let n=w(r.node);return B(`type T<${n}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},ae)}function Ti(e,t,r,n){let a=w(r.node),i=se(r,n)?"babel-ts":"babel";return B(`function _(${a}) {}`,e,{parser:i,__isVueBindings:!0})}async function ki(e,t,r,n){let a=w(r.node),{left:i,operator:s,right:o}=bi(a),l=se(r,n);return[A(await B(`function _(${i}) {}`,e,{parser:l?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",s," ",await B(o,e,{parser:l?"__ts_expression":"__js_expression"})]}function bi(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let i={for:a[3].trim()};if(!i.for)return;let s=b(0,a[1].trim(),n,""),o=s.match(r);o?(i.alias=s.replace(r,""),i.iterator1=o[1].trim(),o[2]&&(i.iterator2=o[2].trim())):i.alias=s;let l=[i.alias,i.iterator1,i.iterator2];if(!l.some((c,p)=>!c&&(p===0||l.slice(p+1).some(Boolean))))return{left:l.filter(Boolean).join(","),operator:a[2],right:i.for}}var wi=[{test:e=>e.node.fullName==="v-for",print:ki},{test:(e,t)=>e.node.fullName==="generic"&&Kr(e.parent,t),print:Ai},{test:({node:e},t)=>$a(e)||ja(e,t),print:Ti},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:yi},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:Di},{test:e=>e.node.fullName.startsWith("v-"),print:Zr}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="vue"&&e(r,n),print:t}));async function yi(e,t,r,n){var s;try{return await Zr(e,t,r,n)}catch(o){if(((s=o.cause)==null?void 0:s.code)!=="BABEL_PARSER_SYNTAX_ERROR")throw o}let a=w(r.node),i=se(r,n)?"__vue_ts_event_binding":"__vue_event_binding";return B(a,e,{parser:i},ae)}function Di(e,t,r,n){let a=w(r.node),i=se(r,n)?"__vue_ts_expression":"__vue_expression";return B(a,e,{parser:i},ae)}function Zr(e,t,r,n){let a=w(r.node),i=se(r,n)?"__ts_expression":"__js_expression";return B(a,e,{parser:i},ae)}var xi=wi,Ni=[{test:fi,print:Ci},{test:Ei,print:vi},{test:ni,print:ai},{test:Za,print:ei},{test:oi,print:ui},...xi,...Qa].map(({test:e,print:t})=>({test:e,print:Li(t)}));function Bi(e,t){var a;let{node:r}=e,{value:n}=r;if(n)return Yr(r,t)?[r.rawName,"=",n]:(a=Ni.find(({test:i})=>i(e,t)))==null?void 0:a.print}function Li(e){return async(t,r,n,a)=>{let i=await e(t,r,n,a);if(i)return i=xr(i,s=>typeof s=="string"?b(0,s,'"',"&quot;"):s),[n.node.rawName,'="',A(i),'"']}}var Oi=Bi,ye=e=>e.sourceSpan.start.offset,$e=e=>e.sourceSpan.end.offset;function ot(e,t){return[e.isSelfClosing?"":Fi(e,t),ge(e,t)]}function Fi(e,t){return e.lastChild&&ve(e.lastChild)?"":[Pi(e,t),Nt(e,t)]}function ge(e,t){return(e.next?j(e.next):xe(e.parent))?"":[De(e,t),$(e,t)]}function Pi(e,t){return xe(e)?De(e.lastChild,t):""}function $(e,t){return ve(e)?Nt(e.parent,t):je(e)?Bt(e.next,t):""}function Nt(e,t){if(en(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function De(e,t){if(en(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 en(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(We(e)||Mr(e.parent,t))}function j(e){return e.prev&&e.prev.kind!=="docType"&&e.kind!=="angularControlFlowBlock"&&!x(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function xe(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!x(Dt(e.lastChild))&&!ee(e)}function ve(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&x(Dt(e))}function je(e){return e.next&&!x(e.next)&&x(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Ii(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function Xe(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ri(e,t,r){var p;let{node:n}=e;if(!wt(n.attrs))return n.isSelfClosing?" ":"";let a=((p=n.prev)==null?void 0:p.kind)==="comment"&&Ii(n.prev.value),i=typeof a=="boolean"?()=>a:Array.isArray(a)?g=>a.includes(g.rawName):()=>!1,s=e.map(({node:g})=>i(g)?O(t.originalText.slice(ye(g),$e(g))):r(),"attrs"),o=n.kind==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,l=t.singleAttributePerLine&&n.attrs.length>1&&!ie(n,t)?v:S,c=[F([o?" ":S,ne(l,s)])];return n.firstChild&&Xe(n.firstChild)||n.isSelfClosing&&xe(n.parent)||o?c.push(n.isSelfClosing?" ":""):c.push(t.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?S:k),c}function Mi(e){return e.firstChild&&Xe(e.firstChild)?"":Lt(e)}function ut(e,t,r){let{node:n}=e;return[fe(n,t),Ri(e,t,r),n.isSelfClosing?"":Mi(n)]}function fe(e,t){return e.prev&&je(e.prev)?"":[X(e,t),Bt(e,t)]}function X(e,t){return Xe(e)?Lt(e.parent):j(e)?De(e.prev,t):""}var Xt="<!doctype";function Bt(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?$/u.test(n))return Xt}let r=ye(e);return t.originalText.slice(r,r+Xt.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function Lt(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}function qi(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Xe(e.firstChild)&&(r-=Lt(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ve(e.lastChild)?n+=Nt(e,t).length:xe(e)&&(n-=De(e.lastChild,t).length),t.originalText.slice(r,n)}var tn=qi,Hi=new Set(["if","else if","for","switch","case"]);function Vi(e,t){let{node:r}=e;switch(r.kind){case"element":if(M(r,t)||r.kind==="interpolation")return;if(!r.isSelfClosing&&xt(r,t)){let n=zt(r,t);return n?async(a,i)=>{let s=tn(r,t),o=/^\s*$/u.test(s),l="";return o||(l=await a(Rr(s),{parser:n,__embeddedInHtml:!0}),o=l===""),[X(r,t),A(ut(e,t,i)),o?"":v,l,o?"":v,ot(r,t),$(r,t)]}:void 0}break;case"text":if(M(r.parent,t)){let n=zt(r.parent,t);if(n)return async a=>{let i=n==="markdown"?N.dedentString(r.value.replace(/^[^\S\n]*\n/u,"")):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[Te,X(r,t),await a(i,s),$(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=se(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[F([S,await n(r.value,a)]),r.parent.next&&j(r.parent.next)?" ":S]};break;case"attribute":return Oi(e,t);case"angularControlFlowBlockParameters":return Hi.has(e.parent.name)?ra:void 0;case"angularLetDeclarationInitializer":return n=>B(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var Ui=Vi,le=null;function _e(e){if(le!==null&&typeof le.property){let t=le;return le=_e.prototype=null,t}return le=_e.prototype=e??Object.create(null),new _e}var Wi=10;for(let e=0;e<=Wi;e++)_e();function zi(e){return _e(e)}function $i(e,t="type"){zi(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 ji=$i,y=[["children"],[]],Xi={root:y[0],element:["attrs","children"],ieConditionalComment:y[0],ieConditionalStartComment:y[1],ieConditionalEndComment:y[1],interpolation:y[0],text:y[0],docType:y[1],comment:y[1],attribute:y[1],cdata:y[1],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:y[0],angularControlFlowBlockParameter:y[1],angularLetDeclaration:["init"],angularLetDeclarationInitializer:y[1],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Gi=ji(Xi,"kind"),Ki=Gi,Yi="format",Ji=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u,Qi=/^\s*<!--\s*@(?:format|prettier)\s*-->/u,Zi=e=>Qi.test(e),es=e=>Ji.test(e),ts=e=>`<!-- @${Yi} -->

${e}`,rs=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"])]]);function rn(e){let t=$e(e);return e.kind==="element"&&!e.endSourceSpan&&wt(e.children)?Math.max(t,rn(te(0,e.children,-1))):t}function ce(e,t,r){let n=e.node;if(We(n)){let a=rn(n);return[X(n,t),O(N.trimEnd(t.originalText.slice(ye(n)+(n.prev&&je(n.prev)?Bt(n).length:0),a-(n.next&&j(n.next)?De(n,t).length:0)))),$(n,t)]}return r()}function Fe(e,t){return x(e)&&x(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?tt(t)?v:S:"":tt(t)?v:k:je(e)&&(We(t)||t.firstChild||t.isSelfClosing||t.kind==="element"&&t.attrs.length>0)||e.kind==="element"&&e.isSelfClosing&&j(t)?"":!t.isLeadingSpaceSensitive||tt(t)||j(t)&&e.lastChild&&ve(e.lastChild)&&e.lastChild.lastChild&&ve(e.lastChild.lastChild)?v:t.hasLeadingSpaces?S:k}function Ot(e,t,r){let{node:n}=e;if(Hr(n))return[Te,...e.map(()=>{let i=e.node,s=i.prev?Fe(i.prev,i):"";return[s?[s,Oe(i.prev)?v:""]:"",ce(e,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map(({node:i,index:s})=>{if(x(i)){if(i.prev&&x(i.prev)){let h=Fe(i.prev,i);if(h)return Oe(i.prev)?[v,v,ce(e,t,r)]:[h,ce(e,t,r)]}return ce(e,t,r)}let o=[],l=[],c=[],p=[],g=i.prev?Fe(i.prev,i):"",f=i.next?Fe(i,i.next):"";return g&&(Oe(i.prev)?o.push(v,v):g===v?o.push(v):x(i.prev)?l.push(g):l.push(Ee("",k,{groupId:a[s-1]}))),f&&(Oe(i)?x(i.next)&&p.push(v,v):f===v?x(i.next)&&p.push(v):c.push(f)),[...o,A([...l,A([ce(e,t,r),...c],{id:a[s]})]),...p]},"children")}function ns(e,t,r){let{node:n}=e,a=[];if(ss(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",A(r("parameters")),")"),!is(n)){a.push(" {");let i=nn(n);n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(F([v,Ot(e,t,r)])),i&&a.push(v,"}")):i&&a.push("}")}return A(a,{shouldBreak:!0})}function nn(e){var t,r;return!(((t=e.next)==null?void 0:t.kind)==="angularControlFlowBlock"&&((r=rs.get(e.name))!=null&&r.has(e.next.name)))}var as=e=>(e==null?void 0:e.kind)==="angularControlFlowBlock"&&(e.name==="case"||e.name==="default");function is(e){return as(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function ss(e){let{previous:t}=e;return(t==null?void 0:t.kind)==="angularControlFlowBlock"&&!We(t)&&!nn(t)}function os(e,t,r){return[F([k,ne([";",S],e.map(r,"children"))]),k]}function us(e,t,r){let{node:n}=e;return[fe(n,t),A([n.switchValue.trim(),", ",n.type,n.cases.length>0?[",",F([S,ne(S,e.map(r,"cases"))])]:"",k]),ge(n,t)]}function ls(e,t,r){let{node:n}=e;return[n.value," {",A([F([k,e.map(({node:a,isLast:i})=>{let s=[r()];return a.kind==="text"&&(a.hasLeadingSpaces&&s.unshift(S),a.hasTrailingSpaces&&!i&&s.push(S)),s},"expression")]),k]),"}"]}function cs(e,t,r){let{node:n}=e;if(Mr(n,t))return[X(n,t),A(ut(e,t,r)),O(tn(n,t)),...ot(n,t),$(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=p=>A([A(ut(e,t,r),{id:i}),p,ot(n,t)]),o=p=>a?Rn(p,{groupId:i}):(M(n,t)||ze(n,t))&&n.parent.kind==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:F(p),l=()=>a?Ee(k,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?S:n.firstChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?In(k):k,c=()=>(n.next?j(n.next):xe(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Ee(k,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?S:(n.lastChild.kind==="comment"||n.lastChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":k;return n.children.length===0?s(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?S:""):s([Ba(n)?Te:"",o([l(),Ot(e,t,r)]),c()])}var R=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 Ge(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 Gt(e){return Ge(e)[1]==="ng-container"}function Kt(e){return Ge(e)[1]==="ng-content"}function Re(e){return e===null?null:Ge(e)[0]}function Ce(e,t){return e?`:${e}:${t}`:t}var Yt={name:"custom-elements"},Jt={name:"no-errors-schema"},J=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e}({}),ps=/-+([a-z0-9])/g;function hs(e){return e.replace(ps,(...t)=>t[1].toUpperCase())}var Me;function Qt(){return Me||(Me={},pe(J.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),pe(J.STYLE,["*|style"]),pe(J.URL,["*|formAction","area|href","a|href","a|xlink:href","form|action","annotation|href","annotation|xlink:href","annotation-xml|href","annotation-xml|xlink:href","maction|href","maction|xlink:href","malignmark|href","malignmark|xlink:href","math|href","math|xlink:href","mroot|href","mroot|xlink:href","msqrt|href","msqrt|xlink:href","merror|href","merror|xlink:href","mfrac|href","mfrac|xlink:href","mglyph|href","mglyph|xlink:href","msub|href","msub|xlink:href","msup|href","msup|xlink:href","msubsup|href","msubsup|xlink:href","mmultiscripts|href","mmultiscripts|xlink:href","mprescripts|href","mprescripts|xlink:href","mi|href","mi|xlink:href","mn|href","mn|xlink:href","mo|href","mo|xlink:href","mpadded|href","mpadded|xlink:href","mphantom|href","mphantom|xlink:href","mrow|href","mrow|xlink:href","ms|href","ms|xlink:href","mspace|href","mspace|xlink:href","mstyle|href","mstyle|xlink:href","mtable|href","mtable|xlink:href","mtd|href","mtd|xlink:href","mtr|href","mtr|xlink:href","mtext|href","mtext|xlink:href","mover|href","mover|xlink:href","munder|href","munder|xlink:href","munderover|href","munderover|xlink:href","semantics|href","semantics|xlink:href","none|href","none|xlink:href","img|src","video|src"]),pe(J.RESOURCE_URL,["base|href","embed|src","frame|src","iframe|src","link|href","object|codebase","object|data","script|src","script|href","script|xlink:href"]),pe(J.ATTRIBUTE_NO_BINDING,["animate|attributeName","set|attributeName","animateMotion|attributeName","animateTransform|attributeName","unknown|attributeName","iframe|sandbox","iframe|allow","iframe|allowFullscreen","iframe|referrerPolicy","iframe|csp","iframe|fetchPriority","unknown|sandbox","unknown|allow","unknown|allowFullscreen","unknown|referrerPolicy","unknown|csp","unknown|fetchPriority"])),Me}function pe(e,t){for(let r of t)Me[r.toLowerCase()]=e}var ds=class{},ms="boolean",gs="number",fs="string",_s="object",Cs=["[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","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,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:|"],an=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"})),Es=Array.from(an).reduce((e,[t,r])=>(e.set(t,r),e),new Map),vs=class extends ds{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Cs.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,p]of l)t.set(c,p);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),ms);break;case"#":t.set(c.substring(1),gs);break;case"%":t.set(c.substring(1),_s);break;default:t.set(c,fs)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Jt.name))return!0;if(e.indexOf("-")>-1){if(Gt(e)||Kt(e))return!1;if(r.some(n=>n.name===Yt.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Jt.name)||e.indexOf("-")>-1&&(Gt(e)||Kt(e)||t.some(r=>r.name===Yt.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Qt()[e+"|"+t];return n||(n=Qt()["*|"+t],n||J.NONE)}getMappedPropName(e){return an.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)})=...
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=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>Es.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return hs(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),i=null;if(Ss(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 Ss(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{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=R.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:s=!1,canSelfClose:o=!1}={}){this.closedByChildren={},this.closedByParent=!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}},Zt,he;function lt(e){return he||(Zt=new m({canSelfClose:!0}),he=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:R.RAW_TEXT}),script:new m({contentType:R.RAW_TEXT}),title:new m({contentType:{default:R.ESCAPABLE_RAW_TEXT,svg:R.PARSABLE_DATA}}),textarea:new m({contentType:R.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new vs().allKnownElementNames().forEach(t=>{!he[t]&&Re(t)===null&&(he[t]=new m({canSelfClose:!1}))})),he[e]??Zt}function qe(e){return e>=9&&e<=32||e==160}function Ke(e){return 48<=e&&e<=57}function Se(e){return e>=97&&e<=122||e>=65&&e<=90}function As(e){return e>=97&&e<=102||e>=65&&e<=70||Ke(e)}function He(e){return e===10||e===13}function er(e){return 48<=e&&e<=55}function at(e){return e===39||e===34||e===96}var ct=class sn{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(`
`);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]==`
`&&++o==r)););for(s=0,o=0;s<t&&i<n.length-1&&(i++,s++,!(n[i]==`
`&&++o==r)););return{before:n.substring(a,this.offset),after:n.substring(this.offset,i+1)}}return null}},on=class{constructor(e,t){this.content=e,this.url=t}},d=class{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)}},tr=function(e){return e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR",e}({}),Q=class extends Error{constructor(e,t,r=tr.ERROR,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}[${tr[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},G=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},Ts=class extends G{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="text"}visit(e,t){return e.visitText(this,t)}},ks=class extends G{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="cdata"}visit(e,t){return e.visitCdata(this,t)}},bs=class extends G{constructor(e,t,r,n,a,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a,this.kind="expansion"}visit(e,t){return e.visitExpansion(this,t)}},ws=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.kind="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},ys=class extends G{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,this.kind="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},U=class extends G{constructor(e,t,r,n,a,i,s,o=null,l=null,c,p){super(i,p),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.kind="element"}visit(e,t){return e.visitElement(this,t)}},Ds=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="comment"}visit(e,t){return e.visitComment(this,t)}},xs=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="docType"}visit(e,t){return e.visitDocType(this,t)}},Y=class extends G{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,this.kind="block"}visit(e,t){return e.visitBlock(this,t)}},H=class extends G{constructor(e,t,r,n,a,i,s,o,l,c=null,p){super(o,p),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.kind="component"}visit(e,t){return e.visitComponent(this,t)}},Ns=class{constructor(e,t,r,n,a=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=n,this.endSourceSpan=a,this.kind="directive"}visit(e,t){return e.visitDirective(this,t)}},rr=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.kind="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},nr=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.kind="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}};function un(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 Bs=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.directives),r(e.children)})}visitAttribute(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.children)})}visitDirective(e,t){this.visitChildren(t,r=>{r(e.attrs)})}visitChildren(e,t){let r=[],n=this;function a(i){i&&r.push(un(n,i,e))}return t(a),Array.prototype.concat.apply([],r)}},Ae={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:"Ĳ",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:`
`,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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"𝔣",filig:"ﬁ",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"ĳ",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:"ŉ",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:"‌"},Ls="";Ae.ngsp=Ls;var u=function(e){return e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",e[e.TEXT=5]="TEXT",e[e.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=7]="RAW_TEXT",e[e.INTERPOLATION=8]="INTERPOLATION",e[e.ENCODED_ENTITY=9]="ENCODED_ENTITY",e[e.COMMENT_START=10]="COMMENT_START",e[e.COMMENT_END=11]="COMMENT_END",e[e.CDATA_START=12]="CDATA_START",e[e.CDATA_END=13]="CDATA_END",e[e.ATTR_NAME=14]="ATTR_NAME",e[e.ATTR_QUOTE=15]="ATTR_QUOTE",e[e.ATTR_VALUE_TEXT=16]="ATTR_VALUE_TEXT",e[e.ATTR_VALUE_INTERPOLATION=17]="ATTR_VALUE_INTERPOLATION",e[e.DOC_TYPE_START=18]="DOC_TYPE_START",e[e.DOC_TYPE_END=19]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=20]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=21]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=22]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=23]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=24]="EXPANSION_FORM_END",e[e.BLOCK_OPEN_START=25]="BLOCK_OPEN_START",e[e.BLOCK_OPEN_END=26]="BLOCK_OPEN_END",e[e.BLOCK_CLOSE=27]="BLOCK_CLOSE",e[e.BLOCK_PARAMETER=28]="BLOCK_PARAMETER",e[e.INCOMPLETE_BLOCK_OPEN=29]="INCOMPLETE_BLOCK_OPEN",e[e.LET_START=30]="LET_START",e[e.LET_VALUE=31]="LET_VALUE",e[e.LET_END=32]="LET_END",e[e.INCOMPLETE_LET=33]="INCOMPLETE_LET",e[e.COMPONENT_OPEN_START=34]="COMPONENT_OPEN_START",e[e.COMPONENT_OPEN_END=35]="COMPONENT_OPEN_END",e[e.COMPONENT_OPEN_END_VOID=36]="COMPONENT_OPEN_END_VOID",e[e.COMPONENT_CLOSE=37]="COMPONENT_CLOSE",e[e.INCOMPLETE_COMPONENT_OPEN=38]="INCOMPLETE_COMPONENT_OPEN",e[e.DIRECTIVE_NAME=39]="DIRECTIVE_NAME",e[e.DIRECTIVE_OPEN=40]="DIRECTIVE_OPEN",e[e.DIRECTIVE_CLOSE=41]="DIRECTIVE_CLOSE",e[e.EOF=42]="EOF",e}({}),Os=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function Fs(e,t,r,n={}){let a=new Ms(new on(e,t),r,n);return a.tokenize(),new Os($s(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}var Ps=/\r\n?/g;function W(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function ar(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}function Is(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var pt=function(e){return e.HEX="hexadecimal",e.DEC="decimal",e}(pt||{}),Rs=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error"],de={start:"{{",end:"}}"},Ms=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._openDirectiveCount=0,this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],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;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new js(e,n):new ln(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(Ps,`
`)}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(u.TEXT,u.INTERPOLATION,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(u.EOF),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>qe(r)?!e:zs(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(u.BLOCK_OPEN_START,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(E),this._attemptCharCode(41))this._attemptCharCodeUntilFn(E);else{t.type=u.INCOMPLETE_BLOCK_OPEN;return}this._attemptCharCode(123)?(this._beginToken(u.BLOCK_OPEN_END),this._endToken([])):this._isBlockStart()&&(t.parts[0]==="case"||t.parts[0]==="default")?(this._beginToken(u.BLOCK_OPEN_END),this._endToken([]),this._beginToken(u.BLOCK_CLOSE),this._endToken([])):t.type=u.INCOMPLETE_BLOCK_OPEN}_consumeBlockEnd(e){this._beginToken(u.BLOCK_CLOSE,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(sr);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(u.BLOCK_PARAMETER);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&&at(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(sr)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(u.LET_START,e),qe(this._cursor.peek()))this._attemptCharCodeUntilFn(E);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=u.INCOMPLETE_LET;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(E),!this._attemptCharCode(61)){t.type=u.INCOMPLETE_LET;return}this._attemptCharCodeUntilFn(r=>E(r)&&!He(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(u.LET_END),this._endToken([]),this._cursor.advance()):(t.type=u.INCOMPLETE_LET,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Se(r)||r===36||r===95||t&&Ke(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(u.LET_VALUE,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;at(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Us(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 Q(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 Q(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 Q(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof Ft&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Q)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Ws(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(W(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(W(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(W(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(W(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)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&&Rs.some(e=>this._peekStr(e))}_isLetStart(){return this._cursor.peek()===64&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(u.ENCODED_ENTITY);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(Hs),this._cursor.peek()!=59){this._cursor.advance();let i=r?pt.HEX:pt.DEC;throw this._createError(Is(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(ar(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Vs),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=Ae.hasOwnProperty(n)&&Ae[n];if(!a)throw this._createError(ar(n),this._cursor.getSpan(t));this._endToken([a,`&${n};`])}}}_consumeRawText(e,t){this._beginToken(e?u.ESCAPABLE_RAW_TEXT:u.RAW_TEXT);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(u.ESCAPABLE_RAW_TEXT),this._beginToken(u.ESCAPABLE_RAW_TEXT)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(u.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(u.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(u.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(u.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(u.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(u.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(u.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(u.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(e){let t=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!qs(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]}_consumeTagOpen(e){let t,r,n,a,i=[];try{if(this._selectorlessEnabled&&Pe(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[n,r,t]=a.parts,r&&(n+=`:${r}`),t&&(n+=`:${t}`),this._attemptCharCodeUntilFn(E);else{if(!Se(this._cursor.peek()))throw this._createError(W(this._cursor.peek()),this._cursor.getSpan(e));a=this._consumeTagOpenStart(e),r=a.parts[0],t=n=a.parts[1],this._attemptCharCodeUntilFn(E)}for(;!ur(this._cursor.peek());)if(this._selectorlessEnabled&&this._cursor.peek()===64){let o=this._cursor.clone(),l=o.clone();l.advance(),Pe(l.peek())&&this._consumeDirective(o,l)}else{let o=this._consumeAttribute();i.push(o)}a.type===u.COMPONENT_OPEN_START?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(o){if(o instanceof Q){a?a.type=a.type===u.COMPONENT_OPEN_START?u.INCOMPLETE_COMPONENT_OPEN:u.INCOMPLETE_TAG_OPEN:(this._beginToken(u.TEXT,e),this._endToken(["<"]));return}throw o}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===u.TAG_OPEN_END_VOID)return;let s=this._getTagContentType(t,r,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(r,t),s===R.RAW_TEXT?this._consumeRawTextWithTagClose(r,a,n,!1):s===R.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,a,n,!0)}_consumeRawTextWithTagClose(e,t,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(E),!this._attemptStrCaseInsensitive(e&&t.type!==u.COMPONENT_OPEN_START?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(E),this._attemptCharCode(62))),this._beginToken(t.type===u.COMPONENT_OPEN_START?u.COMPONENT_CLOSE:u.TAG_CLOSE),this._requireCharCodeUntilFn(a=>a===62,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(u.TAG_OPEN_START,e);let t=this._consumePrefixAndName(z);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(u.COMPONENT_OPEN_START,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;or(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(z)),[t,r,n]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),r;return this._attemptCharCodeUntilFn(E),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(E),r=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(E),{prefix:e,name:t,value:r}}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(W(e),this._cursor.getSpan());this._beginToken(u.ATTR_NAME);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 z(a)}}else if(e===91){let n=0;t=a=>(a===91?n++:a===93&&n--,n<=0?z(a):He(a))}else t=z;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(u.ATTR_VALUE_TEXT,u.ATTR_VALUE_INTERPOLATION,r,r),this._consumeQuote(t)}else{let t=()=>z(this._cursor.peek());e=this._consumeWithInterpolation(u.ATTR_VALUE_TEXT,u.ATTR_VALUE_INTERPOLATION,t,t)}return e}_consumeQuote(e){this._beginToken(u.ATTR_QUOTE),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?u.TAG_OPEN_END_VOID:u.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?u.COMPONENT_OPEN_END_VOID:u.COMPONENT_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;t.peek()!==62&&!Pe(t.peek());)t.advance();if(Pe(t.peek())){this._beginToken(u.COMPONENT_CLOSE,e);let r=this._consumeComponentName();this._attemptCharCodeUntilFn(E),this._requireCharCode(62),this._endToken(r);return}}if(this._beginToken(u.TAG_CLOSE,e),this._attemptCharCodeUntilFn(E),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(E),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName(z);this._attemptCharCodeUntilFn(E),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(u.EXPANSION_FORM_START),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(u.EXPANSION_FORM_START),this._beginToken(u.RAW_TEXT);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(E),this._beginToken(u.RAW_TEXT);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(E)}_consumeExpansionCaseStart(){this._beginToken(u.EXPANSION_CASE_VALUE);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(E),this._beginToken(u.EXPANSION_CASE_EXP_START),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(E),this._expansionCaseStack.push(u.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(u.EXPANSION_CASE_EXP_END),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(E),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(u.EXPANSION_FORM_END),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(de.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(de.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(de.end)){n.push(this._getProcessedChars(a,o)),n.push(de.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&&at(l)&&(i=l)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();or(this._cursor.peek());)this._cursor.advance();this._beginToken(u.DIRECTIVE_NAME,e);let r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(E),this._cursor.peek()===40){for(this._openDirectiveCount++,this._beginToken(u.DIRECTIVE_OPEN),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(E);!ur(this._cursor.peek())&&this._cursor.peek()!==41;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(E),this._openDirectiveCount--,this._cursor.peek()!==41){if(this._cursor.peek()===62||this._cursor.peek()===47)return;throw this._createError(W(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(u.DIRECTIVE_CLOSE),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(E)}}_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)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]===u.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===u.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;let e=this._cursor.clone(),t=this._attemptStr(de.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let r=Ce(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Ce(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function E(e){return!qe(e)||e===0}function z(e){return qe(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function qs(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function Hs(e){return e===59||e===0||!As(e)}function Vs(e){return e===59||e===0||!Se(e)}function Us(e){return e!==125}function Ws(e,t){return ir(e)===ir(t)}function ir(e){return e>=97&&e<=122?e-97+65:e}function zs(e){return Se(e)||Ke(e)||e===95}function sr(e){return e!==59&&E(e)}function Pe(e){return e===95||e>=65&&e<=90}function or(e){return Se(e)||Ke(e)||e===95}function ur(e){return e===47||e===62||e===60||e===0}function $s(e){let t=[],r;for(let n=0;n<e.length;n++){let a=e[n];r&&r.type===u.TEXT&&a.type===u.TEXT||r&&r.type===u.ATTR_VALUE_TEXT&&a.type===u.ATTR_VALUE_TEXT?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,t.push(r))}return t}var ln=class ht{constructor(t,r){if(t instanceof ht){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 ht(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);return new d(a,this.locationFromCursor(this),n!==t?this.locationFromCursor(n):a)}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 Ft('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):He(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 ct(t.file,t.state.offset,t.state.line,t.state.column)}},js=class dt extends ln{constructor(t,r){t instanceof dt?(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 dt(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(er(t())){let r="",n=0,a=this.clone();for(;er(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 He(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 Ft("Invalid hexadecimal escape sequence",t);return a}},Ft=class extends Error{constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},T=class cn extends Q{static create(t,r,n){return new cn(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},Xs=class{constructor(e,t){this.rootNodes=e,this.errors=t}},Gs=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let i=h=>(_,...C)=>h(_.toLowerCase(),...C),s=n?this.getTagDefinition:i(this.getTagDefinition),o=h=>s(h).getContentType(),l=n?a:i(a),c=Fs(e,t,a?(h,_,C,L)=>{let P=l(h,_,C,L);return P!==void 0?P:o(h)}:o,r),p=r&&r.canSelfClose||!1,g=r&&r.allowHtmComponentClosingTags||!1,f=new Ks(c.tokens,s,p,g,n);return f.build(),new Xs(f.rootNodes,[...c.errors,...f.errors])}},Ks=class pn{constructor(t,r,n,a,i){this.tokens=t,this.tagDefinitionResolver=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=a,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==u.EOF;)this._peek.type===u.TAG_OPEN_START||this._peek.type===u.INCOMPLETE_TAG_OPEN?this._consumeElementStartTag(this._advance()):this._peek.type===u.TAG_CLOSE?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===u.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===u.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===u.TEXT||this._peek.type===u.RAW_TEXT||this._peek.type===u.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===u.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===u.BLOCK_OPEN_START?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===u.BLOCK_CLOSE?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===u.INCOMPLETE_BLOCK_OPEN?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===u.LET_START?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===u.DOC_TYPE_START?this._consumeDocType(this._advance()):this._peek.type===u.INCOMPLETE_LET?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===u.COMPONENT_OPEN_START||this._peek.type===u.INCOMPLETE_COMPONENT_OPEN?this._consumeComponentStartTag(this._advance()):this._peek.type===u.COMPONENT_CLOSE?this._consumeComponentEndTag(this._advance()):this._advance();for(let t of this._containerStack)t instanceof Y&&this.errors.push(T.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(u.CDATA_END);this._addToParent(new ks(n,new d(t.sourceSpan.start,(a||r).sourceSpan.end),[r]))}_consumeComment(t){let r=this._advanceIf(u.RAW_TEXT),n=this._advanceIf(u.COMMENT_END),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 Ds(a,i))}_consumeDocType(t){let r=this._advanceIf(u.RAW_TEXT),n=this._advanceIf(u.DOC_TYPE_END),a=r!=null?r.parts[0].trim():null,i=new d(t.sourceSpan.start,(n||r||t).sourceSpan.end);this._addToParent(new xs(a,i))}_consumeExpansion(t){let r=this._advance(),n=this._advance(),a=[];for(;this._peek.type===u.EXPANSION_CASE_VALUE;){let s=this._parseExpansionCase();if(!s)return;a.push(s)}if(this._peek.type!==u.EXPANSION_FORM_END){this.errors.push(T.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 bs(r.parts[0],n.parts[0],a,i,r.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==u.EXPANSION_CASE_EXP_START)return this.errors.push(T.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:u.EOF,parts:[],sourceSpan:a.sourceSpan});let i=new pn(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 ws(t.parts[0],i.rootNodes,s,t.sourceSpan,o)}_collectExpansionExpTokens(t){let r=[],n=[u.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===u.EXPANSION_FORM_START||this._peek.type===u.EXPANSION_CASE_EXP_START)&&n.push(this._peek.type),this._peek.type===u.EXPANSION_CASE_EXP_END)if(lr(n,u.EXPANSION_CASE_EXP_START)){if(n.pop(),n.length===0)return r}else return this.errors.push(T.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===u.EXPANSION_FORM_END)if(lr(n,u.EXPANSION_FORM_START))n.pop();else return this.errors.push(T.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===u.EOF)return this.errors.push(T.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]==`
`){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]===`
`){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===u.INTERPOLATION||this._peek.type===u.TEXT||this._peek.type===u.ENCODED_ENTITY;)t=this._advance(),r.push(t),t.type===u.INTERPOLATION?a+=t.parts.join("").replace(/&([^;]+);/g,cr):t.type===u.ENCODED_ENTITY?a+=t.parts[0]:a+=t.parts.join("");if(a.length>0){let s=t.sourceSpan;this._addToParent(new Ts(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=[];this._consumeAttributesAndDirectives(n,a);let i=this._getElementFullName(t,this._getClosestElementLikeParent()),s=this._getTagDefinition(i),o=!1;if(this._peek.type===u.TAG_OPEN_END_VOID){this._advance(),o=!0;let C=this._getTagDefinition(i);this.canSelfClose||C!=null&&C.canSelfClose||Re(i)!==null||C!=null&&C.isVoid||this.errors.push(T.create(i,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===u.TAG_OPEN_END&&(this._advance(),o=!1);let l=this._peek.sourceSpan.fullStart,c=new d(t.sourceSpan.start,l,t.sourceSpan.fullStart),p=new d(t.sourceSpan.start,l,t.sourceSpan.fullStart),g=new d(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),f=new U(i,n,a,[],o,c,p,void 0,g,(s==null?void 0:s.isVoid)??!1),h=this._getContainer(),_=h!==null&&!!(!((r=this._getTagDefinition(h))===null||r===void 0)&&r.isClosedByChild(f.name));this._pushContainer(f,_),o?this._popContainer(i,U,c):t.type===u.INCOMPLETE_TAG_OPEN&&(this._popContainer(i,U,null),this.errors.push(T.create(i,c,`Opening tag "${i}" not terminated.`)))}_consumeComponentStartTag(t){var r;let n=t.parts[0],a=[],i=[];this._consumeAttributesAndDirectives(a,i);let s=this._getClosestElementLikeParent(),o=this._getComponentTagName(t,s),l=this._getComponentFullName(t,s),c=this._peek.type===u.COMPONENT_OPEN_END_VOID;this._advance();let p=this._peek.sourceSpan.fullStart,g=new d(t.sourceSpan.start,p,t.sourceSpan.fullStart),f=new d(t.sourceSpan.start,p,t.sourceSpan.fullStart),h=new H(n,o,l,a,i,[],c,g,f,void 0),_=this._getContainer(),C=_!==null&&h.tagName!==null&&!!(!((r=this._getTagDefinition(_))===null||r===void 0)&&r.isClosedByChild(h.tagName));this._pushContainer(h,C),c?this._popContainer(l,H,g):t.type===u.INCOMPLETE_COMPONENT_OPEN&&(this._popContainer(l,H,null),this.errors.push(T.create(l,g,`Opening tag "${l}" not terminated.`)))}_consumeAttributesAndDirectives(t,r){for(;this._peek.type===u.ATTR_NAME||this._peek.type===u.DIRECTIVE_NAME;)this._peek.type===u.DIRECTIVE_NAME?r.push(this._consumeDirective(this._peek)):t.push(this._consumeAttr(this._advance()))}_consumeComponentEndTag(t){let r=this._getComponentFullName(t,this._getClosestElementLikeParent());if(!this._popContainer(r,H,t.sourceSpan)){let n=this._containerStack[this._containerStack.length-1],a;n instanceof H&&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(T.create(r,t.sourceSpan,i))}}_getTagDefinition(t){return typeof t=="string"?this.tagDefinitionResolver(t):t instanceof U?this.tagDefinitionResolver(t.name):t instanceof H&&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(T.create(n,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(n,U,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(T.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 H?o.fullName:o.name;if(Re(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 Y||!(!((i=this._getTagDefinition(o))===null||i===void 0)&&i.closedByParent))&&(a=!0)}return!1}_consumeAttr(t){let r=Ce(t.parts[0],t.parts[1]),n=t.sourceSpan.end,a;this._peek.type===u.ATTR_QUOTE&&(a=this._advance());let i="",s=[],o,l;if(this._peek.type===u.ATTR_VALUE_TEXT)for(o=this._peek.sourceSpan,l=this._peek.sourceSpan.end;this._peek.type===u.ATTR_VALUE_TEXT||this._peek.type===u.ATTR_VALUE_INTERPOLATION||this._peek.type===u.ENCODED_ENTITY;){let p=this._advance();s.push(p),p.type===u.ATTR_VALUE_INTERPOLATION?i+=p.parts.join("").replace(/&([^;]+);/g,cr):p.type===u.ENCODED_ENTITY?i+=p.parts[0]:i+=p.parts.join(""),l=n=p.sourceSpan.end}this._peek.type===u.ATTR_QUOTE&&(l=n=this._advance().sourceSpan.end);let c=o&&l&&new d((a==null?void 0:a.sourceSpan.start)??o.start,l,(a==null?void 0:a.sourceSpan.fullStart)??o.fullStart);return new ys(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===u.DIRECTIVE_OPEN){for(n=this._peek.sourceSpan.end,this._advance();this._peek.type===u.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));this._peek.type===u.DIRECTIVE_CLOSE?(a=this._peek.sourceSpan,this._advance()):this.errors.push(T.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 Ns(t.parts[0],r,s,i,a)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===u.BLOCK_PARAMETER;){let o=this._advance();r.push(new rr(o.parts[0],o.sourceSpan))}this._peek.type===u.BLOCK_OPEN_END&&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 Y(t.parts[0],r,[],a,t.sourceSpan,i);this._pushContainer(s,!1)}_consumeBlockClose(t){this._popContainer(null,Y,t.sourceSpan)||this.errors.push(T.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 "&#125;" HTML entity instead.'))}_consumeIncompleteBlock(t){let r=[];for(;this._peek.type===u.BLOCK_PARAMETER;){let o=this._advance();r.push(new rr(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 Y(t.parts[0],r,[],a,t.sourceSpan,i);this._pushContainer(s,!1),this._popContainer(null,Y,null),this.errors.push(T.create(t.parts[0],a,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(t){let r=t.parts[0],n,a;if(this._peek.type!==u.LET_VALUE){this.errors.push(T.create(t.parts[0],t.sourceSpan,`Invalid @let declaration "${r}". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==u.LET_END){this.errors.push(T.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.fullStart,s=new d(t.sourceSpan.start,i,t.sourceSpan.fullStart),o=t.sourceSpan.toString().lastIndexOf(r),l=new d(t.sourceSpan.start.moveBy(o),t.sourceSpan.end),c=new nr(r,n.parts[0],s,l,n.sourceSpan);this._addToParent(c)}_consumeIncompleteLet(t){let r=t.parts[0]??"",n=r?` "${r}"`:"";if(r.length>0){let a=t.sourceSpan.toString().lastIndexOf(r),i=new d(t.sourceSpan.start.moveBy(a),t.sourceSpan.end),s=new d(t.sourceSpan.start,t.sourceSpan.start.moveBy(0)),o=new nr(r,"",t.sourceSpan,i,s);this._addToParent(o)}this.errors.push(T.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 U||r instanceof H)return r}return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r){return Ce(this._getPrefix(t,r),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:Ce(n,a||"ng-component")}_getPrefix(t,r){var n;let a,i;if(t.type===u.COMPONENT_OPEN_START||t.type===u.INCOMPLETE_COMPONENT_OPEN||t.type===u.COMPONENT_CLOSE?(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 U?r.name:r.tagName;if(s!==null){let o=Ge(s)[1],l=this._getTagDefinition(o);l!==null&&!l.preventNamespaceInheritance&&(a=Re(s))}}return a}};function lr(e,t){return e.length>0&&e[e.length-1]===t}function cr(e,t){return Ae[t]!==void 0?Ae[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 Ys=class extends Gs{constructor(){super(lt)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},it=null,Js=()=>(it||(it=new Ys),it);function mt(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:i,tokenizeAngularBlocks:s=!1,tokenizeAngularLetDeclaration:o=!1,enableAngularSelectorlessSyntax:l=!1}=t;return Js().parse(e,"angular-html-parser",{tokenizeExpansionForms:s,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:s,tokenizeLet:o,selectorlessEnabled:l},a,i)}var Qs=[eo,to,no,io,so,lo,oo,uo,co,ao];function Zs(e,t){for(let r of Qs)r(e,t);return e}function eo(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]===`
`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function to(e){let t=r=>{var n,a;return r.kind==="element"&&((n=r.prev)==null?void 0:n.kind)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.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 ro(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 no(e){return ro(e,t=>t.kind==="cdata",t=>`<![CDATA[${t.value}]]>`)}function ao(e){let t=r=>{var n,a;return r.kind==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.kind==="text"&&!N.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.kind)==="text"&&((a=r.next)==null?void 0:a.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 io(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(wa(n,t))for(let a of n.children){if(a.kind!=="text")continue;let i=a.sourceSpan.start,s=null,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 so(e,t){e.walk(r=>{let n=r.$children;if(!n)return;if(n.length===0||n.length===1&&n[0].kind==="text"&&N.trim(n[0].value).length===0){r.hasDanglingSpaces=n.length>0,r.$children=[];return}let a=ya(r,t),i=qr(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:p}=ka(o.value),g=o.prev,f=o.next;c?(o.value=c,o.sourceSpan=new d(o.sourceSpan.start.moveBy(l.length),o.sourceSpan.end.moveBy(-p.length)),l&&(g&&(g.hasTrailingSpaces=!0),o.hasLeadingSpaces=!0),p&&(o.hasTrailingSpaces=!0,f&&(f.hasLeadingSpaces=!0))):(r.removeChild(o),s--,(l||p)&&(g&&(g.hasTrailingSpaces=!0),f&&(f.hasLeadingSpaces=!0)))}r.isWhitespaceSensitive=a,r.isIndentationSensitive=i})}function oo(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 uo(e,t){e.walk(r=>{r.kind==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function lo(e,t){e.walk(r=>{r.cssDisplay=Wa(r,t)})}function co(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=Na(r,t);return}for(let a of n)a.isLeadingSpaceSensitive=Da(a,t),a.isTrailingSpaceSensitive=xa(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 po=Zs;function ho(e,t,r){let{node:n}=e;switch(n.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[A(Ot(e,t,r)),v];case"element":case"ieConditionalComment":return cs(e,t,r);case"angularControlFlowBlock":return ns(e,t,r);case"angularControlFlowBlockParameters":return os(e,t,r);case"angularControlFlowBlockParameter":return N.trim(n.expression);case"angularLetDeclaration":return A(["@let ",A([n.id," =",A(F([S,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return us(e,t,r);case"angularIcuCase":return ls(e,t,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[fe(n),ge(n)];case"interpolation":return[fe(n,t),...e.map(r,"children"),ge(n,t)];case"text":{if(n.parent.kind==="interpolation"){let o=/\n[^\S\n]*$/u,l=o.test(n.value),c=l?n.value.replace(o,""):n.value;return[O(c),l?v:""]}let a=X(n,t),i=Gr(n),s=$(n,t);return i[0]=[a,i[0]],i.push([i.pop(),s]),Nr(i)}case"docType":return[A([fe(n,t)," ",b(0,n.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),ge(n,t)];case"comment":return[X(n,t),O(t.originalText.slice(ye(n),$e(n))),$(n,t)];case"attribute":{if(n.value===null)return n.rawName;let a=Xr(n.value),i=Yr(n,t)?"":zn(a,'"');return[n.rawName,"=",i,O(i==='"'?b(0,a,'"',"&quot;"):b(0,a,"'","&apos;")),i]}case"frontMatter":case"cdata":default:throw new Jn(n,"HTML")}}var mo={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:po,print:ho,insertPragma:ts,massageAstNode:ea,embed:Ui,getVisitorKeys:Ki},go=mo,fo=[{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:["xhtml"],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:"source.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],pr={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."}},hr="HTML",_o={bracketSameLine:pr.bracketSameLine,htmlWhitespaceSensitivity:{category:hr,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:pr.singleAttributePerLine,vueIndentScriptAndStyle:{category:hr,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Co=_o,hn={};Er(hn,{angular:()=>jo,html:()=>Wo,lwc:()=>Go,mjml:()=>$o,vue:()=>Xo});function Eo(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var vo=Eo,So={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function dn(e){return{...So,...e}}function mn(e){let{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,shouldParseAsRawText:a,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}=e;return{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,getTagContentType:a?(...o)=>a(...o)?R.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}}var st=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"])]]),Ao=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","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"]),Ie={attrs:!0,children:!0,cases:!0,expression:!0},dr=new Set(["parent"]),Z,gt,ft,To=class me{constructor(t={}){Sn(this,Z),qt(this,"kind"),qt(this,"parent");for(let r of new Set([...dr,...Object.keys(t)]))this.setProperty(r,t[r]);if(Ue(t))for(let r of Object.getOwnPropertySymbols(t))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in Ie&&(r=r.map(n=>this.createChild(n))),!dr.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in Ie){let a=this[n];if(a){let i=bo(a,s=>s.map(t));r!==a&&(r||(r=new me({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in Ie||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in Ie){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 me?t.clone():new me(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 me(this)}get $children(){return this[Le(this,Z,gt)]}set $children(t){this[Le(this,Z,gt)]=t}get firstChild(){var t;return(t=this.$children)==null?void 0:t[0]}get lastChild(){return te(1,this.$children,-1)}get prev(){let t=Le(this,Z,ft);return t[t.indexOf(this)-1]}get next(){let t=Le(this,Z,ft);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]))}};Z=new WeakSet,gt=function(){return this.kind==="angularIcuCase"?"expression":this.kind==="angularIcuExpression"?"cases":"children"},ft=function(){var e;return((e=this.parent)==null?void 0:e.$children)??[]};var ko=To;function bo(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}var wo=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su,parse:Do},{regex:/^\[if(?<condition>[^\]]*)\]><!$/u,parse:xo},{regex:/^<!\s*\[endif\]$/u,parse:No}];function yo(e,t){if(e.value)for(let{regex:r,parse:n}of wo){let a=e.value.match(r);if(a)return n(e,a,t)}return null}function Do(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,p]=(()=>{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:p,condition:b(0,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new d(e.sourceSpan.start,o),endSourceSpan:new d(l,e.sourceSpan.end)}}function xo(e,t){let{condition:r}=t.groups;return{kind:"ieConditionalStartComment",condition:b(0,r.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function No(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}var Bo=class extends Bs{visitExpansionCase(e,t){t.parseOptions.name==="angular"&&this.visitChildren(t,r=>{r(e.expression)})}visit(e,{parseOptions:t}){Io(e),Ro(e,t),qo(e,t),Mo(e)}};function Lo(e,t,r,n){un(new Bo,e.children,{parseOptions:r}),t&&e.children.unshift(t);let a=new ko(e);return a.walk(i=>{if(i.kind==="comment"){let s=yo(i,n);s&&i.parent.replaceChild(i,s)}Oo(i),Fo(i),Po(i)}),a}function Oo(e){if(e.kind==="block"){if(e.name=b(0,e.name.toLowerCase(),/\s+/gu," ").trim(),e.kind="angularControlFlowBlock",!wt(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,te(0,e.parameters,-1).sourceSpan.end)}}}function Fo(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 Po(e){e.kind==="expansion"&&(e.kind="angularIcuExpression"),e.kind==="expansionCase"&&(e.kind="angularIcuCase")}function mr(e,t){let r=e.toLowerCase();return t(r)?r:e}function gr(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":")[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 Io(e){switch(e.kind){case"element":gr(e);for(let t of e.attrs)gr(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/u.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 Ro(e,t){if(e.kind==="element"){let r=lt(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===r.implicitNamespacePrefix||be(e)?e.tagDefinition=r:e.tagDefinition=lt("")}}function Mo(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new d(e.sourceSpan.start,e.endSourceSpan.end))}function qo(e,t){if(e.kind==="element"&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||be(e))&&(e.name=mr(e.name,r=>Ao.has(r))),t.normalizeAttributeName))for(let r of e.attrs)r.namespace||(r.name=mr(r.name,n=>st.has(e.name)&&(st.get("*").has(n)||st.get(e.name).has(n))))}function gn(e,t){let{rootNodes:r,errors:n}=mt(e,mn(t));return n.length>0&&_t(n[0]),{parseOptions:t,rootNodes:r}}function Ho(e,t){let r=mn(t),{rootNodes:n,errors:a}=mt(e,r);if(n.some(l=>l.kind==="docType"&&l.value==="html"||l.kind==="element"&&l.name.toLowerCase()==="html"))return gn(e,Pt);let i,s=()=>i??(i=mt(e,{...r,getTagContentType:void 0})),o=l=>{let{offset:c}=l.startSourceSpan.start;return s().rootNodes.find(p=>p.kind==="element"&&p.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(Vo(c)){let{endSourceSpan:p,startSourceSpan:g}=c,f=s().errors.find(h=>h.span.start.offset>g.start.offset&&h.span.start.offset<p.end.offset);f&&_t(f),n[l]=o(c)}}return a.length>0&&_t(a[0]),{parseOptions:t,rootNodes:n}}function Vo(e){var r;if(e.kind!=="element"||e.name!=="template")return!1;let t=(r=e.attrs.find(n=>n.name==="lang"))==null?void 0:r.value;return!t||t==="html"}function _t(e){let{msg:t,span:{start:r,end:n}}=e;throw vo(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Uo(e,t,r,n,a,i){let{offset:s}=n,o=b(0,t.slice(0,s),/[^\n]/gu," ")+r,l=fn(o,e,{...a,shouldParseFrontMatter:!1},i);l.sourceSpan=new d(n,te(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 fn(e,t,r,n={}){let{frontMatter:a,content:i}=r.shouldParseFrontMatter?Ea(e):{content:e},s=new on(e,n.filepath),o=new ct(s,0,0,0),l=o.moveBy(e.length),{parseOptions:c,rootNodes:p}=t(i,r),g={kind:"root",sourceSpan:new d(o,l),children:p},f;if(a){let[h,_]=[a.start,a.end].map(C=>new ct(s,C.index,C.line-1,C.column));f={...a,kind:"frontMatter",sourceSpan:new d(h,_)}}return Lo(g,f,c,(h,_)=>Uo(t,e,h,_,c,n))}var Pt=dn({name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0});function Ne(e){let t=dn(e),r=t.name==="vue"?Ho:gn;return{parse:(n,a)=>fn(n,r,t,a),hasPragma:Zi,hasIgnorePragma:es,astFormat:"html",locStart:ye,locEnd:$e}}var Wo=Ne(Pt),zo=new Set(["mj-style","mj-raw"]),$o=Ne({...Pt,name:"mjml",shouldParseAsRawText:e=>zo.has(e)}),jo=Ne({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0}),Xo=Ne({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))}}),Go=Ne({name:"lwc",canSelfClose:!1}),Ko={html:go};export{An as default,fo as languages,Co as options,hn as parsers,Ko as printers};
