TOPVERSE_Official/.output/public/_nuxt/parser-html.fd96713d.js

37 lines
150 KiB
JavaScript
Raw Normal View History

2023-05-31 11:02:15 +08:00
import{bo as gr,bn as Yt}from"./model.vue.8f6f7b03.js";import"./entry.a42f0781.js";function Ar(Le,Et){return Et.forEach(function(P){P&&typeof P!="string"&&!Array.isArray(P)&&Object.keys(P).forEach(function(re){if(re!=="default"&&!(re in Le)){var Ae=Object.getOwnPropertyDescriptor(P,re);Object.defineProperty(Le,re,Ae.get?Ae:{enumerable:!0,get:function(){return P[re]}})}})}),Object.freeze(Object.defineProperty(Le,Symbol.toStringTag,{value:"Module"}))}var Ct={exports:{}};(function(Le,Et){(function(P){Le.exports=P()})(function(){var P=(R,h)=>()=>(h||R((h={exports:{}}).exports,h),h.exports),re=P((R,h)=>{var p=function(C){return C&&C.Math==Math&&C};h.exports=p(typeof globalThis=="object"&&globalThis)||p(typeof window=="object"&&window)||p(typeof self=="object"&&self)||p(typeof Yt=="object"&&Yt)||function(){return this}()||Function("return this")()}),Ae=P((R,h)=>{h.exports=function(p){try{return!!p()}catch{return!0}}}),Oe=P((R,h)=>{var p=Ae();h.exports=!p(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Ke=P((R,h)=>{var p=Ae();h.exports=!p(function(){var C=function(){}.bind();return typeof C!="function"||C.hasOwnProperty("prototype")})}),Pe=P((R,h)=>{var p=Ke(),C=Function.prototype.call;h.exports=p?C.bind(C):function(){return C.apply(C,arguments)}}),Qt=P(R=>{var h={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,C=p&&!h.call({1:2},1);R.f=C?function(f){var m=p(this,f);return!!m&&m.enumerable}:h}),et=P((R,h)=>{h.exports=function(p,C){return{enumerable:!(p&1),configurable:!(p&2),writable:!(p&4),value:C}}}),Fe=P((R,h)=>{var p=Ke(),C=Function.prototype,f=C.bind,m=C.call,B=p&&f.bind(m,m);h.exports=p?function(x){return x&&B(x)}:function(x){return x&&function(){return m.apply(x,arguments)}}}),tt=P((R,h)=>{var p=Fe(),C=p({}.toString),f=p("".slice);h.exports=function(m){return f(C(m),8,-1)}}),Jt=P((R,h)=>{var p=re(),C=Fe(),f=Ae(),m=tt(),B=p.Object,x=C("".split);h.exports=f(function(){return!B("z").propertyIsEnumerable(0)})?function(k){return m(k)=="String"?x(k,""):B(k)}:B}),mt=P((R,h)=>{var p=re(),C=p.TypeError;h.exports=function(f){if(f==null)throw C("Can't call method on "+f);return f}}),ut=P((R,h)=>{var p=Jt(),C=mt();h.exports=function(f){return p(C(f))}}),ve=P((R,h)=>{h.exports=function(p){return typeof p=="function"}}),Re=P((R,h)=>{var p=ve();h.exports=function(C){return typeof C=="object"?C!==null:p(C)}}),Me=P((R,h)=>{var p=re(),C=ve(),f=function(m){return C(m)?m:void 0};h.exports=function(m,B){return arguments.length<2?f(p[m]):p[m]&&p[m][B]}}),ft=P((R,h)=>{var p=Fe();h.exports=p({}.isPrototypeOf)}),Zt=P((R,h)=>{var p=Me();h.exports=p("navigator","userAgent")||""}),Kt=P((R,h)=>{var p=re(),C=Zt(),f=p.process,m=p.Deno,B=f&&f.versions||m&&m.version,x=B&&B.v8,k,L;x&&(k=x.split("."),L=k[0]>0&&k[0]<4?1:+(k[0]+k[1])),!L&&C&&(k=C.match(/Edge\/(\d+)/),(!k||k[1]>=74)&&(k=C.match(/Chrome\/(\d+)/),k&&(L=+k[1]))),h.exports=L}),gt=P((R,h)=>{var p=Kt(),C=Ae();h.exports=!!Object.getOwnPropertySymbols&&!C(function(){var f=Symbol();return!String(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&p&&p<41})}),At=P((R,h)=>{var p=gt();h.exports=p&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Ft=P((R,h)=>{var p=re(),C=Me(),f=ve(),m=ft(),B=At(),x=p.Object;h.exports=B?function(k){return typeof k=="symbol"}:function(k){var L=C("Symbol");return f(L)&&m(L.prototype,x(k))}}),rt=P((R,h)=>{var p=re(),C=p.String;h.exports=function(f){try{return C(f)}catch{return"Object"}}}),Ue=P((R,h)=>{var p=re(),C=ve(),f=rt(),m=p.TypeError;h.exports=function(B){if(C(B))return B;throw m(f(B)+" is not a function")}}),nt=P((R,h)=>{var p=Ue();h.exports=function(C,f){var m=C[f];return m==null?void 0:p(m)}}),eu=P((R,h)=>{var p=re(),C=Pe(),f=ve(),m=Re(),B=p.TypeError;h.exports=function(x,k){var L,$;if(k==="string"&&f(L=x.toString)&&!m($=C(L,x))||f(L=x.valueOf)&&!m($=C(L,x))||k!=="string"&&f(L=x.toString)&&!m($=C(L,x)))return $;throw B("Can't convert object to primitive value")}}),tu=P((R,h)=>{h.exports=!1}),st=P((R,h)=>{var p=re(),C=Object.defineProperty;h.exports=function(f,m){try{C(p,f,{value:m,configurable:!0,writable:!0})}catch{p[f]=m}
2023-05-28 15:00:40 +08:00
`);return d===-1?F:F.substring(0,d)}e.stringify=T;function Z(s){return typeof s=="function"&&s.hasOwnProperty("__forward_ref__")?s():s}e.resolveForwardRef=Z;function y(s){return!!s&&typeof s.then=="function"}e.isPromise=y;var G=class{constructor(s){this.full=s;let F=s.split(".");this.major=F[0],this.minor=F[1],this.patch=F.slice(2).join(".")}};e.Version=G;var J=typeof window<"u"&&window,ee=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,se=typeof globalThis<"u"&&globalThis,t=se||J||ee;e.global=t}}),ke=b({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){j(),Object.defineProperty(e,"__esModule",{value:!0});var n=he(),a=_e(),o=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function c(d){return d.replace(/\W/g,"_")}e.sanitizeIdentifier=c;var u=0;function l(d){if(!d||!d.reference)return null;let w=d.reference;if(w instanceof n.StaticSymbol)return w.name;if(w.__anonymousType)return w.__anonymousType;let K=a.stringify(w);return K.indexOf("(")>=0?(K="anonymous_".concat(u++),w.__anonymousType=K):K=c(K),K}e.identifierName=l;function A(d){let w=d.reference;return w instanceof n.StaticSymbol?w.filePath:"./".concat(a.stringify(w))}e.identifierModuleUrl=A;function g(d,w){return"View_".concat(l({reference:d}),"_").concat(w)}e.viewClassName=g;function S(d){return"RenderType_".concat(l({reference:d}))}e.rendererTypeName=S;function r(d){return"HostView_".concat(l({reference:d}))}e.hostViewClassName=r;function i(d){return"".concat(l({reference:d}),"NgFactory")}e.componentFactoryName=i;var D;(function(d){d[d.Pipe=0]="Pipe",d[d.Directive=1]="Directive",d[d.NgModule=2]="NgModule",d[d.Injectable=3]="Injectable"})(D=e.CompileSummaryKind||(e.CompileSummaryKind={}));function v(d){return d.value!=null?c(d.value):l(d.identifier)}e.tokenName=v;function E(d){return d.identifier!=null?d.identifier.reference:d.value}e.tokenReference=E;var _=class{constructor(){let{moduleUrl:d,styles:w,styleUrls:K}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=d||null,this.styles=y(w),this.styleUrls=y(K)}};e.CompileStylesheetMetadata=_;var q=class{constructor(d){let{encapsulation:w,template:K,templateUrl:ne,htmlAst:de,styles:le,styleUrls:Ee,externalStylesheets:me,animations:Te,ngContentSelectors:ye,interpolation:Be,isInline:N,preserveWhitespaces:I}=d;if(this.encapsulation=w,this.template=K,this.templateUrl=ne,this.htmlAst=de,this.styles=y(le),this.styleUrls=y(Ee),this.externalStylesheets=y(me),this.animations=Te?J(Te):[],this.ngContentSelectors=ye||[],Be&&Be.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Be,this.isInline=N,this.preserveWhitespaces=I}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=q;var Y=class{static create(d){let{isHost:w,type:K,isComponent:ne,selector:de,exportAs:le,changeDetection:Ee,inputs:me,outputs:Te,host:ye,providers:Be,viewProviders:N,queries:I,guards:V,viewQueries:X,entryComponents:te,template:ae,componentViewType:De,rendererType:fe,componentFactory:we}=d,Je={},Ze={},Ht={};ye!=null&&Object.keys(ye).forEach(Se=>{let xe=ye[Se],je=Se.match(o);je===null?Ht[Se]=xe:je[1]!=null?Ze[je[1]]=xe:je[2]!=null&&(Je[je[2]]=xe)});let zt={};me!=null&&me.forEach(Se=>{let xe=a.splitAtColon(Se,[Se,Se]);zt[xe[0]]=xe[1]});let Wt={};return Te!=null&&Te.forEach(Se=>{let xe=a.splitAtColon(Se,[Se,Se]);Wt[xe[0]]=xe[1]}),new Y({isHost:w,type:K,isComponent:!!ne,selector:de,exportAs:le,changeDetection:Ee,inputs:zt,outputs:Wt,hostListeners:Je,hostProperties:Ze,hostAttributes:Ht,providers:Be,viewProviders:N,queries:I,guards:V,viewQueries:X,entryComponents:te,template:ae,componentViewType:De,rendererType:fe,componentFactory:we})}constructor(d){let{isHost:w,type:K,isComponent:ne,selector:de,exportAs:le,changeDetection:Ee,inputs:me,outputs:Te,hostListeners:ye,hostProperties:Be,hostAttributes:N,providers:I,viewProviders:V,queries:X,guards:te,viewQueries:ae,entryComponents:De,template:fe,componentViewType:we,
`&&++q==i)););for(_=0,q=0;_<r&&E<D.length-1&&(E++,_++,!(D[E]==`
`&&++q==i)););return{before:D.substring(v,this.offset),after:D.substring(this.offset,E+1)}}return null}};e.ParseLocation=o;var c=class{constructor(r,i){this.content=r,this.url=i}};e.ParseSourceFile=c;var u=class{constructor(r,i){let D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=r,this.end=i,this.details=D}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=u,e.EMPTY_PARSE_LOCATION=new o(new c("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new u(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var l;(function(r){r[r.WARNING=0]="WARNING",r[r.ERROR=1]="ERROR"})(l=e.ParseErrorLevel||(e.ParseErrorLevel={}));var A=class{constructor(r,i){let D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.ERROR;this.span=r,this.msg=i,this.level=D}contextualMessage(){let r=this.span.start.getContext(100,3);return r?"".concat(this.msg,' ("').concat(r.before,"[").concat(l[this.level]," ->]").concat(r.after,'")'):this.msg}toString(){let r=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(r)}};e.ParseError=A;function g(r,i){let D=a.identifierModuleUrl(i),v=D!=null?"in ".concat(r," ").concat(a.identifierName(i)," in ").concat(D):"in ".concat(r," ").concat(a.identifierName(i)),E=new c("",v);return new u(new o(E,-1,-1,-1),new o(E,-1,-1,-1))}e.typeSourceSpan=g;function S(r,i,D){let v="in ".concat(r," ").concat(i," in ").concat(D),E=new c("",v);return new u(new o(E,-1,-1,-1),new o(E,-1,-1,-1))}e.r3JitTypeSourceSpan=S}}),ue=b({"src/utils/front-matter/parse.js"(e,n){j();var a=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function o(c){let u=c.match(a);if(!u)return{content:c};let{startDelimiter:l,language:A,value:g="",endDelimiter:S}=u.groups,r=A.trim()||"yaml";if(l==="+++"&&(r="toml"),r!=="yaml"&&l!==S)return{content:c};let[i]=u;return{frontMatter:{type:"front-matter",lang:r,value:g,startDelimiter:l,endDelimiter:S,raw:i.replace(/\n$/,"")},content:i.replace(/[^\n]/g," ")+c.slice(i.length)}}n.exports=o}}),ce=b({"src/utils/get-last.js"(e,n){j();var a=o=>o[o.length-1];n.exports=a}}),be=b({"src/common/parser-create-error.js"(e,n){j();function a(o,c){let u=new SyntaxError(o+" ("+c.start.line+":"+c.start.column+")");return u.loc=c,u}n.exports=a}}),Ge=b({"vendors/escape-string-regexp.js"(e,n){j();var a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,l=(i,D)=>{for(var v in D)a(i,v,{get:D[v],enumerable:!0})},A=(i,D,v,E)=>{if(D&&typeof D=="object"||typeof D=="function")for(let _ of c(D))!u.call(i,_)&&_!==v&&a(i,_,{get:()=>D[_],enumerable:!(E=o(D,_))||E.enumerable});return i},g=i=>A(a({},"__esModule",{value:!0}),i),S={};l(S,{default:()=>r}),n.exports=g(S);function r(i){if(typeof i!="string")throw new TypeError("Expected a string");return i.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}}),ge=b({"node_modules/semver/internal/debug.js"(e,n){j();var a=typeof ie=="object"&&ie.env&&ie.env.NODE_DEBUG&&/\bsemver\b/i.test(ie.env.NODE_DEBUG)?function(){for(var o=arguments.length,c=new Array(o),u=0;u<o;u++)c[u]=arguments[u];return console.error("SEMVER",...c)}:()=>{};n.exports=a}}),$e=b({"node_modules/semver/internal/constants.js"(e,n){j();var a="2.0.0",o=256,c=Number.MAX_SAFE_INTEGER||9007199254740991,u=16;n.exports={SEMVER_SPEC_VERSION:a,MAX_LENGTH:o,MAX_SAFE_INTEGER:c,MAX_SAFE_COMPONENT_LENGTH:u}}}),Xe=b({"node_modules/semver/internal/re.js"(e,n){j();var{MAX_SAFE_COMPONENT_LENGTH:a}=$e(),o=ge();e=n.exports={};var c=e.re=[],u=e.src=[],l=e.t={},A=0,g=(S,r,i)=>{let D=A++;o(D,r),l[S]=D,u[D]=r,c[D]=new RegExp(r,i?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","[0-9]+"),g("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),g("MAINVERSION","(".concat(u[l.NUMERICIDENTIFIER],")\\.(").concat(u[l.NUMERICIDENTIFIER],")\\.(").concat(u[l.NUMERICIDENTIFIER],")")),g("MAINVERSIONLOOSE","(".concat(u[l.NUMERICIDENTI
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`]))),cliCategory:c},endOfLine:{since:"1.15.0",category:g,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:a(f||(f=M([`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`])))}]},filepath:{since:"1.4.0",category:S,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:l,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:S,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:l},parser:{since:"0.0.10",category:g,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:i=>typeof i=="string"||typeof i=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:g,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:i=>typeof i=="string"||typeof i=="object",cliName:"plugin",cliCategory:o},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:g,description:a(m||(m=M([`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`]))),exception:i=>typeof i=="string"||typeof i=="object",cliName:"plugin-search-dir",cliCategory:o},printWidth:{since:"0.0.0",category:g,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:S,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:a(B||(B=M([`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`]))),cliCategory:c},rangeStart:{since:"1.4.0",category:S,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:a(x||(x=M([`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`]))),cliCategory:c},requirePragma:{since:"1.7.0",category:S,type:"boolean",default:!1,description:a(k||(k=M([`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`]))),cliCategory:l},tabWidth:{type:"int",category:g,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:g,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:g,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};n.exports={CATEGORY_CONFIG:o,CATEGORY_EDITOR:c,CATEGORY_FORMAT:u,CATEGORY_OTHER:l,CATEGORY_OUTPUT:A,CATEGORY_GLOBAL:g,CATEGORY_SPECIAL:S,options:r}}}),Mu=b({"src/main/support.js"(e,n){j();var a={compare:pt(),lt:Ru(),gte:Iu()},o=Lu(),c=qu().version,u=ju().options;function l(){let{plugins:g=[],showUnreleased:S=!1,showDeprecated:r=!1,showInternal:i=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=c.split("-",1)[0],v=g.flatMap(O=>O.languages||[]).filter(_),E=o(Object.assign({},...g.map(O=>{let{options:H}=O;return H}),u),"name").filter(O=>_(O)&&q(O)).sort((O,H)=>O.name===H.name?0:O.name<H.name?-1:1).map(Y).map(O=>{O=Object.assign({},O),Array.isArray(O.default)&&(O.default=O.default.length===1?O.default[0].value:O.default.filter(_).sort((T,Z)=>a.compare(Z.since,T.since))[0].value),Array.isArray(O.choices)&&(O.choices=O.choices.filter(T=>_(T)&&q(T)),O.name==="parser"&&A(O,v,g));let H=Object.fromEntries(g.filter(T=>T.defaultOptions&&T.defaultOptions[O.name]!==void 0).map(T=>[T.name,T.defaultOptions[O.name]]));return Object.assign(Object.assign({},O),{},{pluginDefaults:H})});return{languages:v,options:E};function _(O){return S||!("since"in O)||O.since&&a.gte(D,O.since)}function q(O){return r||!("deprecated"in O)||O.deprecated&&a.lt(D,O.deprecated)}function Y(O){return i?O:L(O,p)}}function A(g,S,r){let i=new Set(g.choices.map(D=>D.value));for(let D of S)if(D.parsers){for(let v of D.parsers)if(!i.has(v)){i.add(v);let E=r.find(q=>q.parsers&&q.parsers[v]),_=D.name;E&&E.name&&(_+=" (plugin: ".concat(E.name,")")),g.choices.push({value:v,description:_})}}}n.exports={getSupportInfo:l}}}),Uu=b({"src/utils/is-non-empty-array.js"(e,n){j();function a(o){return Array.isArray(o)&&o.length>0}n.exports=a}}),Vu=b({"vendors/string-width.js"(e,n){j();var a=Object.create,o=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,l=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty,g=(T,Z)=>function(){return Z||(0,T[u(T)[0]])((Z={exports:{}}).exports,Z),Z.exports},S=(T,Z)=>{for(var y in Z)o(T,y,{get:Z[y],enumerable:!0})},r=(T,Z,y,G)=>{if(Z&&typeof Z=="object"||typeof Z=="function")for(let J of u(Z))!A.call(T,J)&&J!==y&&o(T,J,{get:()=>Z[J],enumerable:!(G=c(Z,J))||G.enumerable});return T},i=(T,Z,y)=>(y=T!=null?a(l(T)):{},r(Z||!T||!T.__esModule?o(y,"default",{value:T,enumerable:!0}):y,T)),D=T=>r(o({},"__esModule",{value:!0}),T),v=g({"node_modules/emoji-regex/index.js"(T,Z){Z.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uD
`)return c-2;if(A===`
`||A==="\r"||A==="\u2028"||A==="\u2029")return c-1}else{if(A==="\r"&&o.charAt(c+1)===`
`)return c+2;if(A===`
`||A==="\r"||A==="\u2028"||A==="\u2029")return c+1}return c}n.exports=a}}),Xu=b({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,n){j();var a=Pt(),o=It(),c=Rt(),{skipSpaces:u}=ht();function l(A,g){let S=null,r=g;for(;r!==S;)S=r,r=u(A,r),r=a(A,r),r=c(A,r),r=o(A,r);return r}n.exports=l}}),Lt=b({"src/common/util.js"(e,n){j();var{default:a}=Ge(),o=ce(),{getSupportInfo:c}=Mu(),u=Uu(),l=Gu(),{skipWhitespace:A,skipSpaces:g,skipToLineEnd:S,skipEverythingButNewLine:r}=ht(),i=Pt(),D=Rt(),v=It(),E=Xu(),_=N=>N[N.length-2];function q(N){return(I,V,X)=>{let te=X&&X.backwards;if(V===!1)return!1;let{length:ae}=I,De=V;for(;De>=0&&De<ae;){let fe=I.charAt(De);if(N instanceof RegExp){if(!N.test(fe))return De}else if(!N.includes(fe))return De;te?De--:De++}return De===-1||De===ae?De:!1}}function Y(N,I){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},X=g(N,V.backwards?I-1:I,V),te=v(N,X,V);return X!==te}function O(N,I,V){for(let X=I;X<V;++X)if(N.charAt(X)===`
`)return!0;return!1}function H(N,I,V){let X=V(I)-1;X=g(N,X,{backwards:!0}),X=v(N,X,{backwards:!0}),X=g(N,X,{backwards:!0});let te=v(N,X,{backwards:!0});return X!==te}function T(N,I){let V=null,X=I;for(;X!==V;)V=X,X=S(N,X),X=i(N,X),X=g(N,X);return X=D(N,X),X=v(N,X),X!==!1&&Y(N,X)}function Z(N,I,V){return T(N,V(I))}function y(N,I,V){return E(N,V(I))}function G(N,I,V){return N.charAt(y(N,I,V))}function J(N,I){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return g(N,V.backwards?I-1:I,V)!==I}function ee(N,I){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,X=0;for(let te=V;te<N.length;++te)N[te]===" "?X=X+I-X%I:X++;return X}function se(N,I){let V=N.lastIndexOf(`
`);return V===-1?0:ee(N.slice(V+1).match(/^[\t ]*/)[0],I)}function t(N,I){let V={quote:'"',regex:/"/g,escaped:"&quot;"},X={quote:"'",regex:/'/g,escaped:"&apos;"},te=I==="'"?X:V,ae=te===X?V:X,De=te;if(N.includes(te.quote)||N.includes(ae.quote)){let fe=(N.match(te.regex)||[]).length,we=(N.match(ae.regex)||[]).length;De=fe>we?ae:te}return De}function s(N,I){let V=N.slice(1,-1),X=I.parser==="json"||I.parser==="json5"&&I.quoteProps==="preserve"&&!I.singleQuote?'"':I.__isInHtmlAttribute?"'":t(V,I.singleQuote?"'":'"').quote;return F(V,X,!(I.parser==="css"||I.parser==="less"||I.parser==="scss"||I.__embeddedInHtml))}function F(N,I,V){let X=I==='"'?"'":'"',te=/\\(.)|(["'])/gs,ae=N.replace(te,(De,fe,we)=>fe===X?fe:we===I?"\\"+we:we||(V&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(fe)?fe:"\\"+fe));return I+ae+I}function d(N){return N.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function w(N,I){let V=N.match(new RegExp("(".concat(a(I),")+"),"g"));return V===null?0:V.reduce((X,te)=>Math.max(X,te.length/I.length),0)}function K(N,I){let V=N.match(new RegExp("(".concat(a(I),")+"),"g"));if(V===null)return 0;let X=new Map,te=0;for(let ae of V){let De=ae.length/I.length;X.set(De,!0),De>te&&(te=De)}for(let ae=1;ae<te;ae++)if(!X.get(ae))return ae;return te+1}function ne(N,I){(N.comments||(N.comments=[])).push(I),I.printed=!1,I.nodeDescription=Be(N)}function de(N,I){I.leading=!0,I.trailing=!1,ne(N,I)}function le(N,I,V){I.leading=!1,I.trailing=!1,V&&(I.marker=V),ne(N,I)}function Ee(N,I){I.leading=!1,I.trailing=!0,ne(N,I)}function me(N,I){let{languages:V}=c({plugins:I.plugins}),X=V.find(te=>{let{name:ae}=te;return ae.toLowerCase()===N})||V.find(te=>{let{aliases:ae}=te;return Array.isArray(ae)&&ae.includes(N)})||V.find(te=>{let{extensions:ae}=te;return Array.isArray(ae)&&ae.includes(".".concat(N))});return X&&X.parsers[0]}function Te(N){return N&&N.type==="front-matter"}function ye(N){let I=new WeakMap;return function(V){return I.has(V)||I.set(V,Symbol(N)),I.get(V)}}function Be(N){let I=N.type||N.kind||"(unknown type)",V=String(N.name||N.id&&(typeof N.id=="object"?N.id.name:N.id)||N.key&&(typeof N.key=="object"?N.key.name:N.key)||N.value&&(typeof N.value=="object"?"":String(N.value))||N.operator||"");return V.length>20&&(V=V.slice(0,19)+"…"),I+(V?" "+V:"")}n.exports={inferParserByLanguage:me,getStringWidth:l,getMaxContinuousCount:w,getMinNotPresentContinuousCount:K,getPenultimate:_,getLast:o,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:E,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:G,skip:q,skipWhitespace:A,skipSpaces:g,skipToLineEnd:S,skipEverythingButNewLine:r,skipInlineComment:i,skipTrailingComment:D,skipNewline:v,isNextLineEmptyAfterIndex:T,isNextLineEmpty:Z,isPreviousLineEmpty:H,hasNewline:Y,hasNewlineInRange:O,hasSpaces:J,getAlignmentSize:ee,getIndentSize:se,getPreferredQuote:t,printString:s,printNumber:d,makeString:F,addLeadingComment:de,addDanglingComment:le,addTrailingComment:Ee,isFrontMatterNode:Te,isNonEmptyArray:u,createGroupIdMapper:ye}}}),Hu=b({"vendors/html-tag-names.json"(e,n){n.exports={htmlTagNames:["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","element","em","embed","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"
`+c.replace(/^\s*\n/,"")}n.exports={hasPragma:a,insertPragma:o}}}),Ku=b({"src/language-html/ast.js"(e,n){j();var{isNonEmptyArray:a}=Lt(),o=ce(),c={attrs:!0,children:!0},u=class{constructor(){let S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let[r,i]of Object.entries(S))r in c?this._setNodes(r,i):this[r]=i}_setNodes(S,r){r!==this[S]&&(this[S]=A(r,this),S==="attrs"&&g(this,"attrMap",Object.fromEntries(this[S].map(i=>[i.fullName,i.value]))))}map(S){let r=null;for(let i in c){let D=this[i];if(D){let v=l(D,E=>E.map(S));r!==D&&(r||(r=new u({parent:this.parent})),r._setNodes(i,v))}}if(r)for(let i in this)i in c||(r[i]=this[i]);return S(r||this)}walk(S){for(let r in c){let i=this[r];if(i)for(let D=0;D<i.length;D++)i[D].walk(S)}S(this)}insertChildBefore(S,r){let i=new u(Object.assign(Object.assign({},r),{},{parent:this}));this.children.splice(this.children.indexOf(S),0,i)}removeChild(S){this.children.splice(this.children.indexOf(S),1)}replaceChild(S,r){let i=new u(Object.assign(Object.assign({},r),{},{parent:this}));this.children[this.children.indexOf(S)]=i}clone(){return new u(this)}setChildren(S){this._setNodes("children",S)}get firstChild(){return a(this.children)?this.children[0]:null}get lastChild(){return a(this.children)?o(this.children):null}get prev(){return this.parent?this.parent.children[this.parent.children.indexOf(this)-1]:null}get next(){return this.parent?this.parent.children[this.parent.children.indexOf(this)+1]:null}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}};function l(S,r){let i=S.map(r);return i.some((D,v)=>D!==S[v])?i:S}function A(S,r){let i=S.map(D=>D instanceof u?D.clone():new u(Object.assign(Object.assign({},D),{},{parent:r})));for(let D of i)D.parent=r;return i}function g(S,r,i){Object.defineProperty(S,r,{value:i,enumerable:!1})}n.exports={Node:u}}}),er=b({"src/language-html/conditional-comment.js"(e,n){j();var{ParseSourceSpan:a}=pe(),o=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:u},{regex:/^\[if([^\]]*)]><!$/,parse:l},{regex:/^<!\s*\[endif]$/,parse:A}];function c(g,S){if(g.value)for(let{regex:r,parse:i}of o){let D=g.value.match(r);if(D)return i(g,S,D)}return null}function u(g,S,r){let[,i,D,v]=r,E=4+i.length,_=g.sourceSpan.start.moveBy(E),q=_.moveBy(v.length),[Y,O]=(()=>{try{return[!0,S(v,_).children]}catch{return[!1,[{type:"text",value:v,sourceSpan:new a(_,q)}]]}})();return{type:"ieConditionalComment",complete:Y,children:O,condition:D.trim().replace(/\s+/g," "),sourceSpan:g.sourceSpan,startSourceSpan:new a(g.sourceSpan.start,_),endSourceSpan:new a(q,g.sourceSpan.end)}}function l(g,S,r){let[,i]=r;return{type:"ieConditionalStartComment",condition:i.trim().replace(/\s+/g," "),sourceSpan:g.sourceSpan}}function A(g){return{type:"ieConditionalEndComment",sourceSpan:g.sourceSpan}}n.exports={parseIeConditionalComment:c}}}),tr=b({"src/language-html/loc.js"(e,n){j();function a(c){return c.sourceSpan.start.offset}function o(c){return c.sourceSpan.end.offset}n.exports={locStart:a,locEnd:o}}}),We=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){j(),Object.defineProperty(e,"__esModule",{value:!0}),function(A){A[A.RAW_TEXT=0]="RAW_TEXT",A[A.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",A[A.PARSABLE_DATA=2]="PARSABLE_DATA"}(e.TagContentType||(e.TagContentType={}));function n(A){if(A[0]!=":")return[null,A];let g=A.indexOf(":",1);if(g==-1)throw new Error('Unsupported format "'.concat(A,'" expecting ":namespace:name"'));return[A.slice(1,g),A.slice(g+1)]}e.splitNsName=n;function a(A){return n(A)[1]==="ng-container"}e.isNgContainer=a;function o(A){return n(A)[1]==="ng-content"}e.isNgContent=o;function c(A){return n(A)[1]==="ng-template"}e.isNgTemplate=c;function u(A){return A===null?null:n(A)[0]}e.getNsPrefix=u;function l(A,g){return A?":".concat(A,":").concat(g):g}e.mergeNsAndName=l,e.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п"
`)}tokenize(){for(;this._cursor.peek()!==n.$EOF;){let t=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(t):this._attemptStr("--")?this._consumeComment(t):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(t):this._consumeBogusComment(t);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(t);else{let s=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=s,this._consumeBogusComment(t)):this._consumeTagOpen(t)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(s){this.handleError(s)}}return this._beginToken(u.EOF),this._endToken([]),new g(G(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(T(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===n.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(t){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=s,this._currentTokenType=t}_endToken(t){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new A("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(s));if(this._currentTokenType===null)throw new A("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let F=new l(this._currentTokenType,t,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(F),this._currentTokenStart=null,this._currentTokenType=null,F}_createError(t,s){this._isInExpansionForm()&&(t+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let F=new A(t,this._currentTokenType,s);return this._currentTokenStart=null,this._currentTokenType=null,new v(F)}handleError(t){if(t instanceof se&&(t=this._createError(t.msg,this._cursor.getSpan(t.cursor))),t instanceof v)this.errors.push(t.error);else throw t}_attemptCharCode(t){return this._cursor.peek()===t?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(t){return Z(this._cursor.peek(),t)?(this._cursor.advance(),!0):!1}_requireCharCode(t){let s=this._cursor.clone();if(!this._attemptCharCode(t))throw this._createError(i(this._cursor.peek()),this._cursor.getSpan(s))}_attemptStr(t){let s=t.length;if(this._cursor.charsLeft()<s)return!1;let F=this._cursor.clone();for(let d=0;d<s;d++)if(!this._attemptCharCode(t.charCodeAt(d)))return this._cursor=F,!1;return!0}_attemptStrCaseInsensitive(t){for(let s=0;s<t.length;s++)if(!this._attemptCharCodeCaseInsensitive(t.charCodeAt(s)))return!1;return!0}_requireStr(t){let s=this._cursor.clone();if(!this._attemptStr(t))throw this._createError(i(this._cursor.peek()),this._cursor.getSpan(s))}_requireStrCaseInsensitive(t){let s=this._cursor.clone();if(!this._attemptStrCaseInsensitive(t))throw this._createError(i(this._cursor.peek()),this._cursor.getSpan(s))}_attemptCharCodeUntilFn(t){for(;!t(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(t,s){let F=this._cursor.clone();if(this._attemptCharCodeUntilFn(t),this._cursor.clone().diff(F)<s)throw this._createError(i(this._cursor.peek()),this._cursor.getSpan(F))}_attemptUntilChar(t){for(;this._cursor.peek()!==t;)this._cursor.advance()}_readChar(t){if(t&&this._cursor.peek()===n.$AMPERSAND)return this._decodeEntity();{let s=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),s}}_decodeEntity(){let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(n.$HASH)){let s=this._attemptCharCode(n.$x)||this._attemptCharCode(n.$X),F=this._cursor.clone();if(this._attemptCharCodeUntilFn(O),this._cursor.peek()!=n.$SEMICOLON)throw this._createError(i(this._cursor.peek()),this._cursor.getSpan(
`){let D=this._getParentElement();D!=null&&D.children.length==0&&this.getTagDefinition(D.name).ignoreFirstLf&&(i=i.substring(1))}return i}_consumeText(r){let i=this._getText(r);i.length>0&&this._addToParent(new a.Text(i,r.sourceSpan))}_closeVoidElement(){let r=this._getParentElement();r&&this.getTagDefinition(r.name).isVoid&&this._elementStack.pop()}_consumeStartTag(r){let i=r.parts[0],D=r.parts[1],v=[];for(;this._peek.type===o.TokenType.ATTR_NAME;)v.push(this._consumeAttr(this._advance()));let E=this._getElementFullName(i,D,this._getParentElement()),_=!1;if(this._peek.type===o.TokenType.TAG_OPEN_END_VOID){this._advance(),_=!0;let T=this.getTagDefinition(E);this.canSelfClose||T.canSelfClose||c.getNsPrefix(E)!==null||T.isVoid||this._errors.push(u.create(E,r.sourceSpan,'Only void and foreign elements can be self closed "'.concat(r.parts[1],'"')))}else this._peek.type===o.TokenType.TAG_OPEN_END&&(this._advance(),_=!1);let q=this._peek.sourceSpan.start,Y=new n.ParseSourceSpan(r.sourceSpan.start,q),O=new n.ParseSourceSpan(r.sourceSpan.start.moveBy(1),r.sourceSpan.end),H=new a.Element(E,v,[],Y,Y,void 0,O);this._pushElement(H),_&&(this._popElement(E),H.endSourceSpan=Y)}_pushElement(r){let i=this._getParentElement();i&&this.getTagDefinition(i.name).isClosedByChild(r.name)&&this._elementStack.pop(),this._addToParent(r),this._elementStack.push(r)}_consumeEndTag(r){let i=this.allowHtmComponentClosingTags&&r.parts.length===0?null:this._getElementFullName(r.parts[0],r.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=r.sourceSpan),i&&this.getTagDefinition(i).isVoid)this._errors.push(u.create(i,r.sourceSpan,'Void elements do not have end tags "'.concat(r.parts[1],'"')));else if(!this._popElement(i)){let D='Unexpected closing tag "'.concat(i,'". 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(u.create(i,r.sourceSpan,D))}}_popElement(r){for(let i=this._elementStack.length-1;i>=0;i--){let D=this._elementStack[i];if(!r||(c.getNsPrefix(D.name)?D.name==r:D.name.toLowerCase()==r.toLowerCase()))return this._elementStack.splice(i,this._elementStack.length-i),!0;if(!this.getTagDefinition(D.name).closedByParent)return!1}return!1}_consumeAttr(r){let i=c.mergeNsAndName(r.parts[0],r.parts[1]),D=r.sourceSpan.end,v="",E,_;if(this._peek.type===o.TokenType.ATTR_QUOTE&&(_=this._advance().sourceSpan.start),this._peek.type===o.TokenType.ATTR_VALUE){let q=this._advance();v=q.parts[0],D=q.sourceSpan.end,E=q.sourceSpan}return this._peek.type===o.TokenType.ATTR_QUOTE&&(D=this._advance().sourceSpan.end,E=new n.ParseSourceSpan(_,D)),new a.Attribute(i,v,new n.ParseSourceSpan(r.sourceSpan.start,D),E,r.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let r=null;for(let i=this._elementStack.length-1;i>=0;i--){if(!c.isNgContainer(this._elementStack[i].name))return{parent:this._elementStack[i],container:r};r=this._elementStack[i]}return{parent:null,container:r}}_addToParent(r){let i=this._getParentElement();i!=null?i.children.push(r):this._rootNodes.push(r)}_insertBeforeContainer(r,i,D){if(!i)this._addToParent(D),this._elementStack.push(D);else{if(r){let v=r.children.indexOf(i);r.children[v]=D}else this._rootNodes.push(D);D.children.push(i),this._elementStack.splice(this._elementStack.indexOf(i),0,D)}}_getElementFullName(r,i,D){return r===""&&(r=this.getTagDefinition(i).implicitNamespacePrefix||"",r===""&&D!=null&&(r=c.getNsPrefix(D.name))),c.mergeNsAndName(r,i)}};function S(r,i){return r.length>0&&r[r.length-1]===i}}}),ir=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){j(),Object.defineProperty(e,"__esModule",{value:!0});var n=$t(),a=Mt(),o=Mt();e.ParseTreeResult=o.ParseTreeResult,e.TreeError=o.TreeError;var c=class extends a.Parser{constructor(){super(n.getHtmlTagDefinition)}parse(u,l,A){let g=arguments.length>3&&arguments[3]!==voi