@vuebro/runtime 1.1.20 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
13
13
  `,++s,ee===13&&n.charCodeAt(s)===10&&++s,++h,q=o=s):v.unterminated(b,C,R):++s}return{pos:s,str:F,firstInvalidLoc:$,lineStart:o,curLine:h,containsInvalid:!!$}}function xv(P,n,s,o){return P==="template"?n===96||n===36&&s.charCodeAt(o+1)===123:n===(P==="double"?34:39)}function _v(P,n,s,o,h,v){const b=!h;n++;const C=F=>({pos:n,ch:F,lineStart:s,curLine:o}),R=P.charCodeAt(n++);switch(R){case 110:return C(`
14
14
  `);case 114:return C("\r");case 120:{let F;return{code:F,pos:n}=Da(P,n,s,o,2,!1,b,v),C(F===null?null:String.fromCharCode(F))}case 117:{let F;return{code:F,pos:n}=wu(P,n,s,o,b,v),C(F===null?null:String.fromCodePoint(F))}case 116:return C(" ");case 98:return C("\b");case 118:return C("\v");case 102:return C("\f");case 13:P.charCodeAt(n)===10&&++n;case 10:s=n,++o;case 8232:case 8233:return C("");case 56:case 57:if(h)return C(null);v.strictNumericEscape(n-1,s,o);default:if(R>=48&&R<=55){const F=n-1;let q=/^[0-7]+/.exec(P.slice(F,n+2))[0],J=parseInt(q,8);J>255&&(q=q.slice(0,-1),J=parseInt(q,8)),n+=q.length-1;const ee=P.charCodeAt(n);if(q!=="0"||ee===56||ee===57){if(h)return C(null);v.strictNumericEscape(F,s,o)}return C(String.fromCharCode(J))}return C(String.fromCharCode(R))}}function Da(P,n,s,o,h,v,b,C){const R=n;let F;return{n:F,pos:n}=Tu(P,n,s,o,16,h,v,!1,C,!b),F===null&&(b?C.invalidEscapeSequence(R,s,o):n=R-1),{code:F,pos:n}}function Tu(P,n,s,o,h,v,b,C,R,F){const $=n,q=h===16?Su.hex:Su.decBinOct,J=h===16?di.hex:h===10?di.dec:h===8?di.oct:di.bin;let ee=!1,oe=0;for(let me=0,Me=v??1/0;me<Me;++me){const ye=P.charCodeAt(n);let _e;if(ye===95&&C!=="bail"){const gr=P.charCodeAt(n-1),rr=P.charCodeAt(n+1);if(C){if(Number.isNaN(rr)||!J(rr)||q.has(gr)||q.has(rr)){if(F)return{n:null,pos:n};R.unexpectedNumericSeparator(n,s,o)}}else{if(F)return{n:null,pos:n};R.numericSeparatorInEscapeSequence(n,s,o)}++n;continue}if(ye>=97?_e=ye-97+10:ye>=65?_e=ye-65+10:bv(ye)?_e=ye-48:_e=1/0,_e>=h){if(_e<=9&&F)return{n:null,pos:n};if(_e<=9&&R.invalidDigit(n,s,o,h))_e=0;else if(b)_e=0,ee=!0;else break}++n,oe=oe*h+_e}return n===$||v!=null&&n-$!==v||ee?{n:null,pos:n}:{n:oe,pos:n}}function wu(P,n,s,o,h,v){const b=P.charCodeAt(n);let C;if(b===123){if(++n,{code:C,pos:n}=Da(P,n,s,o,P.indexOf("}",n)-n,!0,h,v),++n,C!==null&&C>1114111)if(h)v.invalidCodePoint(n,s,o);else return{code:null,pos:n}}else({code:C,pos:n}=Da(P,n,s,o,4,!1,h,v));return{code:C,pos:n}}function Ts(P,n,s){return new e(s,P-n,P)}const Av=new Set([103,109,115,105,121,117,100,118]);class tr{constructor(n){const s=n.startIndex||0;this.type=n.type,this.value=n.value,this.start=s+n.start,this.end=s+n.end,this.loc=new r(n.startLoc,n.endLoc)}}class Cv extends Pv{constructor(n,s){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(o,h,v,b)=>this.optionFlags&2048?(this.raise(E.InvalidDigit,Ts(o,h,v),{radix:b}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(E.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(E.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(E.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(E.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(o,h,v)=>{this.recordStrictModeErrors(E.StrictNumericEscape,Ts(o,h,v))},unterminated:(o,h,v)=>{throw this.raise(E.UnterminatedString,Ts(o-1,h,v))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(E.StrictNumericEscape),unterminated:(o,h,v)=>{throw this.raise(E.UnterminatedTemplate,Ts(o,h,v))}}),this.state=new Ra,this.state.init(n),this.input=s,this.length=s.length,this.comments=[],this.isLookahead=!1}pushToken(n){this.tokens.length=this.state.tokensLength,this.tokens.push(n),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new tr(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(n){return this.match(n)?(this.next(),!0):!1}match(n){return this.state.type===n}createLookaheadState(n){return{pos:n.pos,value:null,type:n.type,start:n.start,end:n.end,context:[this.curContext()],inType:n.inType,startLoc:n.startLoc,lastTokEndLoc:n.lastTokEndLoc,curLine:n.curLine,lineStart:n.lineStart,curPosition:n.curPosition}}lookahead(){const n=this.state;this.state=this.createLookaheadState(n),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const s=this.state;return this.state=n,s}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(n){return La.lastIndex=n,La.test(this.input)?La.lastIndex:n}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(n){return this.input.charCodeAt(this.nextTokenStartSince(n))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(n){return Ma.lastIndex=n,Ma.test(this.input)?Ma.lastIndex:n}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(n){let s=this.input.charCodeAt(n);if((s&64512)===55296&&++n<this.input.length){const o=this.input.charCodeAt(n);(o&64512)===56320&&(s=65536+((s&1023)<<10)+(o&1023))}return s}setStrict(n){this.state.strict=n,n&&(this.state.strictErrors.forEach(([s,o])=>this.raise(s,o)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(n){let s;this.isLookahead||(s=this.state.curPosition());const o=this.state.pos,h=this.input.indexOf(n,o+2);if(h===-1)throw this.raise(E.UnterminatedComment,this.state.curPosition());for(this.state.pos=h+n.length,pi.lastIndex=o+2;pi.test(this.input)&&pi.lastIndex<=h;)++this.state.curLine,this.state.lineStart=pi.lastIndex;if(this.isLookahead)return;const v={type:"CommentBlock",value:this.input.slice(o+2,h),start:this.sourceToOffsetPos(o),end:this.sourceToOffsetPos(h+n.length),loc:new r(s,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(v),v}skipLineComment(n){const s=this.state.pos;let o;this.isLookahead||(o=this.state.curPosition());let h=this.input.charCodeAt(this.state.pos+=n);if(this.state.pos<this.length)for(;!zr(h)&&++this.state.pos<this.length;)h=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const v=this.state.pos,C={type:"CommentLine",value:this.input.slice(s+n,v),start:this.sourceToOffsetPos(s),end:this.sourceToOffsetPos(v),loc:new r(o,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(C),C}skipSpace(){const n=this.state.pos,s=this.optionFlags&4096?[]:null;e:for(;this.state.pos<this.length;){const o=this.input.charCodeAt(this.state.pos);switch(o){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const h=this.skipBlockComment("*/");h!==void 0&&(this.addComment(h),s?.push(h));break}case 47:{const h=this.skipLineComment(2);h!==void 0&&(this.addComment(h),s?.push(h));break}default:break e}break;default:if(yv(o))++this.state.pos;else if(o===45&&!this.inModule&&this.optionFlags&8192){const h=this.state.pos;if(this.input.charCodeAt(h+1)===45&&this.input.charCodeAt(h+2)===62&&(n===0||this.state.lineStart>n)){const v=this.skipLineComment(3);v!==void 0&&(this.addComment(v),s?.push(v))}else break e}else if(o===60&&!this.inModule&&this.optionFlags&8192){const h=this.state.pos;if(this.input.charCodeAt(h+1)===33&&this.input.charCodeAt(h+2)===45&&this.input.charCodeAt(h+3)===45){const v=this.skipLineComment(4);v!==void 0&&(this.addComment(v),s?.push(v))}else break e}else break e}}if(s?.length>0){const o=this.state.pos,h={start:this.sourceToOffsetPos(n),end:this.sourceToOffsetPos(o),comments:s,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(h)}}finishToken(n,s){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const o=this.state.type;this.state.type=n,this.state.value=s,this.isLookahead||this.updateContext(o)}replaceToken(n){this.state.type=n,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const n=this.state.pos+1,s=this.codePointAtPos(n);if(s>=48&&s<=57)throw this.raise(E.UnexpectedDigitAfterHash,this.state.curPosition());if(s===123||s===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(s===123?E.RecordExpressionHashIncorrectStartSyntaxType:E.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,s===123?this.finishToken(7):this.finishToken(1)}else jt(s)?(++this.state.pos,this.finishToken(139,this.readWord1(s))):s===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const n=this.input.charCodeAt(this.state.pos+1);if(n>=48&&n<=57){this.readNumber(!0);return}n===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let n=this.input.charCodeAt(this.state.pos+1);if(n!==33)return!1;const s=this.state.pos;for(this.state.pos+=1;!zr(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);const o=this.input.slice(s+2,this.state.pos);return this.finishToken(28,o),!0}readToken_mult_modulo(n){let s=n===42?55:54,o=1,h=this.input.charCodeAt(this.state.pos+1);n===42&&h===42&&(o++,h=this.input.charCodeAt(this.state.pos+2),s=57),h===61&&!this.state.inType&&(o++,s=n===37?33:30),this.finishOp(s,o)}readToken_pipe_amp(n){const s=this.input.charCodeAt(this.state.pos+1);if(s===n){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(n===124?41:42,2);return}if(n===124){if(s===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&s===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(E.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&s===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(E.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(s===61){this.finishOp(30,2);return}this.finishOp(n===124?43:45,1)}readToken_caret(){const n=this.input.charCodeAt(this.state.pos+1);n===61&&!this.state.inType?this.finishOp(32,2):n===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(n){const s=this.input.charCodeAt(this.state.pos+1);if(s===n){this.finishOp(34,2);return}s===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:n}=this.state,s=this.input.charCodeAt(n+1);if(s===60){if(this.input.charCodeAt(n+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(s===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:n}=this.state,s=this.input.charCodeAt(n+1);if(s===62){const o=this.input.charCodeAt(n+2)===62?3:2;if(this.input.charCodeAt(n+o)===61){this.finishOp(30,o+1);return}this.finishOp(52,o);return}if(s===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(n){const s=this.input.charCodeAt(this.state.pos+1);if(s===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(n===61&&s===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(n===61?29:35,1)}readToken_question(){const n=this.input.charCodeAt(this.state.pos+1),s=this.input.charCodeAt(this.state.pos+2);n===63?s===61?this.finishOp(30,3):this.finishOp(40,2):n===46&&!(s>=48&&s<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(n){switch(n){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(E.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(E.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const s=this.input.charCodeAt(this.state.pos+1);if(s===120||s===88){this.readRadixNumber(16);return}if(s===111||s===79){this.readRadixNumber(8);return}if(s===98||s===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(n);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(n);return;case 124:case 38:this.readToken_pipe_amp(n);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(n);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(n);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(jt(n)){this.readWord(n);return}}throw this.raise(E.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(n)})}finishOp(n,s){const o=this.input.slice(this.state.pos,this.state.pos+s);this.state.pos+=s,this.finishToken(n,o)}readRegexp(){const n=this.state.startLoc,s=this.state.start+1;let o,h,{pos:v}=this.state;for(;;++v){if(v>=this.length)throw this.raise(E.UnterminatedRegExp,i(n,1));const F=this.input.charCodeAt(v);if(zr(F))throw this.raise(E.UnterminatedRegExp,i(n,1));if(o)o=!1;else{if(F===91)h=!0;else if(F===93&&h)h=!1;else if(F===47&&!h)break;o=F===92}}const b=this.input.slice(s,v);++v;let C="";const R=()=>i(n,v+2-s);for(;v<this.length;){const F=this.codePointAtPos(v),$=String.fromCharCode(F);if(Av.has(F))F===118?C.includes("u")&&this.raise(E.IncompatibleRegExpUVFlags,R()):F===117&&C.includes("v")&&this.raise(E.IncompatibleRegExpUVFlags,R()),C.includes($)&&this.raise(E.DuplicateRegExpFlags,R());else if(Vr(F)||F===92)this.raise(E.MalformedRegExpFlags,R());else break;++v,C+=$}this.state.pos=v,this.finishToken(138,{pattern:b,flags:C})}readInt(n,s,o=!1,h=!0){const{n:v,pos:b}=Tu(this.input,this.state.pos,this.state.lineStart,this.state.curLine,n,s,o,h,this.errorHandlers_readInt,!1);return this.state.pos=b,v}readRadixNumber(n){const s=this.state.pos,o=this.state.curPosition();let h=!1;this.state.pos+=2;const v=this.readInt(n);v==null&&this.raise(E.InvalidDigit,i(o,2),{radix:n});const b=this.input.charCodeAt(this.state.pos);if(b===110)++this.state.pos,h=!0;else if(b===109)throw this.raise(E.InvalidDecimal,o);if(jt(this.codePointAtPos(this.state.pos)))throw this.raise(E.NumberIdentifier,this.state.curPosition());if(h){const C=this.input.slice(s,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,C);return}this.finishToken(135,v)}readNumber(n){const s=this.state.pos,o=this.state.curPosition();let h=!1,v=!1,b=!1,C=!1;!n&&this.readInt(10)===null&&this.raise(E.InvalidNumber,this.state.curPosition());const R=this.state.pos-s>=2&&this.input.charCodeAt(s)===48;if(R){const ee=this.input.slice(s,this.state.pos);if(this.recordStrictModeErrors(E.StrictOctalLiteral,o),!this.state.strict){const oe=ee.indexOf("_");oe>0&&this.raise(E.ZeroDigitNumericSeparator,i(o,oe))}C=R&&!/[89]/.test(ee)}let F=this.input.charCodeAt(this.state.pos);if(F===46&&!C&&(++this.state.pos,this.readInt(10),h=!0,F=this.input.charCodeAt(this.state.pos)),(F===69||F===101)&&!C&&(F=this.input.charCodeAt(++this.state.pos),(F===43||F===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(E.InvalidOrMissingExponent,o),h=!0,b=!0,F=this.input.charCodeAt(this.state.pos)),F===110&&((h||R)&&this.raise(E.InvalidBigIntLiteral,o),++this.state.pos,v=!0),F===109){this.expectPlugin("decimal",this.state.curPosition()),(b||R)&&this.raise(E.InvalidDecimal,o),++this.state.pos;var $=!0}if(jt(this.codePointAtPos(this.state.pos)))throw this.raise(E.NumberIdentifier,this.state.curPosition());const q=this.input.slice(s,this.state.pos).replace(/[_mn]/g,"");if(v){this.finishToken(136,q);return}if($){this.finishToken(137,q);return}const J=C?parseInt(q,8):parseFloat(q);this.finishToken(135,J)}readCodePoint(n){const{code:s,pos:o}=wu(this.input,this.state.pos,this.state.lineStart,this.state.curLine,n,this.errorHandlers_readCodePoint);return this.state.pos=o,s}readString(n){const{str:s,pos:o,curLine:h,lineStart:v}=Eu(n===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=o+1,this.state.lineStart=v,this.state.curLine=h,this.finishToken(134,s)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const n=this.input[this.state.pos],{str:s,firstInvalidLoc:o,pos:h,curLine:v,lineStart:b}=Eu("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=h+1,this.state.lineStart=b,this.state.curLine=v,o&&(this.state.firstInvalidTemplateEscapePos=new e(o.curLine,o.pos-o.lineStart,this.sourceToOffsetPos(o.pos))),this.input.codePointAt(h)===96?this.finishToken(24,o?null:n+s+"`"):(this.state.pos++,this.finishToken(25,o?null:n+s+"${"))}recordStrictModeErrors(n,s){const o=s.index;this.state.strict&&!this.state.strictErrors.has(o)?this.raise(n,s):this.state.strictErrors.set(o,[n,s])}readWord1(n){this.state.containsEsc=!1;let s="";const o=this.state.pos;let h=this.state.pos;for(n!==void 0&&(this.state.pos+=n<=65535?1:2);this.state.pos<this.length;){const v=this.codePointAtPos(this.state.pos);if(Vr(v))this.state.pos+=v<=65535?1:2;else if(v===92){this.state.containsEsc=!0,s+=this.input.slice(h,this.state.pos);const b=this.state.curPosition(),C=this.state.pos===o?jt:Vr;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(E.MissingUnicodeEscape,this.state.curPosition()),h=this.state.pos-1;continue}++this.state.pos;const R=this.readCodePoint(!0);R!==null&&(C(R)||this.raise(E.EscapedCharNotAnIdentifier,b),s+=String.fromCodePoint(R)),h=this.state.pos}else break}return s+this.input.slice(h,this.state.pos)}readWord(n){const s=this.readWord1(n),o=he.get(s);o!==void 0?this.finishToken(o,nt(o)):this.finishToken(132,s)}checkKeywordEscapes(){const{type:n}=this.state;Be(n)&&this.state.containsEsc&&this.raise(E.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:nt(n)})}raise(n,s,o={}){const h=s instanceof e?s:s.loc.start,v=n(h,o);if(!(this.optionFlags&2048))throw v;return this.isLookahead||this.state.errors.push(v),v}raiseOverwrite(n,s,o={}){const h=s instanceof e?s:s.loc.start,v=h.index,b=this.state.errors;for(let C=b.length-1;C>=0;C--){const R=b[C];if(R.loc.index===v)return b[C]=n(h,o);if(R.loc.index<v)break}return this.raise(n,s,o)}updateContext(n){}unexpected(n,s){throw this.raise(E.UnexpectedToken,n??this.state.startLoc,{expected:s?nt(s):null})}expectPlugin(n,s){if(this.hasPlugin(n))return!0;throw this.raise(E.MissingPlugin,s??this.state.startLoc,{missingPlugin:[n]})}expectOnePlugin(n){if(!n.some(s=>this.hasPlugin(s)))throw this.raise(E.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:n})}errorBuilder(n){return(s,o,h)=>{this.raise(n,Ts(s,o,h))}}}class Iv{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Nv{constructor(n){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=n}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Iv)}exit(){const n=this.stack.pop(),s=this.current();for(const[o,h]of Array.from(n.undefinedPrivateNames))s?s.undefinedPrivateNames.has(o)||s.undefinedPrivateNames.set(o,h):this.parser.raise(E.InvalidPrivateFieldResolution,h,{identifierName:o})}declarePrivateName(n,s,o){const{privateNames:h,loneAccessors:v,undefinedPrivateNames:b}=this.current();let C=h.has(n);if(s&3){const R=C&&v.get(n);if(R){const F=R&4,$=s&4,q=R&3,J=s&3;C=q===J||F!==$,C||v.delete(n)}else C||v.set(n,s)}C&&this.parser.raise(E.PrivateNameRedeclaration,o,{identifierName:n}),h.add(n),b.delete(n)}usePrivateName(n,s){let o;for(o of this.stack)if(o.privateNames.has(n))return;o?o.undefinedPrivateNames.set(n,s):this.parser.raise(E.InvalidPrivateFieldResolution,s,{identifierName:n})}}class mi{constructor(n=0){this.type=n}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Pu extends mi{constructor(n){super(n),this.declarationErrors=new Map}recordDeclarationError(n,s){const o=s.index;this.declarationErrors.set(o,[n,s])}clearDeclarationError(n){this.declarationErrors.delete(n)}iterateErrors(n){this.declarationErrors.forEach(n)}}class Ov{constructor(n){this.parser=void 0,this.stack=[new mi],this.parser=n}enter(n){this.stack.push(n)}exit(){this.stack.pop()}recordParameterInitializerError(n,s){const o=s.loc.start,{stack:h}=this;let v=h.length-1,b=h[v];for(;!b.isCertainlyParameterDeclaration();){if(b.canBeArrowParameterDeclaration())b.recordDeclarationError(n,o);else return;b=h[--v]}this.parser.raise(n,o)}recordArrowParameterBindingError(n,s){const{stack:o}=this,h=o[o.length-1],v=s.loc.start;if(h.isCertainlyParameterDeclaration())this.parser.raise(n,v);else if(h.canBeArrowParameterDeclaration())h.recordDeclarationError(n,v);else return}recordAsyncArrowParametersError(n){const{stack:s}=this;let o=s.length-1,h=s[o];for(;h.canBeArrowParameterDeclaration();)h.type===2&&h.recordDeclarationError(E.AwaitBindingIdentifier,n),h=s[--o]}validateAsPattern(){const{stack:n}=this,s=n[n.length-1];s.canBeArrowParameterDeclaration()&&s.iterateErrors(([o,h])=>{this.parser.raise(o,h);let v=n.length-2,b=n[v];for(;b.canBeArrowParameterDeclaration();)b.clearDeclarationError(h.index),b=n[--v]})}}function kv(){return new mi(3)}function Lv(){return new Pu(1)}function Mv(){return new Pu(2)}function bu(){return new mi}class Rv extends Cv{addExtra(n,s,o,h=!0){if(!n)return;let{extra:v}=n;v==null&&(v={},n.extra=v),h?v[s]=o:Object.defineProperty(v,s,{enumerable:h,value:o})}isContextual(n){return this.state.type===n&&!this.state.containsEsc}isUnparsedContextual(n,s){if(this.input.startsWith(s,n)){const o=this.input.charCodeAt(n+s.length);return!(Vr(o)||(o&64512)===55296)}return!1}isLookaheadContextual(n){const s=this.nextTokenStart();return this.isUnparsedContextual(s,n)}eatContextual(n){return this.isContextual(n)?(this.next(),!0):!1}expectContextual(n,s){if(!this.eatContextual(n)){if(s!=null)throw this.raise(s,this.state.startLoc);this.unexpected(null,n)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return gu(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return gu(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(n=!0){(n?this.isLineTerminator():this.eat(13))||this.raise(E.MissingSemicolon,this.state.lastTokEndLoc)}expect(n,s){this.eat(n)||this.unexpected(s,n)}tryParse(n,s=this.state.clone()){const o={node:null};try{const h=n((v=null)=>{throw o.node=v,o});if(this.state.errors.length>s.errors.length){const v=this.state;return this.state=s,this.state.tokensLength=v.tokensLength,{node:h,error:v.errors[s.errors.length],thrown:!1,aborted:!1,failState:v}}return{node:h,error:null,thrown:!1,aborted:!1,failState:null}}catch(h){const v=this.state;if(this.state=s,h instanceof SyntaxError)return{node:null,error:h,thrown:!0,aborted:!1,failState:v};if(h===o)return{node:o.node,error:null,thrown:!1,aborted:!0,failState:v};throw h}}checkExpressionErrors(n,s){if(!n)return!1;const{shorthandAssignLoc:o,doubleProtoLoc:h,privateKeyLoc:v,optionalParametersLoc:b,voidPatternLoc:C}=n,R=!!o||!!h||!!b||!!v||!!C;if(!s)return R;o!=null&&this.raise(E.InvalidCoverInitializedName,o),h!=null&&this.raise(E.DuplicateProto,h),v!=null&&this.raise(E.UnexpectedPrivateField,v),b!=null&&this.unexpected(b),C!=null&&this.raise(E.InvalidCoverDiscardElement,C)}isLiteralPropertyName(){return Ee(this.state.type)}isPrivateName(n){return n.type==="PrivateName"}getPrivateNameSV(n){return n.id.name}hasPropertyAsPrivateName(n){return(n.type==="MemberExpression"||n.type==="OptionalMemberExpression")&&this.isPrivateName(n.property)}isObjectProperty(n){return n.type==="ObjectProperty"}isObjectMethod(n){return n.type==="ObjectMethod"}initializeScopes(n=this.options.sourceType==="module"){const s=this.state.labels;this.state.labels=[];const o=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const h=this.inModule;this.inModule=n;const v=this.scope,b=this.getScopeHandler();this.scope=new b(this,n);const C=this.prodParam;this.prodParam=new Ev;const R=this.classScope;this.classScope=new Nv(this);const F=this.expressionScope;return this.expressionScope=new Ov(this),()=>{this.state.labels=s,this.exportedIdentifiers=o,this.inModule=h,this.scope=v,this.prodParam=C,this.classScope=R,this.expressionScope=F}}enterInitialScopes(){let n=0;(this.inModule||this.optionFlags&1)&&(n|=2),this.optionFlags&32&&(n|=1);const s=!this.inModule&&this.options.sourceType==="commonjs";(s||this.optionFlags&2)&&(n|=4),this.prodParam.enter(n);let o=s?514:1;this.optionFlags&4&&(o|=512),this.scope.enter(o)}checkDestructuringPrivate(n){const{privateKeyLoc:s}=n;s!==null&&this.expectPlugin("destructuringPrivate",s)}}class yi{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}}class gi{constructor(n,s,o){this.type="",this.start=s,this.end=0,this.loc=new r(o),n?.optionFlags&128&&(this.range=[s,0]),n!=null&&n.filename&&(this.loc.filename=n.filename)}}const Fa=gi.prototype;Fa.__clone=function(){const P=new gi(void 0,this.start,this.loc.start),n=Object.keys(this);for(let s=0,o=n.length;s<o;s++){const h=n[s];h!=="leadingComments"&&h!=="trailingComments"&&h!=="innerComments"&&(P[h]=this[h])}return P};class Dv extends Rv{startNode(){const n=this.state.startLoc;return new gi(this,n.index,n)}startNodeAt(n){return new gi(this,n.index,n)}startNodeAtNode(n){return this.startNodeAt(n.loc.start)}finishNode(n,s){return this.finishNodeAt(n,s,this.state.lastTokEndLoc)}finishNodeAt(n,s,o){return n.type=s,n.end=o.index,n.loc.end=o,this.optionFlags&128&&(n.range[1]=o.index),this.optionFlags&4096&&this.processComment(n),n}resetStartLocation(n,s){n.start=s.index,n.loc.start=s,this.optionFlags&128&&(n.range[0]=s.index)}resetEndLocation(n,s=this.state.lastTokEndLoc){n.end=s.index,n.loc.end=s,this.optionFlags&128&&(n.range[1]=s.index)}resetStartLocationFromNode(n,s){this.resetStartLocation(n,s.loc.start)}castNodeTo(n,s){return n.type=s,n}cloneIdentifier(n){const{type:s,start:o,end:h,loc:v,range:b,name:C}=n,R=Object.create(Fa);return R.type=s,R.start=o,R.end=h,R.loc=v,R.range=b,R.name=C,n.extra&&(R.extra=n.extra),R}cloneStringLiteral(n){const{type:s,start:o,end:h,loc:v,range:b,extra:C}=n,R=Object.create(Fa);return R.type=s,R.start=o,R.end=h,R.loc=v,R.range=b,R.extra=C,R.value=n.value,R}}const xu=P=>P.type==="ParenthesizedExpression"?xu(P.expression):P;class Fv extends Dv{toAssignable(n,s=!1){var o,h;let v;switch((n.type==="ParenthesizedExpression"||(o=n.extra)!=null&&o.parenthesized)&&(v=xu(n),s?v.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(E.InvalidParenthesizedAssignment,n):v.type!=="MemberExpression"&&!this.isOptionalMemberExpression(v)&&this.raise(E.InvalidParenthesizedAssignment,n):this.raise(E.InvalidParenthesizedAssignment,n)),n.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(n,"ObjectPattern");for(let C=0,R=n.properties.length,F=R-1;C<R;C++){var b;const $=n.properties[C],q=C===F;this.toAssignableObjectExpressionProp($,q,s),q&&$.type==="RestElement"&&(b=n.extra)!=null&&b.trailingCommaLoc&&this.raise(E.RestTrailingComma,n.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:C,value:R}=n;this.isPrivateName(C)&&this.classScope.usePrivateName(this.getPrivateNameSV(C),C.loc.start),this.toAssignable(R,s);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(n,"ArrayPattern"),this.toAssignableList(n.elements,(h=n.extra)==null?void 0:h.trailingCommaLoc,s);break;case"AssignmentExpression":n.operator!=="="&&this.raise(E.MissingEqInAssignment,n.left.loc.end),this.castNodeTo(n,"AssignmentPattern"),delete n.operator,n.left.type==="VoidPattern"&&this.raise(E.VoidPatternInitializer,n.left),this.toAssignable(n.left,s);break;case"ParenthesizedExpression":this.toAssignable(v,s);break}}toAssignableObjectExpressionProp(n,s,o){if(n.type==="ObjectMethod")this.raise(n.kind==="get"||n.kind==="set"?E.PatternHasAccessor:E.PatternHasMethod,n.key);else if(n.type==="SpreadElement"){this.castNodeTo(n,"RestElement");const h=n.argument;this.checkToRestConversion(h,!1),this.toAssignable(h,o),s||this.raise(E.RestTrailingComma,n)}else this.toAssignable(n,o)}toAssignableList(n,s,o){const h=n.length-1;for(let v=0;v<=h;v++){const b=n[v];b&&(this.toAssignableListItem(n,v,o),b.type==="RestElement"&&(v<h?this.raise(E.RestTrailingComma,b):s&&this.raise(E.RestTrailingComma,s)))}}toAssignableListItem(n,s,o){const h=n[s];if(h.type==="SpreadElement"){this.castNodeTo(h,"RestElement");const v=h.argument;this.checkToRestConversion(v,!0),this.toAssignable(v,o)}else this.toAssignable(h,o)}isAssignable(n,s){switch(n.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{const o=n.properties.length-1;return n.properties.every((h,v)=>h.type!=="ObjectMethod"&&(v===o||h.type!=="SpreadElement")&&this.isAssignable(h))}case"ObjectProperty":return this.isAssignable(n.value);case"SpreadElement":return this.isAssignable(n.argument);case"ArrayExpression":return n.elements.every(o=>o===null||this.isAssignable(o));case"AssignmentExpression":return n.operator==="=";case"ParenthesizedExpression":return this.isAssignable(n.expression);case"MemberExpression":case"OptionalMemberExpression":return!s;default:return!1}}toReferencedList(n,s){return n}toReferencedListDeep(n,s){this.toReferencedList(n,s);for(const o of n)o?.type==="ArrayExpression"&&this.toReferencedListDeep(o.elements)}parseSpread(n){const s=this.startNode();return this.next(),s.argument=this.parseMaybeAssignAllowIn(n,void 0),this.finishNode(s,"SpreadElement")}parseRestBinding(){const n=this.startNode();this.next();const s=this.parseBindingAtom();return s.type==="VoidPattern"&&this.raise(E.UnexpectedVoidPattern,s),n.argument=s,this.finishNode(n,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const n=this.startNode();return this.next(),n.elements=this.parseBindingList(3,93,1),this.finishNode(n,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(n,s,o){const h=o&1,v=[];let b=!0;for(;!this.eat(n);)if(b?b=!1:this.expect(12),h&&this.match(12))v.push(null);else{if(this.eat(n))break;if(this.match(21)){let C=this.parseRestBinding();if((this.hasPlugin("flow")||o&2)&&(C=this.parseFunctionParamType(C)),v.push(C),!this.checkCommaAfterRest(s)){this.expect(n);break}}else{const C=[];if(o&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(E.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)C.push(this.parseDecorator());v.push(this.parseBindingElement(o,C))}}return v}parseBindingRestProperty(n){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(n.argument=this.parseVoidPattern(null),this.raise(E.UnexpectedVoidPattern,n.argument)):n.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(n,"RestElement")}parseBindingProperty(){const{type:n,startLoc:s}=this.state;if(n===21)return this.parseBindingRestProperty(this.startNode());const o=this.startNode();return n===139?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),o.key=this.parsePrivateName()):this.parsePropertyName(o),o.method=!1,this.parseObjPropValue(o,s,!1,!1,!0,!1)}parseBindingElement(n,s){const o=this.parseMaybeDefault();return(this.hasPlugin("flow")||n&2)&&this.parseFunctionParamType(o),s.length&&(o.decorators=s,this.resetStartLocationFromNode(o,s[0])),this.parseMaybeDefault(o.loc.start,o)}parseFunctionParamType(n){return n}parseMaybeDefault(n,s){if(n??(n=this.state.startLoc),s=s??this.parseBindingAtom(),!this.eat(29))return s;const o=this.startNodeAt(n);return s.type==="VoidPattern"&&this.raise(E.VoidPatternInitializer,s),o.left=s,o.right=this.parseMaybeAssignAllowIn(),this.finishNode(o,"AssignmentPattern")}isValidLVal(n,s,o){switch(n){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0}return!1}isOptionalMemberExpression(n){return n.type==="OptionalMemberExpression"}checkLVal(n,s,o=64,h=!1,v=!1,b=!1){var C;const R=n.type;if(this.isObjectMethod(n))return;const F=this.isOptionalMemberExpression(n);if(F||R==="MemberExpression"){F&&(this.expectPlugin("optionalChainingAssign",n.loc.start),s.type!=="AssignmentExpression"&&this.raise(E.InvalidLhsOptionalChaining,n,{ancestor:s})),o!==64&&this.raise(E.InvalidPropertyBindingPattern,n);return}if(R==="Identifier"){this.checkIdentifier(n,o,v);const{name:me}=n;h&&(h.has(me)?this.raise(E.ParamDupe,n):h.add(me));return}else R==="VoidPattern"&&s.type==="CatchClause"&&this.raise(E.VoidPatternCatchClauseParam,n);const $=this.isValidLVal(R,!(b||(C=n.extra)!=null&&C.parenthesized)&&s.type==="AssignmentExpression",o);if($===!0)return;if($===!1){const me=o===64?E.InvalidLhs:E.InvalidLhsBinding;this.raise(me,n,{ancestor:s});return}let q,J;typeof $=="string"?(q=$,J=R==="ParenthesizedExpression"):[q,J]=$;const ee=R==="ArrayPattern"||R==="ObjectPattern"?{type:R}:s,oe=n[q];if(Array.isArray(oe))for(const me of oe)me&&this.checkLVal(me,ee,o,h,v,J);else oe&&this.checkLVal(oe,ee,o,h,v,J)}checkIdentifier(n,s,o=!1){this.state.strict&&(o?mu(n.name,this.inModule):du(n.name))&&(s===64?this.raise(E.StrictEvalArguments,n,{referenceName:n.name}):this.raise(E.StrictEvalArgumentsBinding,n,{bindingName:n.name})),s&8192&&n.name==="let"&&this.raise(E.LetInLexicalBinding,n),s&64||this.declareNameFromIdentifier(n,s)}declareNameFromIdentifier(n,s){this.scope.declareName(n.name,s,n.loc.start)}checkToRestConversion(n,s){switch(n.type){case"ParenthesizedExpression":this.checkToRestConversion(n.expression,s);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(s)break;default:this.raise(E.InvalidRestAssignmentPattern,n)}}checkCommaAfterRest(n){return this.match(12)?(this.raise(this.lookaheadCharCode()===n?E.RestTrailingComma:E.ElementAfterRest,this.state.startLoc),!0):!1}}function Bv(P){if(P==null)throw new Error(`Unexpected ${P} value.`);return P}function _u(P){if(!P)throw new Error("Assert fail")}const ae=T`typescript`({AbstractMethodHasImplementation:({methodName:P})=>`Method '${P}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:P})=>`Property '${P}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:P})=>`'declare' is not allowed in ${P}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:P})=>`Accessibility modifier already seen: '${P}'.`,DuplicateModifier:({modifier:P})=>`Duplicate modifier: '${P}'.`,EmptyHeritageClauseType:({token:P})=>`'${P}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:P})=>`'${P[0]}' modifier cannot be used with '${P[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:P})=>`Index signatures cannot have an accessibility modifier ('${P}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:P})=>`'${P}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:P=>`'${P}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:P})=>`'${P}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:P})=>`'${P}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:P})=>`'${P}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:P=>`'${P}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:P})=>`'${P[0]}' modifier must precede '${P[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:P})=>`Private elements cannot have an accessibility modifier ('${P}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:P})=>`Single type parameter ${P} should have a trailing comma. Example usage: <${P},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:P})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${P}.`,UsingDeclarationInAmbientContext:P=>`'${P}' declarations are not allowed in ambient contexts.`});function $v(P){switch(P){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function Au(P){return P==="private"||P==="public"||P==="protected"}function Uv(P){return P==="in"||P==="out"}var qv=P=>class extends P{constructor(...s){super(...s),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:ae.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ae.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ae.InvalidModifierOnTypeParameter})}getScopeHandler(){return Sv}tsIsIdentifier(){return Q(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(s,o,h){if(!Q(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const v=this.state.value;if(s.includes(v)){if(h&&this.match(106)||o&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return v}}tsParseModifiers({allowedModifiers:s,disallowedModifiers:o,stopOnStartOfClassStaticBlock:h,errorTemplate:v=ae.InvalidModifierOnTypeMember},b){const C=(F,$,q,J)=>{$===q&&b[J]&&this.raise(ae.InvalidModifiersOrder,F,{orderedModifiers:[q,J]})},R=(F,$,q,J)=>{(b[q]&&$===J||b[J]&&$===q)&&this.raise(ae.IncompatibleModifiers,F,{modifiers:[q,J]})};for(;;){const{startLoc:F}=this.state,$=this.tsParseModifier(s.concat(o??[]),h,b.static);if(!$)break;Au($)?b.accessibility?this.raise(ae.DuplicateAccessibilityModifier,F,{modifier:$}):(C(F,$,$,"override"),C(F,$,$,"static"),C(F,$,$,"readonly"),b.accessibility=$):Uv($)?(b[$]&&this.raise(ae.DuplicateModifier,F,{modifier:$}),b[$]=!0,C(F,$,"in","out")):(hasOwnProperty.call(b,$)?this.raise(ae.DuplicateModifier,F,{modifier:$}):(C(F,$,"static","readonly"),C(F,$,"static","override"),C(F,$,"override","readonly"),C(F,$,"abstract","override"),R(F,$,"declare","override"),R(F,$,"static","abstract")),b[$]=!0),o!=null&&o.includes($)&&this.raise(v,F,{modifier:$})}}tsIsListTerminator(s){switch(s){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(s,o){const h=[];for(;!this.tsIsListTerminator(s);)h.push(o());return h}tsParseDelimitedList(s,o,h){return Bv(this.tsParseDelimitedListWorker(s,o,!0,h))}tsParseDelimitedListWorker(s,o,h,v){const b=[];let C=-1;for(;!this.tsIsListTerminator(s);){C=-1;const R=o();if(R==null)return;if(b.push(R),this.eat(12)){C=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(s))break;h&&this.expect(12);return}return v&&(v.value=C),b}tsParseBracketedList(s,o,h,v,b){v||(h?this.expect(0):this.expect(47));const C=this.tsParseDelimitedList(s,o,b);return h?this.expect(3):this.expect(48),C}tsParseImportType(){const s=this.startNode();return this.expect(83),this.expect(10),this.match(134)?s.argument=this.parseStringLiteral(this.state.value):(this.raise(ae.UnsupportedImportTypeArgument,this.state.startLoc),s.argument=super.parseExprAtom()),this.eat(12)?s.options=this.tsParseImportTypeOptions():s.options=null,this.expect(11),this.eat(16)&&(s.qualifier=this.tsParseEntityName(3)),this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSImportType")}tsParseImportTypeOptions(){const s=this.startNode();this.expect(5);const o=this.startNode();return this.isContextual(76)?(o.method=!1,o.key=this.parseIdentifier(!0),o.computed=!1,o.shorthand=!1):this.unexpected(null,76),this.expect(14),o.value=this.tsParseImportTypeWithPropertyValue(),s.properties=[this.finishObjectProperty(o)],this.expect(8),this.finishNode(s,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){const s=this.startNode(),o=[];for(this.expect(5);!this.match(8);){const h=this.state.type;Q(h)||h===134?o.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return s.properties=o,this.next(),this.finishNode(s,"ObjectExpression")}tsParseEntityName(s){let o;if(s&1&&this.match(78))if(s&2)o=this.parseIdentifier(!0);else{const h=this.startNode();this.next(),o=this.finishNode(h,"ThisExpression")}else o=this.parseIdentifier(!!(s&1));for(;this.eat(16);){const h=this.startNodeAtNode(o);h.left=o,h.right=this.parseIdentifier(!!(s&1)),o=this.finishNode(h,"TSQualifiedName")}return o}tsParseTypeReference(){const s=this.startNode();return s.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeReference")}tsParseThisTypePredicate(s){this.next();const o=this.startNodeAtNode(s);return o.parameterName=s,o.typeAnnotation=this.tsParseTypeAnnotation(!1),o.asserts=!1,this.finishNode(o,"TSTypePredicate")}tsParseThisTypeNode(){const s=this.startNode();return this.next(),this.finishNode(s,"TSThisType")}tsParseTypeQuery(){const s=this.startNode();return this.expect(87),this.match(83)?s.exprName=this.tsParseImportType():s.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeQuery")}tsParseTypeParameter(s){const o=this.startNode();return s(o),o.name=this.tsParseTypeParameterName(),o.constraint=this.tsEatThenParseType(81),o.default=this.tsEatThenParseType(29),this.finishNode(o,"TSTypeParameter")}tsTryParseTypeParameters(s){if(this.match(47))return this.tsParseTypeParameters(s)}tsParseTypeParameters(s){const o=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();const h={value:-1};return o.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,s),!1,!0,h),o.params.length===0&&this.raise(ae.EmptyTypeParameters,o),h.value!==-1&&this.addExtra(o,"trailingComma",h.value),this.finishNode(o,"TSTypeParameterDeclaration")}tsFillSignature(s,o){const h=s===19,v="parameters",b="typeAnnotation";o.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),o[v]=this.tsParseBindingListForSignature(),h?o[b]=this.tsParseTypeOrTypePredicateAnnotation(s):this.match(s)&&(o[b]=this.tsParseTypeOrTypePredicateAnnotation(s))}tsParseBindingListForSignature(){const s=super.parseBindingList(11,41,2);for(const o of s){const{type:h}=o;(h==="AssignmentPattern"||h==="TSParameterProperty")&&this.raise(ae.UnsupportedSignatureParameterKind,o,{type:h})}return s}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(s,o){return this.tsFillSignature(14,o),this.tsParseTypeMemberSemicolon(),this.finishNode(o,s)}tsIsUnambiguouslyIndexSignature(){return this.next(),Q(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(s){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const o=this.parseIdentifier();o.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(o),this.expect(3),s.parameters=[o];const h=this.tsTryParseTypeAnnotation();return h&&(s.typeAnnotation=h),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSIndexSignature")}tsParsePropertyOrMethodSignature(s,o){if(this.eat(17)&&(s.optional=!0),this.match(10)||this.match(47)){o&&this.raise(ae.ReadonlyForMethodSignature,s);const h=s;h.kind&&this.match(47)&&this.raise(ae.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,h),this.tsParseTypeMemberSemicolon();const v="parameters",b="typeAnnotation";if(h.kind==="get")h[v].length>0&&(this.raise(E.BadGetterArity,this.state.curPosition()),this.isThisParam(h[v][0])&&this.raise(ae.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(h.kind==="set"){if(h[v].length!==1)this.raise(E.BadSetterArity,this.state.curPosition());else{const C=h[v][0];this.isThisParam(C)&&this.raise(ae.AccessorCannotDeclareThisParameter,this.state.curPosition()),C.type==="Identifier"&&C.optional&&this.raise(ae.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),C.type==="RestElement"&&this.raise(ae.SetAccessorCannotHaveRestParameter,this.state.curPosition())}h[b]&&this.raise(ae.SetAccessorCannotHaveReturnType,h[b])}else h.kind="method";return this.finishNode(h,"TSMethodSignature")}else{const h=s;o&&(h.readonly=!0);const v=this.tsTryParseTypeAnnotation();return v&&(h.typeAnnotation=v),this.tsParseTypeMemberSemicolon(),this.finishNode(h,"TSPropertySignature")}}tsParseTypeMember(){const s=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",s);if(this.match(77)){const h=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",s):(s.key=this.createIdentifier(h,"new"),this.tsParsePropertyOrMethodSignature(s,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},s);const o=this.tsTryParseIndexSignature(s);return o||(super.parsePropertyName(s),!s.computed&&s.key.type==="Identifier"&&(s.key.name==="get"||s.key.name==="set")&&this.tsTokenCanFollowModifier()&&(s.kind=s.key.name,super.parsePropertyName(s),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(s,!!s.readonly))}tsParseTypeLiteral(){const s=this.startNode();return s.members=this.tsParseObjectTypeMembers(),this.finishNode(s,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const s=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),s}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){const s=this.startNode();this.expect(5),this.match(53)?(s.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(s.readonly=!0),this.expect(0);{const o=this.startNode();o.name=this.tsParseTypeParameterName(),o.constraint=this.tsExpectThenParseType(58),s.typeParameter=this.finishNode(o,"TSTypeParameter")}return s.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(s.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(s.optional=!0),s.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(s,"TSMappedType")}tsParseTupleType(){const s=this.startNode();s.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let o=!1;return s.elementTypes.forEach(h=>{const{type:v}=h;o&&v!=="TSRestType"&&v!=="TSOptionalType"&&!(v==="TSNamedTupleMember"&&h.optional)&&this.raise(ae.OptionalTypeBeforeRequired,h),o||(o=v==="TSNamedTupleMember"&&h.optional||v==="TSOptionalType")}),this.finishNode(s,"TSTupleType")}tsParseTupleElementType(){const s=this.state.startLoc,o=this.eat(21),{startLoc:h}=this.state;let v,b,C,R;const $=ce(this.state.type)?this.lookaheadCharCode():null;if($===58)v=!0,C=!1,b=this.parseIdentifier(!0),this.expect(14),R=this.tsParseType();else if($===63){C=!0;const q=this.state.value,J=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(v=!0,b=this.createIdentifier(this.startNodeAt(h),q),this.expect(17),this.expect(14),R=this.tsParseType()):(v=!1,R=J,this.expect(17))}else R=this.tsParseType(),C=this.eat(17),v=this.eat(14);if(v){let q;b?(q=this.startNodeAt(h),q.optional=C,q.label=b,q.elementType=R,this.eat(17)&&(q.optional=!0,this.raise(ae.TupleOptionalAfterType,this.state.lastTokStartLoc))):(q=this.startNodeAt(h),q.optional=C,this.raise(ae.InvalidTupleMemberLabel,R),q.label=R,q.elementType=this.tsParseType()),R=this.finishNode(q,"TSNamedTupleMember")}else if(C){const q=this.startNodeAt(h);q.typeAnnotation=R,R=this.finishNode(q,"TSOptionalType")}if(o){const q=this.startNodeAt(s);q.typeAnnotation=R,R=this.finishNode(q,"TSRestType")}return R}tsParseParenthesizedType(){const s=this.startNode();return this.expect(10),s.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(s,"TSParenthesizedType")}tsParseFunctionOrConstructorType(s,o){const h=this.startNode();return s==="TSConstructorType"&&(h.abstract=!!o,o&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,h)),this.finishNode(h,s)}tsParseLiteralTypeNode(){const s=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:s.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(s,"TSLiteralType")}tsParseTemplateLiteralType(){{const s=this.startNode();return s.literal=super.parseTemplate(!1),this.finishNode(s,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const s=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(s):s}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const s=this.startNode(),o=this.lookahead();return o.type!==135&&o.type!==136&&this.unexpected(),s.literal=this.parseMaybeUnary(),this.finishNode(s,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:s}=this.state;if(Q(s)||s===88||s===84){const o=s===88?"TSVoidKeyword":s===84?"TSNullKeyword":$v(this.state.value);if(o!==void 0&&this.lookaheadCharCode()!==46){const h=this.startNode();return this.next(),this.finishNode(h,o)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){const{startLoc:s}=this.state;let o=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const h=this.startNodeAt(s);h.elementType=o,this.expect(3),o=this.finishNode(h,"TSArrayType")}else{const h=this.startNodeAt(s);h.objectType=o,h.indexType=this.tsParseType(),this.expect(3),o=this.finishNode(h,"TSIndexedAccessType")}return o}tsParseTypeOperator(){const s=this.startNode(),o=this.state.value;return this.next(),s.operator=o,s.typeAnnotation=this.tsParseTypeOperatorOrHigher(),o==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(s),this.finishNode(s,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(s){switch(s.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(ae.UnexpectedReadonly,s)}}tsParseInferType(){const s=this.startNode();this.expectContextual(115);const o=this.startNode();return o.name=this.tsParseTypeParameterName(),o.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),s.typeParameter=this.finishNode(o,"TSTypeParameter"),this.finishNode(s,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const s=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return s}}tsParseTypeOperatorOrHigher(){return $r(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(s,o,h){const v=this.startNode(),b=this.eat(h),C=[];do C.push(o());while(this.eat(h));return C.length===1&&!b?C[0]:(v.types=C,this.finishNode(v,s))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Q(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:s}=this.state,o=s.length;try{return this.parseObjectLike(8,!0),s.length===o}catch{return!1}}if(this.match(0)){this.next();const{errors:s}=this.state,o=s.length;try{return super.parseBindingList(3,93,1),s.length===o}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(s){return this.tsInType(()=>{const o=this.startNode();this.expect(s);const h=this.startNode(),v=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(v&&this.match(78)){let R=this.tsParseThisTypeOrThisTypePredicate();return R.type==="TSThisType"?(h.parameterName=R,h.asserts=!0,h.typeAnnotation=null,R=this.finishNode(h,"TSTypePredicate")):(this.resetStartLocationFromNode(R,h),R.asserts=!0),o.typeAnnotation=R,this.finishNode(o,"TSTypeAnnotation")}const b=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!b)return v?(h.parameterName=this.parseIdentifier(),h.asserts=v,h.typeAnnotation=null,o.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(o,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,o);const C=this.tsParseTypeAnnotation(!1);return h.parameterName=b,h.typeAnnotation=C,h.asserts=v,o.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(o,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const s=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),s}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const s=this.state.containsEsc;return this.next(),!Q(this.state.type)&&!this.match(78)?!1:(s&&this.raise(E.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(s=!0,o=this.startNode()){return this.tsInType(()=>{s&&this.expect(14),o.typeAnnotation=this.tsParseType()}),this.finishNode(o,"TSTypeAnnotation")}tsParseType(){_u(this.state.inType);const s=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return s;const o=this.startNodeAtNode(s);return o.checkType=s,o.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),o.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),o.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(o,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ae.ReservedTypeAssertion,this.state.startLoc);const s=this.startNode();return s.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),s.expression=this.parseMaybeUnary(),this.finishNode(s,"TSTypeAssertion")}tsParseHeritageClause(s){const o=this.state.startLoc,h=this.tsParseDelimitedList("HeritageClauseElement",()=>{{const v=this.startNode();return v.expression=this.tsParseEntityName(3),this.match(47)&&(v.typeParameters=this.tsParseTypeArguments()),this.finishNode(v,"TSExpressionWithTypeArguments")}});return h.length||this.raise(ae.EmptyHeritageClauseType,o,{token:s}),h}tsParseInterfaceDeclaration(s,o={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),o.declare&&(s.declare=!0),Q(this.state.type)?(s.id=this.parseIdentifier(),this.checkIdentifier(s.id,130)):(s.id=null,this.raise(ae.MissingInterfaceName,this.state.startLoc)),s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(s.extends=this.tsParseHeritageClause("extends"));const h=this.startNode();return h.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),s.body=this.finishNode(h,"TSInterfaceBody"),this.finishNode(s,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(s){return s.id=this.parseIdentifier(),this.checkIdentifier(s.id,2),s.typeAnnotation=this.tsInType(()=>{if(s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){const o=this.startNode();return this.next(),this.finishNode(o,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(s,"TSTypeAliasDeclaration")}tsInTopLevelContext(s){if(this.curContext()!==I.brace){const o=this.state.context;this.state.context=[o[0]];try{return s()}finally{this.state.context=o}}else return s()}tsInType(s){const o=this.state.inType;this.state.inType=!0;try{return s()}finally{this.state.inType=o}}tsInDisallowConditionalTypesContext(s){const o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return s()}finally{this.state.inDisallowConditionalTypesContext=o}}tsInAllowConditionalTypesContext(s){const o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return s()}finally{this.state.inDisallowConditionalTypesContext=o}}tsEatThenParseType(s){if(this.match(s))return this.tsNextThenParseType()}tsExpectThenParseType(s){return this.tsInType(()=>(this.expect(s),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const s=this.startNode();return s.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(s.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(s,"TSEnumMember")}tsParseEnumDeclaration(s,o={}){return o.const&&(s.const=!0),o.declare&&(s.declare=!0),this.expectContextual(126),s.id=this.parseIdentifier(),this.checkIdentifier(s.id,s.const?8971:8459),this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumDeclaration")}tsParseEnumBody(){const s=this.startNode();return this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumBody")}tsParseModuleBlock(){const s=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(s.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(s,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(s,o=!1){if(s.id=this.parseIdentifier(),o||this.checkIdentifier(s.id,1024),this.eat(16)){const h=this.startNode();this.tsParseModuleOrNamespaceDeclaration(h,!0),s.body=h}else this.scope.enter(1024),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(s,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(s){return this.isContextual(112)?(s.kind="global",s.global=!0,s.id=this.parseIdentifier()):this.match(134)?(s.kind="module",s.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(s,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(s,o,h){s.isExport=h||!1,s.id=o||this.parseIdentifier(),this.checkIdentifier(s.id,4096),this.expect(29);const v=this.tsParseModuleReference();return s.importKind==="type"&&v.type!=="TSExternalModuleReference"&&this.raise(ae.ImportAliasHasImportType,v),s.moduleReference=v,this.semicolon(),this.finishNode(s,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){const s=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),s.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExternalModuleReference")}tsLookAhead(s){const o=this.state.clone(),h=s();return this.state=o,h}tsTryParseAndCatch(s){const o=this.tryParse(h=>s()||h());if(!(o.aborted||!o.node))return o.error&&(this.state=o.failState),o.node}tsTryParse(s){const o=this.state.clone(),h=s();if(h!==void 0&&h!==!1)return h;this.state=o}tsTryParseDeclare(s){if(this.isLineTerminator())return;const o=this.state.type;return this.tsInAmbientContext(()=>{switch(o){case 68:return s.declare=!0,super.parseFunctionStatement(s,!1,!1);case 80:return s.declare=!0,this.parseClass(s,!0,!1);case 126:return this.tsParseEnumDeclaration(s,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(s);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(s.declare=!0,this.parseVarStatement(s,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(s,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(ae.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),s.declare=!0,this.parseVarStatement(s,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(ae.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),s.declare=!0,this.next(),this.parseVarStatement(s,"await using",!0);break;case 129:{const h=this.tsParseInterfaceDeclaration(s,{declare:!0});if(h)return h}default:if(Q(o))return this.tsParseDeclaration(s,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(s,o,h){switch(o.name){case"declare":{const v=this.tsTryParseDeclare(s);return v&&(v.declare=!0),v}case"global":if(this.match(5)){this.scope.enter(1024),this.prodParam.enter(0);const v=s;return v.kind="global",s.global=!0,v.id=o,v.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(v,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(s,o.name,!1,h)}}tsParseDeclaration(s,o,h,v){switch(o){case"abstract":if(this.tsCheckLineTerminator(h)&&(this.match(80)||Q(this.state.type)))return this.tsParseAbstractDeclaration(s,v);break;case"module":if(this.tsCheckLineTerminator(h)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(s);if(Q(this.state.type))return s.kind="module",this.tsParseModuleOrNamespaceDeclaration(s)}break;case"namespace":if(this.tsCheckLineTerminator(h)&&Q(this.state.type))return s.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(s);break;case"type":if(this.tsCheckLineTerminator(h)&&Q(this.state.type))return this.tsParseTypeAliasDeclaration(s);break}}tsCheckLineTerminator(s){return s?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(s){if(!this.match(47))return;const o=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const h=this.tsTryParseAndCatch(()=>{const v=this.startNodeAt(s);return v.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(v),v.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),v});if(this.state.maybeInArrowParameters=o,!!h)return super.parseArrowExpression(h,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const s=this.startNode();return s.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),s.params.length===0?this.raise(ae.EmptyTypeArguments,s):!this.state.inType&&this.curContext()===I.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(s,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Ur(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(s,o){const h=o.length?o[0].loc.start:this.state.startLoc,v={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},v);const b=v.accessibility,C=v.override,R=v.readonly;!(s&4)&&(b||R||C)&&this.raise(ae.UnexpectedParameterModifier,h);const F=this.parseMaybeDefault();s&2&&this.parseFunctionParamType(F);const $=this.parseMaybeDefault(F.loc.start,F);if(b||R||C){const q=this.startNodeAt(h);return o.length&&(q.decorators=o),b&&(q.accessibility=b),R&&(q.readonly=R),C&&(q.override=C),$.type!=="Identifier"&&$.type!=="AssignmentPattern"&&this.raise(ae.UnsupportedParameterPropertyKind,q),q.parameter=$,this.finishNode(q,"TSParameterProperty")}return o.length&&(F.decorators=o),$}isSimpleParameter(s){return s.type==="TSParameterProperty"&&super.isSimpleParameter(s.parameter)||super.isSimpleParameter(s)}tsDisallowOptionalPattern(s){for(const o of s.params)o.type!=="Identifier"&&o.optional&&!this.state.isAmbientContext&&this.raise(ae.PatternIsOptional,o)}setArrowFunctionParameters(s,o,h){super.setArrowFunctionParameters(s,o,h),this.tsDisallowOptionalPattern(s)}parseFunctionBodyAndFinish(s,o,h=!1){this.match(14)&&(s.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const v=o==="FunctionDeclaration"?"TSDeclareFunction":o==="ClassMethod"||o==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return v&&!this.match(5)&&this.isLineTerminator()?this.finishNode(s,v):v==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(ae.DeclareFunctionHasImplementation,s),s.declare)?super.parseFunctionBodyAndFinish(s,v,h):(this.tsDisallowOptionalPattern(s),super.parseFunctionBodyAndFinish(s,o,h))}registerFunctionStatementId(s){!s.body&&s.id?this.checkIdentifier(s.id,1024):super.registerFunctionStatementId(s)}tsCheckForInvalidTypeCasts(s){s.forEach(o=>{o?.type==="TSTypeCastExpression"&&this.raise(ae.UnexpectedTypeAnnotation,o.typeAnnotation)})}toReferencedList(s,o){return this.tsCheckForInvalidTypeCasts(s),s}parseArrayLike(s,o,h,v){const b=super.parseArrayLike(s,o,h,v);return b.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(b.elements),b}parseSubscript(s,o,h,v){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const C=this.startNodeAt(o);return C.expression=s,this.finishNode(C,"TSNonNullExpression")}let b=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(h)return v.stop=!0,s;v.optionalChainMember=b=!0,this.next()}if(this.match(47)||this.match(51)){let C;const R=this.tsTryParseAndCatch(()=>{if(!h&&this.atPossibleAsyncArrow(s)){const J=this.tsTryParseGenericAsyncArrowFunction(o);if(J)return J}const F=this.tsParseTypeArgumentsInExpression();if(!F)return;if(b&&!this.match(10)){C=this.state.curPosition();return}if(jr(this.state.type)){const J=super.parseTaggedTemplateExpression(s,o,v);return J.typeParameters=F,J}if(!h&&this.eat(10)){const J=this.startNodeAt(o);return J.callee=s,J.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(J.arguments),J.typeParameters=F,v.optionalChainMember&&(J.optional=b),this.finishCallExpression(J,v.optionalChainMember)}const $=this.state.type;if($===48||$===52||$!==10&&be($)&&!this.hasPrecedingLineBreak())return;const q=this.startNodeAt(o);return q.expression=s,q.typeParameters=F,this.finishNode(q,"TSInstantiationExpression")});if(C&&this.unexpected(C,10),R)return R.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(ae.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(R.expression=super.stopParseSubscript(s,v))),R}return super.parseSubscript(s,o,h,v)}parseNewCallee(s){var o;super.parseNewCallee(s);const{callee:h}=s;h.type==="TSInstantiationExpression"&&!((o=h.extra)!=null&&o.parenthesized)&&(s.typeParameters=h.typeParameters,s.callee=h.expression)}parseExprOp(s,o,h){let v;if(qr(58)>h&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(v=this.isContextual(120)))){const b=this.startNodeAt(o);return b.expression=s,b.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(v&&this.raise(E.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(b,v?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(b,o,h)}return super.parseExprOp(s,o,h)}checkReservedWord(s,o,h,v){this.state.isAmbientContext||super.checkReservedWord(s,o,h,v)}checkImportReflection(s){super.checkImportReflection(s),s.module&&s.importKind!=="value"&&this.raise(ae.ImportReflectionHasImportType,s.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(s){if(super.isPotentialImportPhase(s))return!0;if(this.isContextual(130)){const o=this.lookaheadCharCode();return s?o===123||o===42:o!==61}return!s&&this.isContextual(87)}applyImportPhase(s,o,h,v){super.applyImportPhase(s,o,h,v),o?s.exportKind=h==="type"?"type":"value":s.importKind=h==="type"||h==="typeof"?h:"value"}parseImport(s){if(this.match(134))return s.importKind="value",super.parseImport(s);let o;if(Q(this.state.type)&&this.lookaheadCharCode()===61)return s.importKind="value",this.tsParseImportEqualsDeclaration(s);if(this.isContextual(130)){const h=this.parseMaybeImportPhase(s,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(s,h);o=super.parseImportSpecifiersAndAfter(s,h)}else o=super.parseImport(s);return o.importKind==="type"&&o.specifiers.length>1&&o.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(ae.TypeImportCannotSpecifyDefaultAndNamed,o),o}parseExport(s,o){if(this.match(83)){const h=s;this.next();let v=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?v=this.parseMaybeImportPhase(h,!1):h.importKind="value",this.tsParseImportEqualsDeclaration(h,v,!0)}else if(this.eat(29)){const h=s;return h.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(h,"TSExportAssignment")}else if(this.eatContextual(93)){const h=s;return this.expectContextual(128),h.id=this.parseIdentifier(),this.semicolon(),this.finishNode(h,"TSNamespaceExportDeclaration")}else return super.parseExport(s,o)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){const s=this.startNode();return this.next(),s.abstract=!0,this.parseClass(s,!0,!0)}if(this.match(129)){const s=this.tsParseInterfaceDeclaration(this.startNode());if(s)return s}return super.parseExportDefaultExpression()}parseVarStatement(s,o,h=!1){const{isAmbientContext:v}=this.state,b=super.parseVarStatement(s,o,h||v);if(!v)return b;if(!s.declare&&(o==="using"||o==="await using"))return this.raiseOverwrite(ae.UsingDeclarationInAmbientContext,s,o),b;for(const{id:C,init:R}of b.declarations)R&&(o==="var"||o==="let"||C.typeAnnotation?this.raise(ae.InitializerNotAllowedInAmbientContext,R):Vv(R,this.hasPlugin("estree"))||this.raise(ae.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,R));return b}parseStatementContent(s,o){if(this.match(75)&&this.isLookaheadContextual("enum")){const h=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(h,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const h=this.tsParseInterfaceDeclaration(this.startNode());if(h)return h}return super.parseStatementContent(s,o)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(s,o){return o.some(h=>Au(h)?s.accessibility===h:!!s[h])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(s,o,h){const v=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:v,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:ae.InvalidModifierOnTypeParameterPositions},o);const b=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(o,v)&&this.raise(ae.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(s,o)):this.parseClassMemberWithIsStatic(s,o,h,!!o.static)};o.declare?this.tsInAmbientContext(b):b()}parseClassMemberWithIsStatic(s,o,h,v){const b=this.tsTryParseIndexSignature(o);if(b){s.body.push(b),o.abstract&&this.raise(ae.IndexSignatureHasAbstract,o),o.accessibility&&this.raise(ae.IndexSignatureHasAccessibility,o,{modifier:o.accessibility}),o.declare&&this.raise(ae.IndexSignatureHasDeclare,o),o.override&&this.raise(ae.IndexSignatureHasOverride,o);return}!this.state.inAbstractClass&&o.abstract&&this.raise(ae.NonAbstractClassHasAbstractMethod,o),o.override&&(h.hadSuperClass||this.raise(ae.OverrideNotInSubClass,o)),super.parseClassMemberWithIsStatic(s,o,h,v)}parsePostMemberNameModifiers(s){this.eat(17)&&(s.optional=!0),s.readonly&&this.match(10)&&this.raise(ae.ClassMethodHasReadonly,s),s.declare&&this.match(10)&&this.raise(ae.ClassMethodHasDeclare,s)}parseExpressionStatement(s,o,h){return(o.type==="Identifier"?this.tsParseExpressionStatement(s,o,h):void 0)||super.parseExpressionStatement(s,o,h)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(s,o,h){if(!this.match(17))return s;if(this.state.maybeInArrowParameters){const v=this.lookaheadCharCode();if(v===44||v===61||v===58||v===41)return this.setOptionalParametersError(h),s}return super.parseConditional(s,o,h)}parseParenItem(s,o){const h=super.parseParenItem(s,o);if(this.eat(17)&&(h.optional=!0,this.resetEndLocation(s)),this.match(14)){const v=this.startNodeAt(o);return v.expression=s,v.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(v,"TSTypeCastExpression")}return s}parseExportDeclaration(s){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(s));const o=this.state.startLoc,h=this.eatContextual(125);if(h&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(ae.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const b=Q(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(s);return b?((b.type==="TSInterfaceDeclaration"||b.type==="TSTypeAliasDeclaration"||h)&&(s.exportKind="type"),h&&b.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(b,o),b.declare=!0),b):null}parseClassId(s,o,h,v){if((!o||h)&&this.isContextual(113))return;super.parseClassId(s,o,h,s.declare?1024:8331);const b=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);b&&(s.typeParameters=b)}parseClassPropertyAnnotation(s){s.optional||(this.eat(35)?s.definite=!0:this.eat(17)&&(s.optional=!0));const o=this.tsTryParseTypeAnnotation();o&&(s.typeAnnotation=o)}parseClassProperty(s){if(this.parseClassPropertyAnnotation(s),this.state.isAmbientContext&&!(s.readonly&&!s.typeAnnotation)&&this.match(29)&&this.raise(ae.DeclareClassFieldHasInitializer,this.state.startLoc),s.abstract&&this.match(29)){const{key:o}=s;this.raise(ae.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:o.type==="Identifier"&&!s.computed?o.name:`[${this.input.slice(this.offsetToSourcePos(o.start),this.offsetToSourcePos(o.end))}]`})}return super.parseClassProperty(s)}parseClassPrivateProperty(s){return s.abstract&&this.raise(ae.PrivateElementHasAbstract,s),s.accessibility&&this.raise(ae.PrivateElementHasAccessibility,s,{modifier:s.accessibility}),this.parseClassPropertyAnnotation(s),super.parseClassPrivateProperty(s)}parseClassAccessorProperty(s){return this.parseClassPropertyAnnotation(s),s.optional&&this.raise(ae.AccessorCannotBeOptional,s),super.parseClassAccessorProperty(s)}pushClassMethod(s,o,h,v,b,C){const R=this.tsTryParseTypeParameters(this.tsParseConstModifier);R&&b&&this.raise(ae.ConstructorHasTypeParameters,R);const{declare:F=!1,kind:$}=o;F&&($==="get"||$==="set")&&this.raise(ae.DeclareAccessor,o,{kind:$}),R&&(o.typeParameters=R),super.pushClassMethod(s,o,h,v,b,C)}pushClassPrivateMethod(s,o,h,v){const b=this.tsTryParseTypeParameters(this.tsParseConstModifier);b&&(o.typeParameters=b),super.pushClassPrivateMethod(s,o,h,v)}declareClassPrivateMethodInScope(s,o){s.type!=="TSDeclareMethod"&&(s.type==="MethodDefinition"&&s.value.body==null||super.declareClassPrivateMethodInScope(s,o))}parseClassSuper(s){super.parseClassSuper(s),s.superClass&&(this.match(47)||this.match(51))&&(s.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(s.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(s,o,h,v,b,C,R){const F=this.tsTryParseTypeParameters(this.tsParseConstModifier);return F&&(s.typeParameters=F),super.parseObjPropValue(s,o,h,v,b,C,R)}parseFunctionParams(s,o){const h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&(s.typeParameters=h),super.parseFunctionParams(s,o)}parseVarId(s,o){super.parseVarId(s,o),s.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(s.definite=!0);const h=this.tsTryParseTypeAnnotation();h&&(s.id.typeAnnotation=h,this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,o){return this.match(14)&&(s.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(s,o)}parseMaybeAssign(s,o){var h,v,b,C,R;let F,$,q;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(F=this.state.clone(),$=this.tryParse(()=>super.parseMaybeAssign(s,o),F),!$.error)return $.node;const{context:oe}=this.state,me=oe[oe.length-1];(me===I.j_oTag||me===I.j_expr)&&oe.pop()}if(!((h=$)!=null&&h.error)&&!this.match(47))return super.parseMaybeAssign(s,o);(!F||F===this.state)&&(F=this.state.clone());let J;const ee=this.tryParse(oe=>{var me,Me;J=this.tsParseTypeParameters(this.tsParseConstModifier);const ye=super.parseMaybeAssign(s,o);return(ye.type!=="ArrowFunctionExpression"||(me=ye.extra)!=null&&me.parenthesized)&&oe(),((Me=J)==null?void 0:Me.params.length)!==0&&this.resetStartLocationFromNode(ye,J),ye.typeParameters=J,ye},F);if(!ee.error&&!ee.aborted)return J&&this.reportReservedArrowTypeParam(J),ee.node;if(!$&&(_u(!this.hasPlugin("jsx")),q=this.tryParse(()=>super.parseMaybeAssign(s,o),F),!q.error))return q.node;if((v=$)!=null&&v.node)return this.state=$.failState,$.node;if(ee.node)return this.state=ee.failState,J&&this.reportReservedArrowTypeParam(J),ee.node;if((b=q)!=null&&b.node)return this.state=q.failState,q.node;throw((C=$)==null?void 0:C.error)||ee.error||((R=q)==null?void 0:R.error)}reportReservedArrowTypeParam(s){var o;s.params.length===1&&!s.params[0].constraint&&!((o=s.extra)!=null&&o.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ae.ReservedArrowTypeParam,s)}parseMaybeUnary(s,o){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(s,o)}parseArrow(s){if(this.match(14)){const o=this.tryParse(h=>{const v=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&h(),v});if(o.aborted)return;o.thrown||(o.error&&(this.state=o.failState),s.returnType=o.node)}return super.parseArrow(s)}parseFunctionParamType(s){this.eat(17)&&(s.optional=!0);const o=this.tsTryParseTypeAnnotation();return o&&(s.typeAnnotation=o),this.resetEndLocation(s),s}isAssignable(s,o){switch(s.type){case"TSTypeCastExpression":return this.isAssignable(s.expression,o);case"TSParameterProperty":return!0;default:return super.isAssignable(s,o)}}toAssignable(s,o=!1){switch(s.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(s,o);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":o?this.expressionScope.recordArrowParameterBindingError(ae.UnexpectedTypeCastInParameter,s):this.raise(ae.UnexpectedTypeCastInParameter,s),this.toAssignable(s.expression,o);break;case"AssignmentExpression":!o&&s.left.type==="TSTypeCastExpression"&&(s.left=this.typeCastToParameter(s.left));default:super.toAssignable(s,o)}}toAssignableParenthesizedExpression(s,o){switch(s.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(s.expression,o);break;default:super.toAssignable(s,o)}}checkToRestConversion(s,o){switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(s.expression,!1);break;default:super.checkToRestConversion(s,o)}}isValidLVal(s,o,h){switch(s){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(h!==64||!o)&&["expression",!0];default:return super.isValidLVal(s,o,h)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(s,o){if(this.match(47)||this.match(51)){const h=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const v=super.parseMaybeDecoratorArguments(s,o);return v.typeParameters=h,v}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(s,o)}checkCommaAfterRest(s){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===s?(this.next(),!1):super.checkCommaAfterRest(s)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(s,o){const h=super.parseMaybeDefault(s,o);return h.type==="AssignmentPattern"&&h.typeAnnotation&&h.right.start<h.typeAnnotation.start&&this.raise(ae.TypeAnnotationAfterAssign,h.typeAnnotation),h}getTokenFromCode(s){if(this.state.inType){if(s===62){this.finishOp(48,1);return}if(s===60){this.finishOp(47,1);return}}super.getTokenFromCode(s)}reScan_lt_gt(){const{type:s}=this.state;s===47?(this.state.pos-=1,this.readToken_lt()):s===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:s}=this.state;return s===51?(this.state.pos-=2,this.finishOp(47,1),47):s}toAssignableListItem(s,o,h){const v=s[o];v.type==="TSTypeCastExpression"&&(s[o]=this.typeCastToParameter(v)),super.toAssignableListItem(s,o,h)}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}shouldParseArrow(s){return this.match(14)?s.every(o=>this.isAssignable(o,!0)):super.shouldParseArrow(s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(s){if(this.match(47)||this.match(51)){const o=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());o&&(s.typeParameters=o)}return super.jsxParseOpeningElementAfterName(s)}getGetterSetterExpectedParamCount(s){const o=super.getGetterSetterExpectedParamCount(s),v=this.getObjectOrClassMethodParams(s)[0];return v&&this.isThisParam(v)?o+1:o}parseCatchClauseParam(){const s=super.parseCatchClauseParam(),o=this.tsTryParseTypeAnnotation();return o&&(s.typeAnnotation=o,this.resetEndLocation(s)),s}tsInAmbientContext(s){const{isAmbientContext:o,strict:h}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return s()}finally{this.state.isAmbientContext=o,this.state.strict=h}}parseClass(s,o,h){const v=this.state.inAbstractClass;this.state.inAbstractClass=!!s.abstract;try{return super.parseClass(s,o,h)}finally{this.state.inAbstractClass=v}}tsParseAbstractDeclaration(s,o){if(this.match(80))return s.abstract=!0,this.maybeTakeDecorators(o,this.parseClass(s,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return s.abstract=!0,this.raise(ae.NonClassMethodPropertyHasAbstractModifier,s),this.tsParseInterfaceDeclaration(s)}else this.unexpected(null,80)}parseMethod(s,o,h,v,b,C,R){const F=super.parseMethod(s,o,h,v,b,C,R);if((F.abstract||F.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?F.value:F).body){const{key:J}=F;this.raise(ae.AbstractMethodHasImplementation,F,{methodName:J.type==="Identifier"&&!F.computed?J.name:`[${this.input.slice(this.offsetToSourcePos(J.start),this.offsetToSourcePos(J.end))}]`})}return F}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(s,o,h,v){return!o&&v?(this.parseTypeOnlyImportExportSpecifier(s,!1,h),this.finishNode(s,"ExportSpecifier")):(s.exportKind="value",super.parseExportSpecifier(s,o,h,v))}parseImportSpecifier(s,o,h,v,b){return!o&&v?(this.parseTypeOnlyImportExportSpecifier(s,!0,h),this.finishNode(s,"ImportSpecifier")):(s.importKind="value",super.parseImportSpecifier(s,o,h,v,h?4098:4096))}parseTypeOnlyImportExportSpecifier(s,o,h){const v=o?"imported":"local",b=o?"local":"exported";let C=s[v],R,F=!1,$=!0;const q=C.loc.start;if(this.isContextual(93)){const ee=this.parseIdentifier();if(this.isContextual(93)){const oe=this.parseIdentifier();ce(this.state.type)?(F=!0,C=ee,R=o?this.parseIdentifier():this.parseModuleExportName(),$=!1):(R=oe,$=!1)}else ce(this.state.type)?($=!1,R=o?this.parseIdentifier():this.parseModuleExportName()):(F=!0,C=ee)}else ce(this.state.type)&&(F=!0,o?(C=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(C.name,C.loc.start,!0,!0)):C=this.parseModuleExportName());F&&h&&this.raise(o?ae.TypeModifierIsUsedInTypeImports:ae.TypeModifierIsUsedInTypeExports,q),s[v]=C,s[b]=R;const J=o?"importKind":"exportKind";s[J]=F?"type":"value",$&&this.eatContextual(93)&&(s[b]=o?this.parseIdentifier():this.parseModuleExportName()),s[b]||(s[b]=this.cloneIdentifier(s[v])),o&&this.checkIdentifier(s[b],F?4098:4096)}fillOptionalPropertiesForTSESLint(s){var o,h,v,b,C,R,F,$,q,J,ee,oe,me,Me,ye,_e,gr,rr,Du,Fu,Bu,$u,Uu,qu,ju,Vu,zu,Wu,Gu,Hu,Xu,Ju,Ku,Yu,Qu,Zu,eh,th,rh,sh,ih,nh,ah,oh,lh,ch;switch(s.type){case"ExpressionStatement":(o=s.directive)!=null||(s.directive=void 0);return;case"RestElement":s.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":(h=s.decorators)!=null||(s.decorators=[]),(v=s.optional)!=null||(s.optional=!1),(b=s.typeAnnotation)!=null||(s.typeAnnotation=void 0);return;case"TSParameterProperty":(C=s.accessibility)!=null||(s.accessibility=void 0),(R=s.decorators)!=null||(s.decorators=[]),(F=s.override)!=null||(s.override=!1),($=s.readonly)!=null||(s.readonly=!1),(q=s.static)!=null||(s.static=!1);return;case"TSEmptyBodyFunctionExpression":s.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":(J=s.declare)!=null||(s.declare=!1),(ee=s.returnType)!=null||(s.returnType=void 0),(oe=s.typeParameters)!=null||(s.typeParameters=void 0);return;case"Property":(me=s.optional)!=null||(s.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":(Me=s.optional)!=null||(s.optional=!1);case"TSIndexSignature":(ye=s.accessibility)!=null||(s.accessibility=void 0),(_e=s.readonly)!=null||(s.readonly=!1),(gr=s.static)!=null||(s.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":(rr=s.declare)!=null||(s.declare=!1),(Du=s.definite)!=null||(s.definite=!1),(Fu=s.readonly)!=null||(s.readonly=!1),(Bu=s.typeAnnotation)!=null||(s.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":($u=s.accessibility)!=null||(s.accessibility=void 0),(Uu=s.decorators)!=null||(s.decorators=[]),(qu=s.override)!=null||(s.override=!1),(ju=s.optional)!=null||(s.optional=!1);return;case"ClassExpression":(Vu=s.id)!=null||(s.id=null);case"ClassDeclaration":(zu=s.abstract)!=null||(s.abstract=!1),(Wu=s.declare)!=null||(s.declare=!1),(Gu=s.decorators)!=null||(s.decorators=[]),(Hu=s.implements)!=null||(s.implements=[]),(Xu=s.superTypeArguments)!=null||(s.superTypeArguments=void 0),(Ju=s.typeParameters)!=null||(s.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":(Ku=s.declare)!=null||(s.declare=!1);return;case"VariableDeclarator":(Yu=s.definite)!=null||(s.definite=!1);return;case"TSEnumDeclaration":(Qu=s.const)!=null||(s.const=!1),(Zu=s.declare)!=null||(s.declare=!1);return;case"TSEnumMember":(eh=s.computed)!=null||(s.computed=!1);return;case"TSImportType":(th=s.qualifier)!=null||(s.qualifier=null),(rh=s.options)!=null||(s.options=null);return;case"TSInterfaceDeclaration":(sh=s.declare)!=null||(s.declare=!1),(ih=s.extends)!=null||(s.extends=[]);return;case"TSModuleDeclaration":(nh=s.declare)!=null||(s.declare=!1),(ah=s.global)!=null||(s.global=s.kind==="global");return;case"TSTypeParameter":(oh=s.const)!=null||(s.const=!1),(lh=s.in)!=null||(s.in=!1),(ch=s.out)!=null||(s.out=!1);return}}};function jv(P){if(P.type!=="MemberExpression")return!1;const{computed:n,property:s}=P;return n&&s.type!=="StringLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)?!1:Iu(P.object)}function Vv(P,n){var s;const{type:o}=P;if((s=P.extra)!=null&&s.parenthesized)return!1;if(n){if(o==="Literal"){const{value:h}=P;if(typeof h=="string"||typeof h=="boolean")return!0}}else if(o==="StringLiteral"||o==="BooleanLiteral")return!0;return!!(Cu(P,n)||zv(P,n)||o==="TemplateLiteral"&&P.expressions.length===0||jv(P))}function Cu(P,n){return n?P.type==="Literal"&&(typeof P.value=="number"||"bigint"in P):P.type==="NumericLiteral"||P.type==="BigIntLiteral"}function zv(P,n){if(P.type==="UnaryExpression"){const{operator:s,argument:o}=P;if(s==="-"&&Cu(o,n))return!0}return!1}function Iu(P){return P.type==="Identifier"?!0:P.type!=="MemberExpression"||P.computed?!1:Iu(P.object)}const Nu=T`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var Wv=P=>class extends P{parsePlaceholder(s){if(this.match(133)){const o=this.startNode();return this.next(),this.assertNoSpace(),o.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(o,s)}}finishPlaceholder(s,o){let h=s;return(!h.expectedNode||!h.type)&&(h=this.finishNode(h,"Placeholder")),h.expectedNode=o,h}getTokenFromCode(s){s===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(s)}parseExprAtom(s){return this.parsePlaceholder("Expression")||super.parseExprAtom(s)}parseIdentifier(s){return this.parsePlaceholder("Identifier")||super.parseIdentifier(s)}checkReservedWord(s,o,h,v){s!==void 0&&super.checkReservedWord(s,o,h,v)}cloneIdentifier(s){const o=super.cloneIdentifier(s);return o.type==="Placeholder"&&(o.expectedNode=s.expectedNode),o}cloneStringLiteral(s){return s.type==="Placeholder"?this.cloneIdentifier(s):super.cloneStringLiteral(s)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(s,o,h){return s==="Placeholder"||super.isValidLVal(s,o,h)}toAssignable(s,o){s&&s.type==="Placeholder"&&s.expectedNode==="Expression"?s.expectedNode="Pattern":super.toAssignable(s,o)}chStartsBindingIdentifier(s,o){if(super.chStartsBindingIdentifier(s,o))return!0;const h=this.nextTokenStart();return this.input.charCodeAt(h)===37&&this.input.charCodeAt(h+1)===37}verifyBreakContinue(s,o){s.label&&s.label.type==="Placeholder"||super.verifyBreakContinue(s,o)}parseExpressionStatement(s,o){var h;if(o.type!=="Placeholder"||(h=o.extra)!=null&&h.parenthesized)return super.parseExpressionStatement(s,o);if(this.match(14)){const b=s;return b.label=this.finishPlaceholder(o,"Identifier"),this.next(),b.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(b,"LabeledStatement")}this.semicolon();const v=s;return v.name=o.name,this.finishPlaceholder(v,"Statement")}parseBlock(s,o,h){return this.parsePlaceholder("BlockStatement")||super.parseBlock(s,o,h)}parseFunctionId(s){return this.parsePlaceholder("Identifier")||super.parseFunctionId(s)}parseClass(s,o,h){const v=o?"ClassDeclaration":"ClassExpression";this.next();const b=this.state.strict,C=this.parsePlaceholder("Identifier");if(C)if(this.match(81)||this.match(133)||this.match(5))s.id=C;else{if(h||!o)return s.id=null,s.body=this.finishPlaceholder(C,"ClassBody"),this.finishNode(s,v);throw this.raise(Nu.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(s,o,h);return super.parseClassSuper(s),s.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!s.superClass,b),this.finishNode(s,v)}parseExport(s,o){const h=this.parsePlaceholder("Identifier");if(!h)return super.parseExport(s,o);const v=s;if(!this.isContextual(98)&&!this.match(12))return v.specifiers=[],v.source=null,v.declaration=this.finishPlaceholder(h,"Declaration"),this.finishNode(v,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const b=this.startNode();return b.exported=h,v.specifiers=[this.finishNode(b,"ExportDefaultSpecifier")],super.parseExport(v,o)}isExportDefaultSpecifier(){if(this.match(65)){const s=this.nextTokenStart();if(this.isUnparsedContextual(s,"from")&&this.input.startsWith(nt(133),this.nextTokenStartSince(s+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(s,o){var h;return(h=s.specifiers)!=null&&h.length?!0:super.maybeParseExportDefaultSpecifier(s,o)}checkExport(s){const{specifiers:o}=s;o!=null&&o.length&&(s.specifiers=o.filter(h=>h.exported.type==="Placeholder")),super.checkExport(s),s.specifiers=o}parseImport(s){const o=this.parsePlaceholder("Identifier");if(!o)return super.parseImport(s);if(s.specifiers=[],!this.isContextual(98)&&!this.match(12))return s.source=this.finishPlaceholder(o,"StringLiteral"),this.semicolon(),this.finishNode(s,"ImportDeclaration");const h=this.startNodeAtNode(o);return h.local=o,s.specifiers.push(this.finishNode(h,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(s)||this.parseNamedImportSpecifiers(s)),this.expectContextual(98),s.source=this.parseImportSource(),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Nu.UnexpectedSpace,this.state.lastTokEndLoc)}},Gv=P=>class extends P{parseV8Intrinsic(){if(this.match(54)){const s=this.state.startLoc,o=this.startNode();if(this.next(),Q(this.state.type)){const h=this.parseIdentifierName(),v=this.createIdentifier(o,h);if(this.castNodeTo(v,"V8IntrinsicIdentifier"),this.match(10))return v}this.unexpected(s)}}parseExprAtom(s){return this.parseV8Intrinsic()||super.parseExprAtom(s)}};const Ou=["minimal","fsharp","hack","smart"],ku=["^^","@@","^","%","#"];function Hv(P){if(P.has("decorators")){if(P.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const o=P.get("decorators").decoratorsBeforeExport;if(o!=null&&typeof o!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const h=P.get("decorators").allowCallParenthesized;if(h!=null&&typeof h!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(P.has("flow")&&P.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(P.has("placeholders")&&P.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(P.has("pipelineOperator")){var n;const o=P.get("pipelineOperator").proposal;if(!Ou.includes(o)){const h=Ou.map(v=>`"${v}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${h}.`)}if(o==="hack"){if(P.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(P.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const h=P.get("pipelineOperator").topicToken;if(!ku.includes(h)){const v=ku.map(b=>`"${b}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${v}.`)}{var s;if(h==="#"&&((s=P.get("recordAndTuple"))==null?void 0:s.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",P.get("recordAndTuple")])}\`.`)}}else if(o==="smart"&&((n=P.get("recordAndTuple"))==null?void 0:n.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",P.get("recordAndTuple")])}\`.`)}if(P.has("moduleAttributes")){if(P.has("deprecatedImportAssert")||P.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(P.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(P.has("importAssertions")&&P.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!P.has("deprecatedImportAssert")&&P.has("importAttributes")&&P.get("importAttributes").deprecatedAssertSyntax&&P.set("deprecatedImportAssert",{}),P.has("recordAndTuple")){const o=P.get("recordAndTuple").syntaxType;if(o!=null){const h=["hash","bar"];if(!h.includes(o))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+h.map(v=>`'${v}'`).join(", "))}}if(P.has("asyncDoExpressions")&&!P.has("doExpressions")){const o=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw o.missingPlugins="doExpressions",o}if(P.has("optionalChainingAssign")&&P.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(P.has("discardBinding")&&P.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}const Lu={estree:D,jsx:gv,flow:fv,typescript:qv,v8intrinsic:Gv,placeholders:Wv},Xv=Object.keys(Lu);class Jv extends Fv{checkProto(n,s,o,h){if(n.type==="SpreadElement"||this.isObjectMethod(n)||n.computed||n.shorthand)return o;const v=n.key;return(v.type==="Identifier"?v.name:v.value)==="__proto__"?s?(this.raise(E.RecordNoProto,v),!0):(o&&(h?h.doubleProtoLoc===null&&(h.doubleProtoLoc=v.loc.start):this.raise(E.DuplicateProto,v)),!0):o}shouldExitDescending(n,s){return n.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(n.start)===s}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(E.ParseExpressionEmptyInput,this.state.startLoc);const n=this.parseExpression();if(!this.match(140))throw this.raise(E.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),n.comments=this.comments,n.errors=this.state.errors,this.optionFlags&256&&(n.tokens=this.tokens),n}parseExpression(n,s){return n?this.disallowInAnd(()=>this.parseExpressionBase(s)):this.allowInAnd(()=>this.parseExpressionBase(s))}parseExpressionBase(n){const s=this.state.startLoc,o=this.parseMaybeAssign(n);if(this.match(12)){const h=this.startNodeAt(s);for(h.expressions=[o];this.eat(12);)h.expressions.push(this.parseMaybeAssign(n));return this.toReferencedList(h.expressions),this.finishNode(h,"SequenceExpression")}return o}parseMaybeAssignDisallowIn(n,s){return this.disallowInAnd(()=>this.parseMaybeAssign(n,s))}parseMaybeAssignAllowIn(n,s){return this.allowInAnd(()=>this.parseMaybeAssign(n,s))}setOptionalParametersError(n){n.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(n,s){const o=this.state.startLoc,h=this.isContextual(108);if(h&&this.prodParam.hasYield){this.next();let R=this.parseYield(o);return s&&(R=s.call(this,R,o)),R}let v;n?v=!1:(n=new yi,v=!0);const{type:b}=this.state;(b===10||Q(b))&&(this.state.potentialArrowAt=this.state.start);let C=this.parseMaybeConditional(n);if(s&&(C=s.call(this,C,o)),it(this.state.type)){const R=this.startNodeAt(o),F=this.state.value;if(R.operator=F,this.match(29)){this.toAssignable(C,!0),R.left=C;const $=o.index;n.doubleProtoLoc!=null&&n.doubleProtoLoc.index>=$&&(n.doubleProtoLoc=null),n.shorthandAssignLoc!=null&&n.shorthandAssignLoc.index>=$&&(n.shorthandAssignLoc=null),n.privateKeyLoc!=null&&n.privateKeyLoc.index>=$&&(this.checkDestructuringPrivate(n),n.privateKeyLoc=null),n.voidPatternLoc!=null&&n.voidPatternLoc.index>=$&&(n.voidPatternLoc=null)}else R.left=C;return this.next(),R.right=this.parseMaybeAssign(),this.checkLVal(C,this.finishNode(R,"AssignmentExpression")),R}else v&&this.checkExpressionErrors(n,!0);if(h){const{type:R}=this.state;if((this.hasPlugin("v8intrinsic")?be(R):be(R)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(E.YieldNotInGeneratorFunction,o),this.parseYield(o)}return C}parseMaybeConditional(n){const s=this.state.startLoc,o=this.state.potentialArrowAt,h=this.parseExprOps(n);return this.shouldExitDescending(h,o)?h:this.parseConditional(h,s,n)}parseConditional(n,s,o){if(this.eat(17)){const h=this.startNodeAt(s);return h.test=n,h.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),h.alternate=this.parseMaybeAssign(),this.finishNode(h,"ConditionalExpression")}return n}parseMaybeUnaryOrPrivate(n){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(n)}parseExprOps(n){const s=this.state.startLoc,o=this.state.potentialArrowAt,h=this.parseMaybeUnaryOrPrivate(n);return this.shouldExitDescending(h,o)?h:this.parseExprOp(h,s,-1)}parseExprOp(n,s,o){if(this.isPrivateName(n)){const v=this.getPrivateNameSV(n);(o>=qr(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(E.PrivateInExpectedIn,n,{identifierName:v}),this.classScope.usePrivateName(v,n.loc.start)}const h=this.state.type;if(mt(h)&&(this.prodParam.hasIn||!this.match(58))){let v=qr(h);if(v>o){if(h===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return n;this.checkPipelineAtInfixOperator(n,s)}const b=this.startNodeAt(s);b.left=n,b.operator=this.state.value;const C=h===41||h===42,R=h===40;if(R&&(v=qr(42)),this.next(),h===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(E.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);b.right=this.parseExprOpRightExpr(h,v);const F=this.finishNode(b,C||R?"LogicalExpression":"BinaryExpression"),$=this.state.type;if(R&&($===41||$===42)||C&&$===40)throw this.raise(E.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(F,s,o)}}return n}parseExprOpRightExpr(n,s){const o=this.state.startLoc;switch(n){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(s))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(E.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(n,s),o)});default:return this.parseExprOpBaseRightExpr(n,s)}}parseExprOpBaseRightExpr(n,s){const o=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,Ca(n)?s-1:s)}parseHackPipeBody(){var n;const{startLoc:s}=this.state,o=this.parseMaybeAssign();return m.has(o.type)&&!((n=o.extra)!=null&&n.parenthesized)&&this.raise(E.PipeUnparenthesizedBody,s,{type:o.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(E.PipeTopicUnused,s),o}checkExponentialAfterUnary(n){this.match(57)&&this.raise(E.UnexpectedTokenUnaryExponentiation,n.argument)}parseMaybeUnary(n,s){const o=this.state.startLoc,h=this.isContextual(96);if(h&&this.recordAwaitIfAllowed()){this.next();const R=this.parseAwait(o);return s||this.checkExponentialAfterUnary(R),R}const v=this.match(34),b=this.startNode();if(Nt(this.state.type)){b.operator=this.state.value,b.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const R=this.match(89);if(this.next(),b.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(n,!0),this.state.strict&&R){const F=b.argument;F.type==="Identifier"?this.raise(E.StrictDelete,b):this.hasPropertyAsPrivateName(F)&&this.raise(E.DeletePrivateField,b)}if(!v)return s||this.checkExponentialAfterUnary(b),this.finishNode(b,"UnaryExpression")}const C=this.parseUpdate(b,v,n);if(h){const{type:R}=this.state;if((this.hasPlugin("v8intrinsic")?be(R):be(R)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(E.AwaitNotInAsyncContext,o),this.parseAwait(o)}return C}parseUpdate(n,s,o){if(s){const b=n;return this.checkLVal(b.argument,this.finishNode(b,"UpdateExpression")),n}const h=this.state.startLoc;let v=this.parseExprSubscripts(o);if(this.checkExpressionErrors(o,!1))return v;for(;yt(this.state.type)&&!this.canInsertSemicolon();){const b=this.startNodeAt(h);b.operator=this.state.value,b.prefix=!1,b.argument=v,this.next(),this.checkLVal(v,v=this.finishNode(b,"UpdateExpression"))}return v}parseExprSubscripts(n){const s=this.state.startLoc,o=this.state.potentialArrowAt,h=this.parseExprAtom(n);return this.shouldExitDescending(h,o)?h:this.parseSubscripts(h,s)}parseSubscripts(n,s,o){const h={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(n),stop:!1};do n=this.parseSubscript(n,s,o,h),h.maybeAsyncArrow=!1;while(!h.stop);return n}parseSubscript(n,s,o,h){const{type:v}=this.state;if(!o&&v===15)return this.parseBind(n,s,o,h);if(jr(v))return this.parseTaggedTemplateExpression(n,s,h);let b=!1;if(v===18){if(o&&(this.raise(E.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(n,h);h.optionalChainMember=b=!0,this.next()}if(!o&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(n,s,h,b);{const C=this.eat(0);return C||b||this.eat(16)?this.parseMember(n,s,h,C,b):this.stopParseSubscript(n,h)}}stopParseSubscript(n,s){return s.stop=!0,n}parseMember(n,s,o,h,v){const b=this.startNodeAt(s);return b.object=n,b.computed=h,h?(b.property=this.parseExpression(),this.expect(3)):this.match(139)?(n.type==="Super"&&this.raise(E.SuperPrivateField,s),this.classScope.usePrivateName(this.state.value,this.state.startLoc),b.property=this.parsePrivateName()):b.property=this.parseIdentifier(!0),o.optionalChainMember?(b.optional=v,this.finishNode(b,"OptionalMemberExpression")):this.finishNode(b,"MemberExpression")}parseBind(n,s,o,h){const v=this.startNodeAt(s);return v.object=n,this.next(),v.callee=this.parseNoCallExpr(),h.stop=!0,this.parseSubscripts(this.finishNode(v,"BindExpression"),s,o)}parseCoverCallAndAsyncArrowHead(n,s,o,h){const v=this.state.maybeInArrowParameters;let b=null;this.state.maybeInArrowParameters=!0,this.next();const C=this.startNodeAt(s);C.callee=n;const{maybeAsyncArrow:R,optionalChainMember:F}=o;R&&(this.expressionScope.enter(Mv()),b=new yi),F&&(C.optional=h),h?C.arguments=this.parseCallExpressionArguments():C.arguments=this.parseCallExpressionArguments(n.type!=="Super",C,b);let $=this.finishCallExpression(C,F);return R&&this.shouldParseAsyncArrow()&&!h?(o.stop=!0,this.checkDestructuringPrivate(b),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),$=this.parseAsyncArrowFromCallExpression(this.startNodeAt(s),$)):(R&&(this.checkExpressionErrors(b,!0),this.expressionScope.exit()),this.toReferencedArguments($)),this.state.maybeInArrowParameters=v,$}toReferencedArguments(n,s){this.toReferencedListDeep(n.arguments,s)}parseTaggedTemplateExpression(n,s,o){const h=this.startNodeAt(s);return h.tag=n,h.quasi=this.parseTemplate(!0),o.optionalChainMember&&this.raise(E.OptionalChainingNoTemplate,s),this.finishNode(h,"TaggedTemplateExpression")}atPossibleAsyncArrow(n){return n.type==="Identifier"&&n.name==="async"&&this.state.lastTokEndLoc.index===n.end&&!this.canInsertSemicolon()&&n.end-n.start===5&&this.offsetToSourcePos(n.start)===this.state.potentialArrowAt}finishCallExpression(n,s){if(n.callee.type==="Import")if(n.arguments.length===0||n.arguments.length>2)this.raise(E.ImportCallArity,n);else for(const o of n.arguments)o.type==="SpreadElement"&&this.raise(E.ImportCallSpreadArgument,o);return this.finishNode(n,s?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(n,s,o){const h=[];let v=!0;const b=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(v)v=!1;else if(this.expect(12),this.match(11)){s&&this.addTrailingCommaExtraToNode(s),this.next();break}h.push(this.parseExprListItem(11,!1,o,n))}return this.state.inFSharpPipelineDirectBody=b,h}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(n,s){var o;return this.resetPreviousNodeTrailingComments(s),this.expect(19),this.parseArrowExpression(n,s.arguments,!0,(o=s.extra)==null?void 0:o.trailingCommaLoc),s.innerComments&&Es(n,s.innerComments),s.callee.trailingComments&&Es(n,s.callee.trailingComments),n}parseNoCallExpr(){const n=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),n,!0)}parseExprAtom(n){let s,o=null;const{type:h}=this.state;switch(h){case 79:return this.parseSuper();case 83:return s=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(s):this.match(10)?this.optionFlags&512?this.parseImportCall(s):this.finishNode(s,"Import"):(this.raise(E.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(s,"Import"));case 78:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const v=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(v)}case 0:return this.parseArrayLike(3,!0,!1,n);case 5:return this.parseObjectLike(8,!1,!1,n);case 68:return this.parseFunctionOrFunctionSent();case 26:o=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(o,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{s=this.startNode(),this.next(),s.object=null;const v=s.callee=this.parseNoCallExpr();if(v.type==="MemberExpression")return this.finishNode(s,"BindExpression");throw this.raise(E.UnsupportedBind,v)}case 139:return this.raise(E.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const v=this.getPluginOption("pipelineOperator","proposal");if(v)return this.parseTopicReference(v);this.unexpected();break}case 47:{const v=this.input.codePointAt(this.nextTokenStart());jt(v)||v===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:{if(h===137)return this.parseDecimalLiteral(this.state.value);if(h===2||h===1)return this.parseArrayLike(this.state.type===2?4:3,!1,!0);if(h===6||h===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0)}if(Q(h)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const v=this.state.potentialArrowAt===this.state.start,b=this.state.containsEsc,C=this.parseIdentifier();if(!b&&C.name==="async"&&!this.canInsertSemicolon()){const{type:R}=this.state;if(R===68)return this.resetPreviousNodeTrailingComments(C),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(C));if(Q(R))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(C)):C;if(R===90)return this.resetPreviousNodeTrailingComments(C),this.parseDo(this.startNodeAtNode(C),!0)}return v&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(C),[C],!1)):C}else this.unexpected()}}parseTopicReferenceThenEqualsSign(n,s){const o=this.getPluginOption("pipelineOperator","proposal");if(o)return this.state.type=n,this.state.value=s,this.state.pos--,this.state.end--,this.state.endLoc=i(this.state.endLoc,-1),this.parseTopicReference(o);this.unexpected()}parseTopicReference(n){const s=this.startNode(),o=this.state.startLoc,h=this.state.type;return this.next(),this.finishTopicReference(s,o,n,h)}finishTopicReference(n,s,o,h){if(this.testTopicReferenceConfiguration(o,s,h))return o==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(E.PipeTopicUnbound,s),this.registerTopicReference(),this.finishNode(n,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(E.PrimaryTopicNotAllowed,s),this.registerTopicReference(),this.finishNode(n,"PipelinePrimaryTopicReference"));throw this.raise(E.PipeTopicUnconfiguredToken,s,{token:nt(h)})}testTopicReferenceConfiguration(n,s,o){switch(n){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:nt(o)}]);case"smart":return o===27;default:throw this.raise(E.PipeTopicRequiresHackPipes,s)}}parseAsyncArrowUnaryFunction(n){this.prodParam.enter(fi(!0,this.prodParam.hasYield));const s=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(E.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(n,s,!0)}parseDo(n,s){this.expectPlugin("doExpressions"),s&&this.expectPlugin("asyncDoExpressions"),n.async=s,this.next();const o=this.state.labels;return this.state.labels=[],s?(this.prodParam.enter(2),n.body=this.parseBlock(),this.prodParam.exit()):n.body=this.parseBlock(),this.state.labels=o,this.finishNode(n,"DoExpression")}parseSuper(){const n=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16)?this.raise(E.SuperNotAllowed,n):!this.scope.allowSuper&&!(this.optionFlags&16)&&this.raise(E.UnexpectedSuper,n),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(E.UnsupportedSuper,n),this.finishNode(n,"Super")}parsePrivateName(){const n=this.startNode(),s=this.startNodeAt(i(this.state.startLoc,1)),o=this.state.value;return this.next(),n.id=this.createIdentifier(s,o),this.finishNode(n,"PrivateName")}parseFunctionOrFunctionSent(){const n=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(n),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(n,s,"sent")}return this.parseFunction(n)}parseMetaProperty(n,s,o){n.meta=s;const h=this.state.containsEsc;return n.property=this.parseIdentifier(!0),(n.property.name!==o||h)&&this.raise(E.UnsupportedMetaProperty,n.property,{target:s.name,onlyValidPropertyName:o}),this.finishNode(n,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(n){if(this.next(),this.isContextual(105)||this.isContextual(97)){const s=this.isContextual(105);return this.expectPlugin(s?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),n.phase=s?"source":"defer",this.parseImportCall(n)}else{const s=this.createIdentifierAt(this.startNodeAtNode(n),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(E.ImportMetaOutsideModule,s),this.sawUnambiguousESM=!0),this.parseMetaProperty(n,s,"meta")}}parseLiteralAtNode(n,s,o){return this.addExtra(o,"rawValue",n),this.addExtra(o,"raw",this.input.slice(this.offsetToSourcePos(o.start),this.state.end)),o.value=n,this.next(),this.finishNode(o,s)}parseLiteral(n,s){const o=this.startNode();return this.parseLiteralAtNode(n,s,o)}parseStringLiteral(n){return this.parseLiteral(n,"StringLiteral")}parseNumericLiteral(n){return this.parseLiteral(n,"NumericLiteral")}parseBigIntLiteral(n){return this.parseLiteral(n,"BigIntLiteral")}parseDecimalLiteral(n){return this.parseLiteral(n,"DecimalLiteral")}parseRegExpLiteral(n){const s=this.startNode();return this.addExtra(s,"raw",this.input.slice(this.offsetToSourcePos(s.start),this.state.end)),s.pattern=n.pattern,s.flags=n.flags,this.next(),this.finishNode(s,"RegExpLiteral")}parseBooleanLiteral(n){const s=this.startNode();return s.value=n,this.next(),this.finishNode(s,"BooleanLiteral")}parseNullLiteral(){const n=this.startNode();return this.next(),this.finishNode(n,"NullLiteral")}parseParenAndDistinguishExpression(n){const s=this.state.startLoc;let o;this.next(),this.expressionScope.enter(Lv());const h=this.state.maybeInArrowParameters,v=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const b=this.state.startLoc,C=[],R=new yi;let F=!0,$,q;for(;!this.match(11);){if(F)F=!1;else if(this.expect(12,R.optionalParametersLoc===null?null:R.optionalParametersLoc),this.match(11)){q=this.state.startLoc;break}if(this.match(21)){const oe=this.state.startLoc;if($=this.state.startLoc,C.push(this.parseParenItem(this.parseRestBinding(),oe)),!this.checkCommaAfterRest(41))break}else C.push(this.parseMaybeAssignAllowInOrVoidPattern(11,R,this.parseParenItem))}const J=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=h,this.state.inFSharpPipelineDirectBody=v;let ee=this.startNodeAt(s);return n&&this.shouldParseArrow(C)&&(ee=this.parseArrow(ee))?(this.checkDestructuringPrivate(R),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(ee,C,!1),ee):(this.expressionScope.exit(),C.length||this.unexpected(this.state.lastTokStartLoc),q&&this.unexpected(q),$&&this.unexpected($),this.checkExpressionErrors(R,!0),this.toReferencedListDeep(C,!0),C.length>1?(o=this.startNodeAt(b),o.expressions=C,this.finishNode(o,"SequenceExpression"),this.resetEndLocation(o,J)):o=C[0],this.wrapParenthesis(s,o))}wrapParenthesis(n,s){if(!(this.optionFlags&1024))return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",n.index),this.takeSurroundingComments(s,n.index,this.state.lastTokEndLoc.index),s;const o=this.startNodeAt(n);return o.expression=s,this.finishNode(o,"ParenthesizedExpression")}shouldParseArrow(n){return!this.canInsertSemicolon()}parseArrow(n){if(this.eat(19))return n}parseParenItem(n,s){return n}parseNewOrNewTarget(){const n=this.startNode();if(this.next(),this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(n),"new");this.next();const o=this.parseMetaProperty(n,s,"target");return this.scope.allowNewTarget||this.raise(E.UnexpectedNewTarget,o),o}return this.parseNew(n)}parseNew(n){if(this.parseNewCallee(n),this.eat(10)){const s=this.parseExprList(11);this.toReferencedList(s),n.arguments=s}else n.arguments=[];return this.finishNode(n,"NewExpression")}parseNewCallee(n){const s=this.match(83),o=this.parseNoCallExpr();n.callee=o,s&&(o.type==="Import"||o.type==="ImportExpression")&&this.raise(E.ImportCallNotNewExpression,o)}parseTemplateElement(n){const{start:s,startLoc:o,end:h,value:v}=this.state,b=s+1,C=this.startNodeAt(i(o,1));v===null&&(n||this.raise(E.InvalidEscapeSequenceTemplate,i(this.state.firstInvalidTemplateEscapePos,1)));const R=this.match(24),F=R?-1:-2,$=h+F;C.value={raw:this.input.slice(b,$).replace(/\r\n?/g,`
15
15
  `),cooked:v===null?null:v.slice(1,F)},C.tail=R,this.next();const q=this.finishNode(C,"TemplateElement");return this.resetEndLocation(q,i(this.state.lastTokEndLoc,F)),q}parseTemplate(n){const s=this.startNode();let o=this.parseTemplateElement(n);const h=[o],v=[];for(;!o.tail;)v.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),h.push(o=this.parseTemplateElement(n));return s.expressions=v,s.quasis=h,this.finishNode(s,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(n,s,o,h){o&&this.expectPlugin("recordAndTuple");const v=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let b=!1,C=!0;const R=this.startNode();for(R.properties=[],this.next();!this.match(n);){if(C)C=!1;else if(this.expect(12),this.match(n)){this.addTrailingCommaExtraToNode(R);break}let $;s?$=this.parseBindingProperty():($=this.parsePropertyDefinition(h),b=this.checkProto($,o,b,h)),o&&!this.isObjectProperty($)&&$.type!=="SpreadElement"&&this.raise(E.InvalidRecordProperty,$),$.shorthand&&this.addExtra($,"shorthand",!0),R.properties.push($)}this.next(),this.state.inFSharpPipelineDirectBody=v;let F="ObjectExpression";return s?F="ObjectPattern":o&&(F="RecordExpression"),this.finishNode(R,F)}addTrailingCommaExtraToNode(n){this.addExtra(n,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(n,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(n){return!n.computed&&n.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(n){let s=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(E.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)s.push(this.parseDecorator());const o=this.startNode();let h=!1,v=!1,b;if(this.match(21))return s.length&&this.unexpected(),this.parseSpread();s.length&&(o.decorators=s,s=[]),o.method=!1,n&&(b=this.state.startLoc);let C=this.eat(55);this.parsePropertyNamePrefixOperator(o);const R=this.state.containsEsc;if(this.parsePropertyName(o,n),!C&&!R&&this.maybeAsyncOrAccessorProp(o)){const{key:F}=o,$=F.name;$==="async"&&!this.hasPrecedingLineBreak()&&(h=!0,this.resetPreviousNodeTrailingComments(F),C=this.eat(55),this.parsePropertyName(o)),($==="get"||$==="set")&&(v=!0,this.resetPreviousNodeTrailingComments(F),o.kind=$,this.match(55)&&(C=!0,this.raise(E.AccessorIsGenerator,this.state.curPosition(),{kind:$}),this.next()),this.parsePropertyName(o))}return this.parseObjPropValue(o,b,C,h,!1,v,n)}getGetterSetterExpectedParamCount(n){return n.kind==="get"?0:1}getObjectOrClassMethodParams(n){return n.params}checkGetterSetterParams(n){var s;const o=this.getGetterSetterExpectedParamCount(n),h=this.getObjectOrClassMethodParams(n);h.length!==o&&this.raise(n.kind==="get"?E.BadGetterArity:E.BadSetterArity,n),n.kind==="set"&&((s=h[h.length-1])==null?void 0:s.type)==="RestElement"&&this.raise(E.BadSetterRestParameter,n)}parseObjectMethod(n,s,o,h,v){if(v){const b=this.parseMethod(n,s,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(b),b}if(o||s||this.match(10))return h&&this.unexpected(),n.kind="method",n.method=!0,this.parseMethod(n,s,o,!1,!1,"ObjectMethod")}parseObjectProperty(n,s,o,h){if(n.shorthand=!1,this.eat(14))return n.value=o?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,h),this.finishObjectProperty(n);if(!n.computed&&n.key.type==="Identifier"){if(this.checkReservedWord(n.key.name,n.key.loc.start,!0,!1),o)n.value=this.parseMaybeDefault(s,this.cloneIdentifier(n.key));else if(this.match(29)){const v=this.state.startLoc;h!=null?h.shorthandAssignLoc===null&&(h.shorthandAssignLoc=v):this.raise(E.InvalidCoverInitializedName,v),n.value=this.parseMaybeDefault(s,this.cloneIdentifier(n.key))}else n.value=this.cloneIdentifier(n.key);return n.shorthand=!0,this.finishObjectProperty(n)}}finishObjectProperty(n){return this.finishNode(n,"ObjectProperty")}parseObjPropValue(n,s,o,h,v,b,C){const R=this.parseObjectMethod(n,o,h,v,b)||this.parseObjectProperty(n,s,v,C);return R||this.unexpected(),R}parsePropertyName(n,s){if(this.eat(0))n.computed=!0,n.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:o,value:h}=this.state;let v;if(ce(o))v=this.parseIdentifier(!0);else switch(o){case 135:v=this.parseNumericLiteral(h);break;case 134:v=this.parseStringLiteral(h);break;case 136:v=this.parseBigIntLiteral(h);break;case 139:{const b=this.state.startLoc;s!=null?s.privateKeyLoc===null&&(s.privateKeyLoc=b):this.raise(E.UnexpectedPrivateField,b),v=this.parsePrivateName();break}default:if(o===137){v=this.parseDecimalLiteral(h);break}this.unexpected()}n.key=v,o!==139&&(n.computed=!1)}}initFunction(n,s){n.id=null,n.generator=!1,n.async=s}parseMethod(n,s,o,h,v,b,C=!1){this.initFunction(n,o),n.generator=s,this.scope.enter(530|(C?576:0)|(v?32:0)),this.prodParam.enter(fi(o,n.generator)),this.parseFunctionParams(n,h);const R=this.parseFunctionBodyAndFinish(n,b,!0);return this.prodParam.exit(),this.scope.exit(),R}parseArrayLike(n,s,o,h){o&&this.expectPlugin("recordAndTuple");const v=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const b=this.startNode();return this.next(),b.elements=this.parseExprList(n,!o,h,b),this.state.inFSharpPipelineDirectBody=v,this.finishNode(b,o?"TupleExpression":"ArrayExpression")}parseArrowExpression(n,s,o,h){this.scope.enter(518);let v=fi(o,!1);!this.match(5)&&this.prodParam.hasIn&&(v|=8),this.prodParam.enter(v),this.initFunction(n,o);const b=this.state.maybeInArrowParameters;return s&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(n,s,h)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(n,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=b,this.finishNode(n,"ArrowFunctionExpression")}setArrowFunctionParameters(n,s,o){this.toAssignableList(s,o,!1),n.params=s}parseFunctionBodyAndFinish(n,s,o=!1){return this.parseFunctionBody(n,!1,o),this.finishNode(n,s)}parseFunctionBody(n,s,o=!1){const h=s&&!this.match(5);if(this.expressionScope.enter(bu()),h)n.body=this.parseMaybeAssign(),this.checkParams(n,!1,s,!1);else{const v=this.state.strict,b=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),n.body=this.parseBlock(!0,!1,C=>{const R=!this.isSimpleParamList(n.params);C&&R&&this.raise(E.IllegalLanguageModeDirective,(n.kind==="method"||n.kind==="constructor")&&n.key?n.key.loc.end:n);const F=!v&&this.state.strict;this.checkParams(n,!this.state.strict&&!s&&!o&&!R,s,F),this.state.strict&&n.id&&this.checkIdentifier(n.id,65,F)}),this.prodParam.exit(),this.state.labels=b}this.expressionScope.exit()}isSimpleParameter(n){return n.type==="Identifier"}isSimpleParamList(n){for(let s=0,o=n.length;s<o;s++)if(!this.isSimpleParameter(n[s]))return!1;return!0}checkParams(n,s,o,h=!0){const v=!s&&new Set,b={type:"FormalParameters"};for(const C of n.params)this.checkLVal(C,b,5,v,h)}parseExprList(n,s,o,h){const v=[];let b=!0;for(;!this.eat(n);){if(b)b=!1;else if(this.expect(12),this.match(n)){h&&this.addTrailingCommaExtraToNode(h),this.next();break}v.push(this.parseExprListItem(n,s,o))}return v}parseExprListItem(n,s,o,h){let v;if(this.match(12))s||this.raise(E.UnexpectedToken,this.state.curPosition(),{unexpected:","}),v=null;else if(this.match(21)){const b=this.state.startLoc;v=this.parseParenItem(this.parseSpread(o),b)}else if(this.match(17)){this.expectPlugin("partialApplication"),h||this.raise(E.UnexpectedArgumentPlaceholder,this.state.startLoc);const b=this.startNode();this.next(),v=this.finishNode(b,"ArgumentPlaceholder")}else v=this.parseMaybeAssignAllowInOrVoidPattern(n,o,this.parseParenItem);return v}parseIdentifier(n){const s=this.startNode(),o=this.parseIdentifierName(n);return this.createIdentifier(s,o)}createIdentifier(n,s){return n.name=s,n.loc.identifierName=s,this.finishNode(n,"Identifier")}createIdentifierAt(n,s,o){return n.name=s,n.loc.identifierName=s,this.finishNodeAt(n,"Identifier",o)}parseIdentifierName(n){let s;const{startLoc:o,type:h}=this.state;ce(h)?s=this.state.value:this.unexpected();const v=Z(h);return n?v&&this.replaceToken(132):this.checkReservedWord(s,o,v,!1),this.next(),s}checkReservedWord(n,s,o,h){if(n.length>10||!nv(n))return;if(o&&rv(n)){this.raise(E.UnexpectedKeyword,s,{keyword:n});return}if((this.state.strict?h?mu:fu:pu)(n,this.inModule)){this.raise(E.UnexpectedReservedWord,s,{reservedWord:n});return}else if(n==="yield"){if(this.prodParam.hasYield){this.raise(E.YieldBindingIdentifier,s);return}}else if(n==="await"){if(this.prodParam.hasAwait){this.raise(E.AwaitBindingIdentifier,s);return}if(this.scope.inStaticBlock){this.raise(E.AwaitBindingIdentifierInStaticBlock,s);return}this.expressionScope.recordAsyncArrowParametersError(s)}else if(n==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(E.ArgumentsInClass,s);return}}recordAwaitIfAllowed(){const n=this.prodParam.hasAwait;return n&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),n}parseAwait(n){const s=this.startNodeAt(n);return this.expressionScope.recordParameterInitializerError(E.AwaitExpressionFormalParameter,s),this.eat(55)&&this.raise(E.ObsoleteAwaitStar,s),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(s.argument=this.parseMaybeUnary(null,!0)),this.finishNode(s,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;const{type:n}=this.state;return n===53||n===10||n===0||jr(n)||n===102&&!this.state.containsEsc||n===138||n===56||this.hasPlugin("v8intrinsic")&&n===54}parseYield(n){const s=this.startNodeAt(n);this.expressionScope.recordParameterInitializerError(E.YieldInParameter,s);let o=!1,h=null;if(!this.hasPrecedingLineBreak())switch(o=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!o)break;default:h=this.parseMaybeAssign()}return s.delegate=o,s.argument=h,this.finishNode(s,"YieldExpression")}parseImportCall(n){if(this.next(),n.source=this.parseMaybeAssignAllowIn(),n.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(n.source);else if(n.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(n.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(E.ImportCallArity,n)}}return this.expect(11),this.finishNode(n,"ImportExpression")}checkPipelineAtInfixOperator(n,s){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&n.type==="SequenceExpression"&&this.raise(E.PipelineHeadSequenceExpression,s)}parseSmartPipelineBodyInStyle(n,s){if(this.isSimpleReference(n)){const o=this.startNodeAt(s);return o.callee=n,this.finishNode(o,"PipelineBareFunction")}else{const o=this.startNodeAt(s);return this.checkSmartPipeTopicBodyEarlyErrors(s),o.expression=n,this.finishNode(o,"PipelineTopicExpression")}}isSimpleReference(n){switch(n.type){case"MemberExpression":return!n.computed&&this.isSimpleReference(n.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(n){if(this.match(19))throw this.raise(E.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(E.PipelineTopicUnused,n)}withTopicBindingContext(n){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return n()}finally{this.state.topicContext=s}}withSmartMixTopicForbiddingContext(n){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return n()}finally{this.state.topicContext=s}}else return n()}withSoloAwaitPermittingContext(n){const s=this.state.soloAwait;this.state.soloAwait=!0;try{return n()}finally{this.state.soloAwait=s}}allowInAnd(n){const s=this.prodParam.currentFlags();if(8&~s){this.prodParam.enter(s|8);try{return n()}finally{this.prodParam.exit()}}return n()}disallowInAnd(n){const s=this.prodParam.currentFlags();if(8&s){this.prodParam.enter(s&-9);try{return n()}finally{this.prodParam.exit()}}return n()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(n){const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const h=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,n);return this.state.inFSharpPipelineDirectBody=o,h}parseModuleExpression(){this.expectPlugin("moduleBlocks");const n=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const s=this.startNodeAt(this.state.endLoc);this.next();const o=this.initializeScopes(!0);this.enterInitialScopes();try{n.body=this.parseProgram(s,8,"module")}finally{o()}return this.finishNode(n,"ModuleExpression")}parseVoidPattern(n){this.expectPlugin("discardBinding");const s=this.startNode();return n!=null&&(n.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(s,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(n,s,o){if(s!=null&&this.match(88)){const h=this.lookaheadCharCode();if(h===44||h===(n===3?93:n===8?125:41)||h===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(s))}return this.parseMaybeAssignAllowIn(s,o)}parsePropertyNamePrefixOperator(n){}}const Ba={kind:1},Kv={kind:2},Yv=/[\uD800-\uDFFF]/u,$a=/in(?:stanceof)?/y;function Qv(P,n,s){for(let o=0;o<P.length;o++){const h=P[o],{type:v}=h;if(typeof v=="number"){{if(v===139){const{loc:b,start:C,value:R,end:F}=h,$=C+1,q=i(b.start,1);P.splice(o,1,new tr({type:Pt(27),value:"#",start:C,end:$,startLoc:b.start,endLoc:q}),new tr({type:Pt(132),value:R,start:$,end:F,startLoc:q,endLoc:b.end})),o++;continue}if(jr(v)){const{loc:b,start:C,value:R,end:F}=h,$=C+1,q=i(b.start,1);let J;n.charCodeAt(C-s)===96?J=new tr({type:Pt(22),value:"`",start:C,end:$,startLoc:b.start,endLoc:q}):J=new tr({type:Pt(8),value:"}",start:C,end:$,startLoc:b.start,endLoc:q});let ee,oe,me,Me;v===24?(oe=F-1,me=i(b.end,-1),ee=R===null?null:R.slice(1,-1),Me=new tr({type:Pt(22),value:"`",start:oe,end:F,startLoc:me,endLoc:b.end})):(oe=F-2,me=i(b.end,-2),ee=R===null?null:R.slice(1,-2),Me=new tr({type:Pt(23),value:"${",start:oe,end:F,startLoc:me,endLoc:b.end})),P.splice(o,1,J,new tr({type:Pt(20),value:ee,start:$,end:oe,startLoc:q,endLoc:me}),Me),o+=2;continue}}h.type=Pt(v)}}return P}class Zv extends Jv{parseTopLevel(n,s){return n.program=this.parseProgram(s,140,this.options.sourceType==="module"?"module":"script"),n.comments=this.comments,this.optionFlags&256&&(n.tokens=Qv(this.tokens,this.input,this.startIndex)),this.finishNode(n,"File")}parseProgram(n,s,o){if(n.sourceType=o,n.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(n,!0,!0,s),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(const[v,b]of Array.from(this.scope.undefinedExports))this.raise(E.ModuleExportUndefined,b,{localName:v});this.addExtra(n,"topLevelAwait",this.state.hasTopLevelAwait)}let h;return s===140?h=this.finishNode(n,"Program"):h=this.finishNodeAt(n,"Program",i(this.state.startLoc,-1)),h}stmtToDirective(n){const s=this.castNodeTo(n,"Directive"),o=this.castNodeTo(n.expression,"DirectiveLiteral"),h=o.value,v=this.input.slice(this.offsetToSourcePos(o.start),this.offsetToSourcePos(o.end)),b=o.value=v.slice(1,-1);return this.addExtra(o,"raw",v),this.addExtra(o,"rawValue",b),this.addExtra(o,"expressionValue",h),s.value=o,delete n.expression,s}parseInterpreterDirective(){if(!this.match(28))return null;const n=this.startNode();return n.value=this.state.value,this.next(),this.finishNode(n,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){if(!this.isContextual(107))return!1;const n=this.nextTokenInLineStart(),s=this.codePointAtPos(n);return this.chStartsBindingIdentifier(s,n)}isForUsing(){if(!this.isContextual(107))return!1;const n=this.nextTokenInLineStart(),s=this.codePointAtPos(n);if(this.isUnparsedContextual(n,"of")){const o=this.lookaheadCharCodeSince(n+2);if(o!==61&&o!==58&&o!==59)return!1}return!!(this.chStartsBindingIdentifier(s,n)||this.isUnparsedContextual(n,"void"))}isAwaitUsing(){if(!this.isContextual(96))return!1;let n=this.nextTokenInLineStart();if(this.isUnparsedContextual(n,"using")){n=this.nextTokenInLineStartSince(n+5);const s=this.codePointAtPos(n);if(this.chStartsBindingIdentifier(s,n))return!0}return!1}chStartsBindingIdentifier(n,s){if(jt(n)){if($a.lastIndex=s,$a.test(this.input)){const o=this.codePointAtPos($a.lastIndex);if(!Vr(o)&&o!==92)return!1}return!0}else return n===92}chStartsBindingPattern(n){return n===91||n===123}hasFollowingBindingAtom(){const n=this.nextTokenStart(),s=this.codePointAtPos(n);return this.chStartsBindingPattern(s)||this.chStartsBindingIdentifier(s,n)}hasInLineFollowingBindingIdentifierOrBrace(){const n=this.nextTokenInLineStart(),s=this.codePointAtPos(n);return s===123||this.chStartsBindingIdentifier(s,n)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(n=!1){let s=0;return this.options.annexB&&!this.state.strict&&(s|=4,n&&(s|=8)),this.parseStatementLike(s)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(n){let s=null;return this.match(26)&&(s=this.parseDecorators(!0)),this.parseStatementContent(n,s)}parseStatementContent(n,s){const o=this.state.type,h=this.startNode(),v=!!(n&2),b=!!(n&4),C=n&1;switch(o){case 60:return this.parseBreakContinueStatement(h,!0);case 63:return this.parseBreakContinueStatement(h,!1);case 64:return this.parseDebuggerStatement(h);case 90:return this.parseDoWhileStatement(h);case 91:return this.parseForStatement(h);case 68:if(this.lookaheadCharCode()===46)break;return b||this.raise(this.state.strict?E.StrictFunction:this.options.annexB?E.SloppyFunctionAnnexB:E.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(h,!1,!v&&b);case 80:return v||this.unexpected(),this.parseClass(this.maybeTakeDecorators(s,h),!0);case 69:return this.parseIfStatement(h);case 70:return this.parseReturnStatement(h);case 71:return this.parseSwitchStatement(h);case 72:return this.parseThrowStatement(h);case 73:return this.parseTryStatement(h);case 96:if(this.isAwaitUsing())return this.allowsUsing()?v?this.recordAwaitIfAllowed()||this.raise(E.AwaitUsingNotInAsyncContext,h):this.raise(E.UnexpectedLexicalDeclaration,h):this.raise(E.UnexpectedUsingDeclaration,h),this.next(),this.parseVarStatement(h,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?v||this.raise(E.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(E.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(h,"using");case 100:{if(this.state.containsEsc)break;const $=this.nextTokenStart(),q=this.codePointAtPos($);if(q!==91&&(!v&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(q,$)&&q!==123))break}case 75:v||this.raise(E.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const $=this.state.value;return this.parseVarStatement(h,$)}case 92:return this.parseWhileStatement(h);case 76:return this.parseWithStatement(h);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(h);case 83:{const $=this.lookaheadCharCode();if($===40||$===46)break}case 82:{!(this.optionFlags&8)&&!C&&this.raise(E.UnexpectedImportExport,this.state.startLoc),this.next();let $;return o===83?$=this.parseImport(h):$=this.parseExport(h,s),this.assertModuleNodeAllowed($),$}default:if(this.isAsyncFunction())return v||this.raise(E.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(h,!0,!v&&b)}const R=this.state.value,F=this.parseExpression();return Q(o)&&F.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(h,R,F,n):this.parseExpressionStatement(h,F,s)}assertModuleNodeAllowed(n){!(this.optionFlags&8)&&!this.inModule&&this.raise(E.ImportOutsideModule,n)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(n,s,o){if(n){var h;(h=s.decorators)!=null&&h.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(E.DecoratorsBeforeAfterExport,s.decorators[0]),s.decorators.unshift(...n)):s.decorators=n,this.resetStartLocationFromNode(s,n[0]),o&&this.resetStartLocationFromNode(o,s)}return s}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(n){const s=[];do s.push(this.parseDecorator());while(this.match(26));if(this.match(82))n||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(E.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(E.UnexpectedLeadingDecorator,this.state.startLoc);return s}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const n=this.startNode();if(this.next(),this.hasPlugin("decorators")){const s=this.state.startLoc;let o;if(this.match(10)){const h=this.state.startLoc;this.next(),o=this.parseExpression(),this.expect(11),o=this.wrapParenthesis(h,o);const v=this.state.startLoc;n.expression=this.parseMaybeDecoratorArguments(o,h),this.getPluginOption("decorators","allowCallParenthesized")===!1&&n.expression!==o&&this.raise(E.DecoratorArgumentsOutsideParentheses,v)}else{for(o=this.parseIdentifier(!1);this.eat(16);){const h=this.startNodeAt(s);h.object=o,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),h.property=this.parsePrivateName()):h.property=this.parseIdentifier(!0),h.computed=!1,o=this.finishNode(h,"MemberExpression")}n.expression=this.parseMaybeDecoratorArguments(o,s)}}else n.expression=this.parseExprSubscripts();return this.finishNode(n,"Decorator")}parseMaybeDecoratorArguments(n,s){if(this.eat(10)){const o=this.startNodeAt(s);return o.callee=n,o.arguments=this.parseCallExpressionArguments(),this.toReferencedList(o.arguments),this.finishNode(o,"CallExpression")}return n}parseBreakContinueStatement(n,s){return this.next(),this.isLineTerminator()?n.label=null:(n.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(n,s),this.finishNode(n,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(n,s){let o;for(o=0;o<this.state.labels.length;++o){const h=this.state.labels[o];if((n.label==null||h.name===n.label.name)&&(h.kind!=null&&(s||h.kind===1)||n.label&&s))break}if(o===this.state.labels.length){const h=s?"BreakStatement":"ContinueStatement";this.raise(E.IllegalBreakContinue,n,{type:h})}}parseDebuggerStatement(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const n=this.parseExpression();return this.expect(11),n}parseDoWhileStatement(n){return this.next(),this.state.labels.push(Ba),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),n.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(n,"DoWhileStatement")}parseForStatement(n){this.next(),this.state.labels.push(Ba);let s=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(s=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return s!==null&&this.unexpected(s),this.parseFor(n,null);const o=this.isContextual(100);{const R=this.isAwaitUsing(),F=R||this.isForUsing(),$=o&&this.hasFollowingBindingAtom()||F;if(this.match(74)||this.match(75)||$){const q=this.startNode();let J;R?(J="await using",this.recordAwaitIfAllowed()||this.raise(E.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):J=this.state.value,this.next(),this.parseVar(q,!0,J);const ee=this.finishNode(q,"VariableDeclaration"),oe=this.match(58);return oe&&F&&this.raise(E.ForInUsing,ee),(oe||this.isContextual(102))&&ee.declarations.length===1?this.parseForIn(n,ee,s):(s!==null&&this.unexpected(s),this.parseFor(n,ee))}}const h=this.isContextual(95),v=new yi,b=this.parseExpression(!0,v),C=this.isContextual(102);if(C&&(o&&this.raise(E.ForOfLet,b),s===null&&h&&b.type==="Identifier"&&this.raise(E.ForOfAsync,b)),C||this.match(58)){this.checkDestructuringPrivate(v),this.toAssignable(b,!0);const R=C?"ForOfStatement":"ForInStatement";return this.checkLVal(b,{type:R}),this.parseForIn(n,b,s)}else this.checkExpressionErrors(v,!0);return s!==null&&this.unexpected(s),this.parseFor(n,b)}parseFunctionStatement(n,s,o){return this.next(),this.parseFunction(n,1|(o?2:0)|(s?8:0))}parseIfStatement(n){return this.next(),n.test=this.parseHeaderExpression(),n.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),n.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(n,"IfStatement")}parseReturnStatement(n){return this.prodParam.hasReturn||this.raise(E.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")}parseSwitchStatement(n){this.next(),n.discriminant=this.parseHeaderExpression();const s=n.cases=[];this.expect(5),this.state.labels.push(Kv),this.scope.enter(256);let o;for(let h;!this.match(8);)if(this.match(61)||this.match(65)){const v=this.match(61);o&&this.finishNode(o,"SwitchCase"),s.push(o=this.startNode()),o.consequent=[],this.next(),v?o.test=this.parseExpression():(h&&this.raise(E.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),h=!0,o.test=null),this.expect(14)}else o?o.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),o&&this.finishNode(o,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(n,"SwitchStatement")}parseThrowStatement(n){return this.next(),this.hasPrecedingLineBreak()&&this.raise(E.NewlineAfterThrow,this.state.lastTokEndLoc),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")}parseCatchClauseParam(){const n=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&n.type==="Identifier"?8:0),this.checkLVal(n,{type:"CatchClause"},9),n}parseTryStatement(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.match(62)){const s=this.startNode();this.next(),this.match(10)?(this.expect(10),s.param=this.parseCatchClauseParam(),this.expect(11)):(s.param=null,this.scope.enter(0)),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),n.handler=this.finishNode(s,"CatchClause")}return n.finalizer=this.eat(67)?this.parseBlock():null,!n.handler&&!n.finalizer&&this.raise(E.NoCatchOrFinally,n),this.finishNode(n,"TryStatement")}parseVarStatement(n,s,o=!1){return this.next(),this.parseVar(n,!1,s,o),this.semicolon(),this.finishNode(n,"VariableDeclaration")}parseWhileStatement(n){return this.next(),n.test=this.parseHeaderExpression(),this.state.labels.push(Ba),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(n,"WhileStatement")}parseWithStatement(n){return this.state.strict&&this.raise(E.StrictWith,this.state.startLoc),this.next(),n.object=this.parseHeaderExpression(),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(n,"WithStatement")}parseEmptyStatement(n){return this.next(),this.finishNode(n,"EmptyStatement")}parseLabeledStatement(n,s,o,h){for(const b of this.state.labels)b.name===s&&this.raise(E.LabelRedeclaration,o,{labelName:s});const v=tt(this.state.type)?1:this.match(71)?2:null;for(let b=this.state.labels.length-1;b>=0;b--){const C=this.state.labels[b];if(C.statementStart===n.start)C.statementStart=this.sourceToOffsetPos(this.state.start),C.kind=v;else break}return this.state.labels.push({name:s,kind:v,statementStart:this.sourceToOffsetPos(this.state.start)}),n.body=h&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),n.label=o,this.finishNode(n,"LabeledStatement")}parseExpressionStatement(n,s,o){return n.expression=s,this.semicolon(),this.finishNode(n,"ExpressionStatement")}parseBlock(n=!1,s=!0,o){const h=this.startNode();return n&&this.state.strictErrors.clear(),this.expect(5),s&&this.scope.enter(0),this.parseBlockBody(h,n,!1,8,o),s&&this.scope.exit(),this.finishNode(h,"BlockStatement")}isValidDirective(n){return n.type==="ExpressionStatement"&&n.expression.type==="StringLiteral"&&!n.expression.extra.parenthesized}parseBlockBody(n,s,o,h,v){const b=n.body=[],C=n.directives=[];this.parseBlockOrModuleBlockBody(b,s?C:void 0,o,h,v)}parseBlockOrModuleBlockBody(n,s,o,h,v){const b=this.state.strict;let C=!1,R=!1;for(;!this.match(h);){const F=o?this.parseModuleItem():this.parseStatementListItem();if(s&&!R){if(this.isValidDirective(F)){const $=this.stmtToDirective(F);s.push($),!C&&$.value.value==="use strict"&&(C=!0,this.setStrict(!0));continue}R=!0,this.state.strictErrors.clear()}n.push(F)}v?.call(this,C),b||this.setStrict(!1),this.next()}parseFor(n,s){return n.init=s,this.semicolon(!1),n.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),n.update=this.match(11)?null:this.parseExpression(),this.expect(11),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(n,"ForStatement")}parseForIn(n,s,o){const h=this.match(58);return this.next(),h?o!==null&&this.unexpected(o):n.await=o!==null,s.type==="VariableDeclaration"&&s.declarations[0].init!=null&&(!h||!this.options.annexB||this.state.strict||s.kind!=="var"||s.declarations[0].id.type!=="Identifier")&&this.raise(E.ForInOfLoopInitializer,s,{type:h?"ForInStatement":"ForOfStatement"}),s.type==="AssignmentPattern"&&this.raise(E.InvalidLhs,s,{ancestor:{type:"ForStatement"}}),n.left=s,n.right=h?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(n,h?"ForInStatement":"ForOfStatement")}parseVar(n,s,o,h=!1){const v=n.declarations=[];for(n.kind=o;;){const b=this.startNode();if(this.parseVarId(b,o),b.init=this.eat(29)?s?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,b.init===null&&!h&&(b.id.type!=="Identifier"&&!(s&&(this.match(58)||this.isContextual(102)))?this.raise(E.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(o==="const"||o==="using"||o==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(E.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:o})),v.push(this.finishNode(b,"VariableDeclarator")),!this.eat(12))break}return n}parseVarId(n,s){const o=this.parseBindingAtom();s==="using"||s==="await using"?(o.type==="ArrayPattern"||o.type==="ObjectPattern")&&this.raise(E.UsingDeclarationHasBindingPattern,o.loc.start):o.type==="VoidPattern"&&this.raise(E.UnexpectedVoidPattern,o.loc.start),this.checkLVal(o,{type:"VariableDeclarator"},s==="var"?5:8201),n.id=o}parseAsyncFunctionExpression(n){return this.parseFunction(n,8)}parseFunction(n,s=0){const o=s&2,h=!!(s&1),v=h&&!(s&4),b=!!(s&8);this.initFunction(n,b),this.match(55)&&(o&&this.raise(E.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),n.generator=!0),h&&(n.id=this.parseFunctionId(v));const C=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(fi(b,n.generator)),h||(n.id=this.parseFunctionId()),this.parseFunctionParams(n,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(n,h?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),h&&!o&&this.registerFunctionStatementId(n),this.state.maybeInArrowParameters=C,n}parseFunctionId(n){return n||Q(this.state.type)?this.parseIdentifier():null}parseFunctionParams(n,s){this.expect(10),this.expressionScope.enter(kv()),n.params=this.parseBindingList(11,41,2|(s?4:0)),this.expressionScope.exit()}registerFunctionStatementId(n){n.id&&this.scope.declareName(n.id.name,!this.options.annexB||this.state.strict||n.generator||n.async?this.scope.treatFunctionsAsVar?5:8201:17,n.id.loc.start)}parseClass(n,s,o){this.next();const h=this.state.strict;return this.state.strict=!0,this.parseClassId(n,s,o),this.parseClassSuper(n),n.body=this.parseClassBody(!!n.superClass,h),this.finishNode(n,s?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(n){return n.type==="Identifier"&&n.name==="constructor"||n.type==="StringLiteral"&&n.value==="constructor"}isNonstaticConstructor(n){return!n.computed&&!n.static&&this.nameIsConstructor(n.key)}parseClassBody(n,s){this.classScope.enter();const o={hadConstructor:!1,hadSuperClass:n};let h=[];const v=this.startNode();if(v.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(h.length>0)throw this.raise(E.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){h.push(this.parseDecorator());continue}const b=this.startNode();h.length&&(b.decorators=h,this.resetStartLocationFromNode(b,h[0]),h=[]),this.parseClassMember(v,b,o),b.kind==="constructor"&&b.decorators&&b.decorators.length>0&&this.raise(E.DecoratorConstructor,b)}}),this.state.strict=s,this.next(),h.length)throw this.raise(E.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(v,"ClassBody")}parseClassMemberFromModifier(n,s){const o=this.parseIdentifier(!0);if(this.isClassMethod()){const h=s;return h.kind="method",h.computed=!1,h.key=o,h.static=!1,this.pushClassMethod(n,h,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const h=s;return h.computed=!1,h.key=o,h.static=!1,n.body.push(this.parseClassProperty(h)),!0}return this.resetPreviousNodeTrailingComments(o),!1}parseClassMember(n,s,o){const h=this.isContextual(106);if(h){if(this.parseClassMemberFromModifier(n,s))return;if(this.eat(5)){this.parseClassStaticBlock(n,s);return}}this.parseClassMemberWithIsStatic(n,s,o,h)}parseClassMemberWithIsStatic(n,s,o,h){const v=s,b=s,C=s,R=s,F=s,$=v,q=v;if(s.static=h,this.parsePropertyNamePrefixOperator(s),this.eat(55)){$.kind="method";const ye=this.match(139);if(this.parseClassElementName($),this.parsePostMemberNameModifiers($),ye){this.pushClassPrivateMethod(n,b,!0,!1);return}this.isNonstaticConstructor(v)&&this.raise(E.ConstructorIsGenerator,v.key),this.pushClassMethod(n,v,!0,!1,!1,!1);return}const J=!this.state.containsEsc&&Q(this.state.type),ee=this.parseClassElementName(s),oe=J?ee.name:null,me=this.isPrivateName(ee),Me=this.state.startLoc;if(this.parsePostMemberNameModifiers(q),this.isClassMethod()){if($.kind="method",me){this.pushClassPrivateMethod(n,b,!1,!1);return}const ye=this.isNonstaticConstructor(v);let _e=!1;ye&&(v.kind="constructor",o.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(E.DuplicateConstructor,ee),ye&&this.hasPlugin("typescript")&&s.override&&this.raise(E.OverrideOnConstructor,ee),o.hadConstructor=!0,_e=o.hadSuperClass),this.pushClassMethod(n,v,!1,!1,ye,_e)}else if(this.isClassProperty())me?this.pushClassPrivateProperty(n,R):this.pushClassProperty(n,C);else if(oe==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(ee);const ye=this.eat(55);q.optional&&this.unexpected(Me),$.kind="method";const _e=this.match(139);this.parseClassElementName($),this.parsePostMemberNameModifiers(q),_e?this.pushClassPrivateMethod(n,b,ye,!0):(this.isNonstaticConstructor(v)&&this.raise(E.ConstructorIsAsync,v.key),this.pushClassMethod(n,v,ye,!0,!1,!1))}else if((oe==="get"||oe==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(ee),$.kind=oe;const ye=this.match(139);this.parseClassElementName(v),ye?this.pushClassPrivateMethod(n,b,!1,!1):(this.isNonstaticConstructor(v)&&this.raise(E.ConstructorIsAccessor,v.key),this.pushClassMethod(n,v,!1,!1,!1,!1)),this.checkGetterSetterParams(v)}else if(oe==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(ee);const ye=this.match(139);this.parseClassElementName(C),this.pushClassAccessorProperty(n,F,ye)}else this.isLineTerminator()?me?this.pushClassPrivateProperty(n,R):this.pushClassProperty(n,C):this.unexpected()}parseClassElementName(n){const{type:s,value:o}=this.state;if((s===132||s===134)&&n.static&&o==="prototype"&&this.raise(E.StaticPrototype,this.state.startLoc),s===139){o==="constructor"&&this.raise(E.ConstructorClassPrivateField,this.state.startLoc);const h=this.parsePrivateName();return n.key=h,h}return this.parsePropertyName(n),n.key}parseClassStaticBlock(n,s){var o;this.scope.enter(720);const h=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const v=s.body=[];this.parseBlockOrModuleBlockBody(v,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=h,n.body.push(this.finishNode(s,"StaticBlock")),(o=s.decorators)!=null&&o.length&&this.raise(E.DecoratorStaticBlock,s)}pushClassProperty(n,s){!s.computed&&this.nameIsConstructor(s.key)&&this.raise(E.ConstructorClassField,s.key),n.body.push(this.parseClassProperty(s))}pushClassPrivateProperty(n,s){const o=this.parseClassPrivateProperty(s);n.body.push(o),this.classScope.declarePrivateName(this.getPrivateNameSV(o.key),0,o.key.loc.start)}pushClassAccessorProperty(n,s,o){!o&&!s.computed&&this.nameIsConstructor(s.key)&&this.raise(E.ConstructorClassField,s.key);const h=this.parseClassAccessorProperty(s);n.body.push(h),o&&this.classScope.declarePrivateName(this.getPrivateNameSV(h.key),0,h.key.loc.start)}pushClassMethod(n,s,o,h,v,b){n.body.push(this.parseMethod(s,o,h,v,b,"ClassMethod",!0))}pushClassPrivateMethod(n,s,o,h){const v=this.parseMethod(s,o,h,!1,!1,"ClassPrivateMethod",!0);n.body.push(v);const b=v.kind==="get"?v.static?6:2:v.kind==="set"?v.static?5:1:0;this.declareClassPrivateMethodInScope(v,b)}declareClassPrivateMethodInScope(n,s){this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),s,n.key.loc.start)}parsePostMemberNameModifiers(n){}parseClassPrivateProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassPrivateProperty")}parseClassProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassProperty")}parseClassAccessorProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassAccessorProperty")}parseInitializer(n){this.scope.enter(592),this.expressionScope.enter(bu()),this.prodParam.enter(0),n.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(n,s,o,h=8331){if(Q(this.state.type))n.id=this.parseIdentifier(),s&&this.declareNameFromIdentifier(n.id,h);else if(o||!s)n.id=null;else throw this.raise(E.MissingClassName,this.state.startLoc)}parseClassSuper(n){n.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(n,s){const o=this.parseMaybeImportPhase(n,!0),h=this.maybeParseExportDefaultSpecifier(n,o),v=!h||this.eat(12),b=v&&this.eatExportStar(n),C=b&&this.maybeParseExportNamespaceSpecifier(n),R=v&&(!C||this.eat(12)),F=h||b;if(b&&!C){if(h&&this.unexpected(),s)throw this.raise(E.UnsupportedDecoratorExport,n);return this.parseExportFrom(n,!0),this.sawUnambiguousESM=!0,this.finishNode(n,"ExportAllDeclaration")}const $=this.maybeParseExportNamedSpecifiers(n);h&&v&&!b&&!$&&this.unexpected(null,5),C&&R&&this.unexpected(null,98);let q;if(F||$){if(q=!1,s)throw this.raise(E.UnsupportedDecoratorExport,n);this.parseExportFrom(n,F)}else q=this.maybeParseExportDeclaration(n);if(F||$||q){var J;const ee=n;if(this.checkExport(ee,!0,!1,!!ee.source),((J=ee.declaration)==null?void 0:J.type)==="ClassDeclaration")this.maybeTakeDecorators(s,ee.declaration,ee);else if(s)throw this.raise(E.UnsupportedDecoratorExport,n);return this.sawUnambiguousESM=!0,this.finishNode(ee,"ExportNamedDeclaration")}if(this.eat(65)){const ee=n,oe=this.parseExportDefaultExpression();if(ee.declaration=oe,oe.type==="ClassDeclaration")this.maybeTakeDecorators(s,oe,ee);else if(s)throw this.raise(E.UnsupportedDecoratorExport,n);return this.checkExport(ee,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(ee,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(n){return this.eat(55)}maybeParseExportDefaultSpecifier(n,s){if(s||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",s?.loc.start);const o=s||this.parseIdentifier(!0),h=this.startNodeAtNode(o);return h.exported=o,n.specifiers=[this.finishNode(h,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(n){if(this.isContextual(93)){var s,o;(o=(s=n).specifiers)!=null||(s.specifiers=[]);const h=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),h.exported=this.parseModuleExportName(),n.specifiers.push(this.finishNode(h,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(n){if(this.match(5)){const s=n;s.specifiers||(s.specifiers=[]);const o=s.exportKind==="type";return s.specifiers.push(...this.parseExportSpecifiers(o)),s.source=null,this.hasPlugin("importAssertions")?s.assertions=[]:s.attributes=[],s.declaration=null,!0}return!1}maybeParseExportDeclaration(n){return this.shouldParseExportDeclaration()?(n.specifiers=[],n.source=null,this.hasPlugin("importAssertions")?n.assertions=[]:n.attributes=[],n.declaration=this.parseExportDeclaration(n),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const n=this.nextTokenInLineStart();return this.isUnparsedContextual(n,"function")}parseExportDefaultExpression(){const n=this.startNode();if(this.match(68))return this.next(),this.parseFunction(n,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(n,13);if(this.match(80))return this.parseClass(n,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(E.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(E.UnsupportedDefaultExport,this.state.startLoc);const s=this.parseMaybeAssignAllowIn();return this.semicolon(),s}parseExportDeclaration(n){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:n}=this.state;if(Q(n)){if(n===95&&!this.state.containsEsc||n===100)return!1;if((n===130||n===129)&&!this.state.containsEsc){const h=this.nextTokenStart(),v=this.input.charCodeAt(h);if(v===123||this.chStartsBindingIdentifier(v,h)&&!this.input.startsWith("from",h))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const s=this.nextTokenStart(),o=this.isUnparsedContextual(s,"from");if(this.input.charCodeAt(s)===44||Q(this.state.type)&&o)return!0;if(this.match(65)&&o){const h=this.input.charCodeAt(this.nextTokenStartSince(s+4));return h===34||h===39}return!1}parseExportFrom(n,s){this.eatContextual(98)?(n.source=this.parseImportSource(),this.checkExport(n),this.maybeParseImportAttributes(n),this.checkJSONModuleImport(n)):s&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:n}=this.state;return n===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(E.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()?(this.raise(E.UsingDeclarationExport,this.state.startLoc),!0):this.isAwaitUsing()?(this.raise(E.UsingDeclarationExport,this.state.startLoc),!0):n===74||n===75||n===68||n===80||this.isLet()||this.isAsyncFunction()}checkExport(n,s,o,h){if(s){var v;if(o){if(this.checkDuplicateExports(n,"default"),this.hasPlugin("exportDefaultFrom")){var b;const C=n.declaration;C.type==="Identifier"&&C.name==="from"&&C.end-C.start===4&&!((b=C.extra)!=null&&b.parenthesized)&&this.raise(E.ExportDefaultFromAsIdentifier,C)}}else if((v=n.specifiers)!=null&&v.length)for(const C of n.specifiers){const{exported:R}=C,F=R.type==="Identifier"?R.name:R.value;if(this.checkDuplicateExports(C,F),!h&&C.local){const{local:$}=C;$.type!=="Identifier"?this.raise(E.ExportBindingIsString,C,{localName:$.value,exportName:F}):(this.checkReservedWord($.name,$.loc.start,!0,!1),this.scope.checkLocalExport($))}}else if(n.declaration){const C=n.declaration;if(C.type==="FunctionDeclaration"||C.type==="ClassDeclaration"){const{id:R}=C;if(!R)throw new Error("Assertion failure");this.checkDuplicateExports(n,R.name)}else if(C.type==="VariableDeclaration")for(const R of C.declarations)this.checkDeclaration(R.id)}}}checkDeclaration(n){if(n.type==="Identifier")this.checkDuplicateExports(n,n.name);else if(n.type==="ObjectPattern")for(const s of n.properties)this.checkDeclaration(s);else if(n.type==="ArrayPattern")for(const s of n.elements)s&&this.checkDeclaration(s);else n.type==="ObjectProperty"?this.checkDeclaration(n.value):n.type==="RestElement"?this.checkDeclaration(n.argument):n.type==="AssignmentPattern"&&this.checkDeclaration(n.left)}checkDuplicateExports(n,s){this.exportedIdentifiers.has(s)&&(s==="default"?this.raise(E.DuplicateDefaultExport,n):this.raise(E.DuplicateExport,n,{exportName:s})),this.exportedIdentifiers.add(s)}parseExportSpecifiers(n){const s=[];let o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else if(this.expect(12),this.eat(8))break;const h=this.isContextual(130),v=this.match(134),b=this.startNode();b.local=this.parseModuleExportName(),s.push(this.parseExportSpecifier(b,v,n,h))}return s}parseExportSpecifier(n,s,o,h){return this.eatContextual(93)?n.exported=this.parseModuleExportName():s?n.exported=this.cloneStringLiteral(n.local):n.exported||(n.exported=this.cloneIdentifier(n.local)),this.finishNode(n,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){const n=this.parseStringLiteral(this.state.value),s=Yv.exec(n.value);return s&&this.raise(E.ModuleExportNameHasLoneSurrogate,n,{surrogateCharCode:s[0].charCodeAt(0)}),n}return this.parseIdentifier(!0)}isJSONModuleImport(n){return n.assertions!=null?n.assertions.some(({key:s,value:o})=>o.value==="json"&&(s.type==="Identifier"?s.name==="type":s.value==="type")):!1}checkImportReflection(n){const{specifiers:s}=n,o=s.length===1?s[0].type:null;if(n.phase==="source")o!=="ImportDefaultSpecifier"&&this.raise(E.SourcePhaseImportRequiresDefault,s[0].loc.start);else if(n.phase==="defer")o!=="ImportNamespaceSpecifier"&&this.raise(E.DeferImportRequiresNamespace,s[0].loc.start);else if(n.module){var h;o!=="ImportDefaultSpecifier"&&this.raise(E.ImportReflectionNotBinding,s[0].loc.start),((h=n.assertions)==null?void 0:h.length)>0&&this.raise(E.ImportReflectionHasAssertion,s[0].loc.start)}}checkJSONModuleImport(n){if(this.isJSONModuleImport(n)&&n.type!=="ExportAllDeclaration"){const{specifiers:s}=n;if(s!=null){const o=s.find(h=>{let v;if(h.type==="ExportSpecifier"?v=h.local:h.type==="ImportSpecifier"&&(v=h.imported),v!==void 0)return v.type==="Identifier"?v.name!=="default":v.value!=="default"});o!==void 0&&this.raise(E.ImportJSONBindingNotDefault,o.loc.start)}}}isPotentialImportPhase(n){return n?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(n,s,o,h){s||(o==="module"?(this.expectPlugin("importReflection",h),n.module=!0):this.hasPlugin("importReflection")&&(n.module=!1),o==="source"?(this.expectPlugin("sourcePhaseImports",h),n.phase="source"):o==="defer"?(this.expectPlugin("deferredImportEvaluation",h),n.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(n.phase=null))}parseMaybeImportPhase(n,s){if(!this.isPotentialImportPhase(s))return this.applyImportPhase(n,s,null),null;const o=this.startNode(),h=this.parseIdentifierName(!0),{type:v}=this.state;return(ce(v)?v!==98||this.lookaheadCharCode()===102:v!==12)?(this.applyImportPhase(n,s,h,o.loc.start),null):(this.applyImportPhase(n,s,null),this.createIdentifier(o,h))}isPrecedingIdImportPhase(n){const{type:s}=this.state;return Q(s)?s!==98||this.lookaheadCharCode()===102:s!==12}parseImport(n){return this.match(134)?this.parseImportSourceAndAttributes(n):this.parseImportSpecifiersAndAfter(n,this.parseMaybeImportPhase(n,!1))}parseImportSpecifiersAndAfter(n,s){n.specifiers=[];const h=!this.maybeParseDefaultImportSpecifier(n,s)||this.eat(12),v=h&&this.maybeParseStarImportSpecifier(n);return h&&!v&&this.parseNamedImportSpecifiers(n),this.expectContextual(98),this.parseImportSourceAndAttributes(n)}parseImportSourceAndAttributes(n){var s;return(s=n.specifiers)!=null||(n.specifiers=[]),n.source=this.parseImportSource(),this.maybeParseImportAttributes(n),this.checkImportReflection(n),this.checkJSONModuleImport(n),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(n,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(n,s,o){s.local=this.parseIdentifier(),n.specifiers.push(this.finishImportSpecifier(s,o))}finishImportSpecifier(n,s,o=8201){return this.checkLVal(n.local,{type:s},o),this.finishNode(n,s)}parseImportAttributes(){this.expect(5);const n=[],s=new Set;do{if(this.match(8))break;const o=this.startNode(),h=this.state.value;if(s.has(h)&&this.raise(E.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:h}),s.add(h),this.match(134)?o.key=this.parseStringLiteral(h):o.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(E.ModuleAttributeInvalidValue,this.state.startLoc);o.value=this.parseStringLiteral(this.state.value),n.push(this.finishNode(o,"ImportAttribute"))}while(this.eat(12));return this.expect(8),n}parseModuleAttributes(){const n=[],s=new Set;do{const o=this.startNode();if(o.key=this.parseIdentifier(!0),o.key.name!=="type"&&this.raise(E.ModuleAttributeDifferentFromType,o.key),s.has(o.key.name)&&this.raise(E.ModuleAttributesWithDuplicateKeys,o.key,{key:o.key.name}),s.add(o.key.name),this.expect(14),!this.match(134))throw this.raise(E.ModuleAttributeInvalidValue,this.state.startLoc);o.value=this.parseStringLiteral(this.state.value),n.push(this.finishNode(o,"ImportAttribute"))}while(this.eat(12));return n}maybeParseImportAttributes(n){let s;var o=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(s=this.parseModuleAttributes(),this.addExtra(n,"deprecatedWithLegacySyntax",!0)):s=this.parseImportAttributes(),o=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(E.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(n,"deprecatedAssertSyntax",!0),this.next(),s=this.parseImportAttributes()):s=[];!o&&this.hasPlugin("importAssertions")?n.assertions=s:n.attributes=s}maybeParseDefaultImportSpecifier(n,s){if(s){const o=this.startNodeAtNode(s);return o.local=s,n.specifiers.push(this.finishImportSpecifier(o,"ImportDefaultSpecifier")),!0}else if(ce(this.state.type))return this.parseImportSpecifierLocal(n,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(n){if(this.match(55)){const s=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(n,s,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(n){let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else{if(this.eat(14))throw this.raise(E.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const o=this.startNode(),h=this.match(134),v=this.isContextual(130);o.imported=this.parseModuleExportName();const b=this.parseImportSpecifier(o,h,n.importKind==="type"||n.importKind==="typeof",v,void 0);n.specifiers.push(b)}}parseImportSpecifier(n,s,o,h,v){if(this.eatContextual(93))n.local=this.parseIdentifier();else{const{imported:b}=n;if(s)throw this.raise(E.ImportBindingIsString,n,{importName:b.value});this.checkReservedWord(b.name,n.loc.start,!0,!0),n.local||(n.local=this.cloneIdentifier(b))}return this.finishImportSpecifier(n,"ImportSpecifier",v)}isThisParam(n){return n.type==="Identifier"&&n.name==="this"}}class Mu extends Zv{constructor(n,s,o){n=A(n),super(n,s),this.options=n,this.initializeScopes(),this.plugins=o,this.filename=n.sourceFilename,this.startIndex=n.startIndex;let h=0;n.allowAwaitOutsideFunction&&(h|=1),n.allowReturnOutsideFunction&&(h|=2),n.allowImportExportEverywhere&&(h|=8),n.allowSuperOutsideMethod&&(h|=16),n.allowUndeclaredExports&&(h|=64),n.allowNewTargetOutsideFunction&&(h|=4),n.allowYieldOutsideFunction&&(h|=32),n.ranges&&(h|=128),n.tokens&&(h|=256),n.createImportExpressions&&(h|=512),n.createParenthesizedExpressions&&(h|=1024),n.errorRecovery&&(h|=2048),n.attachComment&&(h|=4096),n.annexB&&(h|=8192),this.optionFlags=h}getScopeHandler(){return ka}parse(){this.enterInitialScopes();const n=this.startNode(),s=this.startNode();return this.nextToken(),n.errors=null,this.parseTopLevel(n,s),n.errors=this.state.errors,n.comments.length=this.state.commentsLen,n}}function eS(P,n){var s;if(((s=n)==null?void 0:s.sourceType)==="unambiguous"){n=Object.assign({},n);try{n.sourceType="module";const o=ws(n,P),h=o.parse();if(o.sawUnambiguousESM)return h;if(o.ambiguousScriptDifferentAst)try{return n.sourceType="script",ws(n,P).parse()}catch{}else h.program.sourceType="script";return h}catch(o){try{return n.sourceType="script",ws(n,P).parse()}catch{}throw o}}else return ws(n,P).parse()}function tS(P,n){const s=ws(n,P);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function rS(P){const n={};for(const s of Object.keys(P))n[s]=Pt(P[s]);return n}const sS=rS(ue);function ws(P,n){let s=Mu;const o=new Map;if(P!=null&&P.plugins){for(const h of P.plugins){let v,b;typeof h=="string"?v=h:[v,b]=h,o.has(v)||o.set(v,b||{})}Hv(o),s=iS(o)}return new s(P,n,o)}const Ru=new Map;function iS(P){const n=[];for(const h of Xv)P.has(h)&&n.push(h);const s=n.join("|");let o=Ru.get(s);if(!o){o=Mu;for(const h of n)o=Lu[h](o);Ru.set(s,o)}return o}return Gr.parse=eS,Gr.parseExpression=tS,Gr.tokTypes=sS,Gr}var It=iE();class nE{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,r,i,a){e&&(i!==null?e[r][i]=a:e[r]=a)}remove(e,r,i){e&&(i!==null?e[r].splice(i,1):delete e[r])}}class aE extends nE{constructor(e,r){super(),this.enter=e,this.leave=r}visit(e,r,i,a){if(e){if(this.enter){const l=this.should_skip,c=this.should_remove,p=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,r,i,a),this.replacement&&(e=this.replacement,this.replace(r,i,a,e)),this.should_remove&&this.remove(r,i,a);const u=this.should_skip,f=this.should_remove;if(this.should_skip=l,this.should_remove=c,this.replacement=p,u)return e;if(f)return null}for(const l in e){const c=e[l];if(typeof c=="object")if(Array.isArray(c))for(let p=0;p<c.length;p+=1)c[p]!==null&&typeof c[p].type=="string"&&(this.visit(c[p],e,l,p)||p--);else c!==null&&typeof c.type=="string"&&this.visit(c,e,l,null)}if(this.leave){const l=this.replacement,c=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,r,i,a),this.replacement&&(e=this.replacement,this.replace(r,i,a,e)),this.should_remove&&this.remove(r,i,a);const p=this.should_remove;if(this.replacement=l,this.should_remove=c,p)return null}}return e}}function Wl(t,{enter:e,leave:r}){return new aE(e,r).visit(t,null)}function Zn(t,e,r=!1,i=[],a=Object.create(null)){const l=t.type==="Program"?t.body[0].type==="ExpressionStatement"&&t.body[0].expression:t;Wl(t,{enter(c,p){if(p&&i.push(p),p&&p.type.startsWith("TS")&&!ta.includes(p.type))return this.skip();if(c.type==="Identifier"){const u=!!a[c.name],f=Gl(c,p,i);(r||f&&!u)&&e(c,p,i,f,u)}else if(c.type==="ObjectProperty"&&p?.type==="ObjectPattern")c.inPattern=!0;else if(lr(c))c.scopeIds?c.scopeIds.forEach(u=>sl(u,a)):Hl(c,u=>vi(c,u,a));else if(c.type==="BlockStatement")c.scopeIds?c.scopeIds.forEach(u=>sl(u,a)):Zd(c,u=>vi(c,u,a));else if(c.type==="CatchClause"&&c.param)for(const u of _t(c.param))vi(c,u,a);else em(c)&&tm(c,!1,u=>vi(c,u,a))},leave(c,p){if(p&&i.pop(),c!==l&&c.scopeIds)for(const u of c.scopeIds)a[u]--,a[u]===0&&delete a[u]}})}function Gl(t,e,r){if(!e)return!0;if(t.name==="arguments")return!1;if(oE(t,e,r[r.length-2]))return!0;switch(e.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectProperty":return e.key!==t&&Hs(e,r);case"ArrayPattern":return Hs(e,r)}return!1}function Hs(t,e){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let r=e.length;for(;r--;){const i=e[r];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function Qd(t){let e=t.length;for(;e--;){const r=t[e];if(r.type==="NewExpression")return!0;if(r.type!=="MemberExpression")break}return!1}function Hl(t,e){for(const r of t.params)for(const i of _t(r))e(i)}function Zd(t,e){for(const r of t.body)if(r.type==="VariableDeclaration"){if(r.declare)continue;for(const i of r.declarations)for(const a of _t(i.id))e(a)}else if(r.type==="FunctionDeclaration"||r.type==="ClassDeclaration"){if(r.declare||!r.id)continue;e(r.id)}else em(r)&&tm(r,!0,e)}function em(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function tm(t,e,r){const i=t.type==="ForStatement"?t.init:t.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?e:!e))for(const a of i.declarations)for(const l of _t(a.id))r(l)}function _t(t,e=[]){switch(t.type){case"Identifier":e.push(t);break;case"MemberExpression":let r=t;for(;r.type==="MemberExpression";)r=r.object;e.push(r);break;case"ObjectPattern":for(const i of t.properties)i.type==="RestElement"?_t(i.argument,e):_t(i.value,e);break;case"ArrayPattern":t.elements.forEach(i=>{i&&_t(i,e)});break;case"RestElement":_t(t.argument,e);break;case"AssignmentPattern":_t(t.left,e);break}return e}function sl(t,e){t in e?e[t]++:e[t]=1}function vi(t,e,r){const{name:i}=e;t.scopeIds&&t.scopeIds.has(i)||(sl(i,r),(t.scopeIds||(t.scopeIds=new Set)).add(i))}const lr=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),ea=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,rm=(t,e)=>ea(e)&&e.key===t;function oE(t,e,r){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!r||r.type!=="ObjectPattern";case"ClassProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return r?.source?!1:e.local===t;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}const ta=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Et(t){return ta.includes(t.type)?Et(t.expression):t}const Ge=t=>t.type===4&&t.isStatic;function Xl(t){switch(t){case"Teleport":case"teleport":return _r;case"Suspense":case"suspense":return us;case"KeepAlive":case"keep-alive":return Vs;case"BaseTransition":case"base-transition":return Rl}}const lE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Kt=t=>!lE.test(t),cE=/[A-Za-z_$\xA0-\uFFFF]/,uE=/[\.\?\w$\xA0-\uFFFF]/,hE=/\s+[.[]\s*|\s*[.[]\s+/g,ra=t=>t.type===4?t.content:t.loc.source,pE=t=>{const e=ra(t).trim().replace(hE,p=>p.trim());let r=0,i=[],a=0,l=0,c=null;for(let p=0;p<e.length;p++){const u=e.charAt(p);switch(r){case 0:if(u==="[")i.push(r),r=1,a++;else if(u==="(")i.push(r),r=2,l++;else if(!(p===0?cE:uE).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(i.push(r),r=3,c=u):u==="["?a++:u==="]"&&(--a||(r=i.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")i.push(r),r=3,c=u;else if(u==="(")l++;else if(u===")"){if(p===e.length-1)return!1;--l||(r=i.pop())}break;case 3:u===c&&(r=i.pop(),c=null);break}}return!a&&!l},sm=(t,e)=>{try{let r=t.ast||It.parseExpression(ra(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r=Et(r),r.type==="MemberExpression"||r.type==="OptionalMemberExpression"||r.type==="Identifier"&&r.name!=="undefined"}catch{return!1}},Jl=sm,fE=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,dE=t=>fE.test(ra(t)),im=(t,e)=>{try{let r=t.ast||It.parseExpression(ra(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r.type==="Program"&&(r=r.body[0],r.type==="ExpressionStatement"&&(r=r.expression)),r=Et(r),r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}catch{return!1}},nm=im;function il(t,e,r=e.length){return Kl({offset:t.offset,line:t.line,column:t.column},e,r)}function Kl(t,e,r=e.length){let i=0,a=-1;for(let l=0;l<r;l++)e.charCodeAt(l)===10&&(i++,a=l);return t.offset+=r,t.line+=i,t.column=a===-1?t.column+r:r-a,t}function nl(t,e){if(!t)throw new Error(e||"unexpected compiler condition")}function Fe(t,e,r=!1){for(let i=0;i<t.props.length;i++){const a=t.props[i];if(a.type===7&&(r||a.exp)&&(Se(e)?a.name===e:e.test(a.name)))return a}}function ht(t,e,r=!1,i=!1){for(let a=0;a<t.props.length;a++){const l=t.props[a];if(l.type===6){if(r)continue;if(l.name===e&&(l.value||i))return l}else if(l.name==="bind"&&(l.exp||i)&&Dt(l.arg,e))return l}}function Dt(t,e){return!!(t&&Ge(t)&&t.content===e)}function sa(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Ms(t){return t.type===5||t.type===2}function al(t){return t.type===7&&t.name==="pre"}function Yl(t){return t.type===7&&t.name==="slot"}function os(t){return t.type===1&&t.tagType===3}function ls(t){return t.type===1&&t.tagType===2}const mE=new Set([is,ps]);function am(t,e=[]){if(t&&!Se(t)&&t.type===14){const r=t.callee;if(!Se(r)&&mE.has(r))return am(t.arguments[0],e.concat(t))}return[t,e]}function Xs(t,e,r){let i,a=t.type===13?t.props:t.arguments[2],l=[],c;if(a&&!Se(a)&&a.type===14){const p=am(a);a=p[0],l=p[1],c=l[l.length-1]}if(a==null||Se(a))i=ct([e]);else if(a.type===14){const p=a.arguments[0];!Se(p)&&p.type===15?yh(e,p)||p.properties.unshift(e):a.callee===Hn?i=fe(r.helper(Or),[ct([e]),a]):a.arguments.unshift(ct([e])),!i&&(i=a)}else a.type===15?(yh(e,a)||a.properties.unshift(e),i=a):(i=fe(r.helper(Or),[ct([e]),a]),c&&c.callee===ps&&(c=l[l.length-2]));t.type===13?c?c.arguments[0]=i:t.props=i:c?c.arguments[0]=i:t.arguments[2]=i}function yh(t,e){let r=!1;if(t.key.type===4){const i=t.key.content;r=e.properties.some(a=>a.key.type===4&&a.key.content===i)}return r}function Js(t,e){return`_${e}_${t.replace(/[^\w]/g,(r,i)=>r==="-"?"_":t.charCodeAt(i).toString())}`}function at(t,e){if(!t||Object.keys(e).length===0)return!1;switch(t.type){case 1:for(let r=0;r<t.props.length;r++){const i=t.props[r];if(i.type===7&&(at(i.arg,e)||at(i.exp,e)))return!0}return t.children.some(r=>at(r,e));case 11:return at(t.source,e)?!0:t.children.some(r=>at(r,e));case 9:return t.branches.some(r=>at(r,e));case 10:return at(t.condition,e)?!0:t.children.some(r=>at(r,e));case 4:return!t.isStatic&&Kt(t.content)&&!!e[t.content];case 8:return t.children.some(r=>fr(r)&&at(r,e));case 5:case 12:return at(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function om(t){return t.type===14&&t.callee===Jn?t.arguments[1].returns:t}const lm=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,cm={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Os,isPreTag:Os,isIgnoreNewlineTag:Os,isCustomElement:Os,onError:Vl,onWarn:Yd,comments:!0,prefixIdentifiers:!1};let Ie=cm,gn=null,Xt="",Qe=null,Te=null,Tt="",Vt=-1,Sr=-1,Ql=0,ar=!1,ol=null;const Re=[],Ne=new QS(Re,{onerr:rt,ontext(t,e){Si(Je(t,e),t,e)},ontextentity(t,e,r){Si(t,e,r)},oninterpolation(t,e){if(ar)return Si(Je(t,e),t,e);let r=t+Ne.delimiterOpen.length,i=e-Ne.delimiterClose.length;for(;gt(Xt.charCodeAt(r));)r++;for(;gt(Xt.charCodeAt(i-1));)i--;let a=Je(r,i);a.includes("&")&&(a=YS(a)),ll({type:5,content:tn(a,!1,De(r,i)),loc:De(t,e)})},onopentagname(t,e){const r=Je(t,e);Qe={type:1,tag:r,ns:Ie.getNamespace(r,Re[0],Ie.ns),tagType:0,props:[],children:[],loc:De(t-1,e),codegenNode:void 0}},onopentagend(t){vh(t)},onclosetag(t,e){const r=Je(t,e);if(!Ie.isVoidTag(r)){let i=!1;for(let a=0;a<Re.length;a++)if(Re[a].tag.toLowerCase()===r.toLowerCase()){i=!0,a>0&&rt(24,Re[0].loc.start.offset);for(let c=0;c<=a;c++){const p=Re.shift();en(p,e,c<a)}break}i||rt(23,um(t,60))}},onselfclosingtag(t){const e=Qe.tag;Qe.isSelfClosing=!0,vh(t),Re[0]&&Re[0].tag===e&&en(Re.shift(),t)},onattribname(t,e){Te={type:6,name:Je(t,e),nameLoc:De(t,e),value:void 0,loc:De(t)}},ondirname(t,e){const r=Je(t,e),i=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!ar&&i===""&&rt(26,t),ar||i==="")Te={type:6,name:r,nameLoc:De(t,e),value:void 0,loc:De(t)};else if(Te={type:7,name:i,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[te("prop")]:[],loc:De(t)},i==="pre"){ar=Ne.inVPre=!0,ol=Qe;const a=Qe.props;for(let l=0;l<a.length;l++)a[l].type===7&&(a[l]=AE(a[l]))}},ondirarg(t,e){if(t===e)return;const r=Je(t,e);if(ar&&!al(Te))Te.name+=r,Pr(Te.nameLoc,e);else{const i=r[0]!=="[";Te.arg=tn(i?r:r.slice(1,-1),i,De(t,e),i?3:0)}},ondirmodifier(t,e){const r=Je(t,e);if(ar&&!al(Te))Te.name+="."+r,Pr(Te.nameLoc,e);else if(Te.name==="slot"){const i=Te.arg;i&&(i.content+="."+r,Pr(i.loc,e))}else{const i=te(r,!0,De(t,e));Te.modifiers.push(i)}},onattribdata(t,e){Tt+=Je(t,e),Vt<0&&(Vt=t),Sr=e},onattribentity(t,e,r){Tt+=t,Vt<0&&(Vt=e),Sr=r},onattribnameend(t){const e=Te.loc.start.offset,r=Je(e,t);Te.type===7&&(Te.rawName=r),Qe.props.some(i=>(i.type===7?i.rawName:i.name)===r)&&rt(2,e)},onattribend(t,e){if(Qe&&Te){if(Pr(Te.loc,e),t!==0)if(Te.type===6)Te.name==="class"&&(Tt=pm(Tt).trim()),t===1&&!Tt&&rt(13,e),Te.value={type:2,content:Tt,loc:t===1?De(Vt,Sr):De(Vt-1,Sr+1)},Ne.inSFCRoot&&Qe.tag==="template"&&Te.name==="lang"&&Tt&&Tt!=="html"&&Ne.enterRCDATA(yn("</template"),0);else{let r=0;Te.name==="for"?r=3:Te.name==="slot"?r=1:Te.name==="on"&&Tt.includes(";")&&(r=2),Te.exp=tn(Tt,!1,De(Vt,Sr),0,r),Te.name==="for"&&(Te.forParseResult=gE(Te.exp))}(Te.type!==7||Te.name!=="pre")&&Qe.props.push(Te)}Tt="",Vt=Sr=-1},oncomment(t,e){Ie.comments&&ll({type:3,content:Je(t,e),loc:De(t-4,e+3)})},onend(){const t=Xt.length;if(Ne.state!==1)switch(Ne.state){case 5:case 8:rt(5,t);break;case 3:case 4:rt(25,Ne.sectionStart);break;case 28:Ne.currentSequence===We.CdataEnd?rt(6,t):rt(7,t);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:rt(9,t);break}for(let e=0;e<Re.length;e++)en(Re[e],t-1),rt(24,Re[e].loc.start.offset)},oncdata(t,e){Re[0].ns!==0?Si(Je(t,e),t,e):rt(1,t-9)},onprocessinginstruction(t){(Re[0]?Re[0].ns:Ie.ns)===0&&rt(21,t-1)}}),gh=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,yE=/^\(|\)$/g;function gE(t){const e=t.loc,r=t.content,i=r.match(lm);if(!i)return;const[,a,l]=i,c=(m,y,g=!1)=>{const w=e.start.offset+y,S=w+m.length;return tn(m,!1,De(w,S),0,g?1:0)},p={source:c(l.trim(),r.indexOf(l,a.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=a.trim().replace(yE,"").trim();const f=a.indexOf(u),d=u.match(gh);if(d){u=u.replace(gh,"").trim();const m=d[1].trim();let y;if(m&&(y=r.indexOf(m,f+u.length),p.key=c(m,y,!0)),d[2]){const g=d[2].trim();g&&(p.index=c(g,r.indexOf(g,p.key?y+m.length:f+u.length),!0))}}return u&&(p.value=c(u,f,!0)),p}function Je(t,e){return Xt.slice(t,e)}function vh(t){Ne.inSFCRoot&&(Qe.innerLoc=De(t+1,t+1)),ll(Qe);const{tag:e,ns:r}=Qe;r===0&&Ie.isPreTag(e)&&Ql++,Ie.isVoidTag(e)?en(Qe,t):(Re.unshift(Qe),(r===1||r===2)&&(Ne.inXML=!0)),Qe=null}function Si(t,e,r){const i=Re[0]||gn,a=i.children[i.children.length-1];a&&a.type===2?(a.content+=t,Pr(a.loc,r)):i.children.push({type:2,content:t,loc:De(e,r)})}function en(t,e,r=!1){r?Pr(t.loc,um(e,60)):Pr(t.loc,vE(e,62)+1),Ne.inSFCRoot&&(t.children.length?t.innerLoc.end=Bt({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Bt({},t.innerLoc.start),t.innerLoc.source=Je(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:a,children:l}=t;if(ar||(i==="slot"?t.tagType=2:EE(t)?t.tagType=3:TE(t)&&(t.tagType=1)),Ne.inRCDATA||(t.children=hm(l)),a===0&&Ie.isIgnoreNewlineTag(i)){const c=l[0];c&&c.type===2&&(c.content=c.content.replace(/^\r?\n/,""))}a===0&&Ie.isPreTag(i)&&Ql--,ol===t&&(ar=Ne.inVPre=!1,ol=null),Ne.inXML&&(Re[0]?Re[0].ns:Ie.ns)===0&&(Ne.inXML=!1)}function vE(t,e){let r=t;for(;Xt.charCodeAt(r)!==e&&r<Xt.length-1;)r++;return r}function um(t,e){let r=t;for(;Xt.charCodeAt(r)!==e&&r>=0;)r--;return r}const SE=new Set(["if","else","else-if","for","slot"]);function EE({tag:t,props:e}){if(t==="template"){for(let r=0;r<e.length;r++)if(e[r].type===7&&SE.has(e[r].name))return!0}return!1}function TE({tag:t,props:e}){if(Ie.isCustomElement(t))return!1;if(t==="component"||wE(t.charCodeAt(0))||Xl(t)||Ie.isBuiltInComponent&&Ie.isBuiltInComponent(t)||Ie.isNativeTag&&!Ie.isNativeTag(t))return!0;for(let r=0;r<e.length;r++){const i=e[r];if(i.type===6&&i.name==="is"&&i.value&&i.value.content.startsWith("vue:"))return!0}return!1}function wE(t){return t>64&&t<91}const PE=/\r\n/g;function hm(t){const e=Ie.whitespace!=="preserve";let r=!1;for(let i=0;i<t.length;i++){const a=t[i];if(a.type===2)if(Ql)a.content=a.content.replace(PE,`
16
- `);else if(bE(a.content)){const l=t[i-1]&&t[i-1].type,c=t[i+1]&&t[i+1].type;!l||!c||e&&(l===3&&(c===3||c===1)||l===1&&(c===3||c===1&&xE(a.content)))?(r=!0,t[i]=null):a.content=" "}else e&&(a.content=pm(a.content))}return r?t.filter(Boolean):t}function bE(t){for(let e=0;e<t.length;e++)if(!gt(t.charCodeAt(e)))return!1;return!0}function xE(t){for(let e=0;e<t.length;e++){const r=t.charCodeAt(e);if(r===10||r===13)return!0}return!1}function pm(t){let e="",r=!1;for(let i=0;i<t.length;i++)gt(t.charCodeAt(i))?r||(e+=" ",r=!0):(e+=t[i],r=!1);return e}function ll(t){(Re[0]||gn).children.push(t)}function De(t,e){return{start:Ne.getPos(t),end:e==null?e:Ne.getPos(e),source:e==null?e:Je(t,e)}}function _E(t){return De(t.start.offset,t.end.offset)}function Pr(t,e){t.end=Ne.getPos(e),t.source=Je(t.start.offset,e)}function AE(t){const e={type:6,name:t.rawName,nameLoc:De(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const r=t.exp.loc;r.end.offset<t.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),e.value={type:2,content:t.exp.content,loc:r}}return e}function tn(t,e=!1,r,i=0,a=0){const l=te(t,e,r,i);if(!e&&Ie.prefixIdentifiers&&a!==3&&t.trim()){if(Kt(t))return l.ast=null,l;try{const c=Ie.expressionPlugins,p={plugins:c?[...c,"typescript"]:["typescript"]};a===2?l.ast=It.parse(` ${t} `,p).program:a===1?l.ast=It.parseExpression(`(${t})=>{}`,p):l.ast=It.parseExpression(`(${t})`,p)}catch(c){l.ast=!1,rt(45,r.start.offset,c.message)}}return l}function rt(t,e,r){Ie.onError(Pe(t,De(e,e),void 0,r))}function CE(){Ne.reset(),Qe=null,Te=null,Tt="",Vt=-1,Sr=-1,Re.length=0}function ia(t,e){if(CE(),Xt=t,Ie=Bt({},cm),e){let a;for(a in e)e[a]!=null&&(Ie[a]=e[a])}Ie.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),Ne.mode=Ie.parseMode==="html"?1:Ie.parseMode==="sfc"?2:0,Ne.inXML=Ie.ns===1||Ie.ns===2;const r=e&&e.delimiters;r&&(Ne.delimiterOpen=yn(r[0]),Ne.delimiterClose=yn(r[1]));const i=gn=Rr([],t);return Ne.parse(Xt),i.loc=De(0,t.length),i.children=hm(i.children),gn=null,i}function IE(t,e){rn(t,void 0,e,!!fm(t))}function fm(t){const e=t.children.filter(r=>r.type!==3);return e.length===1&&e[0].type===1&&!ls(e[0])?e[0]:null}function rn(t,e,r,i=!1,a=!1){const{children:l}=t,c=[];for(let m=0;m<l.length;m++){const y=l[m];if(y.type===1&&y.tagType===0){const g=i?0:ut(y,r);if(g>0){if(g>=2){y.codegenNode.patchFlag=-1,c.push(y);continue}}else{const w=y.codegenNode;if(w.type===13){const S=w.patchFlag;if((S===void 0||S===512||S===1)&&mm(y,r)>=2){const T=ym(y);T&&(w.props=r.hoist(T))}w.dynamicProps&&(w.dynamicProps=r.hoist(w.dynamicProps))}}}else if(y.type===12&&(i?0:ut(y,r))>=2){y.codegenNode.type===14&&y.codegenNode.arguments.length>0&&y.codegenNode.arguments.push(`-1 /* ${Ls[-1]} */`),c.push(y);continue}if(y.type===1){const g=y.tagType===1;g&&r.scopes.vSlot++,rn(y,t,r,!1,a),g&&r.scopes.vSlot--}else if(y.type===11)rn(y,t,r,y.children.length===1,!0);else if(y.type===9)for(let g=0;g<y.branches.length;g++)rn(y.branches[g],t,r,y.branches[g].children.length===1,a)}let p=!1;const u=[];if(c.length===l.length&&t.type===1){if(t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&$e(t.codegenNode.children))t.codegenNode.children=f(Ht(t.codegenNode.children)),p=!0;else if(t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!$e(t.codegenNode.children)&&t.codegenNode.children.type===15){const m=d(t.codegenNode,"default");m&&(u.push(r.cached.length),m.returns=f(Ht(m.returns)),p=!0)}else if(t.tagType===3&&e&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!$e(e.codegenNode.children)&&e.codegenNode.children.type===15){const m=Fe(t,"slot",!0),y=m&&m.arg&&d(e.codegenNode,m.arg);y&&(u.push(r.cached.length),y.returns=f(Ht(y.returns)),p=!0)}}if(!p)for(const m of c)u.push(r.cached.length),m.codegenNode=r.cache(m.codegenNode);u.length&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!$e(t.codegenNode.children)&&t.codegenNode.children.type===15&&t.codegenNode.children.properties.push(xe("__",te(JSON.stringify(u),!1)));function f(m){const y=r.cache(m);return a&&r.hmr&&(y.needArraySpread=!0),y}function d(m,y){if(m.children&&!$e(m.children)&&m.children.type===15){const g=m.children.properties.find(w=>w.key===y||w.key.content===y);return g&&g.value}}c.length&&r.transformHoist&&r.transformHoist(l,r,t)}function ut(t,e){const{constantCache:r}=e;switch(t.type){case 1:if(t.tagType!==0)return 0;const i=r.get(t);if(i!==void 0)return i;const a=t.codegenNode;if(a.type!==13||a.isBlock&&t.tag!=="svg"&&t.tag!=="foreignObject"&&t.tag!=="math")return 0;if(a.patchFlag===void 0){let c=3;const p=mm(t,e);if(p===0)return r.set(t,0),0;p<c&&(c=p);for(let u=0;u<t.children.length;u++){const f=ut(t.children[u],e);if(f===0)return r.set(t,0),0;f<c&&(c=f)}if(c>1)for(let u=0;u<t.props.length;u++){const f=t.props[u];if(f.type===7&&f.name==="bind"&&f.exp){const d=ut(f.exp,e);if(d===0)return r.set(t,0),0;d<c&&(c=d)}}if(a.isBlock){for(let u=0;u<t.props.length;u++)if(t.props[u].type===7)return r.set(t,0),0;e.removeHelper(ur),e.removeHelper(Lr(e.inSSR,a.isComponent)),a.isBlock=!1,e.helper(kr(e.inSSR,a.isComponent))}return r.set(t,c),c}else return r.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ut(t.content,e);case 4:return t.constType;case 8:let l=3;for(let c=0;c<t.children.length;c++){const p=t.children[c];if(Se(p)||pr(p))continue;const u=ut(p,e);if(u===0)return 0;u<l&&(l=u)}return l;case 20:return 2;default:return 0}}const NE=new Set([Wn,Gn,is,ps]);function dm(t,e){if(t.type===14&&!Se(t.callee)&&NE.has(t.callee)){const r=t.arguments[0];if(r.type===4)return ut(r,e);if(r.type===14)return dm(r,e)}return 0}function mm(t,e){let r=3;const i=ym(t);if(i&&i.type===15){const{properties:a}=i;for(let l=0;l<a.length;l++){const{key:c,value:p}=a[l],u=ut(c,e);if(u===0)return u;u<r&&(r=u);let f;if(p.type===4?f=ut(p,e):p.type===14?f=dm(p,e):f=0,f===0)return f;f<r&&(r=f)}}return r}function ym(t){const e=t.codegenNode;if(e.type===13)return e.props}function ai(t,{filename:e="",prefixIdentifiers:r=!1,hoistStatic:i=!1,hmr:a=!1,cacheHandlers:l=!1,nodeTransforms:c=[],directiveTransforms:p={},transformHoist:u=null,isBuiltInComponent:f=Ua,isCustomElement:d=Ua,expressionPlugins:m=[],scopeId:y=null,slotted:g=!0,ssr:w=!1,inSSR:S=!1,ssrCssVars:T="",bindingMetadata:E=nS,inline:x=!1,isTS:A=!1,onError:N=Vl,onWarn:_=Yd,compatConfig:M}){const D=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),O={filename:e,selfName:D&&cr(lt(D[1])),prefixIdentifiers:r,hoistStatic:i,hmr:a,cacheHandlers:l,nodeTransforms:c,directiveTransforms:p,transformHoist:u,isBuiltInComponent:f,isCustomElement:d,expressionPlugins:m,scopeId:y,slotted:g,ssr:w,inSSR:S,ssrCssVars:T,bindingMetadata:E,inline:x,isTS:A,onError:N,onWarn:_,compatConfig:M,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(L){const V=O.helpers.get(L)||0;return O.helpers.set(L,V+1),L},removeHelper(L){const V=O.helpers.get(L);if(V){const K=V-1;K?O.helpers.set(L,K):O.helpers.delete(L)}},helperString(L){return`_${ot[O.helper(L)]}`},replaceNode(L){{if(!O.currentNode)throw new Error("Node being replaced is already removed.");if(!O.parent)throw new Error("Cannot replace root node.")}O.parent.children[O.childIndex]=O.currentNode=L},removeNode(L){if(!O.parent)throw new Error("Cannot remove root node.");const V=O.parent.children,K=L?V.indexOf(L):O.currentNode?O.childIndex:-1;if(K<0)throw new Error("node being removed is not a child of current parent");!L||L===O.currentNode?(O.currentNode=null,O.onNodeRemoved()):O.childIndex>K&&(O.childIndex--,O.onNodeRemoved()),O.parent.children.splice(K,1)},onNodeRemoved:Ua,addIdentifiers(L){Se(L)?I(L):L.identifiers?L.identifiers.forEach(I):L.type===4&&I(L.content)},removeIdentifiers(L){Se(L)?k(L):L.identifiers?L.identifiers.forEach(k):L.type===4&&k(L.content)},hoist(L){Se(L)&&(L=te(L)),O.hoists.push(L);const V=te(`_hoisted_${O.hoists.length}`,!1,L.loc,2);return V.hoisted=L,V},cache(L,V=!1,K=!1){const re=zd(O.cached.length,L,V,K);return O.cached.push(re),re}};function I(L){const{identifiers:V}=O;V[L]===void 0&&(V[L]=0),V[L]++}function k(L){O.identifiers[L]--}return O}function Zl(t,e){const r=ai(t,e);fs(t,r),e.hoistStatic&&IE(t,r),e.ssr||OE(t,r),t.helpers=new Set([...r.helpers.keys()]),t.components=[...r.components],t.directives=[...r.directives],t.imports=r.imports,t.hoists=r.hoists,t.temps=r.temps,t.cached=r.cached,t.transformed=!0}function OE(t,e){const{helper:r}=e,{children:i}=t;if(i.length===1){const a=fm(t);if(a&&a.codegenNode){const l=a.codegenNode;l.type===13&&Kn(l,e),t.codegenNode=l}else t.codegenNode=i[0]}else if(i.length>1){let a=64;i.filter(l=>l.type!==3).length===1&&(a|=2048),t.codegenNode=as(e,r(ss),void 0,t.children,a,void 0,void 0,!0,void 0,!1)}}function kE(t,e){let r=0;const i=()=>{r--};for(;r<t.children.length;r++){const a=t.children[r];Se(a)||(e.grandParent=e.parent,e.parent=t,e.childIndex=r,e.onNodeRemoved=i,fs(a,e))}}function fs(t,e){e.currentNode=t;const{nodeTransforms:r}=e,i=[];for(let l=0;l<r.length;l++){const c=r[l](t,e);if(c&&($e(c)?i.push(...c):i.push(c)),e.currentNode)t=e.currentNode;else return}switch(t.type){case 3:e.ssr||e.helper(hs);break;case 5:e.ssr||e.helper(ii);break;case 9:for(let l=0;l<t.branches.length;l++)fs(t.branches[l],e);break;case 10:case 11:case 1:case 0:kE(t,e);break}e.currentNode=t;let a=i.length;for(;a--;)i[a]()}function oi(t,e){const r=Se(t)?i=>i===t:i=>t.test(i);return(i,a)=>{if(i.type===1){const{props:l}=i;if(i.tagType===3&&l.some(Yl))return;const c=[];for(let p=0;p<l.length;p++){const u=l[p];if(u.type===7&&r(u.name)){l.splice(p,1),p--;const f=e(i,u,a);f&&c.push(f)}}return c}}}var Ps={},za={},Ei={},Ti={},Sh;function LE(){if(Sh)return Ti;Sh=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ti.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},Ti.decode=function(e){var r=65,i=90,a=97,l=122,c=48,p=57,u=43,f=47,d=26,m=52;return r<=e&&e<=i?e-r:a<=e&&e<=l?e-a+d:c<=e&&e<=p?e-c+m:e==u?62:e==f?63:-1},Ti}var Eh;function gm(){if(Eh)return Ei;Eh=1;var t=LE(),e=5,r=1<<e,i=r-1,a=r;function l(p){return p<0?(-p<<1)+1:(p<<1)+0}function c(p){var u=(p&1)===1,f=p>>1;return u?-f:f}return Ei.encode=function(u){var f="",d,m=l(u);do d=m&i,m>>>=e,m>0&&(d|=a),f+=t.encode(d);while(m>0);return f},Ei.decode=function(u,f,d){var m=u.length,y=0,g=0,w,S;do{if(f>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(S=t.decode(u.charCodeAt(f++)),S===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));w=!!(S&a),S&=i,y=y+(S<<g),g+=e}while(w);d.value=c(y),d.rest=f},Ei}var Wa={},Th;function li(){return Th||(Th=1,function(t){function e(O,I,k){if(I in O)return O[I];if(arguments.length===3)return k;throw new Error('"'+I+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function a(O){var I=O.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}t.urlParse=a;function l(O){var I="";return O.scheme&&(I+=O.scheme+":"),I+="//",O.auth&&(I+=O.auth+"@"),O.host&&(I+=O.host),O.port&&(I+=":"+O.port),O.path&&(I+=O.path),I}t.urlGenerate=l;var c=32;function p(O){var I=[];return function(k){for(var L=0;L<I.length;L++)if(I[L].input===k){var V=I[0];return I[0]=I[L],I[L]=V,I[0].result}var K=O(k);return I.unshift({input:k,result:K}),I.length>c&&I.pop(),K}}var u=p(function(I){var k=I,L=a(I);if(L){if(!L.path)return I;k=L.path}for(var V=t.isAbsolute(k),K=[],re=0,z=0;;)if(re=z,z=k.indexOf("/",re),z===-1){K.push(k.slice(re));break}else for(K.push(k.slice(re,z));z<k.length&&k[z]==="/";)z++;for(var se,he=0,z=K.length-1;z>=0;z--)se=K[z],se==="."?K.splice(z,1):se===".."?he++:he>0&&(se===""?(K.splice(z+1,he),he=0):(K.splice(z,2),he--));return k=K.join("/"),k===""&&(k=V?"/":"."),L?(L.path=k,l(L)):k});t.normalize=u;function f(O,I){O===""&&(O="."),I===""&&(I=".");var k=a(I),L=a(O);if(L&&(O=L.path||"/"),k&&!k.scheme)return L&&(k.scheme=L.scheme),l(k);if(k||I.match(i))return I;if(L&&!L.host&&!L.path)return L.host=I,l(L);var V=I.charAt(0)==="/"?I:u(O.replace(/\/+$/,"")+"/"+I);return L?(L.path=V,l(L)):V}t.join=f,t.isAbsolute=function(O){return O.charAt(0)==="/"||r.test(O)};function d(O,I){O===""&&(O="."),O=O.replace(/\/$/,"");for(var k=0;I.indexOf(O+"/")!==0;){var L=O.lastIndexOf("/");if(L<0||(O=O.slice(0,L),O.match(/^([^\/]+:\/)?\/*$/)))return I;++k}return Array(k+1).join("../")+I.substr(O.length+1)}t.relative=d;var m=function(){var O=Object.create(null);return!("__proto__"in O)}();function y(O){return O}function g(O){return S(O)?"$"+O:O}t.toSetString=m?y:g;function w(O){return S(O)?O.slice(1):O}t.fromSetString=m?y:w;function S(O){if(!O)return!1;var I=O.length;if(I<9||O.charCodeAt(I-1)!==95||O.charCodeAt(I-2)!==95||O.charCodeAt(I-3)!==111||O.charCodeAt(I-4)!==116||O.charCodeAt(I-5)!==111||O.charCodeAt(I-6)!==114||O.charCodeAt(I-7)!==112||O.charCodeAt(I-8)!==95||O.charCodeAt(I-9)!==95)return!1;for(var k=I-10;k>=0;k--)if(O.charCodeAt(k)!==36)return!1;return!0}function T(O,I,k){var L=N(O.source,I.source);return L!==0||(L=O.originalLine-I.originalLine,L!==0)||(L=O.originalColumn-I.originalColumn,L!==0||k)||(L=O.generatedColumn-I.generatedColumn,L!==0)||(L=O.generatedLine-I.generatedLine,L!==0)?L:N(O.name,I.name)}t.compareByOriginalPositions=T;function E(O,I,k){var L;return L=O.originalLine-I.originalLine,L!==0||(L=O.originalColumn-I.originalColumn,L!==0||k)||(L=O.generatedColumn-I.generatedColumn,L!==0)||(L=O.generatedLine-I.generatedLine,L!==0)?L:N(O.name,I.name)}t.compareByOriginalPositionsNoSource=E;function x(O,I,k){var L=O.generatedLine-I.generatedLine;return L!==0||(L=O.generatedColumn-I.generatedColumn,L!==0||k)||(L=N(O.source,I.source),L!==0)||(L=O.originalLine-I.originalLine,L!==0)||(L=O.originalColumn-I.originalColumn,L!==0)?L:N(O.name,I.name)}t.compareByGeneratedPositionsDeflated=x;function A(O,I,k){var L=O.generatedColumn-I.generatedColumn;return L!==0||k||(L=N(O.source,I.source),L!==0)||(L=O.originalLine-I.originalLine,L!==0)||(L=O.originalColumn-I.originalColumn,L!==0)?L:N(O.name,I.name)}t.compareByGeneratedPositionsDeflatedNoLine=A;function N(O,I){return O===I?0:O===null?1:I===null?-1:O>I?1:-1}function _(O,I){var k=O.generatedLine-I.generatedLine;return k!==0||(k=O.generatedColumn-I.generatedColumn,k!==0)||(k=N(O.source,I.source),k!==0)||(k=O.originalLine-I.originalLine,k!==0)||(k=O.originalColumn-I.originalColumn,k!==0)?k:N(O.name,I.name)}t.compareByGeneratedPositionsInflated=_;function M(O){return JSON.parse(O.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=M;function D(O,I,k){if(I=I||"",O&&(O[O.length-1]!=="/"&&I[0]!=="/"&&(O+="/"),I=O+I),k){var L=a(k);if(!L)throw new Error("sourceMapURL could not be parsed");if(L.path){var V=L.path.lastIndexOf("/");V>=0&&(L.path=L.path.substring(0,V+1))}I=f(l(L),I)}return u(I)}t.computeSourceURL=D}(Wa)),Wa}var Ga={},wh;function vm(){if(wh)return Ga;wh=1;var t=li(),e=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(l,c){for(var p=new i,u=0,f=l.length;u<f;u++)p.add(l[u],c);return p},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(l,c){var p=r?l:t.toSetString(l),u=r?this.has(l):e.call(this._set,p),f=this._array.length;(!u||c)&&this._array.push(l),u||(r?this._set.set(l,f):this._set[p]=f)},i.prototype.has=function(l){if(r)return this._set.has(l);var c=t.toSetString(l);return e.call(this._set,c)},i.prototype.indexOf=function(l){if(r){var c=this._set.get(l);if(c>=0)return c}else{var p=t.toSetString(l);if(e.call(this._set,p))return this._set[p]}throw new Error('"'+l+'" is not in the set.')},i.prototype.at=function(l){if(l>=0&&l<this._array.length)return this._array[l];throw new Error("No element indexed by "+l)},i.prototype.toArray=function(){return this._array.slice()},Ga.ArraySet=i,Ga}var Ha={},Ph;function ME(){if(Ph)return Ha;Ph=1;var t=li();function e(i,a){var l=i.generatedLine,c=a.generatedLine,p=i.generatedColumn,u=a.generatedColumn;return c>l||c==l&&u>=p||t.compareByGeneratedPositionsInflated(i,a)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(a,l){this._array.forEach(a,l)},r.prototype.add=function(a){e(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Ha.MappingList=r,Ha}var bh;function Sm(){if(bh)return za;bh=1;var t=gm(),e=li(),r=vm().ArraySet,i=ME().MappingList;function a(l){l||(l={}),this._file=e.getArg(l,"file",null),this._sourceRoot=e.getArg(l,"sourceRoot",null),this._skipValidation=e.getArg(l,"skipValidation",!1),this._ignoreInvalidMapping=e.getArg(l,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(c,p){var u=c.sourceRoot,f=new a(Object.assign(p||{},{file:c.file,sourceRoot:u}));return c.eachMapping(function(d){var m={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(m.source=d.source,u!=null&&(m.source=e.relative(u,m.source)),m.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(m.name=d.name)),f.addMapping(m)}),c.sources.forEach(function(d){var m=d;u!==null&&(m=e.relative(u,d)),f._sources.has(m)||f._sources.add(m);var y=c.sourceContentFor(d);y!=null&&f.setSourceContent(d,y)}),f},a.prototype.addMapping=function(c){var p=e.getArg(c,"generated"),u=e.getArg(c,"original",null),f=e.getArg(c,"source",null),d=e.getArg(c,"name",null);!this._skipValidation&&this._validateMapping(p,u,f,d)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:d}))},a.prototype.setSourceContent=function(c,p){var u=c;this._sourceRoot!=null&&(u=e.relative(this._sourceRoot,u)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(u)]=p):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(c,p,u){var f=p;if(p==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=c.file}var d=this._sourceRoot;d!=null&&(f=e.relative(d,f));var m=new r,y=new r;this._mappings.unsortedForEach(function(g){if(g.source===f&&g.originalLine!=null){var w=c.originalPositionFor({line:g.originalLine,column:g.originalColumn});w.source!=null&&(g.source=w.source,u!=null&&(g.source=e.join(u,g.source)),d!=null&&(g.source=e.relative(d,g.source)),g.originalLine=w.line,g.originalColumn=w.column,w.name!=null&&(g.name=w.name))}var S=g.source;S!=null&&!m.has(S)&&m.add(S);var T=g.name;T!=null&&!y.has(T)&&y.add(T)},this),this._sources=m,this._names=y,c.sources.forEach(function(g){var w=c.sourceContentFor(g);w!=null&&(u!=null&&(g=e.join(u,g)),d!=null&&(g=e.relative(d,g)),this.setSourceContent(g,w))},this)},a.prototype._validateMapping=function(c,p,u,f){if(p&&typeof p.line!="number"&&typeof p.column!="number"){var d="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!p&&!u&&!f)){if(c&&"line"in c&&"column"in c&&p&&"line"in p&&"column"in p&&c.line>0&&c.column>=0&&p.line>0&&p.column>=0&&u)return;var d="Invalid mapping: "+JSON.stringify({generated:c,source:u,original:p,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}},a.prototype._serializeMappings=function(){for(var c=0,p=1,u=0,f=0,d=0,m=0,y="",g,w,S,T,E=this._mappings.toArray(),x=0,A=E.length;x<A;x++){if(w=E[x],g="",w.generatedLine!==p)for(c=0;w.generatedLine!==p;)g+=";",p++;else if(x>0){if(!e.compareByGeneratedPositionsInflated(w,E[x-1]))continue;g+=","}g+=t.encode(w.generatedColumn-c),c=w.generatedColumn,w.source!=null&&(T=this._sources.indexOf(w.source),g+=t.encode(T-m),m=T,g+=t.encode(w.originalLine-1-f),f=w.originalLine-1,g+=t.encode(w.originalColumn-u),u=w.originalColumn,w.name!=null&&(S=this._names.indexOf(w.name),g+=t.encode(S-d),d=S)),y+=g}return y},a.prototype._generateSourcesContent=function(c,p){return c.map(function(u){if(!this._sourcesContents)return null;p!=null&&(u=e.relative(p,u));var f=e.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},a.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},za.SourceMapGenerator=a,za}var bs={},Xa={},xh;function RE(){return xh||(xh=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,a,l,c,p){var u=Math.floor((i-r)/2)+r,f=c(a,l[u],!0);return f===0?u:f>0?i-u>1?e(u,i,a,l,c,p):p==t.LEAST_UPPER_BOUND?i<l.length?i:-1:u:u-r>1?e(r,u,a,l,c,p):p==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(i,a,l,c){if(a.length===0)return-1;var p=e(-1,a.length,i,a,l,c||t.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&l(a[p],a[p-1],!0)===0;)--p;return p}}(Xa)),Xa}var Ja={},_h;function DE(){if(_h)return Ja;_h=1;function t(i){function a(p,u,f){var d=p[u];p[u]=p[f],p[f]=d}function l(p,u){return Math.round(p+Math.random()*(u-p))}function c(p,u,f,d){if(f<d){var m=l(f,d),y=f-1;a(p,m,d);for(var g=p[d],w=f;w<d;w++)u(p[w],g,!1)<=0&&(y+=1,a(p,y,w));a(p,y+1,w);var S=y+1;c(p,u,f,S-1),c(p,u,S+1,d)}}return c}function e(i){let a=t.toString();return new Function(`return ${a}`)()(i)}let r=new WeakMap;return Ja.quickSort=function(i,a,l=0){let c=r.get(a);c===void 0&&(c=e(a),r.set(a,c)),c(i,a,l,i.length-1)},Ja}var Ah;function FE(){if(Ah)return bs;Ah=1;var t=li(),e=RE(),r=vm().ArraySet,i=gm(),a=DE().quickSort;function l(m,y){var g=m;return typeof m=="string"&&(g=t.parseSourceMapInput(m)),g.sections!=null?new d(g,y):new c(g,y)}l.fromSourceMap=function(m,y){return c.fromSourceMap(m,y)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(y,g){var w=y.charAt(g);return w===";"||w===","},l.prototype._parseMappings=function(y,g){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(y,g,w){var S=g||null,T=w||l.GENERATED_ORDER,E;switch(T){case l.GENERATED_ORDER:E=this._generatedMappings;break;case l.ORIGINAL_ORDER:E=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var x=this.sourceRoot,A=y.bind(S),N=this._names,_=this._sources,M=this._sourceMapURL,D=0,O=E.length;D<O;D++){var I=E[D],k=I.source===null?null:_.at(I.source);k!==null&&(k=t.computeSourceURL(x,k,M)),A({source:k,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:N.at(I.name)})}},l.prototype.allGeneratedPositionsFor=function(y){var g=t.getArg(y,"line"),w={source:t.getArg(y,"source"),originalLine:g,originalColumn:t.getArg(y,"column",0)};if(w.source=this._findSourceIndex(w.source),w.source<0)return[];var S=[],T=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(T>=0){var E=this._originalMappings[T];if(y.column===void 0)for(var x=E.originalLine;E&&E.originalLine===x;)S.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++T];else for(var A=E.originalColumn;E&&E.originalLine===g&&E.originalColumn==A;)S.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++T]}return S},bs.SourceMapConsumer=l;function c(m,y){var g=m;typeof m=="string"&&(g=t.parseSourceMapInput(m));var w=t.getArg(g,"version"),S=t.getArg(g,"sources"),T=t.getArg(g,"names",[]),E=t.getArg(g,"sourceRoot",null),x=t.getArg(g,"sourcesContent",null),A=t.getArg(g,"mappings"),N=t.getArg(g,"file",null);if(w!=this._version)throw new Error("Unsupported version: "+w);E&&(E=t.normalize(E)),S=S.map(String).map(t.normalize).map(function(_){return E&&t.isAbsolute(E)&&t.isAbsolute(_)?t.relative(E,_):_}),this._names=r.fromArray(T.map(String),!0),this._sources=r.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(E,_,y)}),this.sourceRoot=E,this.sourcesContent=x,this._mappings=A,this._sourceMapURL=y,this.file=N}c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(m){var y=m;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var g;for(g=0;g<this._absoluteSources.length;++g)if(this._absoluteSources[g]==m)return g;return-1},c.fromSourceMap=function(y,g){var w=Object.create(c.prototype),S=w._names=r.fromArray(y._names.toArray(),!0),T=w._sources=r.fromArray(y._sources.toArray(),!0);w.sourceRoot=y._sourceRoot,w.sourcesContent=y._generateSourcesContent(w._sources.toArray(),w.sourceRoot),w.file=y._file,w._sourceMapURL=g,w._absoluteSources=w._sources.toArray().map(function(O){return t.computeSourceURL(w.sourceRoot,O,g)});for(var E=y._mappings.toArray().slice(),x=w.__generatedMappings=[],A=w.__originalMappings=[],N=0,_=E.length;N<_;N++){var M=E[N],D=new p;D.generatedLine=M.generatedLine,D.generatedColumn=M.generatedColumn,M.source&&(D.source=T.indexOf(M.source),D.originalLine=M.originalLine,D.originalColumn=M.originalColumn,M.name&&(D.name=S.indexOf(M.name)),A.push(D)),x.push(D)}return a(w.__originalMappings,t.compareByOriginalPositions),w},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const u=t.compareByGeneratedPositionsDeflatedNoLine;function f(m,y){let g=m.length,w=m.length-y;if(!(w<=1))if(w==2){let S=m[y],T=m[y+1];u(S,T)>0&&(m[y]=T,m[y+1]=S)}else if(w<20)for(let S=y;S<g;S++)for(let T=S;T>y;T--){let E=m[T-1],x=m[T];if(u(E,x)<=0)break;m[T-1]=x,m[T]=E}else a(m,u,y)}c.prototype._parseMappings=function(y,g){var w=1,S=0,T=0,E=0,x=0,A=0,N=y.length,_=0,M={},D=[],O=[],I,k,L,V;let K=0;for(;_<N;)if(y.charAt(_)===";")w++,_++,S=0,f(O,K),K=O.length;else if(y.charAt(_)===",")_++;else{for(I=new p,I.generatedLine=w,L=_;L<N&&!this._charIsMappingSeparator(y,L);L++);for(y.slice(_,L),k=[];_<L;)i.decode(y,_,M),V=M.value,_=M.rest,k.push(V);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=S+k[0],S=I.generatedColumn,k.length>1&&(I.source=x+k[1],x+=k[1],I.originalLine=T+k[2],T=I.originalLine,I.originalLine+=1,I.originalColumn=E+k[3],E=I.originalColumn,k.length>4&&(I.name=A+k[4],A+=k[4])),O.push(I),typeof I.originalLine=="number"){let z=I.source;for(;D.length<=z;)D.push(null);D[z]===null&&(D[z]=[]),D[z].push(I)}}f(O,K),this.__generatedMappings=O;for(var re=0;re<D.length;re++)D[re]!=null&&a(D[re],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...D)},c.prototype._findMapping=function(y,g,w,S,T,E){if(y[w]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[w]);if(y[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[S]);return e.search(y,g,T,E)},c.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var g=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var w=this._generatedMappings[y+1];if(g.generatedLine===w.generatedLine){g.lastGeneratedColumn=w.generatedColumn-1;continue}}g.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(y){var g={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},w=this._findMapping(g,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(y,"bias",l.GREATEST_LOWER_BOUND));if(w>=0){var S=this._generatedMappings[w];if(S.generatedLine===g.generatedLine){var T=t.getArg(S,"source",null);T!==null&&(T=this._sources.at(T),T=t.computeSourceURL(this.sourceRoot,T,this._sourceMapURL));var E=t.getArg(S,"name",null);return E!==null&&(E=this._names.at(E)),{source:T,line:t.getArg(S,"originalLine",null),column:t.getArg(S,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return y==null}):!1},c.prototype.sourceContentFor=function(y,g){if(!this.sourcesContent)return null;var w=this._findSourceIndex(y);if(w>=0)return this.sourcesContent[w];var S=y;this.sourceRoot!=null&&(S=t.relative(this.sourceRoot,S));var T;if(this.sourceRoot!=null&&(T=t.urlParse(this.sourceRoot))){var E=S.replace(/^file:\/\//,"");if(T.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!T.path||T.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(g)return null;throw new Error('"'+S+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(y){var g=t.getArg(y,"source");if(g=this._findSourceIndex(g),g<0)return{line:null,column:null,lastColumn:null};var w={source:g,originalLine:t.getArg(y,"line"),originalColumn:t.getArg(y,"column")},S=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(y,"bias",l.GREATEST_LOWER_BOUND));if(S>=0){var T=this._originalMappings[S];if(T.source===w.source)return{line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},bs.BasicSourceMapConsumer=c;function d(m,y){var g=m;typeof m=="string"&&(g=t.parseSourceMapInput(m));var w=t.getArg(g,"version"),S=t.getArg(g,"sections");if(w!=this._version)throw new Error("Unsupported version: "+w);this._sources=new r,this._names=new r;var T={line:-1,column:0};this._sections=S.map(function(E){if(E.url)throw new Error("Support for url field in sections not implemented.");var x=t.getArg(E,"offset"),A=t.getArg(x,"line"),N=t.getArg(x,"column");if(A<T.line||A===T.line&&N<T.column)throw new Error("Section offsets must be ordered and non-overlapping.");return T=x,{generatedOffset:{generatedLine:A+1,generatedColumn:N+1},consumer:new l(t.getArg(E,"map"),y)}})}return d.prototype=Object.create(l.prototype),d.prototype.constructor=l,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var m=[],y=0;y<this._sections.length;y++)for(var g=0;g<this._sections[y].consumer.sources.length;g++)m.push(this._sections[y].consumer.sources[g]);return m}}),d.prototype.originalPositionFor=function(y){var g={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},w=e.search(g,this._sections,function(T,E){var x=T.generatedLine-E.generatedOffset.generatedLine;return x||T.generatedColumn-E.generatedOffset.generatedColumn}),S=this._sections[w];return S?S.consumer.originalPositionFor({line:g.generatedLine-(S.generatedOffset.generatedLine-1),column:g.generatedColumn-(S.generatedOffset.generatedLine===g.generatedLine?S.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},d.prototype.sourceContentFor=function(y,g){for(var w=0;w<this._sections.length;w++){var S=this._sections[w],T=S.consumer.sourceContentFor(y,!0);if(T||T==="")return T}if(g)return null;throw new Error('"'+y+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(y){for(var g=0;g<this._sections.length;g++){var w=this._sections[g];if(w.consumer._findSourceIndex(t.getArg(y,"source"))!==-1){var S=w.consumer.generatedPositionFor(y);if(S){var T={line:S.line+(w.generatedOffset.generatedLine-1),column:S.column+(w.generatedOffset.generatedLine===S.line?w.generatedOffset.generatedColumn-1:0)};return T}}}return{line:null,column:null}},d.prototype._parseMappings=function(y,g){this.__generatedMappings=[],this.__originalMappings=[];for(var w=0;w<this._sections.length;w++)for(var S=this._sections[w],T=S.consumer._generatedMappings,E=0;E<T.length;E++){var x=T[E],A=S.consumer._sources.at(x.source);A!==null&&(A=t.computeSourceURL(S.consumer.sourceRoot,A,this._sourceMapURL)),this._sources.add(A),A=this._sources.indexOf(A);var N=null;x.name&&(N=S.consumer._names.at(x.name),this._names.add(N),N=this._names.indexOf(N));var _={source:A,generatedLine:x.generatedLine+(S.generatedOffset.generatedLine-1),generatedColumn:x.generatedColumn+(S.generatedOffset.generatedLine===x.generatedLine?S.generatedOffset.generatedColumn-1:0),originalLine:x.originalLine,originalColumn:x.originalColumn,name:N};this.__generatedMappings.push(_),typeof _.originalLine=="number"&&this.__originalMappings.push(_)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},bs.IndexedSourceMapConsumer=d,bs}var Ka={},Ch;function BE(){if(Ch)return Ka;Ch=1;var t=Sm().SourceMapGenerator,e=li(),r=/(\r?\n)/,i=10,a="$$$isSourceNode$$$";function l(c,p,u,f,d){this.children=[],this.sourceContents={},this.line=c??null,this.column=p??null,this.source=u??null,this.name=d??null,this[a]=!0,f!=null&&this.add(f)}return l.fromStringWithSourceMap=function(p,u,f){var d=new l,m=p.split(r),y=0,g=function(){var x=N(),A=N()||"";return x+A;function N(){return y<m.length?m[y++]:void 0}},w=1,S=0,T=null;return u.eachMapping(function(x){if(T!==null)if(w<x.generatedLine)E(T,g()),w++,S=0;else{var A=m[y]||"",N=A.substr(0,x.generatedColumn-S);m[y]=A.substr(x.generatedColumn-S),S=x.generatedColumn,E(T,N),T=x;return}for(;w<x.generatedLine;)d.add(g()),w++;if(S<x.generatedColumn){var A=m[y]||"";d.add(A.substr(0,x.generatedColumn)),m[y]=A.substr(x.generatedColumn),S=x.generatedColumn}T=x},this),y<m.length&&(T&&E(T,g()),d.add(m.splice(y).join(""))),u.sources.forEach(function(x){var A=u.sourceContentFor(x);A!=null&&(f!=null&&(x=e.join(f,x)),d.setSourceContent(x,A))}),d;function E(x,A){if(x===null||x.source===void 0)d.add(A);else{var N=f?e.join(f,x.source):x.source;d.add(new l(x.originalLine,x.originalColumn,N,A,x.name))}}},l.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(u){this.add(u)},this);else if(p[a]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.prepend=function(p){if(Array.isArray(p))for(var u=p.length-1;u>=0;u--)this.prepend(p[u]);else if(p[a]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.walk=function(p){for(var u,f=0,d=this.children.length;f<d;f++)u=this.children[f],u[a]?u.walk(p):u!==""&&p(u,{source:this.source,line:this.line,column:this.column,name:this.name})},l.prototype.join=function(p){var u,f,d=this.children.length;if(d>0){for(u=[],f=0;f<d-1;f++)u.push(this.children[f]),u.push(p);u.push(this.children[f]),this.children=u}return this},l.prototype.replaceRight=function(p,u){var f=this.children[this.children.length-1];return f[a]?f.replaceRight(p,u):typeof f=="string"?this.children[this.children.length-1]=f.replace(p,u):this.children.push("".replace(p,u)),this},l.prototype.setSourceContent=function(p,u){this.sourceContents[e.toSetString(p)]=u},l.prototype.walkSourceContents=function(p){for(var u=0,f=this.children.length;u<f;u++)this.children[u][a]&&this.children[u].walkSourceContents(p);for(var d=Object.keys(this.sourceContents),u=0,f=d.length;u<f;u++)p(e.fromSetString(d[u]),this.sourceContents[d[u]])},l.prototype.toString=function(){var p="";return this.walk(function(u){p+=u}),p},l.prototype.toStringWithSourceMap=function(p){var u={code:"",line:1,column:0},f=new t(p),d=!1,m=null,y=null,g=null,w=null;return this.walk(function(S,T){u.code+=S,T.source!==null&&T.line!==null&&T.column!==null?((m!==T.source||y!==T.line||g!==T.column||w!==T.name)&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name}),m=T.source,y=T.line,g=T.column,w=T.name,d=!0):d&&(f.addMapping({generated:{line:u.line,column:u.column}}),m=null,d=!1);for(var E=0,x=S.length;E<x;E++)S.charCodeAt(E)===i?(u.line++,u.column=0,E+1===x?(m=null,d=!1):d&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name})):u.column++}),this.walkSourceContents(function(S,T){f.setSourceContent(S,T)}),{code:u.code,map:f}},Ka.SourceNode=l,Ka}var Ih;function na(){return Ih||(Ih=1,Ps.SourceMapGenerator=Sm().SourceMapGenerator,Ps.SourceMapConsumer=FE().SourceMapConsumer,Ps.SourceNode=BE().SourceNode),Ps}var Ar=na();const aa="/*@__PURE__*/",sn=t=>`${ot[t]}: _${ot[t]}`;function Nh(t,{mode:e="function",prefixIdentifiers:r=e==="module",sourceMap:i=!1,filename:a="template.vue.html",scopeId:l=null,optimizeImports:c=!1,runtimeGlobalName:p="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:f="vue/server-renderer",ssr:d=!1,isTS:m=!1,inSSR:y=!1}){const g={mode:e,prefixIdentifiers:r,sourceMap:i,filename:a,scopeId:l,optimizeImports:c,runtimeGlobalName:p,runtimeModuleName:u,ssrRuntimeModuleName:f,ssr:d,isTS:m,inSSR:y,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(T){return`_${ot[T]}`},push(T,E=-2,x){if(g.code+=T,g.map){if(x){let A;if(x.type===4&&!x.isStatic){const N=x.content.replace(/^_ctx\./,"");N!==x.content&&Kt(N)&&(A=N)}x.loc.source&&S(x.loc.start,A)}E===-3?Kl(g,T):(g.offset+=T.length,E===-2?g.column+=T.length:(E===-1&&(E=T.length-1),g.line++,g.column=T.length-E)),x&&x.loc!==Le&&x.loc.source&&S(x.loc.end)}},indent(){w(++g.indentLevel)},deindent(T=!1){T?--g.indentLevel:w(--g.indentLevel)},newline(){w(g.indentLevel)}};function w(T){g.push(`
16
+ `);else if(bE(a.content)){const l=t[i-1]&&t[i-1].type,c=t[i+1]&&t[i+1].type;!l||!c||e&&(l===3&&(c===3||c===1)||l===1&&(c===3||c===1&&xE(a.content)))?(r=!0,t[i]=null):a.content=" "}else e&&(a.content=pm(a.content))}return r?t.filter(Boolean):t}function bE(t){for(let e=0;e<t.length;e++)if(!gt(t.charCodeAt(e)))return!1;return!0}function xE(t){for(let e=0;e<t.length;e++){const r=t.charCodeAt(e);if(r===10||r===13)return!0}return!1}function pm(t){let e="",r=!1;for(let i=0;i<t.length;i++)gt(t.charCodeAt(i))?r||(e+=" ",r=!0):(e+=t[i],r=!1);return e}function ll(t){(Re[0]||gn).children.push(t)}function De(t,e){return{start:Ne.getPos(t),end:e==null?e:Ne.getPos(e),source:e==null?e:Je(t,e)}}function _E(t){return De(t.start.offset,t.end.offset)}function Pr(t,e){t.end=Ne.getPos(e),t.source=Je(t.start.offset,e)}function AE(t){const e={type:6,name:t.rawName,nameLoc:De(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const r=t.exp.loc;r.end.offset<t.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),e.value={type:2,content:t.exp.content,loc:r}}return e}function tn(t,e=!1,r,i=0,a=0){const l=te(t,e,r,i);if(!e&&Ie.prefixIdentifiers&&a!==3&&t.trim()){if(Kt(t))return l.ast=null,l;try{const c=Ie.expressionPlugins,p={plugins:c?[...c,"typescript"]:["typescript"]};a===2?l.ast=It.parse(` ${t} `,p).program:a===1?l.ast=It.parseExpression(`(${t})=>{}`,p):l.ast=It.parseExpression(`(${t})`,p)}catch(c){l.ast=!1,rt(45,r.start.offset,c.message)}}return l}function rt(t,e,r){Ie.onError(Pe(t,De(e,e),void 0,r))}function CE(){Ne.reset(),Qe=null,Te=null,Tt="",Vt=-1,Sr=-1,Re.length=0}function ia(t,e){if(CE(),Xt=t,Ie=Bt({},cm),e){let a;for(a in e)e[a]!=null&&(Ie[a]=e[a])}Ie.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),Ne.mode=Ie.parseMode==="html"?1:Ie.parseMode==="sfc"?2:0,Ne.inXML=Ie.ns===1||Ie.ns===2;const r=e&&e.delimiters;r&&(Ne.delimiterOpen=yn(r[0]),Ne.delimiterClose=yn(r[1]));const i=gn=Rr([],t);return Ne.parse(Xt),i.loc=De(0,t.length),i.children=hm(i.children),gn=null,i}function IE(t,e){rn(t,void 0,e,!!fm(t))}function fm(t){const e=t.children.filter(r=>r.type!==3);return e.length===1&&e[0].type===1&&!ls(e[0])?e[0]:null}function rn(t,e,r,i=!1,a=!1){const{children:l}=t,c=[];for(let m=0;m<l.length;m++){const y=l[m];if(y.type===1&&y.tagType===0){const g=i?0:ut(y,r);if(g>0){if(g>=2){y.codegenNode.patchFlag=-1,c.push(y);continue}}else{const w=y.codegenNode;if(w.type===13){const S=w.patchFlag;if((S===void 0||S===512||S===1)&&mm(y,r)>=2){const T=ym(y);T&&(w.props=r.hoist(T))}w.dynamicProps&&(w.dynamicProps=r.hoist(w.dynamicProps))}}}else if(y.type===12&&(i?0:ut(y,r))>=2){y.codegenNode.type===14&&y.codegenNode.arguments.length>0&&y.codegenNode.arguments.push(`-1 /* ${Ls[-1]} */`),c.push(y);continue}if(y.type===1){const g=y.tagType===1;g&&r.scopes.vSlot++,rn(y,t,r,!1,a),g&&r.scopes.vSlot--}else if(y.type===11)rn(y,t,r,y.children.length===1,!0);else if(y.type===9)for(let g=0;g<y.branches.length;g++)rn(y.branches[g],t,r,y.branches[g].children.length===1,a)}let p=!1;const u=[];if(c.length===l.length&&t.type===1){if(t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&$e(t.codegenNode.children))t.codegenNode.children=f(Ht(t.codegenNode.children)),p=!0;else if(t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!$e(t.codegenNode.children)&&t.codegenNode.children.type===15){const m=d(t.codegenNode,"default");m&&(u.push(r.cached.length),m.returns=f(Ht(m.returns)),p=!0)}else if(t.tagType===3&&e&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!$e(e.codegenNode.children)&&e.codegenNode.children.type===15){const m=Fe(t,"slot",!0),y=m&&m.arg&&d(e.codegenNode,m.arg);y&&(u.push(r.cached.length),y.returns=f(Ht(y.returns)),p=!0)}}if(!p)for(const m of c)u.push(r.cached.length),m.codegenNode=r.cache(m.codegenNode);u.length&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!$e(t.codegenNode.children)&&t.codegenNode.children.type===15&&t.codegenNode.children.properties.push(xe("__",te(JSON.stringify(u),!1)));function f(m){const y=r.cache(m);return a&&r.hmr&&(y.needArraySpread=!0),y}function d(m,y){if(m.children&&!$e(m.children)&&m.children.type===15){const g=m.children.properties.find(w=>w.key===y||w.key.content===y);return g&&g.value}}c.length&&r.transformHoist&&r.transformHoist(l,r,t)}function ut(t,e){const{constantCache:r}=e;switch(t.type){case 1:if(t.tagType!==0)return 0;const i=r.get(t);if(i!==void 0)return i;const a=t.codegenNode;if(a.type!==13||a.isBlock&&t.tag!=="svg"&&t.tag!=="foreignObject"&&t.tag!=="math")return 0;if(a.patchFlag===void 0){let c=3;const p=mm(t,e);if(p===0)return r.set(t,0),0;p<c&&(c=p);for(let u=0;u<t.children.length;u++){const f=ut(t.children[u],e);if(f===0)return r.set(t,0),0;f<c&&(c=f)}if(c>1)for(let u=0;u<t.props.length;u++){const f=t.props[u];if(f.type===7&&f.name==="bind"&&f.exp){const d=ut(f.exp,e);if(d===0)return r.set(t,0),0;d<c&&(c=d)}}if(a.isBlock){for(let u=0;u<t.props.length;u++)if(t.props[u].type===7)return r.set(t,0),0;e.removeHelper(ur),e.removeHelper(Lr(e.inSSR,a.isComponent)),a.isBlock=!1,e.helper(kr(e.inSSR,a.isComponent))}return r.set(t,c),c}else return r.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ut(t.content,e);case 4:return t.constType;case 8:let l=3;for(let c=0;c<t.children.length;c++){const p=t.children[c];if(Se(p)||pr(p))continue;const u=ut(p,e);if(u===0)return 0;u<l&&(l=u)}return l;case 20:return 2;default:return 0}}const NE=new Set([Wn,Gn,is,ps]);function dm(t,e){if(t.type===14&&!Se(t.callee)&&NE.has(t.callee)){const r=t.arguments[0];if(r.type===4)return ut(r,e);if(r.type===14)return dm(r,e)}return 0}function mm(t,e){let r=3;const i=ym(t);if(i&&i.type===15){const{properties:a}=i;for(let l=0;l<a.length;l++){const{key:c,value:p}=a[l],u=ut(c,e);if(u===0)return u;u<r&&(r=u);let f;if(p.type===4?f=ut(p,e):p.type===14?f=dm(p,e):f=0,f===0)return f;f<r&&(r=f)}}return r}function ym(t){const e=t.codegenNode;if(e.type===13)return e.props}function ai(t,{filename:e="",prefixIdentifiers:r=!1,hoistStatic:i=!1,hmr:a=!1,cacheHandlers:l=!1,nodeTransforms:c=[],directiveTransforms:p={},transformHoist:u=null,isBuiltInComponent:f=Ua,isCustomElement:d=Ua,expressionPlugins:m=[],scopeId:y=null,slotted:g=!0,ssr:w=!1,inSSR:S=!1,ssrCssVars:T="",bindingMetadata:E=nS,inline:x=!1,isTS:A=!1,onError:N=Vl,onWarn:_=Yd,compatConfig:M}){const D=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),O={filename:e,selfName:D&&cr(lt(D[1])),prefixIdentifiers:r,hoistStatic:i,hmr:a,cacheHandlers:l,nodeTransforms:c,directiveTransforms:p,transformHoist:u,isBuiltInComponent:f,isCustomElement:d,expressionPlugins:m,scopeId:y,slotted:g,ssr:w,inSSR:S,ssrCssVars:T,bindingMetadata:E,inline:x,isTS:A,onError:N,onWarn:_,compatConfig:M,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(L){const V=O.helpers.get(L)||0;return O.helpers.set(L,V+1),L},removeHelper(L){const V=O.helpers.get(L);if(V){const K=V-1;K?O.helpers.set(L,K):O.helpers.delete(L)}},helperString(L){return`_${ot[O.helper(L)]}`},replaceNode(L){{if(!O.currentNode)throw new Error("Node being replaced is already removed.");if(!O.parent)throw new Error("Cannot replace root node.")}O.parent.children[O.childIndex]=O.currentNode=L},removeNode(L){if(!O.parent)throw new Error("Cannot remove root node.");const V=O.parent.children,K=L?V.indexOf(L):O.currentNode?O.childIndex:-1;if(K<0)throw new Error("node being removed is not a child of current parent");!L||L===O.currentNode?(O.currentNode=null,O.onNodeRemoved()):O.childIndex>K&&(O.childIndex--,O.onNodeRemoved()),O.parent.children.splice(K,1)},onNodeRemoved:Ua,addIdentifiers(L){Se(L)?I(L):L.identifiers?L.identifiers.forEach(I):L.type===4&&I(L.content)},removeIdentifiers(L){Se(L)?k(L):L.identifiers?L.identifiers.forEach(k):L.type===4&&k(L.content)},hoist(L){Se(L)&&(L=te(L)),O.hoists.push(L);const V=te(`_hoisted_${O.hoists.length}`,!1,L.loc,2);return V.hoisted=L,V},cache(L,V=!1,K=!1){const re=zd(O.cached.length,L,V,K);return O.cached.push(re),re}};function I(L){const{identifiers:V}=O;V[L]===void 0&&(V[L]=0),V[L]++}function k(L){O.identifiers[L]--}return O}function Zl(t,e){const r=ai(t,e);fs(t,r),e.hoistStatic&&IE(t,r),e.ssr||OE(t,r),t.helpers=new Set([...r.helpers.keys()]),t.components=[...r.components],t.directives=[...r.directives],t.imports=r.imports,t.hoists=r.hoists,t.temps=r.temps,t.cached=r.cached,t.transformed=!0}function OE(t,e){const{helper:r}=e,{children:i}=t;if(i.length===1){const a=fm(t);if(a&&a.codegenNode){const l=a.codegenNode;l.type===13&&Kn(l,e),t.codegenNode=l}else t.codegenNode=i[0]}else if(i.length>1){let a=64;i.filter(l=>l.type!==3).length===1&&(a|=2048),t.codegenNode=as(e,r(ss),void 0,t.children,a,void 0,void 0,!0,void 0,!1)}}function kE(t,e){let r=0;const i=()=>{r--};for(;r<t.children.length;r++){const a=t.children[r];Se(a)||(e.grandParent=e.parent,e.parent=t,e.childIndex=r,e.onNodeRemoved=i,fs(a,e))}}function fs(t,e){e.currentNode=t;const{nodeTransforms:r}=e,i=[];for(let l=0;l<r.length;l++){const c=r[l](t,e);if(c&&($e(c)?i.push(...c):i.push(c)),e.currentNode)t=e.currentNode;else return}switch(t.type){case 3:e.ssr||e.helper(hs);break;case 5:e.ssr||e.helper(ii);break;case 9:for(let l=0;l<t.branches.length;l++)fs(t.branches[l],e);break;case 10:case 11:case 1:case 0:kE(t,e);break}e.currentNode=t;let a=i.length;for(;a--;)i[a]()}function oi(t,e){const r=Se(t)?i=>i===t:i=>t.test(i);return(i,a)=>{if(i.type===1){const{props:l}=i;if(i.tagType===3&&l.some(Yl))return;const c=[];for(let p=0;p<l.length;p++){const u=l[p];if(u.type===7&&r(u.name)){l.splice(p,1),p--;const f=e(i,u,a);f&&c.push(f)}}return c}}}var Ps={},za={},Ei={},Ti={},Sh;function LE(){if(Sh)return Ti;Sh=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ti.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},Ti.decode=function(e){var r=65,i=90,a=97,l=122,c=48,p=57,u=43,f=47,d=26,m=52;return r<=e&&e<=i?e-r:a<=e&&e<=l?e-a+d:c<=e&&e<=p?e-c+m:e==u?62:e==f?63:-1},Ti}var Eh;function gm(){if(Eh)return Ei;Eh=1;var t=LE(),e=5,r=1<<e,i=r-1,a=r;function l(p){return p<0?(-p<<1)+1:(p<<1)+0}function c(p){var u=(p&1)===1,f=p>>1;return u?-f:f}return Ei.encode=function(u){var f="",d,m=l(u);do d=m&i,m>>>=e,m>0&&(d|=a),f+=t.encode(d);while(m>0);return f},Ei.decode=function(u,f,d){var m=u.length,y=0,g=0,w,S;do{if(f>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(S=t.decode(u.charCodeAt(f++)),S===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));w=!!(S&a),S&=i,y=y+(S<<g),g+=e}while(w);d.value=c(y),d.rest=f},Ei}var Wa={},Th;function li(){return Th||(Th=1,(function(t){function e(O,I,k){if(I in O)return O[I];if(arguments.length===3)return k;throw new Error('"'+I+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function a(O){var I=O.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}t.urlParse=a;function l(O){var I="";return O.scheme&&(I+=O.scheme+":"),I+="//",O.auth&&(I+=O.auth+"@"),O.host&&(I+=O.host),O.port&&(I+=":"+O.port),O.path&&(I+=O.path),I}t.urlGenerate=l;var c=32;function p(O){var I=[];return function(k){for(var L=0;L<I.length;L++)if(I[L].input===k){var V=I[0];return I[0]=I[L],I[L]=V,I[0].result}var K=O(k);return I.unshift({input:k,result:K}),I.length>c&&I.pop(),K}}var u=p(function(I){var k=I,L=a(I);if(L){if(!L.path)return I;k=L.path}for(var V=t.isAbsolute(k),K=[],re=0,z=0;;)if(re=z,z=k.indexOf("/",re),z===-1){K.push(k.slice(re));break}else for(K.push(k.slice(re,z));z<k.length&&k[z]==="/";)z++;for(var se,he=0,z=K.length-1;z>=0;z--)se=K[z],se==="."?K.splice(z,1):se===".."?he++:he>0&&(se===""?(K.splice(z+1,he),he=0):(K.splice(z,2),he--));return k=K.join("/"),k===""&&(k=V?"/":"."),L?(L.path=k,l(L)):k});t.normalize=u;function f(O,I){O===""&&(O="."),I===""&&(I=".");var k=a(I),L=a(O);if(L&&(O=L.path||"/"),k&&!k.scheme)return L&&(k.scheme=L.scheme),l(k);if(k||I.match(i))return I;if(L&&!L.host&&!L.path)return L.host=I,l(L);var V=I.charAt(0)==="/"?I:u(O.replace(/\/+$/,"")+"/"+I);return L?(L.path=V,l(L)):V}t.join=f,t.isAbsolute=function(O){return O.charAt(0)==="/"||r.test(O)};function d(O,I){O===""&&(O="."),O=O.replace(/\/$/,"");for(var k=0;I.indexOf(O+"/")!==0;){var L=O.lastIndexOf("/");if(L<0||(O=O.slice(0,L),O.match(/^([^\/]+:\/)?\/*$/)))return I;++k}return Array(k+1).join("../")+I.substr(O.length+1)}t.relative=d;var m=(function(){var O=Object.create(null);return!("__proto__"in O)})();function y(O){return O}function g(O){return S(O)?"$"+O:O}t.toSetString=m?y:g;function w(O){return S(O)?O.slice(1):O}t.fromSetString=m?y:w;function S(O){if(!O)return!1;var I=O.length;if(I<9||O.charCodeAt(I-1)!==95||O.charCodeAt(I-2)!==95||O.charCodeAt(I-3)!==111||O.charCodeAt(I-4)!==116||O.charCodeAt(I-5)!==111||O.charCodeAt(I-6)!==114||O.charCodeAt(I-7)!==112||O.charCodeAt(I-8)!==95||O.charCodeAt(I-9)!==95)return!1;for(var k=I-10;k>=0;k--)if(O.charCodeAt(k)!==36)return!1;return!0}function T(O,I,k){var L=N(O.source,I.source);return L!==0||(L=O.originalLine-I.originalLine,L!==0)||(L=O.originalColumn-I.originalColumn,L!==0||k)||(L=O.generatedColumn-I.generatedColumn,L!==0)||(L=O.generatedLine-I.generatedLine,L!==0)?L:N(O.name,I.name)}t.compareByOriginalPositions=T;function E(O,I,k){var L;return L=O.originalLine-I.originalLine,L!==0||(L=O.originalColumn-I.originalColumn,L!==0||k)||(L=O.generatedColumn-I.generatedColumn,L!==0)||(L=O.generatedLine-I.generatedLine,L!==0)?L:N(O.name,I.name)}t.compareByOriginalPositionsNoSource=E;function x(O,I,k){var L=O.generatedLine-I.generatedLine;return L!==0||(L=O.generatedColumn-I.generatedColumn,L!==0||k)||(L=N(O.source,I.source),L!==0)||(L=O.originalLine-I.originalLine,L!==0)||(L=O.originalColumn-I.originalColumn,L!==0)?L:N(O.name,I.name)}t.compareByGeneratedPositionsDeflated=x;function A(O,I,k){var L=O.generatedColumn-I.generatedColumn;return L!==0||k||(L=N(O.source,I.source),L!==0)||(L=O.originalLine-I.originalLine,L!==0)||(L=O.originalColumn-I.originalColumn,L!==0)?L:N(O.name,I.name)}t.compareByGeneratedPositionsDeflatedNoLine=A;function N(O,I){return O===I?0:O===null?1:I===null?-1:O>I?1:-1}function _(O,I){var k=O.generatedLine-I.generatedLine;return k!==0||(k=O.generatedColumn-I.generatedColumn,k!==0)||(k=N(O.source,I.source),k!==0)||(k=O.originalLine-I.originalLine,k!==0)||(k=O.originalColumn-I.originalColumn,k!==0)?k:N(O.name,I.name)}t.compareByGeneratedPositionsInflated=_;function M(O){return JSON.parse(O.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=M;function D(O,I,k){if(I=I||"",O&&(O[O.length-1]!=="/"&&I[0]!=="/"&&(O+="/"),I=O+I),k){var L=a(k);if(!L)throw new Error("sourceMapURL could not be parsed");if(L.path){var V=L.path.lastIndexOf("/");V>=0&&(L.path=L.path.substring(0,V+1))}I=f(l(L),I)}return u(I)}t.computeSourceURL=D})(Wa)),Wa}var Ga={},wh;function vm(){if(wh)return Ga;wh=1;var t=li(),e=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(l,c){for(var p=new i,u=0,f=l.length;u<f;u++)p.add(l[u],c);return p},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(l,c){var p=r?l:t.toSetString(l),u=r?this.has(l):e.call(this._set,p),f=this._array.length;(!u||c)&&this._array.push(l),u||(r?this._set.set(l,f):this._set[p]=f)},i.prototype.has=function(l){if(r)return this._set.has(l);var c=t.toSetString(l);return e.call(this._set,c)},i.prototype.indexOf=function(l){if(r){var c=this._set.get(l);if(c>=0)return c}else{var p=t.toSetString(l);if(e.call(this._set,p))return this._set[p]}throw new Error('"'+l+'" is not in the set.')},i.prototype.at=function(l){if(l>=0&&l<this._array.length)return this._array[l];throw new Error("No element indexed by "+l)},i.prototype.toArray=function(){return this._array.slice()},Ga.ArraySet=i,Ga}var Ha={},Ph;function ME(){if(Ph)return Ha;Ph=1;var t=li();function e(i,a){var l=i.generatedLine,c=a.generatedLine,p=i.generatedColumn,u=a.generatedColumn;return c>l||c==l&&u>=p||t.compareByGeneratedPositionsInflated(i,a)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(a,l){this._array.forEach(a,l)},r.prototype.add=function(a){e(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Ha.MappingList=r,Ha}var bh;function Sm(){if(bh)return za;bh=1;var t=gm(),e=li(),r=vm().ArraySet,i=ME().MappingList;function a(l){l||(l={}),this._file=e.getArg(l,"file",null),this._sourceRoot=e.getArg(l,"sourceRoot",null),this._skipValidation=e.getArg(l,"skipValidation",!1),this._ignoreInvalidMapping=e.getArg(l,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(c,p){var u=c.sourceRoot,f=new a(Object.assign(p||{},{file:c.file,sourceRoot:u}));return c.eachMapping(function(d){var m={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(m.source=d.source,u!=null&&(m.source=e.relative(u,m.source)),m.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(m.name=d.name)),f.addMapping(m)}),c.sources.forEach(function(d){var m=d;u!==null&&(m=e.relative(u,d)),f._sources.has(m)||f._sources.add(m);var y=c.sourceContentFor(d);y!=null&&f.setSourceContent(d,y)}),f},a.prototype.addMapping=function(c){var p=e.getArg(c,"generated"),u=e.getArg(c,"original",null),f=e.getArg(c,"source",null),d=e.getArg(c,"name",null);!this._skipValidation&&this._validateMapping(p,u,f,d)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:d}))},a.prototype.setSourceContent=function(c,p){var u=c;this._sourceRoot!=null&&(u=e.relative(this._sourceRoot,u)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(u)]=p):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(c,p,u){var f=p;if(p==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=c.file}var d=this._sourceRoot;d!=null&&(f=e.relative(d,f));var m=new r,y=new r;this._mappings.unsortedForEach(function(g){if(g.source===f&&g.originalLine!=null){var w=c.originalPositionFor({line:g.originalLine,column:g.originalColumn});w.source!=null&&(g.source=w.source,u!=null&&(g.source=e.join(u,g.source)),d!=null&&(g.source=e.relative(d,g.source)),g.originalLine=w.line,g.originalColumn=w.column,w.name!=null&&(g.name=w.name))}var S=g.source;S!=null&&!m.has(S)&&m.add(S);var T=g.name;T!=null&&!y.has(T)&&y.add(T)},this),this._sources=m,this._names=y,c.sources.forEach(function(g){var w=c.sourceContentFor(g);w!=null&&(u!=null&&(g=e.join(u,g)),d!=null&&(g=e.relative(d,g)),this.setSourceContent(g,w))},this)},a.prototype._validateMapping=function(c,p,u,f){if(p&&typeof p.line!="number"&&typeof p.column!="number"){var d="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!p&&!u&&!f)){if(c&&"line"in c&&"column"in c&&p&&"line"in p&&"column"in p&&c.line>0&&c.column>=0&&p.line>0&&p.column>=0&&u)return;var d="Invalid mapping: "+JSON.stringify({generated:c,source:u,original:p,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}},a.prototype._serializeMappings=function(){for(var c=0,p=1,u=0,f=0,d=0,m=0,y="",g,w,S,T,E=this._mappings.toArray(),x=0,A=E.length;x<A;x++){if(w=E[x],g="",w.generatedLine!==p)for(c=0;w.generatedLine!==p;)g+=";",p++;else if(x>0){if(!e.compareByGeneratedPositionsInflated(w,E[x-1]))continue;g+=","}g+=t.encode(w.generatedColumn-c),c=w.generatedColumn,w.source!=null&&(T=this._sources.indexOf(w.source),g+=t.encode(T-m),m=T,g+=t.encode(w.originalLine-1-f),f=w.originalLine-1,g+=t.encode(w.originalColumn-u),u=w.originalColumn,w.name!=null&&(S=this._names.indexOf(w.name),g+=t.encode(S-d),d=S)),y+=g}return y},a.prototype._generateSourcesContent=function(c,p){return c.map(function(u){if(!this._sourcesContents)return null;p!=null&&(u=e.relative(p,u));var f=e.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},a.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},za.SourceMapGenerator=a,za}var bs={},Xa={},xh;function RE(){return xh||(xh=1,(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,a,l,c,p){var u=Math.floor((i-r)/2)+r,f=c(a,l[u],!0);return f===0?u:f>0?i-u>1?e(u,i,a,l,c,p):p==t.LEAST_UPPER_BOUND?i<l.length?i:-1:u:u-r>1?e(r,u,a,l,c,p):p==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(i,a,l,c){if(a.length===0)return-1;var p=e(-1,a.length,i,a,l,c||t.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&l(a[p],a[p-1],!0)===0;)--p;return p}})(Xa)),Xa}var Ja={},_h;function DE(){if(_h)return Ja;_h=1;function t(i){function a(p,u,f){var d=p[u];p[u]=p[f],p[f]=d}function l(p,u){return Math.round(p+Math.random()*(u-p))}function c(p,u,f,d){if(f<d){var m=l(f,d),y=f-1;a(p,m,d);for(var g=p[d],w=f;w<d;w++)u(p[w],g,!1)<=0&&(y+=1,a(p,y,w));a(p,y+1,w);var S=y+1;c(p,u,f,S-1),c(p,u,S+1,d)}}return c}function e(i){let a=t.toString();return new Function(`return ${a}`)()(i)}let r=new WeakMap;return Ja.quickSort=function(i,a,l=0){let c=r.get(a);c===void 0&&(c=e(a),r.set(a,c)),c(i,a,l,i.length-1)},Ja}var Ah;function FE(){if(Ah)return bs;Ah=1;var t=li(),e=RE(),r=vm().ArraySet,i=gm(),a=DE().quickSort;function l(m,y){var g=m;return typeof m=="string"&&(g=t.parseSourceMapInput(m)),g.sections!=null?new d(g,y):new c(g,y)}l.fromSourceMap=function(m,y){return c.fromSourceMap(m,y)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(y,g){var w=y.charAt(g);return w===";"||w===","},l.prototype._parseMappings=function(y,g){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(y,g,w){var S=g||null,T=w||l.GENERATED_ORDER,E;switch(T){case l.GENERATED_ORDER:E=this._generatedMappings;break;case l.ORIGINAL_ORDER:E=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var x=this.sourceRoot,A=y.bind(S),N=this._names,_=this._sources,M=this._sourceMapURL,D=0,O=E.length;D<O;D++){var I=E[D],k=I.source===null?null:_.at(I.source);k!==null&&(k=t.computeSourceURL(x,k,M)),A({source:k,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:N.at(I.name)})}},l.prototype.allGeneratedPositionsFor=function(y){var g=t.getArg(y,"line"),w={source:t.getArg(y,"source"),originalLine:g,originalColumn:t.getArg(y,"column",0)};if(w.source=this._findSourceIndex(w.source),w.source<0)return[];var S=[],T=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(T>=0){var E=this._originalMappings[T];if(y.column===void 0)for(var x=E.originalLine;E&&E.originalLine===x;)S.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++T];else for(var A=E.originalColumn;E&&E.originalLine===g&&E.originalColumn==A;)S.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++T]}return S},bs.SourceMapConsumer=l;function c(m,y){var g=m;typeof m=="string"&&(g=t.parseSourceMapInput(m));var w=t.getArg(g,"version"),S=t.getArg(g,"sources"),T=t.getArg(g,"names",[]),E=t.getArg(g,"sourceRoot",null),x=t.getArg(g,"sourcesContent",null),A=t.getArg(g,"mappings"),N=t.getArg(g,"file",null);if(w!=this._version)throw new Error("Unsupported version: "+w);E&&(E=t.normalize(E)),S=S.map(String).map(t.normalize).map(function(_){return E&&t.isAbsolute(E)&&t.isAbsolute(_)?t.relative(E,_):_}),this._names=r.fromArray(T.map(String),!0),this._sources=r.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(E,_,y)}),this.sourceRoot=E,this.sourcesContent=x,this._mappings=A,this._sourceMapURL=y,this.file=N}c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(m){var y=m;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var g;for(g=0;g<this._absoluteSources.length;++g)if(this._absoluteSources[g]==m)return g;return-1},c.fromSourceMap=function(y,g){var w=Object.create(c.prototype),S=w._names=r.fromArray(y._names.toArray(),!0),T=w._sources=r.fromArray(y._sources.toArray(),!0);w.sourceRoot=y._sourceRoot,w.sourcesContent=y._generateSourcesContent(w._sources.toArray(),w.sourceRoot),w.file=y._file,w._sourceMapURL=g,w._absoluteSources=w._sources.toArray().map(function(O){return t.computeSourceURL(w.sourceRoot,O,g)});for(var E=y._mappings.toArray().slice(),x=w.__generatedMappings=[],A=w.__originalMappings=[],N=0,_=E.length;N<_;N++){var M=E[N],D=new p;D.generatedLine=M.generatedLine,D.generatedColumn=M.generatedColumn,M.source&&(D.source=T.indexOf(M.source),D.originalLine=M.originalLine,D.originalColumn=M.originalColumn,M.name&&(D.name=S.indexOf(M.name)),A.push(D)),x.push(D)}return a(w.__originalMappings,t.compareByOriginalPositions),w},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const u=t.compareByGeneratedPositionsDeflatedNoLine;function f(m,y){let g=m.length,w=m.length-y;if(!(w<=1))if(w==2){let S=m[y],T=m[y+1];u(S,T)>0&&(m[y]=T,m[y+1]=S)}else if(w<20)for(let S=y;S<g;S++)for(let T=S;T>y;T--){let E=m[T-1],x=m[T];if(u(E,x)<=0)break;m[T-1]=x,m[T]=E}else a(m,u,y)}c.prototype._parseMappings=function(y,g){var w=1,S=0,T=0,E=0,x=0,A=0,N=y.length,_=0,M={},D=[],O=[],I,k,L,V;let K=0;for(;_<N;)if(y.charAt(_)===";")w++,_++,S=0,f(O,K),K=O.length;else if(y.charAt(_)===",")_++;else{for(I=new p,I.generatedLine=w,L=_;L<N&&!this._charIsMappingSeparator(y,L);L++);for(y.slice(_,L),k=[];_<L;)i.decode(y,_,M),V=M.value,_=M.rest,k.push(V);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=S+k[0],S=I.generatedColumn,k.length>1&&(I.source=x+k[1],x+=k[1],I.originalLine=T+k[2],T=I.originalLine,I.originalLine+=1,I.originalColumn=E+k[3],E=I.originalColumn,k.length>4&&(I.name=A+k[4],A+=k[4])),O.push(I),typeof I.originalLine=="number"){let z=I.source;for(;D.length<=z;)D.push(null);D[z]===null&&(D[z]=[]),D[z].push(I)}}f(O,K),this.__generatedMappings=O;for(var re=0;re<D.length;re++)D[re]!=null&&a(D[re],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...D)},c.prototype._findMapping=function(y,g,w,S,T,E){if(y[w]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[w]);if(y[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[S]);return e.search(y,g,T,E)},c.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var g=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var w=this._generatedMappings[y+1];if(g.generatedLine===w.generatedLine){g.lastGeneratedColumn=w.generatedColumn-1;continue}}g.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(y){var g={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},w=this._findMapping(g,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(y,"bias",l.GREATEST_LOWER_BOUND));if(w>=0){var S=this._generatedMappings[w];if(S.generatedLine===g.generatedLine){var T=t.getArg(S,"source",null);T!==null&&(T=this._sources.at(T),T=t.computeSourceURL(this.sourceRoot,T,this._sourceMapURL));var E=t.getArg(S,"name",null);return E!==null&&(E=this._names.at(E)),{source:T,line:t.getArg(S,"originalLine",null),column:t.getArg(S,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return y==null}):!1},c.prototype.sourceContentFor=function(y,g){if(!this.sourcesContent)return null;var w=this._findSourceIndex(y);if(w>=0)return this.sourcesContent[w];var S=y;this.sourceRoot!=null&&(S=t.relative(this.sourceRoot,S));var T;if(this.sourceRoot!=null&&(T=t.urlParse(this.sourceRoot))){var E=S.replace(/^file:\/\//,"");if(T.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!T.path||T.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(g)return null;throw new Error('"'+S+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(y){var g=t.getArg(y,"source");if(g=this._findSourceIndex(g),g<0)return{line:null,column:null,lastColumn:null};var w={source:g,originalLine:t.getArg(y,"line"),originalColumn:t.getArg(y,"column")},S=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(y,"bias",l.GREATEST_LOWER_BOUND));if(S>=0){var T=this._originalMappings[S];if(T.source===w.source)return{line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},bs.BasicSourceMapConsumer=c;function d(m,y){var g=m;typeof m=="string"&&(g=t.parseSourceMapInput(m));var w=t.getArg(g,"version"),S=t.getArg(g,"sections");if(w!=this._version)throw new Error("Unsupported version: "+w);this._sources=new r,this._names=new r;var T={line:-1,column:0};this._sections=S.map(function(E){if(E.url)throw new Error("Support for url field in sections not implemented.");var x=t.getArg(E,"offset"),A=t.getArg(x,"line"),N=t.getArg(x,"column");if(A<T.line||A===T.line&&N<T.column)throw new Error("Section offsets must be ordered and non-overlapping.");return T=x,{generatedOffset:{generatedLine:A+1,generatedColumn:N+1},consumer:new l(t.getArg(E,"map"),y)}})}return d.prototype=Object.create(l.prototype),d.prototype.constructor=l,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var m=[],y=0;y<this._sections.length;y++)for(var g=0;g<this._sections[y].consumer.sources.length;g++)m.push(this._sections[y].consumer.sources[g]);return m}}),d.prototype.originalPositionFor=function(y){var g={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},w=e.search(g,this._sections,function(T,E){var x=T.generatedLine-E.generatedOffset.generatedLine;return x||T.generatedColumn-E.generatedOffset.generatedColumn}),S=this._sections[w];return S?S.consumer.originalPositionFor({line:g.generatedLine-(S.generatedOffset.generatedLine-1),column:g.generatedColumn-(S.generatedOffset.generatedLine===g.generatedLine?S.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},d.prototype.sourceContentFor=function(y,g){for(var w=0;w<this._sections.length;w++){var S=this._sections[w],T=S.consumer.sourceContentFor(y,!0);if(T||T==="")return T}if(g)return null;throw new Error('"'+y+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(y){for(var g=0;g<this._sections.length;g++){var w=this._sections[g];if(w.consumer._findSourceIndex(t.getArg(y,"source"))!==-1){var S=w.consumer.generatedPositionFor(y);if(S){var T={line:S.line+(w.generatedOffset.generatedLine-1),column:S.column+(w.generatedOffset.generatedLine===S.line?w.generatedOffset.generatedColumn-1:0)};return T}}}return{line:null,column:null}},d.prototype._parseMappings=function(y,g){this.__generatedMappings=[],this.__originalMappings=[];for(var w=0;w<this._sections.length;w++)for(var S=this._sections[w],T=S.consumer._generatedMappings,E=0;E<T.length;E++){var x=T[E],A=S.consumer._sources.at(x.source);A!==null&&(A=t.computeSourceURL(S.consumer.sourceRoot,A,this._sourceMapURL)),this._sources.add(A),A=this._sources.indexOf(A);var N=null;x.name&&(N=S.consumer._names.at(x.name),this._names.add(N),N=this._names.indexOf(N));var _={source:A,generatedLine:x.generatedLine+(S.generatedOffset.generatedLine-1),generatedColumn:x.generatedColumn+(S.generatedOffset.generatedLine===x.generatedLine?S.generatedOffset.generatedColumn-1:0),originalLine:x.originalLine,originalColumn:x.originalColumn,name:N};this.__generatedMappings.push(_),typeof _.originalLine=="number"&&this.__originalMappings.push(_)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},bs.IndexedSourceMapConsumer=d,bs}var Ka={},Ch;function BE(){if(Ch)return Ka;Ch=1;var t=Sm().SourceMapGenerator,e=li(),r=/(\r?\n)/,i=10,a="$$$isSourceNode$$$";function l(c,p,u,f,d){this.children=[],this.sourceContents={},this.line=c??null,this.column=p??null,this.source=u??null,this.name=d??null,this[a]=!0,f!=null&&this.add(f)}return l.fromStringWithSourceMap=function(p,u,f){var d=new l,m=p.split(r),y=0,g=function(){var x=N(),A=N()||"";return x+A;function N(){return y<m.length?m[y++]:void 0}},w=1,S=0,T=null;return u.eachMapping(function(x){if(T!==null)if(w<x.generatedLine)E(T,g()),w++,S=0;else{var A=m[y]||"",N=A.substr(0,x.generatedColumn-S);m[y]=A.substr(x.generatedColumn-S),S=x.generatedColumn,E(T,N),T=x;return}for(;w<x.generatedLine;)d.add(g()),w++;if(S<x.generatedColumn){var A=m[y]||"";d.add(A.substr(0,x.generatedColumn)),m[y]=A.substr(x.generatedColumn),S=x.generatedColumn}T=x},this),y<m.length&&(T&&E(T,g()),d.add(m.splice(y).join(""))),u.sources.forEach(function(x){var A=u.sourceContentFor(x);A!=null&&(f!=null&&(x=e.join(f,x)),d.setSourceContent(x,A))}),d;function E(x,A){if(x===null||x.source===void 0)d.add(A);else{var N=f?e.join(f,x.source):x.source;d.add(new l(x.originalLine,x.originalColumn,N,A,x.name))}}},l.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(u){this.add(u)},this);else if(p[a]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.prepend=function(p){if(Array.isArray(p))for(var u=p.length-1;u>=0;u--)this.prepend(p[u]);else if(p[a]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.walk=function(p){for(var u,f=0,d=this.children.length;f<d;f++)u=this.children[f],u[a]?u.walk(p):u!==""&&p(u,{source:this.source,line:this.line,column:this.column,name:this.name})},l.prototype.join=function(p){var u,f,d=this.children.length;if(d>0){for(u=[],f=0;f<d-1;f++)u.push(this.children[f]),u.push(p);u.push(this.children[f]),this.children=u}return this},l.prototype.replaceRight=function(p,u){var f=this.children[this.children.length-1];return f[a]?f.replaceRight(p,u):typeof f=="string"?this.children[this.children.length-1]=f.replace(p,u):this.children.push("".replace(p,u)),this},l.prototype.setSourceContent=function(p,u){this.sourceContents[e.toSetString(p)]=u},l.prototype.walkSourceContents=function(p){for(var u=0,f=this.children.length;u<f;u++)this.children[u][a]&&this.children[u].walkSourceContents(p);for(var d=Object.keys(this.sourceContents),u=0,f=d.length;u<f;u++)p(e.fromSetString(d[u]),this.sourceContents[d[u]])},l.prototype.toString=function(){var p="";return this.walk(function(u){p+=u}),p},l.prototype.toStringWithSourceMap=function(p){var u={code:"",line:1,column:0},f=new t(p),d=!1,m=null,y=null,g=null,w=null;return this.walk(function(S,T){u.code+=S,T.source!==null&&T.line!==null&&T.column!==null?((m!==T.source||y!==T.line||g!==T.column||w!==T.name)&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name}),m=T.source,y=T.line,g=T.column,w=T.name,d=!0):d&&(f.addMapping({generated:{line:u.line,column:u.column}}),m=null,d=!1);for(var E=0,x=S.length;E<x;E++)S.charCodeAt(E)===i?(u.line++,u.column=0,E+1===x?(m=null,d=!1):d&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name})):u.column++}),this.walkSourceContents(function(S,T){f.setSourceContent(S,T)}),{code:u.code,map:f}},Ka.SourceNode=l,Ka}var Ih;function na(){return Ih||(Ih=1,Ps.SourceMapGenerator=Sm().SourceMapGenerator,Ps.SourceMapConsumer=FE().SourceMapConsumer,Ps.SourceNode=BE().SourceNode),Ps}var Ar=na();const aa="/*@__PURE__*/",sn=t=>`${ot[t]}: _${ot[t]}`;function Nh(t,{mode:e="function",prefixIdentifiers:r=e==="module",sourceMap:i=!1,filename:a="template.vue.html",scopeId:l=null,optimizeImports:c=!1,runtimeGlobalName:p="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:f="vue/server-renderer",ssr:d=!1,isTS:m=!1,inSSR:y=!1}){const g={mode:e,prefixIdentifiers:r,sourceMap:i,filename:a,scopeId:l,optimizeImports:c,runtimeGlobalName:p,runtimeModuleName:u,ssrRuntimeModuleName:f,ssr:d,isTS:m,inSSR:y,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(T){return`_${ot[T]}`},push(T,E=-2,x){if(g.code+=T,g.map){if(x){let A;if(x.type===4&&!x.isStatic){const N=x.content.replace(/^_ctx\./,"");N!==x.content&&Kt(N)&&(A=N)}x.loc.source&&S(x.loc.start,A)}E===-3?Kl(g,T):(g.offset+=T.length,E===-2?g.column+=T.length:(E===-1&&(E=T.length-1),g.line++,g.column=T.length-E)),x&&x.loc!==Le&&x.loc.source&&S(x.loc.end)}},indent(){w(++g.indentLevel)},deindent(T=!1){T?--g.indentLevel:w(--g.indentLevel)},newline(){w(g.indentLevel)}};function w(T){g.push(`
17
17
  `+" ".repeat(T),0)}function S(T,E=null){const{_names:x,_mappings:A}=g.map;E!==null&&!x.has(E)&&x.add(E),A.add({originalLine:T.line,originalColumn:T.column-1,generatedLine:g.line,generatedColumn:g.column-1,source:a,name:E})}return i&&(g.map=new Ar.SourceMapGenerator,g.map.setSourceContent(a,g.source),g.map._sources.add(a)),g}function ec(t,e={}){const r=Nh(t,e);e.onContextCreated&&e.onContextCreated(r);const{mode:i,push:a,prefixIdentifiers:l,indent:c,deindent:p,newline:u,scopeId:f,ssr:d}=r,m=Array.from(t.helpers),y=m.length>0,g=!l&&i!=="module",w=f!=null&&i==="module",S=!!e.inline,T=S?Nh(t,e):r;i==="module"?UE(t,T,w,S):$E(t,T);const E=d?"ssrRender":"render",x=d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];e.bindingMetadata&&!e.inline&&x.push("$props","$setup","$data","$options");const A=e.isTS?x.map(N=>`${N}: any`).join(","):x.join(", ");if(a(S?`(${A}) => {`:`function ${E}(${A}) {`),c(),g&&(a("with (_ctx) {"),c(),y&&(a(`const { ${m.map(sn).join(", ")} } = _Vue
18
18
  `,-1),u())),t.components.length&&(Oh(t.components,"component",r),(t.directives.length||t.temps>0)&&u()),t.directives.length&&(Oh(t.directives,"directive",r),t.temps>0&&u()),t.temps>0){a("let ");for(let N=0;N<t.temps;N++)a(`${N>0?", ":""}_temp${N}`)}return(t.components.length||t.directives.length||t.temps)&&(a(`
19
19
  `,0),u()),d||a("return "),t.codegenNode?ke(t.codegenNode,r):a("null"),g&&(p(),a("}")),p(),a("}"),{ast:t,code:r.code,preamble:S?T.code:"",map:r.map?r.map.toJSON():void 0}}function $E(t,e){const{ssr:r,prefixIdentifiers:i,push:a,newline:l,runtimeModuleName:c,runtimeGlobalName:p,ssrRuntimeModuleName:u}=e,f=r?`require(${JSON.stringify(c)})`:p,d=Array.from(t.helpers);if(d.length>0){if(i)a(`const { ${d.map(sn).join(", ")} } = ${f}
@@ -95,9 +95,9 @@ You tried to parse Less with the standard CSS parser; try again with the postcss
95
95
  https://evilmartians.com/chronicles/postcss-8-plugin-migration`),pt.env.LANG&&pt.env.LANG.startsWith("cn")&&console.warn(N+`: 里面 postcss.plugin 被弃用. 迁移指南:
96
96
  https://www.w3ctech.com/topic/2226`));let k=_(...I);return k.postcssPlugin=N,k.postcssVersion=new y().version,k}let O;return Object.defineProperty(D,"postcss",{get(){return O||(O=D()),O}}),D.process=function(I,k,L){return x([D(L)]).process(I,k)},D},x.stringify=T,x.parse=m,x.fromJSON=c,x.list=f,x.comment=A=>new e(A),x.atRule=A=>new t(A),x.decl=A=>new a(A),x.rule=A=>new S(A),x.root=A=>new w(A),x.document=A=>new l(A),x.CssSyntaxError=i,x.Declaration=a,x.Container=r,x.Processor=y,x.Document=l,x.Comment=e,x.Warning=E,x.AtRule=t,x.Result=g,x.Input=p,x.Rule=S,x.Root=w,x.Node=d,u.registerPostcss(x),Do=x,x.default=x,Do}var Nb=Ib(),Oe=Yn(Nb);Oe.stringify;Oe.fromJSON;Oe.plugin;Oe.parse;Oe.list;Oe.document;Oe.comment;Oe.atRule;Oe.rule;Oe.decl;Oe.root;Oe.CssSyntaxError;Oe.Declaration;Oe.Container;Oe.Processor;Oe.Document;Oe.Comment;Oe.Warning;Oe.AtRule;Oe.Result;Oe.Input;const Ob=Oe.Rule;Oe.Root;Oe.Node;const hg=()=>({postcssPlugin:"vue-sfc-trim",Once(t){t.walk(({type:e,raws:r})=>{(e==="rule"||e==="atrule")&&(r.before&&(r.before=`
97
97
  `),"after"in r&&r.after&&(r.after=`
98
- `))})}});hg.postcss=!0;var Ii={exports:{}},Ni={exports:{}},Oi={exports:{}},ki={exports:{}},Li={exports:{}},Mi={exports:{}},bt={},Ri={exports:{}},tf;function pg(){return tf||(tf=1,function(t,e){e.__esModule=!0,e.default=a;function r(l){for(var c=l.toLowerCase(),p="",u=!1,f=0;f<6&&c[f]!==void 0;f++){var d=c.charCodeAt(f),m=d>=97&&d<=102||d>=48&&d<=57;if(u=d===32,!m)break;p+=c[f]}if(p.length!==0){var y=parseInt(p,16),g=y>=55296&&y<=57343;return g||y===0||y>1114111?["�",p.length+(u?1:0)]:[String.fromCodePoint(y),p.length+(u?1:0)]}}var i=/\\/;function a(l){var c=i.test(l);if(!c)return l;for(var p="",u=0;u<l.length;u++){if(l[u]==="\\"){var f=r(l.slice(u+1,u+7));if(f!==void 0){p+=f[0],u+=f[1];continue}if(l[u+1]==="\\"){p+="\\",u++;continue}l.length===u+1&&(p+=l[u]);continue}p+=l[u]}return p}t.exports=e.default}(Ri,Ri.exports)),Ri.exports}var Di={exports:{}},rf;function kb(){return rf||(rf=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var a=arguments.length,l=new Array(a>1?a-1:0),c=1;c<a;c++)l[c-1]=arguments[c];for(;l.length>0;){var p=l.shift();if(!i[p])return;i=i[p]}return i}t.exports=e.default}(Di,Di.exports)),Di.exports}var Fi={exports:{}},sf;function Lb(){return sf||(sf=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var a=arguments.length,l=new Array(a>1?a-1:0),c=1;c<a;c++)l[c-1]=arguments[c];for(;l.length>0;){var p=l.shift();i[p]||(i[p]={}),i=i[p]}}t.exports=e.default}(Fi,Fi.exports)),Fi.exports}var Bi={exports:{}},nf;function Mb(){return nf||(nf=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var a="",l=i.indexOf("/*"),c=0;l>=0;){a=a+i.slice(c,l);var p=i.indexOf("*/",l+2);if(p<0)return a;c=p+2,l=i.indexOf("/*",c)}return a=a+i.slice(c),a}t.exports=e.default}(Bi,Bi.exports)),Bi.exports}var af;function Pa(){if(af)return bt;af=1,bt.__esModule=!0,bt.unesc=bt.stripComments=bt.getProp=bt.ensureObject=void 0;var t=a(pg());bt.unesc=t.default;var e=a(kb());bt.getProp=e.default;var r=a(Lb());bt.ensureObject=r.default;var i=a(Mb());bt.stripComments=i.default;function a(l){return l&&l.__esModule?l:{default:l}}return bt}var of;function mr(){return of||(of=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=Pa();function i(p,u){for(var f=0;f<u.length;f++){var d=u[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(p,d.key,d)}}function a(p,u,f){return u&&i(p.prototype,u),Object.defineProperty(p,"prototype",{writable:!1}),p}var l=function p(u,f){if(typeof u!="object"||u===null)return u;var d=new u.constructor;for(var m in u)if(u.hasOwnProperty(m)){var y=u[m],g=typeof y;m==="parent"&&g==="object"?f&&(d[m]=f):y instanceof Array?d[m]=y.map(function(w){return p(w,d)}):d[m]=p(y,d)}return d},c=function(){function p(f){f===void 0&&(f={}),Object.assign(this,f),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var u=p.prototype;return u.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},u.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},u.next=function(){return this.parent.at(this.parent.index(this)+1)},u.prev=function(){return this.parent.at(this.parent.index(this)-1)},u.clone=function(d){d===void 0&&(d={});var m=l(this);for(var y in d)m[y]=d[y];return m},u.appendToPropertyAndEscape=function(d,m,y){this.raws||(this.raws={});var g=this[d],w=this.raws[d];this[d]=g+m,w||y!==m?this.raws[d]=(w||g)+y:delete this.raws[d]},u.setPropertyAndEscape=function(d,m,y){this.raws||(this.raws={}),this[d]=m,this.raws[d]=y},u.setPropertyWithoutEscape=function(d,m){this[d]=m,this.raws&&delete this.raws[d]},u.isAtPosition=function(d,m){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>m||this.source.end.line===d&&this.source.end.column<m)},u.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},u.valueToString=function(){return String(this.stringifyProperty("value"))},u.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},a(p,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),p}();e.default=c,t.exports=e.default}(Mi,Mi.exports)),Mi.exports}var Ae={},lf;function et(){if(lf)return Ae;lf=1,Ae.__esModule=!0,Ae.UNIVERSAL=Ae.TAG=Ae.STRING=Ae.SELECTOR=Ae.ROOT=Ae.PSEUDO=Ae.NESTING=Ae.ID=Ae.COMMENT=Ae.COMBINATOR=Ae.CLASS=Ae.ATTRIBUTE=void 0;var t="tag";Ae.TAG=t;var e="string";Ae.STRING=e;var r="selector";Ae.SELECTOR=r;var i="root";Ae.ROOT=i;var a="pseudo";Ae.PSEUDO=a;var l="nesting";Ae.NESTING=l;var c="id";Ae.ID=c;var p="comment";Ae.COMMENT=p;var u="combinator";Ae.COMBINATOR=u;var f="class";Ae.CLASS=f;var d="attribute";Ae.ATTRIBUTE=d;var m="universal";return Ae.UNIVERSAL=m,Ae}var cf;function Yc(){return cf||(cf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=c(mr()),i=l(et());function a(S){if(typeof WeakMap!="function")return null;var T=new WeakMap,E=new WeakMap;return(a=function(A){return A?E:T})(S)}function l(S,T){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var E=a(T);if(E&&E.has(S))return E.get(S);var x={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in S)if(N!=="default"&&Object.prototype.hasOwnProperty.call(S,N)){var _=A?Object.getOwnPropertyDescriptor(S,N):null;_&&(_.get||_.set)?Object.defineProperty(x,N,_):x[N]=S[N]}return x.default=S,E&&E.set(S,x),x}function c(S){return S&&S.__esModule?S:{default:S}}function p(S,T){var E=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(E)return(E=E.call(S)).next.bind(E);if(Array.isArray(S)||(E=u(S))||T){E&&(S=E);var x=0;return function(){return x>=S.length?{done:!0}:{done:!1,value:S[x++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
99
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(S,T){if(S){if(typeof S=="string")return f(S,T);var E=Object.prototype.toString.call(S).slice(8,-1);if(E==="Object"&&S.constructor&&(E=S.constructor.name),E==="Map"||E==="Set")return Array.from(S);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return f(S,T)}}function f(S,T){(T==null||T>S.length)&&(T=S.length);for(var E=0,x=new Array(T);E<T;E++)x[E]=S[E];return x}function d(S,T){for(var E=0;E<T.length;E++){var x=T[E];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(S,x.key,x)}}function m(S,T,E){return T&&d(S.prototype,T),Object.defineProperty(S,"prototype",{writable:!1}),S}function y(S,T){S.prototype=Object.create(T.prototype),S.prototype.constructor=S,g(S,T)}function g(S,T){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,A){return x.__proto__=A,x},g(S,T)}var w=function(S){y(T,S);function T(x){var A;return A=S.call(this,x)||this,A.nodes||(A.nodes=[]),A}var E=T.prototype;return E.append=function(A){return A.parent=this,this.nodes.push(A),this},E.prepend=function(A){A.parent=this,this.nodes.unshift(A);for(var N in this.indexes)this.indexes[N]++;return this},E.at=function(A){return this.nodes[A]},E.index=function(A){return typeof A=="number"?A:this.nodes.indexOf(A)},E.removeChild=function(A){A=this.index(A),this.at(A).parent=void 0,this.nodes.splice(A,1);var N;for(var _ in this.indexes)N=this.indexes[_],N>=A&&(this.indexes[_]=N-1);return this},E.removeAll=function(){for(var A=p(this.nodes),N;!(N=A()).done;){var _=N.value;_.parent=void 0}return this.nodes=[],this},E.empty=function(){return this.removeAll()},E.insertAfter=function(A,N){var _;N.parent=this;for(var M=this.index(A),D=[],O=2;O<arguments.length;O++)D.push(arguments[O]);(_=this.nodes).splice.apply(_,[M+1,0,N].concat(D)),N.parent=this;var I;for(var k in this.indexes)I=this.indexes[k],M<I&&(this.indexes[k]=I+arguments.length-1);return this},E.insertBefore=function(A,N){var _;N.parent=this;for(var M=this.index(A),D=[],O=2;O<arguments.length;O++)D.push(arguments[O]);(_=this.nodes).splice.apply(_,[M,0,N].concat(D)),N.parent=this;var I;for(var k in this.indexes)I=this.indexes[k],I>=M&&(this.indexes[k]=I+arguments.length-1);return this},E._findChildAtPosition=function(A,N){var _=void 0;return this.each(function(M){if(M.atPosition){var D=M.atPosition(A,N);if(D)return _=D,!1}else if(M.isAtPosition(A,N))return _=M,!1}),_},E.atPosition=function(A,N){if(this.isAtPosition(A,N))return this._findChildAtPosition(A,N)||this},E._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},E.each=function(A){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var N=this.lastEach;if(this.indexes[N]=0,!!this.length){for(var _,M;this.indexes[N]<this.length&&(_=this.indexes[N],M=A(this.at(_),_),M!==!1);)this.indexes[N]+=1;if(delete this.indexes[N],M===!1)return!1}},E.walk=function(A){return this.each(function(N,_){var M=A(N,_);if(M!==!1&&N.length&&(M=N.walk(A)),M===!1)return!1})},E.walkAttributes=function(A){var N=this;return this.walk(function(_){if(_.type===i.ATTRIBUTE)return A.call(N,_)})},E.walkClasses=function(A){var N=this;return this.walk(function(_){if(_.type===i.CLASS)return A.call(N,_)})},E.walkCombinators=function(A){var N=this;return this.walk(function(_){if(_.type===i.COMBINATOR)return A.call(N,_)})},E.walkComments=function(A){var N=this;return this.walk(function(_){if(_.type===i.COMMENT)return A.call(N,_)})},E.walkIds=function(A){var N=this;return this.walk(function(_){if(_.type===i.ID)return A.call(N,_)})},E.walkNesting=function(A){var N=this;return this.walk(function(_){if(_.type===i.NESTING)return A.call(N,_)})},E.walkPseudos=function(A){var N=this;return this.walk(function(_){if(_.type===i.PSEUDO)return A.call(N,_)})},E.walkTags=function(A){var N=this;return this.walk(function(_){if(_.type===i.TAG)return A.call(N,_)})},E.walkUniversals=function(A){var N=this;return this.walk(function(_){if(_.type===i.UNIVERSAL)return A.call(N,_)})},E.split=function(A){var N=this,_=[];return this.reduce(function(M,D,O){var I=A.call(N,D);return _.push(D),I?(M.push(_),_=[]):O===N.length-1&&M.push(_),M},[])},E.map=function(A){return this.nodes.map(A)},E.reduce=function(A,N){return this.nodes.reduce(A,N)},E.every=function(A){return this.nodes.every(A)},E.some=function(A){return this.nodes.some(A)},E.filter=function(A){return this.nodes.filter(A)},E.sort=function(A){return this.nodes.sort(A)},E.toString=function(){return this.map(String).join("")},m(T,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),T}(r.default);e.default=w,t.exports=e.default}(Li,Li.exports)),Li.exports}var uf;function fg(){return uf||(uf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Yc()),i=et();function a(d){return d&&d.__esModule?d:{default:d}}function l(d,m){for(var y=0;y<m.length;y++){var g=m[y];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}function c(d,m,y){return m&&l(d.prototype,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function p(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,u(d,m)}function u(d,m){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,w){return g.__proto__=w,g},u(d,m)}var f=function(d){p(m,d);function m(g){var w;return w=d.call(this,g)||this,w.type=i.ROOT,w}var y=m.prototype;return y.toString=function(){var w=this.reduce(function(S,T){return S.push(String(T)),S},[]).join(",");return this.trailingComma?w+",":w},y.error=function(w,S){return this._error?this._error(w,S):new Error(w)},c(m,[{key:"errorGenerator",set:function(w){this._error=w}}]),m}(r.default);e.default=f,t.exports=e.default}(ki,ki.exports)),ki.exports}var $i={exports:{}},hf;function dg(){return hf||(hf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Yc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.SELECTOR,m}return f}(r.default);e.default=p,t.exports=e.default}($i,$i.exports)),$i.exports}var Ui={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var Fo,pf;function Qc(){if(pf)return Fo;pf=1;var t={},e=t.hasOwnProperty,r=function(u,f){if(!u)return f;var d={};for(var m in f)d[m]=e.call(u,m)?u[m]:f[m];return d},i=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,l=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,c=function p(u,f){f=r(f,p.options),f.quotes!="single"&&f.quotes!="double"&&(f.quotes="single");for(var d=f.quotes=="double"?'"':"'",m=f.isIdentifier,y=u.charAt(0),g="",w=0,S=u.length;w<S;){var T=u.charAt(w++),E=T.charCodeAt(),x=void 0;if(E<32||E>126){if(E>=55296&&E<=56319&&w<S){var A=u.charCodeAt(w++);(A&64512)==56320?E=((E&1023)<<10)+(A&1023)+65536:w--}x="\\"+E.toString(16).toUpperCase()+" "}else f.escapeEverything?i.test(T)?x="\\"+T:x="\\"+E.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(T)?x="\\"+E.toString(16).toUpperCase()+" ":T=="\\"||!m&&(T=='"'&&d==T||T=="'"&&d==T)||m&&a.test(T)?x="\\"+T:x=T;g+=x}return m&&(/^-[-\d]/.test(g)?g="\\-"+g.slice(1):/\d/.test(y)&&(g="\\3"+y+" "+g.slice(1))),g=g.replace(l,function(N,_,M){return _&&_.length%2?N:(_||"")+M}),!m&&f.wrap?d+g+d:g};return c.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},c.version="3.0.0",Fo=c,Fo}var ff;function mg(){return ff||(ff=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=c(Qc()),i=Pa(),a=c(mr()),l=et();function c(y){return y&&y.__esModule?y:{default:y}}function p(y,g){for(var w=0;w<g.length;w++){var S=g[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function u(y,g,w){return g&&p(y.prototype,g),Object.defineProperty(y,"prototype",{writable:!1}),y}function f(y,g){y.prototype=Object.create(g.prototype),y.prototype.constructor=y,d(y,g)}function d(y,g){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,T){return S.__proto__=T,S},d(y,g)}var m=function(y){f(g,y);function g(S){var T;return T=y.call(this,S)||this,T.type=l.CLASS,T._constructed=!0,T}var w=g.prototype;return w.valueToString=function(){return"."+y.prototype.valueToString.call(this)},u(g,[{key:"value",get:function(){return this._value},set:function(T){if(this._constructed){var E=(0,r.default)(T,{isIdentifier:!0});E!==T?((0,i.ensureObject)(this,"raws"),this.raws.value=E):this.raws&&delete this.raws.value}this._value=T}}]),g}(a.default);e.default=m,t.exports=e.default}(Ui,Ui.exports)),Ui.exports}var qi={exports:{}},df;function yg(){return df||(df=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.COMMENT,m}return f}(r.default);e.default=p,t.exports=e.default}(qi,qi.exports)),qi.exports}var ji={exports:{}},mf;function gg(){return mf||(mf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(m){var y;return y=u.call(this,m)||this,y.type=i.ID,y}var d=f.prototype;return d.valueToString=function(){return"#"+u.prototype.valueToString.call(this)},f}(r.default);e.default=p,t.exports=e.default}(ji,ji.exports)),ji.exports}var Vi={exports:{}},zi={exports:{}},yf;function Zc(){return yf||(yf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=l(Qc()),i=Pa(),a=l(mr());function l(m){return m&&m.__esModule?m:{default:m}}function c(m,y){for(var g=0;g<y.length;g++){var w=y[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}function p(m,y,g){return y&&c(m.prototype,y),Object.defineProperty(m,"prototype",{writable:!1}),m}function u(m,y){m.prototype=Object.create(y.prototype),m.prototype.constructor=m,f(m,y)}function f(m,y){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,S){return w.__proto__=S,w},f(m,y)}var d=function(m){u(y,m);function y(){return m.apply(this,arguments)||this}var g=y.prototype;return g.qualifiedName=function(S){return this.namespace?this.namespaceString+"|"+S:S},g.valueToString=function(){return this.qualifiedName(m.prototype.valueToString.call(this))},p(y,[{key:"namespace",get:function(){return this._namespace},set:function(S){if(S===!0||S==="*"||S==="&"){this._namespace=S,this.raws&&delete this.raws.namespace;return}var T=(0,r.default)(S,{isIdentifier:!0});this._namespace=S,T!==S?((0,i.ensureObject)(this,"raws"),this.raws.namespace=T):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(S){this.namespace=S}},{key:"namespaceString",get:function(){if(this.namespace){var S=this.stringifyProperty("namespace");return S===!0?"":S}else return""}}]),y}(a.default);e.default=d,t.exports=e.default}(zi,zi.exports)),zi.exports}var gf;function vg(){return gf||(gf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Zc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.TAG,m}return f}(r.default);e.default=p,t.exports=e.default}(Vi,Vi.exports)),Vi.exports}var Wi={exports:{}},vf;function Sg(){return vf||(vf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.STRING,m}return f}(r.default);e.default=p,t.exports=e.default}(Wi,Wi.exports)),Wi.exports}var Gi={exports:{}},Sf;function Eg(){return Sf||(Sf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Yc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(m){var y;return y=u.call(this,m)||this,y.type=i.PSEUDO,y}var d=f.prototype;return d.toString=function(){var y=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),y,this.rawSpaceAfter].join("")},f}(r.default);e.default=p,t.exports=e.default}(Gi,Gi.exports)),Gi.exports}var Bo={},$o,Ef;function Rb(){return Ef||(Ef=1,$o=db.deprecate),$o}var Tf;function Tg(){return Tf||(Tf=1,function(t){t.__esModule=!0,t.default=void 0,t.unescapeValue=T;var e=c(Qc()),r=c(pg()),i=c(Zc()),a=et(),l;function c(_){return _&&_.__esModule?_:{default:_}}function p(_,M){for(var D=0;D<M.length;D++){var O=M[D];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(_,O.key,O)}}function u(_,M,D){return M&&p(_.prototype,M),Object.defineProperty(_,"prototype",{writable:!1}),_}function f(_,M){_.prototype=Object.create(M.prototype),_.prototype.constructor=_,d(_,M)}function d(_,M){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,I){return O.__proto__=I,O},d(_,M)}var m=Rb(),y=/^('|")([^]*)\1$/,g=m(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),w=m(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),S=m(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function T(_){var M=!1,D=null,O=_,I=O.match(y);return I&&(D=I[1],O=I[2]),O=(0,r.default)(O),O!==_&&(M=!0),{deprecatedUsage:M,unescaped:O,quoteMark:D}}function E(_){if(_.quoteMark!==void 0||_.value===void 0)return _;S();var M=T(_.value),D=M.quoteMark,O=M.unescaped;return _.raws||(_.raws={}),_.raws.value===void 0&&(_.raws.value=_.value),_.value=O,_.quoteMark=D,_}var x=function(_){f(M,_);function M(O){var I;return O===void 0&&(O={}),I=_.call(this,E(O))||this,I.type=a.ATTRIBUTE,I.raws=I.raws||{},Object.defineProperty(I.raws,"unquoted",{get:m(function(){return I.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:m(function(){return I.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),I._constructed=!0,I}var D=M.prototype;return D.getQuotedValue=function(I){I===void 0&&(I={});var k=this._determineQuoteMark(I),L=A[k],V=(0,e.default)(this._value,L);return V},D._determineQuoteMark=function(I){return I.smart?this.smartQuoteMark(I):this.preferredQuoteMark(I)},D.setValue=function(I,k){k===void 0&&(k={}),this._value=I,this._quoteMark=this._determineQuoteMark(k),this._syncRawValue()},D.smartQuoteMark=function(I){var k=this.value,L=k.replace(/[^']/g,"").length,V=k.replace(/[^"]/g,"").length;if(L+V===0){var K=(0,e.default)(k,{isIdentifier:!0});if(K===k)return M.NO_QUOTE;var re=this.preferredQuoteMark(I);if(re===M.NO_QUOTE){var z=this.quoteMark||I.quoteMark||M.DOUBLE_QUOTE,se=A[z],he=(0,e.default)(k,se);if(he.length<K.length)return z}return re}else return V===L?this.preferredQuoteMark(I):V<L?M.DOUBLE_QUOTE:M.SINGLE_QUOTE},D.preferredQuoteMark=function(I){var k=I.preferCurrentQuoteMark?this.quoteMark:I.quoteMark;return k===void 0&&(k=I.preferCurrentQuoteMark?I.quoteMark:this.quoteMark),k===void 0&&(k=M.DOUBLE_QUOTE),k},D._syncRawValue=function(){var I=(0,e.default)(this._value,A[this.quoteMark]);I===this._value?this.raws&&delete this.raws.value:this.raws.value=I},D._handleEscapes=function(I,k){if(this._constructed){var L=(0,e.default)(k,{isIdentifier:!0});L!==k?this.raws[I]=L:delete this.raws[I]}},D._spacesFor=function(I){var k={before:"",after:""},L=this.spaces[I]||{},V=this.raws.spaces&&this.raws.spaces[I]||{};return Object.assign(k,L,V)},D._stringFor=function(I,k,L){k===void 0&&(k=I),L===void 0&&(L=N);var V=this._spacesFor(k);return L(this.stringifyProperty(I),V)},D.offsetOf=function(I){var k=1,L=this._spacesFor("attribute");if(k+=L.before.length,I==="namespace"||I==="ns")return this.namespace?k:-1;if(I==="attributeNS"||(k+=this.namespaceString.length,this.namespace&&(k+=1),I==="attribute"))return k;k+=this.stringifyProperty("attribute").length,k+=L.after.length;var V=this._spacesFor("operator");k+=V.before.length;var K=this.stringifyProperty("operator");if(I==="operator")return K?k:-1;k+=K.length,k+=V.after.length;var re=this._spacesFor("value");k+=re.before.length;var z=this.stringifyProperty("value");if(I==="value")return z?k:-1;k+=z.length,k+=re.after.length;var se=this._spacesFor("insensitive");return k+=se.before.length,I==="insensitive"&&this.insensitive?k:-1},D.toString=function(){var I=this,k=[this.rawSpaceBefore,"["];return k.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(k.push(this._stringFor("operator")),k.push(this._stringFor("value")),k.push(this._stringFor("insensitiveFlag","insensitive",function(L,V){return L.length>0&&!I.quoted&&V.before.length===0&&!(I.spaces.value&&I.spaces.value.after)&&(V.before=" "),N(L,V)}))),k.push("]"),k.push(this.rawSpaceAfter),k.join("")},u(M,[{key:"quoted",get:function(){var I=this.quoteMark;return I==="'"||I==='"'},set:function(I){w()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(I){if(!this._constructed){this._quoteMark=I;return}this._quoteMark!==I&&(this._quoteMark=I,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(I){if(this._constructed){var k=T(I),L=k.deprecatedUsage,V=k.unescaped,K=k.quoteMark;if(L&&g(),V===this._value&&K===this._quoteMark)return;this._value=V,this._quoteMark=K,this._syncRawValue()}else this._value=I}},{key:"insensitive",get:function(){return this._insensitive},set:function(I){I||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=I}},{key:"attribute",get:function(){return this._attribute},set:function(I){this._handleEscapes("attribute",I),this._attribute=I}}]),M}(i.default);t.default=x,x.NO_QUOTE=null,x.SINGLE_QUOTE="'",x.DOUBLE_QUOTE='"';var A=(l={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},l[null]={isIdentifier:!0},l);function N(_,M){return""+M.before+_+M.after}}(Bo)),Bo}var Hi={exports:{}},wf;function wg(){return wf||(wf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Zc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.UNIVERSAL,m.value="*",m}return f}(r.default);e.default=p,t.exports=e.default}(Hi,Hi.exports)),Hi.exports}var Xi={exports:{}},Pf;function Pg(){return Pf||(Pf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.COMBINATOR,m}return f}(r.default);e.default=p,t.exports=e.default}(Xi,Xi.exports)),Xi.exports}var Ji={exports:{}},bf;function bg(){return bf||(bf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.NESTING,m.value="&",m}return f}(r.default);e.default=p,t.exports=e.default}(Ji,Ji.exports)),Ji.exports}var Ki={exports:{}},xf;function Db(){return xf||(xf=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){return i.sort(function(a,l){return a-l})}t.exports=e.default}(Ki,Ki.exports)),Ki.exports}var Uo={},le={},_f;function xg(){if(_f)return le;_f=1,le.__esModule=!0,le.word=le.tilde=le.tab=le.str=le.space=le.slash=le.singleQuote=le.semicolon=le.plus=le.pipe=le.openSquare=le.openParenthesis=le.newline=le.greaterThan=le.feed=le.equals=le.doubleQuote=le.dollar=le.cr=le.comment=le.comma=le.combinator=le.colon=le.closeSquare=le.closeParenthesis=le.caret=le.bang=le.backslash=le.at=le.asterisk=le.ampersand=void 0;var t=38;le.ampersand=t;var e=42;le.asterisk=e;var r=64;le.at=r;var i=44;le.comma=i;var a=58;le.colon=a;var l=59;le.semicolon=l;var c=40;le.openParenthesis=c;var p=41;le.closeParenthesis=p;var u=91;le.openSquare=u;var f=93;le.closeSquare=f;var d=36;le.dollar=d;var m=126;le.tilde=m;var y=94;le.caret=y;var g=43;le.plus=g;var w=61;le.equals=w;var S=124;le.pipe=S;var T=62;le.greaterThan=T;var E=32;le.space=E;var x=39;le.singleQuote=x;var A=34;le.doubleQuote=A;var N=47;le.slash=N;var _=33;le.bang=_;var M=92;le.backslash=M;var D=13;le.cr=D;var O=12;le.feed=O;var I=10;le.newline=I;var k=9;le.tab=k;var L=x;le.str=L;var V=-1;le.comment=V;var K=-2;le.word=K;var re=-3;return le.combinator=re,le}var Af;function Fb(){return Af||(Af=1,function(t){t.__esModule=!0,t.FIELDS=void 0,t.default=w;var e=l(xg()),r,i;function a(S){if(typeof WeakMap!="function")return null;var T=new WeakMap,E=new WeakMap;return(a=function(A){return A?E:T})(S)}function l(S,T){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var E=a(T);if(E&&E.has(S))return E.get(S);var x={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in S)if(N!=="default"&&Object.prototype.hasOwnProperty.call(S,N)){var _=A?Object.getOwnPropertyDescriptor(S,N):null;_&&(_.get||_.set)?Object.defineProperty(x,N,_):x[N]=S[N]}return x.default=S,E&&E.set(S,x),x}for(var c=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),p=(i={},i[e.space]=!0,i[e.tab]=!0,i[e.newline]=!0,i[e.cr]=!0,i[e.feed]=!0,i[e.ampersand]=!0,i[e.asterisk]=!0,i[e.bang]=!0,i[e.comma]=!0,i[e.colon]=!0,i[e.semicolon]=!0,i[e.openParenthesis]=!0,i[e.closeParenthesis]=!0,i[e.openSquare]=!0,i[e.closeSquare]=!0,i[e.singleQuote]=!0,i[e.doubleQuote]=!0,i[e.plus]=!0,i[e.pipe]=!0,i[e.tilde]=!0,i[e.greaterThan]=!0,i[e.equals]=!0,i[e.dollar]=!0,i[e.caret]=!0,i[e.slash]=!0,i),u={},f="0123456789abcdefABCDEF",d=0;d<f.length;d++)u[f.charCodeAt(d)]=!0;function m(S,T){var E=T,x;do{if(x=S.charCodeAt(E),p[x])return E-1;x===e.backslash?E=y(S,E)+1:E++}while(E<S.length);return E-1}function y(S,T){var E=T,x=S.charCodeAt(E+1);if(!c[x])if(u[x]){var A=0;do E++,A++,x=S.charCodeAt(E+1);while(u[x]&&A<6);A<6&&x===e.space&&E++}else E++;return E}var g={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=g;function w(S){var T=[],E=S.css.valueOf(),x=E,A=x.length,N=-1,_=1,M=0,D=0,O,I,k,L,V,K,re,z,se,he,ne,ge,ve;function Y(ie,G){if(S.safe)E+=G,se=E.length-1;else throw S.error("Unclosed "+ie,_,M-N,M)}for(;M<A;){switch(O=E.charCodeAt(M),O===e.newline&&(N=M,_+=1),O){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:se=M;do se+=1,O=E.charCodeAt(se),O===e.newline&&(N=se,_+=1);while(O===e.space||O===e.newline||O===e.tab||O===e.cr||O===e.feed);ve=e.space,L=_,k=se-N-1,D=se;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:se=M;do se+=1,O=E.charCodeAt(se);while(O===e.plus||O===e.greaterThan||O===e.tilde||O===e.pipe);ve=e.combinator,L=_,k=M-N,D=se;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:se=M,ve=O,L=_,k=M-N,D=se+1;break;case e.singleQuote:case e.doubleQuote:ge=O===e.singleQuote?"'":'"',se=M;do for(V=!1,se=E.indexOf(ge,se+1),se===-1&&Y("quote",ge),K=se;E.charCodeAt(K-1)===e.backslash;)K-=1,V=!V;while(V);ve=e.str,L=_,k=M-N,D=se+1;break;default:O===e.slash&&E.charCodeAt(M+1)===e.asterisk?(se=E.indexOf("*/",M+2)+1,se===0&&Y("comment","*/"),I=E.slice(M,se+1),z=I.split(`
100
- `),re=z.length-1,re>0?(he=_+re,ne=se-z[re].length):(he=_,ne=N),ve=e.comment,_=he,L=he,k=se-ne):O===e.slash?(se=M,ve=O,L=_,k=M-N,D=se+1):(se=m(E,M),ve=e.word,L=_,k=se-N),D=se+1;break}T.push([ve,_,M-N,L,k,M,D]),ne&&(N=ne,ne=null),M=D}return T}}(Uo)),Uo}var Cf;function Bb(){return Cf||(Cf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=D(fg()),i=D(dg()),a=D(mg()),l=D(yg()),c=D(gg()),p=D(vg()),u=D(Sg()),f=D(Eg()),d=M(Tg()),m=D(wg()),y=D(Pg()),g=D(bg()),w=D(Db()),S=M(Fb()),T=M(xg()),E=M(et()),x=Pa(),A,N;function _(Y){if(typeof WeakMap!="function")return null;var ie=new WeakMap,G=new WeakMap;return(_=function(U){return U?G:ie})(Y)}function M(Y,ie){if(Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var G=_(ie);if(G&&G.has(Y))return G.get(Y);var j={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in Y)if(H!=="default"&&Object.prototype.hasOwnProperty.call(Y,H)){var B=U?Object.getOwnPropertyDescriptor(Y,H):null;B&&(B.get||B.set)?Object.defineProperty(j,H,B):j[H]=Y[H]}return j.default=Y,G&&G.set(Y,j),j}function D(Y){return Y&&Y.__esModule?Y:{default:Y}}function O(Y,ie){for(var G=0;G<ie.length;G++){var j=ie[G];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(Y,j.key,j)}}function I(Y,ie,G){return ie&&O(Y.prototype,ie),Object.defineProperty(Y,"prototype",{writable:!1}),Y}var k=(A={},A[T.space]=!0,A[T.cr]=!0,A[T.feed]=!0,A[T.newline]=!0,A[T.tab]=!0,A),L=Object.assign({},k,(N={},N[T.comment]=!0,N));function V(Y){return{line:Y[S.FIELDS.START_LINE],column:Y[S.FIELDS.START_COL]}}function K(Y){return{line:Y[S.FIELDS.END_LINE],column:Y[S.FIELDS.END_COL]}}function re(Y,ie,G,j){return{start:{line:Y,column:ie},end:{line:G,column:j}}}function z(Y){return re(Y[S.FIELDS.START_LINE],Y[S.FIELDS.START_COL],Y[S.FIELDS.END_LINE],Y[S.FIELDS.END_COL])}function se(Y,ie){if(Y)return re(Y[S.FIELDS.START_LINE],Y[S.FIELDS.START_COL],ie[S.FIELDS.END_LINE],ie[S.FIELDS.END_COL])}function he(Y,ie){var G=Y[ie];if(typeof G=="string")return G.indexOf("\\")!==-1&&((0,x.ensureObject)(Y,"raws"),Y[ie]=(0,x.unesc)(G),Y.raws[ie]===void 0&&(Y.raws[ie]=G)),Y}function ne(Y,ie){for(var G=-1,j=[];(G=Y.indexOf(ie,G+1))!==-1;)j.push(G);return j}function ge(){var Y=Array.prototype.concat.apply([],arguments);return Y.filter(function(ie,G){return G===Y.indexOf(ie)})}var ve=function(){function Y(G,j){j===void 0&&(j={}),this.rule=G,this.options=Object.assign({lossy:!1,safe:!1},j),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,S.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var U=se(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:U}),this.root.errorGenerator=this._errorGenerator();var H=new i.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(H),this.current=H,this.loop()}var ie=Y.prototype;return ie._errorGenerator=function(){var j=this;return function(U,H){return typeof j.rule=="string"?new Error(U):j.rule.error(U,H)}},ie.attribute=function(){var j=[],U=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[S.FIELDS.TYPE]!==T.closeSquare;)j.push(this.currToken),this.position++;if(this.currToken[S.FIELDS.TYPE]!==T.closeSquare)return this.expected("closing square bracket",this.currToken[S.FIELDS.START_POS]);var H=j.length,B={source:re(U[1],U[2],this.currToken[3],this.currToken[4]),sourceIndex:U[S.FIELDS.START_POS]};if(H===1&&!~[T.word].indexOf(j[0][S.FIELDS.TYPE]))return this.expected("attribute",j[0][S.FIELDS.START_POS]);for(var W=0,ue="",Q="",Z=null,ce=!1;W<H;){var Ee=j[W],de=this.content(Ee),be=j[W+1];switch(Ee[S.FIELDS.TYPE]){case T.space:if(ce=!0,this.options.lossy)break;if(Z){(0,x.ensureObject)(B,"spaces",Z);var it=B.spaces[Z].after||"";B.spaces[Z].after=it+de;var dt=(0,x.getProp)(B,"raws","spaces",Z,"after")||null;dt&&(B.raws.spaces[Z].after=dt+de)}else ue=ue+de,Q=Q+de;break;case T.asterisk:if(be[S.FIELDS.TYPE]===T.equals)B.operator=de,Z="operator";else if((!B.namespace||Z==="namespace"&&!ce)&&be){ue&&((0,x.ensureObject)(B,"spaces","attribute"),B.spaces.attribute.before=ue,ue=""),Q&&((0,x.ensureObject)(B,"raws","spaces","attribute"),B.raws.spaces.attribute.before=ue,Q=""),B.namespace=(B.namespace||"")+de;var tt=(0,x.getProp)(B,"raws","namespace")||null;tt&&(B.raws.namespace+=de),Z="namespace"}ce=!1;break;case T.dollar:if(Z==="value"){var Be=(0,x.getProp)(B,"raws","value");B.value+="$",Be&&(B.raws.value=Be+"$");break}case T.caret:be[S.FIELDS.TYPE]===T.equals&&(B.operator=de,Z="operator"),ce=!1;break;case T.combinator:if(de==="~"&&be[S.FIELDS.TYPE]===T.equals&&(B.operator=de,Z="operator"),de!=="|"){ce=!1;break}be[S.FIELDS.TYPE]===T.equals?(B.operator=de,Z="operator"):!B.namespace&&!B.attribute&&(B.namespace=!0),ce=!1;break;case T.word:if(be&&this.content(be)==="|"&&j[W+2]&&j[W+2][S.FIELDS.TYPE]!==T.equals&&!B.operator&&!B.namespace)B.namespace=de,Z="namespace";else if(!B.attribute||Z==="attribute"&&!ce){ue&&((0,x.ensureObject)(B,"spaces","attribute"),B.spaces.attribute.before=ue,ue=""),Q&&((0,x.ensureObject)(B,"raws","spaces","attribute"),B.raws.spaces.attribute.before=Q,Q=""),B.attribute=(B.attribute||"")+de;var mt=(0,x.getProp)(B,"raws","attribute")||null;mt&&(B.raws.attribute+=de),Z="attribute"}else if(!B.value&&B.value!==""||Z==="value"&&!(ce||B.quoteMark)){var yt=(0,x.unesc)(de),Nt=(0,x.getProp)(B,"raws","value")||"",$r=B.value||"";B.value=$r+yt,B.quoteMark=null,(yt!==de||Nt)&&((0,x.ensureObject)(B,"raws"),B.raws.value=(Nt||$r)+de),Z="value"}else{var Ur=de==="i"||de==="I";(B.value||B.value==="")&&(B.quoteMark||ce)?(B.insensitive=Ur,(!Ur||de==="I")&&((0,x.ensureObject)(B,"raws"),B.raws.insensitiveFlag=de),Z="insensitive",ue&&((0,x.ensureObject)(B,"spaces","insensitive"),B.spaces.insensitive.before=ue,ue=""),Q&&((0,x.ensureObject)(B,"raws","spaces","insensitive"),B.raws.spaces.insensitive.before=Q,Q="")):(B.value||B.value==="")&&(Z="value",B.value+=de,B.raws.value&&(B.raws.value+=de))}ce=!1;break;case T.str:if(!B.attribute||!B.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Ee[S.FIELDS.START_POS]});var nt=(0,d.unescapeValue)(de),qr=nt.unescaped,Ca=nt.quoteMark;B.value=qr,B.quoteMark=Ca,Z="value",(0,x.ensureObject)(B,"raws"),B.raws.value=de,ce=!1;break;case T.equals:if(!B.attribute)return this.expected("attribute",Ee[S.FIELDS.START_POS],de);if(B.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Ee[S.FIELDS.START_POS]});B.operator=B.operator?B.operator+de:de,Z="operator",ce=!1;break;case T.comment:if(Z)if(ce||be&&be[S.FIELDS.TYPE]===T.space||Z==="insensitive"){var jr=(0,x.getProp)(B,"spaces",Z,"after")||"",Pt=(0,x.getProp)(B,"raws","spaces",Z,"after")||jr;(0,x.ensureObject)(B,"raws","spaces",Z),B.raws.spaces[Z].after=Pt+de}else{var Ss=B[Z]||"",hi=(0,x.getProp)(B,"raws",Z)||Ss;(0,x.ensureObject)(B,"raws"),B.raws[Z]=hi+de}else Q=Q+de;break;default:return this.error('Unexpected "'+de+'" found.',{index:Ee[S.FIELDS.START_POS]})}W++}he(B,"attribute"),he(B,"namespace"),this.newNode(new d.default(B)),this.position++},ie.parseWhitespaceEquivalentTokens=function(j){j<0&&(j=this.tokens.length);var U=this.position,H=[],B="",W=void 0;do if(k[this.currToken[S.FIELDS.TYPE]])this.options.lossy||(B+=this.content());else if(this.currToken[S.FIELDS.TYPE]===T.comment){var ue={};B&&(ue.before=B,B=""),W=new l.default({value:this.content(),source:z(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS],spaces:ue}),H.push(W)}while(++this.position<j);if(B){if(W)W.spaces.after=B;else if(!this.options.lossy){var Q=this.tokens[U],Z=this.tokens[this.position-1];H.push(new u.default({value:"",source:re(Q[S.FIELDS.START_LINE],Q[S.FIELDS.START_COL],Z[S.FIELDS.END_LINE],Z[S.FIELDS.END_COL]),sourceIndex:Q[S.FIELDS.START_POS],spaces:{before:B,after:""}}))}}return H},ie.convertWhitespaceNodesToSpace=function(j,U){var H=this;U===void 0&&(U=!1);var B="",W="";j.forEach(function(Q){var Z=H.lossySpace(Q.spaces.before,U),ce=H.lossySpace(Q.rawSpaceBefore,U);B+=Z+H.lossySpace(Q.spaces.after,U&&Z.length===0),W+=Z+Q.value+H.lossySpace(Q.rawSpaceAfter,U&&ce.length===0)}),W===B&&(W=void 0);var ue={space:B,rawSpace:W};return ue},ie.isNamedCombinator=function(j){return j===void 0&&(j=this.position),this.tokens[j+0]&&this.tokens[j+0][S.FIELDS.TYPE]===T.slash&&this.tokens[j+1]&&this.tokens[j+1][S.FIELDS.TYPE]===T.word&&this.tokens[j+2]&&this.tokens[j+2][S.FIELDS.TYPE]===T.slash},ie.namedCombinator=function(){if(this.isNamedCombinator()){var j=this.content(this.tokens[this.position+1]),U=(0,x.unesc)(j).toLowerCase(),H={};U!==j&&(H.value="/"+j+"/");var B=new y.default({value:"/"+U+"/",source:re(this.currToken[S.FIELDS.START_LINE],this.currToken[S.FIELDS.START_COL],this.tokens[this.position+2][S.FIELDS.END_LINE],this.tokens[this.position+2][S.FIELDS.END_COL]),sourceIndex:this.currToken[S.FIELDS.START_POS],raws:H});return this.position=this.position+3,B}else this.unexpected()},ie.combinator=function(){var j=this;if(this.content()==="|")return this.namespace();var U=this.locateNextMeaningfulToken(this.position);if(U<0||this.tokens[U][S.FIELDS.TYPE]===T.comma||this.tokens[U][S.FIELDS.TYPE]===T.closeParenthesis){var H=this.parseWhitespaceEquivalentTokens(U);if(H.length>0){var B=this.current.last;if(B){var W=this.convertWhitespaceNodesToSpace(H),ue=W.space,Q=W.rawSpace;Q!==void 0&&(B.rawSpaceAfter+=Q),B.spaces.after+=ue}else H.forEach(function(Nt){return j.newNode(Nt)})}return}var Z=this.currToken,ce=void 0;U>this.position&&(ce=this.parseWhitespaceEquivalentTokens(U));var Ee;if(this.isNamedCombinator()?Ee=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===T.combinator?(Ee=new y.default({value:this.content(),source:z(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):k[this.currToken[S.FIELDS.TYPE]]||ce||this.unexpected(),Ee){if(ce){var de=this.convertWhitespaceNodesToSpace(ce),be=de.space,it=de.rawSpace;Ee.spaces.before=be,Ee.rawSpaceBefore=it}}else{var dt=this.convertWhitespaceNodesToSpace(ce,!0),tt=dt.space,Be=dt.rawSpace;Be||(Be=tt);var mt={},yt={spaces:{}};tt.endsWith(" ")&&Be.endsWith(" ")?(mt.before=tt.slice(0,tt.length-1),yt.spaces.before=Be.slice(0,Be.length-1)):tt.startsWith(" ")&&Be.startsWith(" ")?(mt.after=tt.slice(1),yt.spaces.after=Be.slice(1)):yt.value=Be,Ee=new y.default({value:" ",source:se(Z,this.tokens[this.position-1]),sourceIndex:Z[S.FIELDS.START_POS],spaces:mt,raws:yt})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===T.space&&(Ee.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Ee)},ie.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var j=new i.default({source:{start:V(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][S.FIELDS.START_POS]});this.current.parent.append(j),this.current=j,this.position++},ie.comment=function(){var j=this.currToken;this.newNode(new l.default({value:this.content(),source:z(j),sourceIndex:j[S.FIELDS.START_POS]})),this.position++},ie.error=function(j,U){throw this.root.error(j,U)},ie.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[S.FIELDS.START_POS]})},ie.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[S.FIELDS.START_POS])},ie.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[S.FIELDS.START_POS])},ie.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[S.FIELDS.START_POS])},ie.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[S.FIELDS.START_POS])},ie.namespace=function(){var j=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[S.FIELDS.TYPE]===T.word)return this.position++,this.word(j);if(this.nextToken[S.FIELDS.TYPE]===T.asterisk)return this.position++,this.universal(j);this.unexpectedPipe()},ie.nesting=function(){if(this.nextToken){var j=this.content(this.nextToken);if(j==="|"){this.position++;return}}var U=this.currToken;this.newNode(new g.default({value:this.content(),source:z(U),sourceIndex:U[S.FIELDS.START_POS]})),this.position++},ie.parentheses=function(){var j=this.current.last,U=1;if(this.position++,j&&j.type===E.PSEUDO){var H=new i.default({source:{start:V(this.tokens[this.position])},sourceIndex:this.tokens[this.position][S.FIELDS.START_POS]}),B=this.current;for(j.append(H),this.current=H;this.position<this.tokens.length&&U;)this.currToken[S.FIELDS.TYPE]===T.openParenthesis&&U++,this.currToken[S.FIELDS.TYPE]===T.closeParenthesis&&U--,U?this.parse():(this.current.source.end=K(this.currToken),this.current.parent.source.end=K(this.currToken),this.position++);this.current=B}else{for(var W=this.currToken,ue="(",Q;this.position<this.tokens.length&&U;)this.currToken[S.FIELDS.TYPE]===T.openParenthesis&&U++,this.currToken[S.FIELDS.TYPE]===T.closeParenthesis&&U--,Q=this.currToken,ue+=this.parseParenthesisToken(this.currToken),this.position++;j?j.appendToPropertyAndEscape("value",ue,ue):this.newNode(new u.default({value:ue,source:re(W[S.FIELDS.START_LINE],W[S.FIELDS.START_COL],Q[S.FIELDS.END_LINE],Q[S.FIELDS.END_COL]),sourceIndex:W[S.FIELDS.START_POS]}))}if(U)return this.expected("closing parenthesis",this.currToken[S.FIELDS.START_POS])},ie.pseudo=function(){for(var j=this,U="",H=this.currToken;this.currToken&&this.currToken[S.FIELDS.TYPE]===T.colon;)U+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[S.FIELDS.TYPE]===T.word)this.splitWord(!1,function(B,W){U+=B,j.newNode(new f.default({value:U,source:se(H,j.currToken),sourceIndex:H[S.FIELDS.START_POS]})),W>1&&j.nextToken&&j.nextToken[S.FIELDS.TYPE]===T.openParenthesis&&j.error("Misplaced parenthesis.",{index:j.nextToken[S.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[S.FIELDS.START_POS])},ie.space=function(){var j=this.content();this.position===0||this.prevToken[S.FIELDS.TYPE]===T.comma||this.prevToken[S.FIELDS.TYPE]===T.openParenthesis||this.current.nodes.every(function(U){return U.type==="comment"})?(this.spaces=this.optionalSpace(j),this.position++):this.position===this.tokens.length-1||this.nextToken[S.FIELDS.TYPE]===T.comma||this.nextToken[S.FIELDS.TYPE]===T.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(j),this.position++):this.combinator()},ie.string=function(){var j=this.currToken;this.newNode(new u.default({value:this.content(),source:z(j),sourceIndex:j[S.FIELDS.START_POS]})),this.position++},ie.universal=function(j){var U=this.nextToken;if(U&&this.content(U)==="|")return this.position++,this.namespace();var H=this.currToken;this.newNode(new m.default({value:this.content(),source:z(H),sourceIndex:H[S.FIELDS.START_POS]}),j),this.position++},ie.splitWord=function(j,U){for(var H=this,B=this.nextToken,W=this.content();B&&~[T.dollar,T.caret,T.equals,T.word].indexOf(B[S.FIELDS.TYPE]);){this.position++;var ue=this.content();if(W+=ue,ue.lastIndexOf("\\")===ue.length-1){var Q=this.nextToken;Q&&Q[S.FIELDS.TYPE]===T.space&&(W+=this.requiredSpace(this.content(Q)),this.position++)}B=this.nextToken}var Z=ne(W,".").filter(function(be){var it=W[be-1]==="\\",dt=/^\d+\.\d+%$/.test(W);return!it&&!dt}),ce=ne(W,"#").filter(function(be){return W[be-1]!=="\\"}),Ee=ne(W,"#{");Ee.length&&(ce=ce.filter(function(be){return!~Ee.indexOf(be)}));var de=(0,w.default)(ge([0].concat(Z,ce)));de.forEach(function(be,it){var dt=de[it+1]||W.length,tt=W.slice(be,dt);if(it===0&&U)return U.call(H,tt,de.length);var Be,mt=H.currToken,yt=mt[S.FIELDS.START_POS]+de[it],Nt=re(mt[1],mt[2]+be,mt[3],mt[2]+(dt-1));if(~Z.indexOf(be)){var $r={value:tt.slice(1),source:Nt,sourceIndex:yt};Be=new a.default(he($r,"value"))}else if(~ce.indexOf(be)){var Ur={value:tt.slice(1),source:Nt,sourceIndex:yt};Be=new c.default(he(Ur,"value"))}else{var nt={value:tt,source:Nt,sourceIndex:yt};he(nt,"value"),Be=new p.default(nt)}H.newNode(Be,j),j=null}),this.position++},ie.word=function(j){var U=this.nextToken;return U&&this.content(U)==="|"?(this.position++,this.namespace()):this.splitWord(j)},ie.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},ie.parse=function(j){switch(this.currToken[S.FIELDS.TYPE]){case T.space:this.space();break;case T.comment:this.comment();break;case T.openParenthesis:this.parentheses();break;case T.closeParenthesis:j&&this.missingParenthesis();break;case T.openSquare:this.attribute();break;case T.dollar:case T.caret:case T.equals:case T.word:this.word();break;case T.colon:this.pseudo();break;case T.comma:this.comma();break;case T.asterisk:this.universal();break;case T.ampersand:this.nesting();break;case T.slash:case T.combinator:this.combinator();break;case T.str:this.string();break;case T.closeSquare:this.missingSquareBracket();case T.semicolon:this.missingBackslash();default:this.unexpected()}},ie.expected=function(j,U,H){if(Array.isArray(j)){var B=j.pop();j=j.join(", ")+" or "+B}var W=/^[aeiou]/.test(j[0])?"an":"a";return H?this.error("Expected "+W+" "+j+', found "'+H+'" instead.',{index:U}):this.error("Expected "+W+" "+j+".",{index:U})},ie.requiredSpace=function(j){return this.options.lossy?" ":j},ie.optionalSpace=function(j){return this.options.lossy?"":j},ie.lossySpace=function(j,U){return this.options.lossy?U?" ":"":j},ie.parseParenthesisToken=function(j){var U=this.content(j);return j[S.FIELDS.TYPE]===T.space?this.requiredSpace(U):U},ie.newNode=function(j,U){return U&&(/^ +$/.test(U)&&(this.options.lossy||(this.spaces=(this.spaces||"")+U),U=!0),j.namespace=U,he(j,"namespace")),this.spaces&&(j.spaces.before=this.spaces,this.spaces=""),this.current.append(j)},ie.content=function(j){return j===void 0&&(j=this.currToken),this.css.slice(j[S.FIELDS.START_POS],j[S.FIELDS.END_POS])},ie.locateNextMeaningfulToken=function(j){j===void 0&&(j=this.position+1);for(var U=j;U<this.tokens.length;)if(L[this.tokens[U][S.FIELDS.TYPE]]){U++;continue}else return U;return-1},I(Y,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Y}();e.default=ve,t.exports=e.default}(Oi,Oi.exports)),Oi.exports}var If;function $b(){return If||(If=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Bb());function i(l){return l&&l.__esModule?l:{default:l}}var a=function(){function l(p,u){this.func=p||function(){},this.funcRes=null,this.options=u}var c=l.prototype;return c._shouldUpdateSelector=function(u,f){f===void 0&&(f={});var d=Object.assign({},this.options,f);return d.updateSelector===!1?!1:typeof u!="string"},c._isLossy=function(u){u===void 0&&(u={});var f=Object.assign({},this.options,u);return f.lossless===!1},c._root=function(u,f){f===void 0&&(f={});var d=new r.default(u,this._parseOptions(f));return d.root},c._parseOptions=function(u){return{lossy:this._isLossy(u)}},c._run=function(u,f){var d=this;return f===void 0&&(f={}),new Promise(function(m,y){try{var g=d._root(u,f);Promise.resolve(d.func(g)).then(function(w){var S=void 0;return d._shouldUpdateSelector(u,f)&&(S=g.toString(),u.selector=S),{transform:w,root:g,string:S}}).then(m,y)}catch(w){y(w);return}})},c._runSync=function(u,f){f===void 0&&(f={});var d=this._root(u,f),m=this.func(d);if(m&&typeof m.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var y=void 0;return f.updateSelector&&typeof u!="string"&&(y=d.toString(),u.selector=y),{transform:m,root:d,string:y}},c.ast=function(u,f){return this._run(u,f).then(function(d){return d.root})},c.astSync=function(u,f){return this._runSync(u,f).root},c.transform=function(u,f){return this._run(u,f).then(function(d){return d.transform})},c.transformSync=function(u,f){return this._runSync(u,f).transform},c.process=function(u,f){return this._run(u,f).then(function(d){return d.string||d.root.toString()})},c.processSync=function(u,f){var d=this._runSync(u,f);return d.string||d.root.toString()},l}();e.default=a,t.exports=e.default}(Ni,Ni.exports)),Ni.exports}var qo={},Ce={},Nf;function Ub(){if(Nf)return Ce;Nf=1,Ce.__esModule=!0,Ce.universal=Ce.tag=Ce.string=Ce.selector=Ce.root=Ce.pseudo=Ce.nesting=Ce.id=Ce.comment=Ce.combinator=Ce.className=Ce.attribute=void 0;var t=y(Tg()),e=y(mg()),r=y(Pg()),i=y(yg()),a=y(gg()),l=y(bg()),c=y(Eg()),p=y(fg()),u=y(dg()),f=y(Sg()),d=y(vg()),m=y(wg());function y(I){return I&&I.__esModule?I:{default:I}}var g=function(k){return new t.default(k)};Ce.attribute=g;var w=function(k){return new e.default(k)};Ce.className=w;var S=function(k){return new r.default(k)};Ce.combinator=S;var T=function(k){return new i.default(k)};Ce.comment=T;var E=function(k){return new a.default(k)};Ce.id=E;var x=function(k){return new l.default(k)};Ce.nesting=x;var A=function(k){return new c.default(k)};Ce.pseudo=A;var N=function(k){return new p.default(k)};Ce.root=N;var _=function(k){return new u.default(k)};Ce.selector=_;var M=function(k){return new f.default(k)};Ce.string=M;var D=function(k){return new d.default(k)};Ce.tag=D;var O=function(k){return new m.default(k)};return Ce.universal=O,Ce}var we={},Of;function qb(){if(Of)return we;Of=1,we.__esModule=!0,we.isComment=we.isCombinator=we.isClassName=we.isAttribute=void 0,we.isContainer=A,we.isIdentifier=void 0,we.isNamespace=N,we.isNesting=void 0,we.isNode=i,we.isPseudo=void 0,we.isPseudoClass=x,we.isPseudoElement=E,we.isUniversal=we.isTag=we.isString=we.isSelector=we.isRoot=void 0;var t=et(),e,r=(e={},e[t.ATTRIBUTE]=!0,e[t.CLASS]=!0,e[t.COMBINATOR]=!0,e[t.COMMENT]=!0,e[t.ID]=!0,e[t.NESTING]=!0,e[t.PSEUDO]=!0,e[t.ROOT]=!0,e[t.SELECTOR]=!0,e[t.STRING]=!0,e[t.TAG]=!0,e[t.UNIVERSAL]=!0,e);function i(_){return typeof _=="object"&&r[_.type]}function a(_,M){return i(M)&&M.type===_}var l=a.bind(null,t.ATTRIBUTE);we.isAttribute=l;var c=a.bind(null,t.CLASS);we.isClassName=c;var p=a.bind(null,t.COMBINATOR);we.isCombinator=p;var u=a.bind(null,t.COMMENT);we.isComment=u;var f=a.bind(null,t.ID);we.isIdentifier=f;var d=a.bind(null,t.NESTING);we.isNesting=d;var m=a.bind(null,t.PSEUDO);we.isPseudo=m;var y=a.bind(null,t.ROOT);we.isRoot=y;var g=a.bind(null,t.SELECTOR);we.isSelector=g;var w=a.bind(null,t.STRING);we.isString=w;var S=a.bind(null,t.TAG);we.isTag=S;var T=a.bind(null,t.UNIVERSAL);we.isUniversal=T;function E(_){return m(_)&&_.value&&(_.value.startsWith("::")||_.value.toLowerCase()===":before"||_.value.toLowerCase()===":after"||_.value.toLowerCase()===":first-letter"||_.value.toLowerCase()===":first-line")}function x(_){return m(_)&&!E(_)}function A(_){return!!(i(_)&&_.walk)}function N(_){return l(_)||S(_)}return we}var kf;function jb(){return kf||(kf=1,function(t){t.__esModule=!0;var e=et();Object.keys(e).forEach(function(a){a==="default"||a==="__esModule"||a in t&&t[a]===e[a]||(t[a]=e[a])});var r=Ub();Object.keys(r).forEach(function(a){a==="default"||a==="__esModule"||a in t&&t[a]===r[a]||(t[a]=r[a])});var i=qb();Object.keys(i).forEach(function(a){a==="default"||a==="__esModule"||a in t&&t[a]===i[a]||(t[a]=i[a])})}(qo)),qo}var Lf;function Vb(){return Lf||(Lf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=c($b()),i=l(jb());function a(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(a=function(g){return g?m:d})(f)}function l(f,d){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=a(d);if(m&&m.has(f))return m.get(f);var y={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in f)if(w!=="default"&&Object.prototype.hasOwnProperty.call(f,w)){var S=g?Object.getOwnPropertyDescriptor(f,w):null;S&&(S.get||S.set)?Object.defineProperty(y,w,S):y[w]=f[w]}return y.default=f,m&&m.set(f,y),y}function c(f){return f&&f.__esModule?f:{default:f}}var p=function(d){return new r.default(d)};Object.assign(p,i),delete p.__esModule;var u=p;e.default=u,t.exports=e.default}(Ii,Ii.exports)),Ii.exports}var zb=Vb(),cn=Yn(zb);const Wb=/^(-\w+-)?animation-name$/,Gb=/^(-\w+-)?animation$/,_g=/^(?:-\w+-)?keyframes$/,Ag=(t="")=>{const e=Object.create(null),r=t.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(i){Hb(t,i)},AtRule(i){_g.test(i.name)&&!i.params.endsWith(`-${r}`)&&(e[i.params]=i.params=i.params+"-"+r)},OnceExit(i){Object.keys(e).length&&i.walkDecls(a=>{Wb.test(a.prop)&&(a.value=a.value.split(",").map(l=>e[l.trim()]||l.trim()).join(",")),Gb.test(a.prop)&&(a.value=a.value.split(",").map(l=>{const c=l.trim().split(/\s+/),p=c.findIndex(u=>e[u]);return p!==-1?(c.splice(p,1,e[c[p]]),c.join(" ")):l}).join(","))})}}},Mf=new WeakSet;function Hb(t,e){if(Mf.has(e)||e.parent&&e.parent.type==="atrule"&&_g.test(e.parent.name))return;Mf.add(e);let r=!1,i=e.parent;for(;i&&i.type!=="root";){if(i.__deep){r=!0;break}i=i.parent}e.selector=cn(a=>{a.each(l=>{xl(t,e,l,a,r)})}).processSync(e.selector)}function xl(t,e,r,i,a,l=!1){let c=null,p=!a;if(r.each(u=>{if(u.type==="combinator"&&(u.value===">>>"||u.value==="/deep/"))return u.value=" ",u.spaces.before=u.spaces.after="",In("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(u.type==="pseudo"){const{value:f}=u;if(f===":deep"||f==="::v-deep"){if(e.__deep=!0,u.nodes.length){let d=u;u.nodes[0].each(y=>{r.insertAfter(d,y),d=y});const m=r.at(r.index(u)-1);(!m||!Rf(m))&&r.insertAfter(u,cn.combinator({value:" "})),r.removeChild(u)}else{In(`${f} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${f} <inner-selector>.`);const d=r.at(r.index(u)-1);d&&Rf(d)&&r.removeChild(d),r.removeChild(u)}return!1}if(f===":slotted"||f==="::v-slotted"){xl(t,e,u.nodes[0],i,a,!0);let d=u;return u.nodes[0].each(m=>{r.insertAfter(d,m),d=m}),r.removeChild(u),p=!1,!1}if(f===":global"||f==="::v-global")return r.replaceWith(u.nodes[0]),!1}if(u.type==="universal"){const f=r.at(r.index(u)-1),d=r.at(r.index(u)+1);if(!f)if(d){d.type==="combinator"&&d.value===" "&&r.removeChild(d),r.removeChild(u);return}else return c=cn.combinator({value:""}),r.insertBefore(u,c),r.removeChild(u),!1;if(c)return}(u.type!=="pseudo"&&u.type!=="combinator"||u.type==="pseudo"&&(u.value===":is"||u.value===":where")&&!c)&&(c=u)}),e.nodes.some(u=>u.type==="rule")){const u=e.__deep;if(!u){Df(e);const f=e.nodes.filter(d=>d.type==="atrule");for(const d of f)Df(d)}p=u}if(c){const{type:u,value:f}=c;u==="pseudo"&&(f===":is"||f===":where")&&(c.nodes.forEach(d=>xl(t,e,d,i,a,l)),p=!1)}if(c?c.spaces.after="":r.first.spaces.before="",p){const u=l?t+"-s":t;r.insertAfter(c,cn.attribute({attribute:u,value:u,raws:{},quoteMark:'"'}))}}function Rf(t){return t.type==="combinator"&&/^\s+$/.test(t.value)}function Df(t){if(!t.nodes)return;const e=t.nodes.filter(r=>r.type==="decl"||r.type==="comment");if(e.length){for(const i of e)t.removeChild(i);const r=new Ob({nodes:e,selector:"&"});t.prepend(r)}}Ag.postcss=!0;var _s={},jo={},Yi={},Qi={},Ff;function Xb(){if(Ff)return Qi;Ff=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Qi.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},Qi.decode=function(e){var r=65,i=90,a=97,l=122,c=48,p=57,u=43,f=47,d=26,m=52;return r<=e&&e<=i?e-r:a<=e&&e<=l?e-a+d:c<=e&&e<=p?e-c+m:e==u?62:e==f?63:-1},Qi}var Bf;function Cg(){if(Bf)return Yi;Bf=1;var t=Xb(),e=5,r=1<<e,i=r-1,a=r;function l(p){return p<0?(-p<<1)+1:(p<<1)+0}function c(p){var u=(p&1)===1,f=p>>1;return u?-f:f}return Yi.encode=function(u){var f="",d,m=l(u);do d=m&i,m>>>=e,m>0&&(d|=a),f+=t.encode(d);while(m>0);return f},Yi.decode=function(u,f,d){var m=u.length,y=0,g=0,w,S;do{if(f>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(S=t.decode(u.charCodeAt(f++)),S===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));w=!!(S&a),S&=i,y=y+(S<<g),g+=e}while(w);d.value=c(y),d.rest=f},Yi}var Vo={},$f;function ui(){return $f||($f=1,function(t){function e(N,_,M){if(_ in N)return N[_];if(arguments.length===3)return M;throw new Error('"'+_+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function a(N){var _=N.match(r);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}t.urlParse=a;function l(N){var _="";return N.scheme&&(_+=N.scheme+":"),_+="//",N.auth&&(_+=N.auth+"@"),N.host&&(_+=N.host),N.port&&(_+=":"+N.port),N.path&&(_+=N.path),_}t.urlGenerate=l;function c(N){var _=N,M=a(N);if(M){if(!M.path)return N;_=M.path}for(var D=t.isAbsolute(_),O=_.split(/\/+/),I,k=0,L=O.length-1;L>=0;L--)I=O[L],I==="."?O.splice(L,1):I===".."?k++:k>0&&(I===""?(O.splice(L+1,k),k=0):(O.splice(L,2),k--));return _=O.join("/"),_===""&&(_=D?"/":"."),M?(M.path=_,l(M)):_}t.normalize=c;function p(N,_){N===""&&(N="."),_===""&&(_=".");var M=a(_),D=a(N);if(D&&(N=D.path||"/"),M&&!M.scheme)return D&&(M.scheme=D.scheme),l(M);if(M||_.match(i))return _;if(D&&!D.host&&!D.path)return D.host=_,l(D);var O=_.charAt(0)==="/"?_:c(N.replace(/\/+$/,"")+"/"+_);return D?(D.path=O,l(D)):O}t.join=p,t.isAbsolute=function(N){return N.charAt(0)==="/"||r.test(N)};function u(N,_){N===""&&(N="."),N=N.replace(/\/$/,"");for(var M=0;_.indexOf(N+"/")!==0;){var D=N.lastIndexOf("/");if(D<0||(N=N.slice(0,D),N.match(/^([^\/]+:\/)?\/*$/)))return _;++M}return Array(M+1).join("../")+_.substr(N.length+1)}t.relative=u;var f=function(){var N=Object.create(null);return!("__proto__"in N)}();function d(N){return N}function m(N){return g(N)?"$"+N:N}t.toSetString=f?d:m;function y(N){return g(N)?N.slice(1):N}t.fromSetString=f?d:y;function g(N){if(!N)return!1;var _=N.length;if(_<9||N.charCodeAt(_-1)!==95||N.charCodeAt(_-2)!==95||N.charCodeAt(_-3)!==111||N.charCodeAt(_-4)!==116||N.charCodeAt(_-5)!==111||N.charCodeAt(_-6)!==114||N.charCodeAt(_-7)!==112||N.charCodeAt(_-8)!==95||N.charCodeAt(_-9)!==95)return!1;for(var M=_-10;M>=0;M--)if(N.charCodeAt(M)!==36)return!1;return!0}function w(N,_,M){var D=T(N.source,_.source);return D!==0||(D=N.originalLine-_.originalLine,D!==0)||(D=N.originalColumn-_.originalColumn,D!==0||M)||(D=N.generatedColumn-_.generatedColumn,D!==0)||(D=N.generatedLine-_.generatedLine,D!==0)?D:T(N.name,_.name)}t.compareByOriginalPositions=w;function S(N,_,M){var D=N.generatedLine-_.generatedLine;return D!==0||(D=N.generatedColumn-_.generatedColumn,D!==0||M)||(D=T(N.source,_.source),D!==0)||(D=N.originalLine-_.originalLine,D!==0)||(D=N.originalColumn-_.originalColumn,D!==0)?D:T(N.name,_.name)}t.compareByGeneratedPositionsDeflated=S;function T(N,_){return N===_?0:N===null?1:_===null?-1:N>_?1:-1}function E(N,_){var M=N.generatedLine-_.generatedLine;return M!==0||(M=N.generatedColumn-_.generatedColumn,M!==0)||(M=T(N.source,_.source),M!==0)||(M=N.originalLine-_.originalLine,M!==0)||(M=N.originalColumn-_.originalColumn,M!==0)?M:T(N.name,_.name)}t.compareByGeneratedPositionsInflated=E;function x(N){return JSON.parse(N.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=x;function A(N,_,M){if(_=_||"",N&&(N[N.length-1]!=="/"&&_[0]!=="/"&&(N+="/"),_=N+_),M){var D=a(M);if(!D)throw new Error("sourceMapURL could not be parsed");if(D.path){var O=D.path.lastIndexOf("/");O>=0&&(D.path=D.path.substring(0,O+1))}_=p(l(D),_)}return c(_)}t.computeSourceURL=A}(Vo)),Vo}var zo={},Uf;function Ig(){if(Uf)return zo;Uf=1;var t=ui(),e=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(l,c){for(var p=new i,u=0,f=l.length;u<f;u++)p.add(l[u],c);return p},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(l,c){var p=r?l:t.toSetString(l),u=r?this.has(l):e.call(this._set,p),f=this._array.length;(!u||c)&&this._array.push(l),u||(r?this._set.set(l,f):this._set[p]=f)},i.prototype.has=function(l){if(r)return this._set.has(l);var c=t.toSetString(l);return e.call(this._set,c)},i.prototype.indexOf=function(l){if(r){var c=this._set.get(l);if(c>=0)return c}else{var p=t.toSetString(l);if(e.call(this._set,p))return this._set[p]}throw new Error('"'+l+'" is not in the set.')},i.prototype.at=function(l){if(l>=0&&l<this._array.length)return this._array[l];throw new Error("No element indexed by "+l)},i.prototype.toArray=function(){return this._array.slice()},zo.ArraySet=i,zo}var Wo={},qf;function Jb(){if(qf)return Wo;qf=1;var t=ui();function e(i,a){var l=i.generatedLine,c=a.generatedLine,p=i.generatedColumn,u=a.generatedColumn;return c>l||c==l&&u>=p||t.compareByGeneratedPositionsInflated(i,a)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(a,l){this._array.forEach(a,l)},r.prototype.add=function(a){e(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Wo.MappingList=r,Wo}var jf;function Ng(){if(jf)return jo;jf=1;var t=Cg(),e=ui(),r=Ig().ArraySet,i=Jb().MappingList;function a(l){l||(l={}),this._file=e.getArg(l,"file",null),this._sourceRoot=e.getArg(l,"sourceRoot",null),this._skipValidation=e.getArg(l,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(c){var p=c.sourceRoot,u=new a({file:c.file,sourceRoot:p});return c.eachMapping(function(f){var d={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(d.source=f.source,p!=null&&(d.source=e.relative(p,d.source)),d.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(d.name=f.name)),u.addMapping(d)}),c.sources.forEach(function(f){var d=f;p!==null&&(d=e.relative(p,f)),u._sources.has(d)||u._sources.add(d);var m=c.sourceContentFor(f);m!=null&&u.setSourceContent(f,m)}),u},a.prototype.addMapping=function(c){var p=e.getArg(c,"generated"),u=e.getArg(c,"original",null),f=e.getArg(c,"source",null),d=e.getArg(c,"name",null);this._skipValidation||this._validateMapping(p,u,f,d),f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:d})},a.prototype.setSourceContent=function(c,p){var u=c;this._sourceRoot!=null&&(u=e.relative(this._sourceRoot,u)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(u)]=p):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(c,p,u){var f=p;if(p==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=c.file}var d=this._sourceRoot;d!=null&&(f=e.relative(d,f));var m=new r,y=new r;this._mappings.unsortedForEach(function(g){if(g.source===f&&g.originalLine!=null){var w=c.originalPositionFor({line:g.originalLine,column:g.originalColumn});w.source!=null&&(g.source=w.source,u!=null&&(g.source=e.join(u,g.source)),d!=null&&(g.source=e.relative(d,g.source)),g.originalLine=w.line,g.originalColumn=w.column,w.name!=null&&(g.name=w.name))}var S=g.source;S!=null&&!m.has(S)&&m.add(S);var T=g.name;T!=null&&!y.has(T)&&y.add(T)},this),this._sources=m,this._names=y,c.sources.forEach(function(g){var w=c.sourceContentFor(g);w!=null&&(u!=null&&(g=e.join(u,g)),d!=null&&(g=e.relative(d,g)),this.setSourceContent(g,w))},this)},a.prototype._validateMapping=function(c,p,u,f){if(p&&typeof p.line!="number"&&typeof p.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!p&&!u&&!f)){if(c&&"line"in c&&"column"in c&&p&&"line"in p&&"column"in p&&c.line>0&&c.column>=0&&p.line>0&&p.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:c,source:u,original:p,name:f}))}},a.prototype._serializeMappings=function(){for(var c=0,p=1,u=0,f=0,d=0,m=0,y="",g,w,S,T,E=this._mappings.toArray(),x=0,A=E.length;x<A;x++){if(w=E[x],g="",w.generatedLine!==p)for(c=0;w.generatedLine!==p;)g+=";",p++;else if(x>0){if(!e.compareByGeneratedPositionsInflated(w,E[x-1]))continue;g+=","}g+=t.encode(w.generatedColumn-c),c=w.generatedColumn,w.source!=null&&(T=this._sources.indexOf(w.source),g+=t.encode(T-m),m=T,g+=t.encode(w.originalLine-1-f),f=w.originalLine-1,g+=t.encode(w.originalColumn-u),u=w.originalColumn,w.name!=null&&(S=this._names.indexOf(w.name),g+=t.encode(S-d),d=S)),y+=g}return y},a.prototype._generateSourcesContent=function(c,p){return c.map(function(u){if(!this._sourcesContents)return null;p!=null&&(u=e.relative(p,u));var f=e.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},a.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},jo.SourceMapGenerator=a,jo}var As={},Go={},Vf;function Kb(){return Vf||(Vf=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,a,l,c,p){var u=Math.floor((i-r)/2)+r,f=c(a,l[u],!0);return f===0?u:f>0?i-u>1?e(u,i,a,l,c,p):p==t.LEAST_UPPER_BOUND?i<l.length?i:-1:u:u-r>1?e(r,u,a,l,c,p):p==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(i,a,l,c){if(a.length===0)return-1;var p=e(-1,a.length,i,a,l,c||t.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&l(a[p],a[p-1],!0)===0;)--p;return p}}(Go)),Go}var Ho={},zf;function Yb(){if(zf)return Ho;zf=1;function t(i,a,l){var c=i[a];i[a]=i[l],i[l]=c}function e(i,a){return Math.round(i+Math.random()*(a-i))}function r(i,a,l,c){if(l<c){var p=e(l,c),u=l-1;t(i,p,c);for(var f=i[c],d=l;d<c;d++)a(i[d],f)<=0&&(u+=1,t(i,u,d));t(i,u+1,d);var m=u+1;r(i,a,l,m-1),r(i,a,m+1,c)}}return Ho.quickSort=function(i,a){r(i,a,0,i.length-1)},Ho}var Wf;function Qb(){if(Wf)return As;Wf=1;var t=ui(),e=Kb(),r=Ig().ArraySet,i=Cg(),a=Yb().quickSort;function l(f,d){var m=f;return typeof f=="string"&&(m=t.parseSourceMapInput(f)),m.sections!=null?new u(m,d):new c(m,d)}l.fromSourceMap=function(f,d){return c.fromSourceMap(f,d)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(d,m){var y=d.charAt(m);return y===";"||y===","},l.prototype._parseMappings=function(d,m){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(d,m,y){var g=m||null,w=y||l.GENERATED_ORDER,S;switch(w){case l.GENERATED_ORDER:S=this._generatedMappings;break;case l.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var T=this.sourceRoot;S.map(function(E){var x=E.source===null?null:this._sources.at(E.source);return x=t.computeSourceURL(T,x,this._sourceMapURL),{source:x,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}},this).forEach(d,g)},l.prototype.allGeneratedPositionsFor=function(d){var m=t.getArg(d,"line"),y={source:t.getArg(d,"source"),originalLine:m,originalColumn:t.getArg(d,"column",0)};if(y.source=this._findSourceIndex(y.source),y.source<0)return[];var g=[],w=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(w>=0){var S=this._originalMappings[w];if(d.column===void 0)for(var T=S.originalLine;S&&S.originalLine===T;)g.push({line:t.getArg(S,"generatedLine",null),column:t.getArg(S,"generatedColumn",null),lastColumn:t.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++w];else for(var E=S.originalColumn;S&&S.originalLine===m&&S.originalColumn==E;)g.push({line:t.getArg(S,"generatedLine",null),column:t.getArg(S,"generatedColumn",null),lastColumn:t.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++w]}return g},As.SourceMapConsumer=l;function c(f,d){var m=f;typeof f=="string"&&(m=t.parseSourceMapInput(f));var y=t.getArg(m,"version"),g=t.getArg(m,"sources"),w=t.getArg(m,"names",[]),S=t.getArg(m,"sourceRoot",null),T=t.getArg(m,"sourcesContent",null),E=t.getArg(m,"mappings"),x=t.getArg(m,"file",null);if(y!=this._version)throw new Error("Unsupported version: "+y);S&&(S=t.normalize(S)),g=g.map(String).map(t.normalize).map(function(A){return S&&t.isAbsolute(S)&&t.isAbsolute(A)?t.relative(S,A):A}),this._names=r.fromArray(w.map(String),!0),this._sources=r.fromArray(g,!0),this._absoluteSources=this._sources.toArray().map(function(A){return t.computeSourceURL(S,A,d)}),this.sourceRoot=S,this.sourcesContent=T,this._mappings=E,this._sourceMapURL=d,this.file=x}c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(f){var d=f;if(this.sourceRoot!=null&&(d=t.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var m;for(m=0;m<this._absoluteSources.length;++m)if(this._absoluteSources[m]==f)return m;return-1},c.fromSourceMap=function(d,m){var y=Object.create(c.prototype),g=y._names=r.fromArray(d._names.toArray(),!0),w=y._sources=r.fromArray(d._sources.toArray(),!0);y.sourceRoot=d._sourceRoot,y.sourcesContent=d._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=d._file,y._sourceMapURL=m,y._absoluteSources=y._sources.toArray().map(function(M){return t.computeSourceURL(y.sourceRoot,M,m)});for(var S=d._mappings.toArray().slice(),T=y.__generatedMappings=[],E=y.__originalMappings=[],x=0,A=S.length;x<A;x++){var N=S[x],_=new p;_.generatedLine=N.generatedLine,_.generatedColumn=N.generatedColumn,N.source&&(_.source=w.indexOf(N.source),_.originalLine=N.originalLine,_.originalColumn=N.originalColumn,N.name&&(_.name=g.indexOf(N.name)),E.push(_)),T.push(_)}return a(y.__originalMappings,t.compareByOriginalPositions),y},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}c.prototype._parseMappings=function(d,m){for(var y=1,g=0,w=0,S=0,T=0,E=0,x=d.length,A=0,N={},_={},M=[],D=[],O,I,k,L,V;A<x;)if(d.charAt(A)===";")y++,A++,g=0;else if(d.charAt(A)===",")A++;else{for(O=new p,O.generatedLine=y,L=A;L<x&&!this._charIsMappingSeparator(d,L);L++);if(I=d.slice(A,L),k=N[I],k)A+=I.length;else{for(k=[];A<L;)i.decode(d,A,_),V=_.value,A=_.rest,k.push(V);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");N[I]=k}O.generatedColumn=g+k[0],g=O.generatedColumn,k.length>1&&(O.source=T+k[1],T+=k[1],O.originalLine=w+k[2],w=O.originalLine,O.originalLine+=1,O.originalColumn=S+k[3],S=O.originalColumn,k.length>4&&(O.name=E+k[4],E+=k[4])),D.push(O),typeof O.originalLine=="number"&&M.push(O)}a(D,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,a(M,t.compareByOriginalPositions),this.__originalMappings=M},c.prototype._findMapping=function(d,m,y,g,w,S){if(d[y]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[y]);if(d[g]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[g]);return e.search(d,m,w,S)},c.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var m=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var y=this._generatedMappings[d+1];if(m.generatedLine===y.generatedLine){m.lastGeneratedColumn=y.generatedColumn-1;continue}}m.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(d){var m={generatedLine:t.getArg(d,"line"),generatedColumn:t.getArg(d,"column")},y=this._findMapping(m,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(d,"bias",l.GREATEST_LOWER_BOUND));if(y>=0){var g=this._generatedMappings[y];if(g.generatedLine===m.generatedLine){var w=t.getArg(g,"source",null);w!==null&&(w=this._sources.at(w),w=t.computeSourceURL(this.sourceRoot,w,this._sourceMapURL));var S=t.getArg(g,"name",null);return S!==null&&(S=this._names.at(S)),{source:w,line:t.getArg(g,"originalLine",null),column:t.getArg(g,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},c.prototype.sourceContentFor=function(d,m){if(!this.sourcesContent)return null;var y=this._findSourceIndex(d);if(y>=0)return this.sourcesContent[y];var g=d;this.sourceRoot!=null&&(g=t.relative(this.sourceRoot,g));var w;if(this.sourceRoot!=null&&(w=t.urlParse(this.sourceRoot))){var S=g.replace(/^file:\/\//,"");if(w.scheme=="file"&&this._sources.has(S))return this.sourcesContent[this._sources.indexOf(S)];if((!w.path||w.path=="/")&&this._sources.has("/"+g))return this.sourcesContent[this._sources.indexOf("/"+g)]}if(m)return null;throw new Error('"'+g+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(d){var m=t.getArg(d,"source");if(m=this._findSourceIndex(m),m<0)return{line:null,column:null,lastColumn:null};var y={source:m,originalLine:t.getArg(d,"line"),originalColumn:t.getArg(d,"column")},g=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(d,"bias",l.GREATEST_LOWER_BOUND));if(g>=0){var w=this._originalMappings[g];if(w.source===y.source)return{line:t.getArg(w,"generatedLine",null),column:t.getArg(w,"generatedColumn",null),lastColumn:t.getArg(w,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},As.BasicSourceMapConsumer=c;function u(f,d){var m=f;typeof f=="string"&&(m=t.parseSourceMapInput(f));var y=t.getArg(m,"version"),g=t.getArg(m,"sections");if(y!=this._version)throw new Error("Unsupported version: "+y);this._sources=new r,this._names=new r;var w={line:-1,column:0};this._sections=g.map(function(S){if(S.url)throw new Error("Support for url field in sections not implemented.");var T=t.getArg(S,"offset"),E=t.getArg(T,"line"),x=t.getArg(T,"column");if(E<w.line||E===w.line&&x<w.column)throw new Error("Section offsets must be ordered and non-overlapping.");return w=T,{generatedOffset:{generatedLine:E+1,generatedColumn:x+1},consumer:new l(t.getArg(S,"map"),d)}})}return u.prototype=Object.create(l.prototype),u.prototype.constructor=l,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var f=[],d=0;d<this._sections.length;d++)for(var m=0;m<this._sections[d].consumer.sources.length;m++)f.push(this._sections[d].consumer.sources[m]);return f}}),u.prototype.originalPositionFor=function(d){var m={generatedLine:t.getArg(d,"line"),generatedColumn:t.getArg(d,"column")},y=e.search(m,this._sections,function(w,S){var T=w.generatedLine-S.generatedOffset.generatedLine;return T||w.generatedColumn-S.generatedOffset.generatedColumn}),g=this._sections[y];return g?g.consumer.originalPositionFor({line:m.generatedLine-(g.generatedOffset.generatedLine-1),column:m.generatedColumn-(g.generatedOffset.generatedLine===m.generatedLine?g.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(d,m){for(var y=0;y<this._sections.length;y++){var g=this._sections[y],w=g.consumer.sourceContentFor(d,!0);if(w)return w}if(m)return null;throw new Error('"'+d+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(d){for(var m=0;m<this._sections.length;m++){var y=this._sections[m];if(y.consumer._findSourceIndex(t.getArg(d,"source"))!==-1){var g=y.consumer.generatedPositionFor(d);if(g){var w={line:g.line+(y.generatedOffset.generatedLine-1),column:g.column+(y.generatedOffset.generatedLine===g.line?y.generatedOffset.generatedColumn-1:0)};return w}}}return{line:null,column:null}},u.prototype._parseMappings=function(d,m){this.__generatedMappings=[],this.__originalMappings=[];for(var y=0;y<this._sections.length;y++)for(var g=this._sections[y],w=g.consumer._generatedMappings,S=0;S<w.length;S++){var T=w[S],E=g.consumer._sources.at(T.source);E=t.computeSourceURL(g.consumer.sourceRoot,E,this._sourceMapURL),this._sources.add(E),E=this._sources.indexOf(E);var x=null;T.name&&(x=g.consumer._names.at(T.name),this._names.add(x),x=this._names.indexOf(x));var A={source:E,generatedLine:T.generatedLine+(g.generatedOffset.generatedLine-1),generatedColumn:T.generatedColumn+(g.generatedOffset.generatedLine===T.generatedLine?g.generatedOffset.generatedColumn-1:0),originalLine:T.originalLine,originalColumn:T.originalColumn,name:x};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},As.IndexedSourceMapConsumer=u,As}var Xo={},Gf;function Zb(){if(Gf)return Xo;Gf=1;var t=Ng().SourceMapGenerator,e=ui(),r=/(\r?\n)/,i=10,a="$$$isSourceNode$$$";function l(c,p,u,f,d){this.children=[],this.sourceContents={},this.line=c??null,this.column=p??null,this.source=u??null,this.name=d??null,this[a]=!0,f!=null&&this.add(f)}return l.fromStringWithSourceMap=function(p,u,f){var d=new l,m=p.split(r),y=0,g=function(){var x=N(),A=N()||"";return x+A;function N(){return y<m.length?m[y++]:void 0}},w=1,S=0,T=null;return u.eachMapping(function(x){if(T!==null)if(w<x.generatedLine)E(T,g()),w++,S=0;else{var A=m[y]||"",N=A.substr(0,x.generatedColumn-S);m[y]=A.substr(x.generatedColumn-S),S=x.generatedColumn,E(T,N),T=x;return}for(;w<x.generatedLine;)d.add(g()),w++;if(S<x.generatedColumn){var A=m[y]||"";d.add(A.substr(0,x.generatedColumn)),m[y]=A.substr(x.generatedColumn),S=x.generatedColumn}T=x},this),y<m.length&&(T&&E(T,g()),d.add(m.splice(y).join(""))),u.sources.forEach(function(x){var A=u.sourceContentFor(x);A!=null&&(f!=null&&(x=e.join(f,x)),d.setSourceContent(x,A))}),d;function E(x,A){if(x===null||x.source===void 0)d.add(A);else{var N=f?e.join(f,x.source):x.source;d.add(new l(x.originalLine,x.originalColumn,N,A,x.name))}}},l.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(u){this.add(u)},this);else if(p[a]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.prepend=function(p){if(Array.isArray(p))for(var u=p.length-1;u>=0;u--)this.prepend(p[u]);else if(p[a]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.walk=function(p){for(var u,f=0,d=this.children.length;f<d;f++)u=this.children[f],u[a]?u.walk(p):u!==""&&p(u,{source:this.source,line:this.line,column:this.column,name:this.name})},l.prototype.join=function(p){var u,f,d=this.children.length;if(d>0){for(u=[],f=0;f<d-1;f++)u.push(this.children[f]),u.push(p);u.push(this.children[f]),this.children=u}return this},l.prototype.replaceRight=function(p,u){var f=this.children[this.children.length-1];return f[a]?f.replaceRight(p,u):typeof f=="string"?this.children[this.children.length-1]=f.replace(p,u):this.children.push("".replace(p,u)),this},l.prototype.setSourceContent=function(p,u){this.sourceContents[e.toSetString(p)]=u},l.prototype.walkSourceContents=function(p){for(var u=0,f=this.children.length;u<f;u++)this.children[u][a]&&this.children[u].walkSourceContents(p);for(var d=Object.keys(this.sourceContents),u=0,f=d.length;u<f;u++)p(e.fromSetString(d[u]),this.sourceContents[d[u]])},l.prototype.toString=function(){var p="";return this.walk(function(u){p+=u}),p},l.prototype.toStringWithSourceMap=function(p){var u={code:"",line:1,column:0},f=new t(p),d=!1,m=null,y=null,g=null,w=null;return this.walk(function(S,T){u.code+=S,T.source!==null&&T.line!==null&&T.column!==null?((m!==T.source||y!==T.line||g!==T.column||w!==T.name)&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name}),m=T.source,y=T.line,g=T.column,w=T.name,d=!0):d&&(f.addMapping({generated:{line:u.line,column:u.column}}),m=null,d=!1);for(var E=0,x=S.length;E<x;E++)S.charCodeAt(E)===i?(u.line++,u.column=0,E+1===x?(m=null,d=!1):d&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name})):u.column++}),this.walkSourceContents(function(S,T){f.setSourceContent(S,T)}),{code:u.code,map:f}},Xo.SourceNode=l,Xo}var Hf;function ex(){return Hf||(Hf=1,_s.SourceMapGenerator=Ng().SourceMapGenerator,_s.SourceMapConsumer=Qb().SourceMapConsumer,_s.SourceNode=Zb().SourceNode),_s}var Jo,Xf;function tx(){if(Xf)return Jo;Xf=1;var t=ex(),e=t.SourceMapConsumer,r=t.SourceMapGenerator;Jo=i;function i(a,l){if(!a)return l;if(!l)return a;var c=new e(a),p=new e(l),u=new r;p.eachMapping(function(d){if(d.originalLine!=null){var m=c.originalPositionFor({line:d.originalLine,column:d.originalColumn});m.source!=null&&u.addMapping({original:{line:m.line,column:m.column},generated:{line:d.generatedLine,column:d.generatedColumn},source:m.source,name:m.name})}});var f=[c,p];return f.forEach(function(d){d.sources.forEach(function(m){u._sources.add(m);var y=d.sourceContentFor(m);y!=null&&u.setSourceContent(m,y)})}),u._sourceRoot=a.sourceRoot,u._file=a.file,JSON.parse(u.toString())}return Jo}var rx=tx(),eu=Yn(rx),sx=Object.defineProperty,ix=Object.defineProperties,nx=Object.getOwnPropertyDescriptors,Jf=Object.getOwnPropertySymbols,ax=Object.prototype.hasOwnProperty,ox=Object.prototype.propertyIsEnumerable,Kf=(t,e,r)=>e in t?sx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,On=(t,e)=>{for(var r in e||(e={}))ax.call(e,r)&&Kf(t,r,e[r]);if(Jf)for(var r of Jf(e))ox.call(e,r)&&Kf(t,r,e[r]);return t},kn=(t,e)=>ix(t,nx(e));const Og=(t,e,r,i=require)=>{const a=i("sass"),{compileString:l,renderSync:c}=a,p=kg(t,r.filename,r.additionalData);let u,f,d;try{if(l){const{pathToFileURL:m,fileURLToPath:y}=i("url"),g=l(p,kn(On({},r),{url:m(r.filename),sourceMap:!!e}));u=g.css,f=g.loadedUrls.map(w=>y(w)),d=e?g.sourceMap:void 0}else{const m=c(kn(On({},r),{data:p,file:r.filename,outFile:r.filename,sourceMap:!!e}));u=m.css.toString(),f=m.stats.includedFiles,d=e?JSON.parse(m.map.toString()):void 0}return e?{code:u,errors:[],dependencies:f,map:eu(e,d)}:{code:u,errors:[],dependencies:f}}catch(m){return{code:"",errors:[m],dependencies:[]}}},lx=(t,e,r,i)=>Og(t,e,kn(On({},r),{indentedSyntax:!0}),i),cx=(t,e,r,i=require)=>{const a=i("less");let l,c=null;if(a.render(kg(t,r.filename,r.additionalData),kn(On({},r),{syncImport:!0}),(u,f)=>{c=u,l=f}),c)return{code:"",errors:[c],dependencies:[]};const p=l.imports;return e?{code:l.css.toString(),map:eu(e,l.map),errors:[],dependencies:p}:{code:l.css.toString(),errors:[],dependencies:p}},Yf=(t,e,r,i=require)=>{const a=i("stylus");try{const l=a(t,r);e&&l.set("sourcemap",{inline:!1,comment:!1});const c=l.render(),p=l.deps();return e?{code:c,map:eu(e,l.sourcemap),errors:[],dependencies:p}:{code:c,errors:[],dependencies:p}}catch(l){return{code:"",errors:[l],dependencies:[]}}};function kg(t,e,r){return r?Id(r)?r(t,e):r+t:t}const ux={less:cx,sass:lx,scss:Og,styl:Yf,stylus:Yf};var hx=Object.defineProperty,px=Object.defineProperties,fx=Object.getOwnPropertyDescriptors,Qf=Object.getOwnPropertySymbols,dx=Object.prototype.hasOwnProperty,mx=Object.prototype.propertyIsEnumerable,Zf=(t,e,r)=>e in t?hx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tu=(t,e)=>{for(var r in e||(e={}))dx.call(e,r)&&Zf(t,r,e[r]);if(Qf)for(var r of Qf(e))mx.call(e,r)&&Zf(t,r,e[r]);return t},Lg=(t,e)=>px(t,fx(e));function V_(t){return yx(Lg(tu({},t),{isAsync:!0}))}function yx(t){const{filename:e,id:r,scoped:i=!1,trim:a=!0,isProd:l=!1,modules:c=!1,modulesOptions:p={},preprocessLang:u,postcssOptions:f,postcssPlugins:d}=t,m=u&&ux[u],y=m&&gx(t,m),g=y?y.map:t.inMap||t.map,w=y?y.code:t.source,S=r.replace(/^data-v-/,""),T=`data-v-${S}`,E=(d||[]).slice();E.unshift(Mm({id:S,isProd:l})),a&&E.push(hg()),i&&E.push(Ag(T));let x;if(c)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const A=Lg(tu({},f),{to:e,from:e});g&&(A.map={inline:!1,annotation:!1,prev:g});let N,_,M;const D=new Set(y?y.dependencies:[]);D.delete(e);const O=[];y&&y.errors.length&&O.push(...y.errors);const I=k=>(k.forEach(L=>{L.type==="dependency"&&D.add(L.file)}),D);try{if(N=Oe(E).process(w,A),t.isAsync)return N.then(k=>({code:k.css||"",map:k.map&&k.map.toJSON(),errors:O,modules:x,rawResult:k,dependencies:I(k.messages)})).catch(k=>({code:"",map:void 0,errors:[...O,k],rawResult:void 0,dependencies:D}));I(N.messages),_=N.css,M=N.map}catch(k){O.push(k)}return{code:_||"",map:M&&M.toJSON(),errors:O,rawResult:N,dependencies:D}}function gx(t,e){if(!t.preprocessCustomRequire)throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return e(t.source,t.inMap||t.map,tu({filename:t.filename},t.preprocessOptions),t.preprocessCustomRequire)}const kt="Unknown";function ru(t,e){switch(t.type){case"StringLiteral":case"NumericLiteral":return String(t.value);case"Identifier":if(!e)return t.name}}function ed(t){return t.filter(e=>!!e).join(", ")}function Mg(t){return t.type.endsWith("Literal")}function st(t,e){return!!(t&&e&&t.type==="CallExpression"&&t.callee.type==="Identifier"&&(typeof e=="string"?t.callee.name===e:e(t.callee.name)))}function Qr(t){return t.length>1?`[${t.join(", ")}]`:t[0]}function _l(t){return t.type==="ImportSpecifier"?t.imported.type==="Identifier"?t.imported.name:t.imported.value:t.type==="ImportNamespaceSpecifier"?"*":"default"}function Mr(t){return t.type==="Identifier"?t.name:t.type==="StringLiteral"?t.value:null}const vx=(Yt.posix||Yt).normalize,Sx=/\\/g;function Rg(t){return vx(t.replace(Sx,"/"))}const qs=(Yt.posix||Yt).join,Ex=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function Dg(t){return Ex.test(t)?JSON.stringify(t):t}function Fg(t){for(const e of t)if(e.type==="ExportDefaultDeclaration"&&e.declaration.type==="ObjectExpression")return Tx(e.declaration);return{}}function Tx(t){const e={};Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!1});for(const r of t.properties)if(r.type==="ObjectProperty"&&!r.computed&&r.key.type==="Identifier"){if(r.key.name==="props")for(const i of Cl(r.value))e[i]="props";else if(r.key.name==="inject")for(const i of Cl(r.value))e[i]="options";else if(r.value.type==="ObjectExpression"&&(r.key.name==="computed"||r.key.name==="methods"))for(const i of Al(r.value))e[i]="options"}else if(r.type==="ObjectMethod"&&r.key.type==="Identifier"&&(r.key.name==="setup"||r.key.name==="data")){for(const i of r.body.body)if(i.type==="ReturnStatement"&&i.argument&&i.argument.type==="ObjectExpression")for(const a of Al(i.argument))e[a]=r.key.name==="setup"?"setup-maybe-ref":"data"}return e}function Al(t){const e=[];for(const r of t.properties){if(r.type==="SpreadElement")continue;const i=ru(r.key,r.computed);i&&e.push(String(i))}return e}function wx(t){const e=[];for(const r of t.elements)r&&r.type==="StringLiteral"&&e.push(r.value);return e}function Cl(t){return t.type==="ArrayExpression"?wx(t):t.type==="ObjectExpression"?Al(t):[]}const Px=44,bx=59,td="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bg=new Uint8Array(64),xx=new Uint8Array(128);for(let t=0;t<td.length;t++){const e=td.charCodeAt(t);Bg[t]=e,xx[e]=t}function Cs(t,e,r){let i=e-r;i=i<0?-i<<1|1:i<<1;do{let a=i&31;i>>>=5,i>0&&(a|=32),t.write(Bg[a])}while(i>0);return e}const rd=1024*16,sd=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}};class _x{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(rd)}write(e){const{buffer:r}=this;r[this.pos++]=e,this.pos===rd&&(this.out+=sd.decode(r),this.pos=0)}flush(){const{buffer:e,out:r,pos:i}=this;return i>0?r+sd.decode(e.subarray(0,i)):r}}function Ax(t){const e=new _x;let r=0,i=0,a=0,l=0;for(let c=0;c<t.length;c++){const p=t[c];if(c>0&&e.write(bx),p.length===0)continue;let u=0;for(let f=0;f<p.length;f++){const d=p[f];f>0&&e.write(Px),u=Cs(e,d[0],u),d.length!==1&&(r=Cs(e,d[1],r),i=Cs(e,d[2],i),a=Cs(e,d[3],a),d.length!==4&&(l=Cs(e,d[4],l)))}}return e.flush()}class Ln{constructor(e){this.bits=e instanceof Ln?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class ei{constructor(e,r,i){this.start=e,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new ei(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const r=e-this.start,i=this.original.slice(0,r),a=this.original.slice(r);this.original=i;const l=new ei(e,this.end,a);return l.outro=this.outro,this.outro="",this.end=e,this.edited?(l.edit("",!1),this.content=""):this.content=i,l.next=this.next,l.next&&(l.next.previous=l),l.previous=this,this.next=l,l}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const r=this.content.replace(e,"");if(r.length){if(r!==this.content){const i=this.split(this.end-r.length);this.edited&&i.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function Cx(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Ix=Cx();class Nx{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Ax(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Ix(this.toString())}}function Ox(t){const e=t.split(`
98
+ `))})}});hg.postcss=!0;var Ii={exports:{}},Ni={exports:{}},Oi={exports:{}},ki={exports:{}},Li={exports:{}},Mi={exports:{}},bt={},Ri={exports:{}},tf;function pg(){return tf||(tf=1,(function(t,e){e.__esModule=!0,e.default=a;function r(l){for(var c=l.toLowerCase(),p="",u=!1,f=0;f<6&&c[f]!==void 0;f++){var d=c.charCodeAt(f),m=d>=97&&d<=102||d>=48&&d<=57;if(u=d===32,!m)break;p+=c[f]}if(p.length!==0){var y=parseInt(p,16),g=y>=55296&&y<=57343;return g||y===0||y>1114111?["�",p.length+(u?1:0)]:[String.fromCodePoint(y),p.length+(u?1:0)]}}var i=/\\/;function a(l){var c=i.test(l);if(!c)return l;for(var p="",u=0;u<l.length;u++){if(l[u]==="\\"){var f=r(l.slice(u+1,u+7));if(f!==void 0){p+=f[0],u+=f[1];continue}if(l[u+1]==="\\"){p+="\\",u++;continue}l.length===u+1&&(p+=l[u]);continue}p+=l[u]}return p}t.exports=e.default})(Ri,Ri.exports)),Ri.exports}var Di={exports:{}},rf;function kb(){return rf||(rf=1,(function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var a=arguments.length,l=new Array(a>1?a-1:0),c=1;c<a;c++)l[c-1]=arguments[c];for(;l.length>0;){var p=l.shift();if(!i[p])return;i=i[p]}return i}t.exports=e.default})(Di,Di.exports)),Di.exports}var Fi={exports:{}},sf;function Lb(){return sf||(sf=1,(function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var a=arguments.length,l=new Array(a>1?a-1:0),c=1;c<a;c++)l[c-1]=arguments[c];for(;l.length>0;){var p=l.shift();i[p]||(i[p]={}),i=i[p]}}t.exports=e.default})(Fi,Fi.exports)),Fi.exports}var Bi={exports:{}},nf;function Mb(){return nf||(nf=1,(function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var a="",l=i.indexOf("/*"),c=0;l>=0;){a=a+i.slice(c,l);var p=i.indexOf("*/",l+2);if(p<0)return a;c=p+2,l=i.indexOf("/*",c)}return a=a+i.slice(c),a}t.exports=e.default})(Bi,Bi.exports)),Bi.exports}var af;function Pa(){if(af)return bt;af=1,bt.__esModule=!0,bt.unesc=bt.stripComments=bt.getProp=bt.ensureObject=void 0;var t=a(pg());bt.unesc=t.default;var e=a(kb());bt.getProp=e.default;var r=a(Lb());bt.ensureObject=r.default;var i=a(Mb());bt.stripComments=i.default;function a(l){return l&&l.__esModule?l:{default:l}}return bt}var of;function mr(){return of||(of=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=Pa();function i(p,u){for(var f=0;f<u.length;f++){var d=u[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(p,d.key,d)}}function a(p,u,f){return u&&i(p.prototype,u),Object.defineProperty(p,"prototype",{writable:!1}),p}var l=function p(u,f){if(typeof u!="object"||u===null)return u;var d=new u.constructor;for(var m in u)if(u.hasOwnProperty(m)){var y=u[m],g=typeof y;m==="parent"&&g==="object"?f&&(d[m]=f):y instanceof Array?d[m]=y.map(function(w){return p(w,d)}):d[m]=p(y,d)}return d},c=(function(){function p(f){f===void 0&&(f={}),Object.assign(this,f),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var u=p.prototype;return u.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},u.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},u.next=function(){return this.parent.at(this.parent.index(this)+1)},u.prev=function(){return this.parent.at(this.parent.index(this)-1)},u.clone=function(d){d===void 0&&(d={});var m=l(this);for(var y in d)m[y]=d[y];return m},u.appendToPropertyAndEscape=function(d,m,y){this.raws||(this.raws={});var g=this[d],w=this.raws[d];this[d]=g+m,w||y!==m?this.raws[d]=(w||g)+y:delete this.raws[d]},u.setPropertyAndEscape=function(d,m,y){this.raws||(this.raws={}),this[d]=m,this.raws[d]=y},u.setPropertyWithoutEscape=function(d,m){this[d]=m,this.raws&&delete this.raws[d]},u.isAtPosition=function(d,m){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>m||this.source.end.line===d&&this.source.end.column<m)},u.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},u.valueToString=function(){return String(this.stringifyProperty("value"))},u.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},a(p,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),p})();e.default=c,t.exports=e.default})(Mi,Mi.exports)),Mi.exports}var Ae={},lf;function et(){if(lf)return Ae;lf=1,Ae.__esModule=!0,Ae.UNIVERSAL=Ae.TAG=Ae.STRING=Ae.SELECTOR=Ae.ROOT=Ae.PSEUDO=Ae.NESTING=Ae.ID=Ae.COMMENT=Ae.COMBINATOR=Ae.CLASS=Ae.ATTRIBUTE=void 0;var t="tag";Ae.TAG=t;var e="string";Ae.STRING=e;var r="selector";Ae.SELECTOR=r;var i="root";Ae.ROOT=i;var a="pseudo";Ae.PSEUDO=a;var l="nesting";Ae.NESTING=l;var c="id";Ae.ID=c;var p="comment";Ae.COMMENT=p;var u="combinator";Ae.COMBINATOR=u;var f="class";Ae.CLASS=f;var d="attribute";Ae.ATTRIBUTE=d;var m="universal";return Ae.UNIVERSAL=m,Ae}var cf;function Yc(){return cf||(cf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=c(mr()),i=l(et());function a(S){if(typeof WeakMap!="function")return null;var T=new WeakMap,E=new WeakMap;return(a=function(A){return A?E:T})(S)}function l(S,T){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var E=a(T);if(E&&E.has(S))return E.get(S);var x={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in S)if(N!=="default"&&Object.prototype.hasOwnProperty.call(S,N)){var _=A?Object.getOwnPropertyDescriptor(S,N):null;_&&(_.get||_.set)?Object.defineProperty(x,N,_):x[N]=S[N]}return x.default=S,E&&E.set(S,x),x}function c(S){return S&&S.__esModule?S:{default:S}}function p(S,T){var E=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(E)return(E=E.call(S)).next.bind(E);if(Array.isArray(S)||(E=u(S))||T){E&&(S=E);var x=0;return function(){return x>=S.length?{done:!0}:{done:!1,value:S[x++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
99
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(S,T){if(S){if(typeof S=="string")return f(S,T);var E=Object.prototype.toString.call(S).slice(8,-1);if(E==="Object"&&S.constructor&&(E=S.constructor.name),E==="Map"||E==="Set")return Array.from(S);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return f(S,T)}}function f(S,T){(T==null||T>S.length)&&(T=S.length);for(var E=0,x=new Array(T);E<T;E++)x[E]=S[E];return x}function d(S,T){for(var E=0;E<T.length;E++){var x=T[E];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(S,x.key,x)}}function m(S,T,E){return T&&d(S.prototype,T),Object.defineProperty(S,"prototype",{writable:!1}),S}function y(S,T){S.prototype=Object.create(T.prototype),S.prototype.constructor=S,g(S,T)}function g(S,T){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,A){return x.__proto__=A,x},g(S,T)}var w=(function(S){y(T,S);function T(x){var A;return A=S.call(this,x)||this,A.nodes||(A.nodes=[]),A}var E=T.prototype;return E.append=function(A){return A.parent=this,this.nodes.push(A),this},E.prepend=function(A){A.parent=this,this.nodes.unshift(A);for(var N in this.indexes)this.indexes[N]++;return this},E.at=function(A){return this.nodes[A]},E.index=function(A){return typeof A=="number"?A:this.nodes.indexOf(A)},E.removeChild=function(A){A=this.index(A),this.at(A).parent=void 0,this.nodes.splice(A,1);var N;for(var _ in this.indexes)N=this.indexes[_],N>=A&&(this.indexes[_]=N-1);return this},E.removeAll=function(){for(var A=p(this.nodes),N;!(N=A()).done;){var _=N.value;_.parent=void 0}return this.nodes=[],this},E.empty=function(){return this.removeAll()},E.insertAfter=function(A,N){var _;N.parent=this;for(var M=this.index(A),D=[],O=2;O<arguments.length;O++)D.push(arguments[O]);(_=this.nodes).splice.apply(_,[M+1,0,N].concat(D)),N.parent=this;var I;for(var k in this.indexes)I=this.indexes[k],M<I&&(this.indexes[k]=I+arguments.length-1);return this},E.insertBefore=function(A,N){var _;N.parent=this;for(var M=this.index(A),D=[],O=2;O<arguments.length;O++)D.push(arguments[O]);(_=this.nodes).splice.apply(_,[M,0,N].concat(D)),N.parent=this;var I;for(var k in this.indexes)I=this.indexes[k],I>=M&&(this.indexes[k]=I+arguments.length-1);return this},E._findChildAtPosition=function(A,N){var _=void 0;return this.each(function(M){if(M.atPosition){var D=M.atPosition(A,N);if(D)return _=D,!1}else if(M.isAtPosition(A,N))return _=M,!1}),_},E.atPosition=function(A,N){if(this.isAtPosition(A,N))return this._findChildAtPosition(A,N)||this},E._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},E.each=function(A){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var N=this.lastEach;if(this.indexes[N]=0,!!this.length){for(var _,M;this.indexes[N]<this.length&&(_=this.indexes[N],M=A(this.at(_),_),M!==!1);)this.indexes[N]+=1;if(delete this.indexes[N],M===!1)return!1}},E.walk=function(A){return this.each(function(N,_){var M=A(N,_);if(M!==!1&&N.length&&(M=N.walk(A)),M===!1)return!1})},E.walkAttributes=function(A){var N=this;return this.walk(function(_){if(_.type===i.ATTRIBUTE)return A.call(N,_)})},E.walkClasses=function(A){var N=this;return this.walk(function(_){if(_.type===i.CLASS)return A.call(N,_)})},E.walkCombinators=function(A){var N=this;return this.walk(function(_){if(_.type===i.COMBINATOR)return A.call(N,_)})},E.walkComments=function(A){var N=this;return this.walk(function(_){if(_.type===i.COMMENT)return A.call(N,_)})},E.walkIds=function(A){var N=this;return this.walk(function(_){if(_.type===i.ID)return A.call(N,_)})},E.walkNesting=function(A){var N=this;return this.walk(function(_){if(_.type===i.NESTING)return A.call(N,_)})},E.walkPseudos=function(A){var N=this;return this.walk(function(_){if(_.type===i.PSEUDO)return A.call(N,_)})},E.walkTags=function(A){var N=this;return this.walk(function(_){if(_.type===i.TAG)return A.call(N,_)})},E.walkUniversals=function(A){var N=this;return this.walk(function(_){if(_.type===i.UNIVERSAL)return A.call(N,_)})},E.split=function(A){var N=this,_=[];return this.reduce(function(M,D,O){var I=A.call(N,D);return _.push(D),I?(M.push(_),_=[]):O===N.length-1&&M.push(_),M},[])},E.map=function(A){return this.nodes.map(A)},E.reduce=function(A,N){return this.nodes.reduce(A,N)},E.every=function(A){return this.nodes.every(A)},E.some=function(A){return this.nodes.some(A)},E.filter=function(A){return this.nodes.filter(A)},E.sort=function(A){return this.nodes.sort(A)},E.toString=function(){return this.map(String).join("")},m(T,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),T})(r.default);e.default=w,t.exports=e.default})(Li,Li.exports)),Li.exports}var uf;function fg(){return uf||(uf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Yc()),i=et();function a(d){return d&&d.__esModule?d:{default:d}}function l(d,m){for(var y=0;y<m.length;y++){var g=m[y];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}function c(d,m,y){return m&&l(d.prototype,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function p(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,u(d,m)}function u(d,m){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,w){return g.__proto__=w,g},u(d,m)}var f=(function(d){p(m,d);function m(g){var w;return w=d.call(this,g)||this,w.type=i.ROOT,w}var y=m.prototype;return y.toString=function(){var w=this.reduce(function(S,T){return S.push(String(T)),S},[]).join(",");return this.trailingComma?w+",":w},y.error=function(w,S){return this._error?this._error(w,S):new Error(w)},c(m,[{key:"errorGenerator",set:function(w){this._error=w}}]),m})(r.default);e.default=f,t.exports=e.default})(ki,ki.exports)),ki.exports}var $i={exports:{}},hf;function dg(){return hf||(hf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Yc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.SELECTOR,m}return f})(r.default);e.default=p,t.exports=e.default})($i,$i.exports)),$i.exports}var Ui={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var Fo,pf;function Qc(){if(pf)return Fo;pf=1;var t={},e=t.hasOwnProperty,r=function(u,f){if(!u)return f;var d={};for(var m in f)d[m]=e.call(u,m)?u[m]:f[m];return d},i=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,l=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,c=function p(u,f){f=r(f,p.options),f.quotes!="single"&&f.quotes!="double"&&(f.quotes="single");for(var d=f.quotes=="double"?'"':"'",m=f.isIdentifier,y=u.charAt(0),g="",w=0,S=u.length;w<S;){var T=u.charAt(w++),E=T.charCodeAt(),x=void 0;if(E<32||E>126){if(E>=55296&&E<=56319&&w<S){var A=u.charCodeAt(w++);(A&64512)==56320?E=((E&1023)<<10)+(A&1023)+65536:w--}x="\\"+E.toString(16).toUpperCase()+" "}else f.escapeEverything?i.test(T)?x="\\"+T:x="\\"+E.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(T)?x="\\"+E.toString(16).toUpperCase()+" ":T=="\\"||!m&&(T=='"'&&d==T||T=="'"&&d==T)||m&&a.test(T)?x="\\"+T:x=T;g+=x}return m&&(/^-[-\d]/.test(g)?g="\\-"+g.slice(1):/\d/.test(y)&&(g="\\3"+y+" "+g.slice(1))),g=g.replace(l,function(N,_,M){return _&&_.length%2?N:(_||"")+M}),!m&&f.wrap?d+g+d:g};return c.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},c.version="3.0.0",Fo=c,Fo}var ff;function mg(){return ff||(ff=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=c(Qc()),i=Pa(),a=c(mr()),l=et();function c(y){return y&&y.__esModule?y:{default:y}}function p(y,g){for(var w=0;w<g.length;w++){var S=g[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function u(y,g,w){return g&&p(y.prototype,g),Object.defineProperty(y,"prototype",{writable:!1}),y}function f(y,g){y.prototype=Object.create(g.prototype),y.prototype.constructor=y,d(y,g)}function d(y,g){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,T){return S.__proto__=T,S},d(y,g)}var m=(function(y){f(g,y);function g(S){var T;return T=y.call(this,S)||this,T.type=l.CLASS,T._constructed=!0,T}var w=g.prototype;return w.valueToString=function(){return"."+y.prototype.valueToString.call(this)},u(g,[{key:"value",get:function(){return this._value},set:function(T){if(this._constructed){var E=(0,r.default)(T,{isIdentifier:!0});E!==T?((0,i.ensureObject)(this,"raws"),this.raws.value=E):this.raws&&delete this.raws.value}this._value=T}}]),g})(a.default);e.default=m,t.exports=e.default})(Ui,Ui.exports)),Ui.exports}var qi={exports:{}},df;function yg(){return df||(df=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.COMMENT,m}return f})(r.default);e.default=p,t.exports=e.default})(qi,qi.exports)),qi.exports}var ji={exports:{}},mf;function gg(){return mf||(mf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(m){var y;return y=u.call(this,m)||this,y.type=i.ID,y}var d=f.prototype;return d.valueToString=function(){return"#"+u.prototype.valueToString.call(this)},f})(r.default);e.default=p,t.exports=e.default})(ji,ji.exports)),ji.exports}var Vi={exports:{}},zi={exports:{}},yf;function Zc(){return yf||(yf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=l(Qc()),i=Pa(),a=l(mr());function l(m){return m&&m.__esModule?m:{default:m}}function c(m,y){for(var g=0;g<y.length;g++){var w=y[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}function p(m,y,g){return y&&c(m.prototype,y),Object.defineProperty(m,"prototype",{writable:!1}),m}function u(m,y){m.prototype=Object.create(y.prototype),m.prototype.constructor=m,f(m,y)}function f(m,y){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,S){return w.__proto__=S,w},f(m,y)}var d=(function(m){u(y,m);function y(){return m.apply(this,arguments)||this}var g=y.prototype;return g.qualifiedName=function(S){return this.namespace?this.namespaceString+"|"+S:S},g.valueToString=function(){return this.qualifiedName(m.prototype.valueToString.call(this))},p(y,[{key:"namespace",get:function(){return this._namespace},set:function(S){if(S===!0||S==="*"||S==="&"){this._namespace=S,this.raws&&delete this.raws.namespace;return}var T=(0,r.default)(S,{isIdentifier:!0});this._namespace=S,T!==S?((0,i.ensureObject)(this,"raws"),this.raws.namespace=T):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(S){this.namespace=S}},{key:"namespaceString",get:function(){if(this.namespace){var S=this.stringifyProperty("namespace");return S===!0?"":S}else return""}}]),y})(a.default);e.default=d,t.exports=e.default})(zi,zi.exports)),zi.exports}var gf;function vg(){return gf||(gf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Zc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.TAG,m}return f})(r.default);e.default=p,t.exports=e.default})(Vi,Vi.exports)),Vi.exports}var Wi={exports:{}},vf;function Sg(){return vf||(vf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.STRING,m}return f})(r.default);e.default=p,t.exports=e.default})(Wi,Wi.exports)),Wi.exports}var Gi={exports:{}},Sf;function Eg(){return Sf||(Sf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Yc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(m){var y;return y=u.call(this,m)||this,y.type=i.PSEUDO,y}var d=f.prototype;return d.toString=function(){var y=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),y,this.rawSpaceAfter].join("")},f})(r.default);e.default=p,t.exports=e.default})(Gi,Gi.exports)),Gi.exports}var Bo={},$o,Ef;function Rb(){return Ef||(Ef=1,$o=db.deprecate),$o}var Tf;function Tg(){return Tf||(Tf=1,(function(t){t.__esModule=!0,t.default=void 0,t.unescapeValue=T;var e=c(Qc()),r=c(pg()),i=c(Zc()),a=et(),l;function c(_){return _&&_.__esModule?_:{default:_}}function p(_,M){for(var D=0;D<M.length;D++){var O=M[D];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(_,O.key,O)}}function u(_,M,D){return M&&p(_.prototype,M),Object.defineProperty(_,"prototype",{writable:!1}),_}function f(_,M){_.prototype=Object.create(M.prototype),_.prototype.constructor=_,d(_,M)}function d(_,M){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,I){return O.__proto__=I,O},d(_,M)}var m=Rb(),y=/^('|")([^]*)\1$/,g=m(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),w=m(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),S=m(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function T(_){var M=!1,D=null,O=_,I=O.match(y);return I&&(D=I[1],O=I[2]),O=(0,r.default)(O),O!==_&&(M=!0),{deprecatedUsage:M,unescaped:O,quoteMark:D}}function E(_){if(_.quoteMark!==void 0||_.value===void 0)return _;S();var M=T(_.value),D=M.quoteMark,O=M.unescaped;return _.raws||(_.raws={}),_.raws.value===void 0&&(_.raws.value=_.value),_.value=O,_.quoteMark=D,_}var x=(function(_){f(M,_);function M(O){var I;return O===void 0&&(O={}),I=_.call(this,E(O))||this,I.type=a.ATTRIBUTE,I.raws=I.raws||{},Object.defineProperty(I.raws,"unquoted",{get:m(function(){return I.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:m(function(){return I.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),I._constructed=!0,I}var D=M.prototype;return D.getQuotedValue=function(I){I===void 0&&(I={});var k=this._determineQuoteMark(I),L=A[k],V=(0,e.default)(this._value,L);return V},D._determineQuoteMark=function(I){return I.smart?this.smartQuoteMark(I):this.preferredQuoteMark(I)},D.setValue=function(I,k){k===void 0&&(k={}),this._value=I,this._quoteMark=this._determineQuoteMark(k),this._syncRawValue()},D.smartQuoteMark=function(I){var k=this.value,L=k.replace(/[^']/g,"").length,V=k.replace(/[^"]/g,"").length;if(L+V===0){var K=(0,e.default)(k,{isIdentifier:!0});if(K===k)return M.NO_QUOTE;var re=this.preferredQuoteMark(I);if(re===M.NO_QUOTE){var z=this.quoteMark||I.quoteMark||M.DOUBLE_QUOTE,se=A[z],he=(0,e.default)(k,se);if(he.length<K.length)return z}return re}else return V===L?this.preferredQuoteMark(I):V<L?M.DOUBLE_QUOTE:M.SINGLE_QUOTE},D.preferredQuoteMark=function(I){var k=I.preferCurrentQuoteMark?this.quoteMark:I.quoteMark;return k===void 0&&(k=I.preferCurrentQuoteMark?I.quoteMark:this.quoteMark),k===void 0&&(k=M.DOUBLE_QUOTE),k},D._syncRawValue=function(){var I=(0,e.default)(this._value,A[this.quoteMark]);I===this._value?this.raws&&delete this.raws.value:this.raws.value=I},D._handleEscapes=function(I,k){if(this._constructed){var L=(0,e.default)(k,{isIdentifier:!0});L!==k?this.raws[I]=L:delete this.raws[I]}},D._spacesFor=function(I){var k={before:"",after:""},L=this.spaces[I]||{},V=this.raws.spaces&&this.raws.spaces[I]||{};return Object.assign(k,L,V)},D._stringFor=function(I,k,L){k===void 0&&(k=I),L===void 0&&(L=N);var V=this._spacesFor(k);return L(this.stringifyProperty(I),V)},D.offsetOf=function(I){var k=1,L=this._spacesFor("attribute");if(k+=L.before.length,I==="namespace"||I==="ns")return this.namespace?k:-1;if(I==="attributeNS"||(k+=this.namespaceString.length,this.namespace&&(k+=1),I==="attribute"))return k;k+=this.stringifyProperty("attribute").length,k+=L.after.length;var V=this._spacesFor("operator");k+=V.before.length;var K=this.stringifyProperty("operator");if(I==="operator")return K?k:-1;k+=K.length,k+=V.after.length;var re=this._spacesFor("value");k+=re.before.length;var z=this.stringifyProperty("value");if(I==="value")return z?k:-1;k+=z.length,k+=re.after.length;var se=this._spacesFor("insensitive");return k+=se.before.length,I==="insensitive"&&this.insensitive?k:-1},D.toString=function(){var I=this,k=[this.rawSpaceBefore,"["];return k.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(k.push(this._stringFor("operator")),k.push(this._stringFor("value")),k.push(this._stringFor("insensitiveFlag","insensitive",function(L,V){return L.length>0&&!I.quoted&&V.before.length===0&&!(I.spaces.value&&I.spaces.value.after)&&(V.before=" "),N(L,V)}))),k.push("]"),k.push(this.rawSpaceAfter),k.join("")},u(M,[{key:"quoted",get:function(){var I=this.quoteMark;return I==="'"||I==='"'},set:function(I){w()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(I){if(!this._constructed){this._quoteMark=I;return}this._quoteMark!==I&&(this._quoteMark=I,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:(function(I){if(this._constructed){var k=T(I),L=k.deprecatedUsage,V=k.unescaped,K=k.quoteMark;if(L&&g(),V===this._value&&K===this._quoteMark)return;this._value=V,this._quoteMark=K,this._syncRawValue()}else this._value=I})},{key:"insensitive",get:function(){return this._insensitive},set:function(I){I||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=I}},{key:"attribute",get:function(){return this._attribute},set:function(I){this._handleEscapes("attribute",I),this._attribute=I}}]),M})(i.default);t.default=x,x.NO_QUOTE=null,x.SINGLE_QUOTE="'",x.DOUBLE_QUOTE='"';var A=(l={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},l[null]={isIdentifier:!0},l);function N(_,M){return""+M.before+_+M.after}})(Bo)),Bo}var Hi={exports:{}},wf;function wg(){return wf||(wf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Zc()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.UNIVERSAL,m.value="*",m}return f})(r.default);e.default=p,t.exports=e.default})(Hi,Hi.exports)),Hi.exports}var Xi={exports:{}},Pf;function Pg(){return Pf||(Pf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.COMBINATOR,m}return f})(r.default);e.default=p,t.exports=e.default})(Xi,Xi.exports)),Xi.exports}var Ji={exports:{}},bf;function bg(){return bf||(bf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(mr()),i=et();function a(u){return u&&u.__esModule?u:{default:u}}function l(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,c(u,f)}function c(u,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,f)}var p=(function(u){l(f,u);function f(d){var m;return m=u.call(this,d)||this,m.type=i.NESTING,m.value="&",m}return f})(r.default);e.default=p,t.exports=e.default})(Ji,Ji.exports)),Ji.exports}var Ki={exports:{}},xf;function Db(){return xf||(xf=1,(function(t,e){e.__esModule=!0,e.default=r;function r(i){return i.sort(function(a,l){return a-l})}t.exports=e.default})(Ki,Ki.exports)),Ki.exports}var Uo={},le={},_f;function xg(){if(_f)return le;_f=1,le.__esModule=!0,le.word=le.tilde=le.tab=le.str=le.space=le.slash=le.singleQuote=le.semicolon=le.plus=le.pipe=le.openSquare=le.openParenthesis=le.newline=le.greaterThan=le.feed=le.equals=le.doubleQuote=le.dollar=le.cr=le.comment=le.comma=le.combinator=le.colon=le.closeSquare=le.closeParenthesis=le.caret=le.bang=le.backslash=le.at=le.asterisk=le.ampersand=void 0;var t=38;le.ampersand=t;var e=42;le.asterisk=e;var r=64;le.at=r;var i=44;le.comma=i;var a=58;le.colon=a;var l=59;le.semicolon=l;var c=40;le.openParenthesis=c;var p=41;le.closeParenthesis=p;var u=91;le.openSquare=u;var f=93;le.closeSquare=f;var d=36;le.dollar=d;var m=126;le.tilde=m;var y=94;le.caret=y;var g=43;le.plus=g;var w=61;le.equals=w;var S=124;le.pipe=S;var T=62;le.greaterThan=T;var E=32;le.space=E;var x=39;le.singleQuote=x;var A=34;le.doubleQuote=A;var N=47;le.slash=N;var _=33;le.bang=_;var M=92;le.backslash=M;var D=13;le.cr=D;var O=12;le.feed=O;var I=10;le.newline=I;var k=9;le.tab=k;var L=x;le.str=L;var V=-1;le.comment=V;var K=-2;le.word=K;var re=-3;return le.combinator=re,le}var Af;function Fb(){return Af||(Af=1,(function(t){t.__esModule=!0,t.FIELDS=void 0,t.default=w;var e=l(xg()),r,i;function a(S){if(typeof WeakMap!="function")return null;var T=new WeakMap,E=new WeakMap;return(a=function(A){return A?E:T})(S)}function l(S,T){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var E=a(T);if(E&&E.has(S))return E.get(S);var x={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in S)if(N!=="default"&&Object.prototype.hasOwnProperty.call(S,N)){var _=A?Object.getOwnPropertyDescriptor(S,N):null;_&&(_.get||_.set)?Object.defineProperty(x,N,_):x[N]=S[N]}return x.default=S,E&&E.set(S,x),x}for(var c=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),p=(i={},i[e.space]=!0,i[e.tab]=!0,i[e.newline]=!0,i[e.cr]=!0,i[e.feed]=!0,i[e.ampersand]=!0,i[e.asterisk]=!0,i[e.bang]=!0,i[e.comma]=!0,i[e.colon]=!0,i[e.semicolon]=!0,i[e.openParenthesis]=!0,i[e.closeParenthesis]=!0,i[e.openSquare]=!0,i[e.closeSquare]=!0,i[e.singleQuote]=!0,i[e.doubleQuote]=!0,i[e.plus]=!0,i[e.pipe]=!0,i[e.tilde]=!0,i[e.greaterThan]=!0,i[e.equals]=!0,i[e.dollar]=!0,i[e.caret]=!0,i[e.slash]=!0,i),u={},f="0123456789abcdefABCDEF",d=0;d<f.length;d++)u[f.charCodeAt(d)]=!0;function m(S,T){var E=T,x;do{if(x=S.charCodeAt(E),p[x])return E-1;x===e.backslash?E=y(S,E)+1:E++}while(E<S.length);return E-1}function y(S,T){var E=T,x=S.charCodeAt(E+1);if(!c[x])if(u[x]){var A=0;do E++,A++,x=S.charCodeAt(E+1);while(u[x]&&A<6);A<6&&x===e.space&&E++}else E++;return E}var g={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=g;function w(S){var T=[],E=S.css.valueOf(),x=E,A=x.length,N=-1,_=1,M=0,D=0,O,I,k,L,V,K,re,z,se,he,ne,ge,ve;function Y(ie,G){if(S.safe)E+=G,se=E.length-1;else throw S.error("Unclosed "+ie,_,M-N,M)}for(;M<A;){switch(O=E.charCodeAt(M),O===e.newline&&(N=M,_+=1),O){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:se=M;do se+=1,O=E.charCodeAt(se),O===e.newline&&(N=se,_+=1);while(O===e.space||O===e.newline||O===e.tab||O===e.cr||O===e.feed);ve=e.space,L=_,k=se-N-1,D=se;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:se=M;do se+=1,O=E.charCodeAt(se);while(O===e.plus||O===e.greaterThan||O===e.tilde||O===e.pipe);ve=e.combinator,L=_,k=M-N,D=se;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:se=M,ve=O,L=_,k=M-N,D=se+1;break;case e.singleQuote:case e.doubleQuote:ge=O===e.singleQuote?"'":'"',se=M;do for(V=!1,se=E.indexOf(ge,se+1),se===-1&&Y("quote",ge),K=se;E.charCodeAt(K-1)===e.backslash;)K-=1,V=!V;while(V);ve=e.str,L=_,k=M-N,D=se+1;break;default:O===e.slash&&E.charCodeAt(M+1)===e.asterisk?(se=E.indexOf("*/",M+2)+1,se===0&&Y("comment","*/"),I=E.slice(M,se+1),z=I.split(`
100
+ `),re=z.length-1,re>0?(he=_+re,ne=se-z[re].length):(he=_,ne=N),ve=e.comment,_=he,L=he,k=se-ne):O===e.slash?(se=M,ve=O,L=_,k=M-N,D=se+1):(se=m(E,M),ve=e.word,L=_,k=se-N),D=se+1;break}T.push([ve,_,M-N,L,k,M,D]),ne&&(N=ne,ne=null),M=D}return T}})(Uo)),Uo}var Cf;function Bb(){return Cf||(Cf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=D(fg()),i=D(dg()),a=D(mg()),l=D(yg()),c=D(gg()),p=D(vg()),u=D(Sg()),f=D(Eg()),d=M(Tg()),m=D(wg()),y=D(Pg()),g=D(bg()),w=D(Db()),S=M(Fb()),T=M(xg()),E=M(et()),x=Pa(),A,N;function _(Y){if(typeof WeakMap!="function")return null;var ie=new WeakMap,G=new WeakMap;return(_=function(U){return U?G:ie})(Y)}function M(Y,ie){if(Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var G=_(ie);if(G&&G.has(Y))return G.get(Y);var j={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in Y)if(H!=="default"&&Object.prototype.hasOwnProperty.call(Y,H)){var B=U?Object.getOwnPropertyDescriptor(Y,H):null;B&&(B.get||B.set)?Object.defineProperty(j,H,B):j[H]=Y[H]}return j.default=Y,G&&G.set(Y,j),j}function D(Y){return Y&&Y.__esModule?Y:{default:Y}}function O(Y,ie){for(var G=0;G<ie.length;G++){var j=ie[G];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(Y,j.key,j)}}function I(Y,ie,G){return ie&&O(Y.prototype,ie),Object.defineProperty(Y,"prototype",{writable:!1}),Y}var k=(A={},A[T.space]=!0,A[T.cr]=!0,A[T.feed]=!0,A[T.newline]=!0,A[T.tab]=!0,A),L=Object.assign({},k,(N={},N[T.comment]=!0,N));function V(Y){return{line:Y[S.FIELDS.START_LINE],column:Y[S.FIELDS.START_COL]}}function K(Y){return{line:Y[S.FIELDS.END_LINE],column:Y[S.FIELDS.END_COL]}}function re(Y,ie,G,j){return{start:{line:Y,column:ie},end:{line:G,column:j}}}function z(Y){return re(Y[S.FIELDS.START_LINE],Y[S.FIELDS.START_COL],Y[S.FIELDS.END_LINE],Y[S.FIELDS.END_COL])}function se(Y,ie){if(Y)return re(Y[S.FIELDS.START_LINE],Y[S.FIELDS.START_COL],ie[S.FIELDS.END_LINE],ie[S.FIELDS.END_COL])}function he(Y,ie){var G=Y[ie];if(typeof G=="string")return G.indexOf("\\")!==-1&&((0,x.ensureObject)(Y,"raws"),Y[ie]=(0,x.unesc)(G),Y.raws[ie]===void 0&&(Y.raws[ie]=G)),Y}function ne(Y,ie){for(var G=-1,j=[];(G=Y.indexOf(ie,G+1))!==-1;)j.push(G);return j}function ge(){var Y=Array.prototype.concat.apply([],arguments);return Y.filter(function(ie,G){return G===Y.indexOf(ie)})}var ve=(function(){function Y(G,j){j===void 0&&(j={}),this.rule=G,this.options=Object.assign({lossy:!1,safe:!1},j),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,S.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var U=se(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:U}),this.root.errorGenerator=this._errorGenerator();var H=new i.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(H),this.current=H,this.loop()}var ie=Y.prototype;return ie._errorGenerator=function(){var j=this;return function(U,H){return typeof j.rule=="string"?new Error(U):j.rule.error(U,H)}},ie.attribute=function(){var j=[],U=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[S.FIELDS.TYPE]!==T.closeSquare;)j.push(this.currToken),this.position++;if(this.currToken[S.FIELDS.TYPE]!==T.closeSquare)return this.expected("closing square bracket",this.currToken[S.FIELDS.START_POS]);var H=j.length,B={source:re(U[1],U[2],this.currToken[3],this.currToken[4]),sourceIndex:U[S.FIELDS.START_POS]};if(H===1&&!~[T.word].indexOf(j[0][S.FIELDS.TYPE]))return this.expected("attribute",j[0][S.FIELDS.START_POS]);for(var W=0,ue="",Q="",Z=null,ce=!1;W<H;){var Ee=j[W],de=this.content(Ee),be=j[W+1];switch(Ee[S.FIELDS.TYPE]){case T.space:if(ce=!0,this.options.lossy)break;if(Z){(0,x.ensureObject)(B,"spaces",Z);var it=B.spaces[Z].after||"";B.spaces[Z].after=it+de;var dt=(0,x.getProp)(B,"raws","spaces",Z,"after")||null;dt&&(B.raws.spaces[Z].after=dt+de)}else ue=ue+de,Q=Q+de;break;case T.asterisk:if(be[S.FIELDS.TYPE]===T.equals)B.operator=de,Z="operator";else if((!B.namespace||Z==="namespace"&&!ce)&&be){ue&&((0,x.ensureObject)(B,"spaces","attribute"),B.spaces.attribute.before=ue,ue=""),Q&&((0,x.ensureObject)(B,"raws","spaces","attribute"),B.raws.spaces.attribute.before=ue,Q=""),B.namespace=(B.namespace||"")+de;var tt=(0,x.getProp)(B,"raws","namespace")||null;tt&&(B.raws.namespace+=de),Z="namespace"}ce=!1;break;case T.dollar:if(Z==="value"){var Be=(0,x.getProp)(B,"raws","value");B.value+="$",Be&&(B.raws.value=Be+"$");break}case T.caret:be[S.FIELDS.TYPE]===T.equals&&(B.operator=de,Z="operator"),ce=!1;break;case T.combinator:if(de==="~"&&be[S.FIELDS.TYPE]===T.equals&&(B.operator=de,Z="operator"),de!=="|"){ce=!1;break}be[S.FIELDS.TYPE]===T.equals?(B.operator=de,Z="operator"):!B.namespace&&!B.attribute&&(B.namespace=!0),ce=!1;break;case T.word:if(be&&this.content(be)==="|"&&j[W+2]&&j[W+2][S.FIELDS.TYPE]!==T.equals&&!B.operator&&!B.namespace)B.namespace=de,Z="namespace";else if(!B.attribute||Z==="attribute"&&!ce){ue&&((0,x.ensureObject)(B,"spaces","attribute"),B.spaces.attribute.before=ue,ue=""),Q&&((0,x.ensureObject)(B,"raws","spaces","attribute"),B.raws.spaces.attribute.before=Q,Q=""),B.attribute=(B.attribute||"")+de;var mt=(0,x.getProp)(B,"raws","attribute")||null;mt&&(B.raws.attribute+=de),Z="attribute"}else if(!B.value&&B.value!==""||Z==="value"&&!(ce||B.quoteMark)){var yt=(0,x.unesc)(de),Nt=(0,x.getProp)(B,"raws","value")||"",$r=B.value||"";B.value=$r+yt,B.quoteMark=null,(yt!==de||Nt)&&((0,x.ensureObject)(B,"raws"),B.raws.value=(Nt||$r)+de),Z="value"}else{var Ur=de==="i"||de==="I";(B.value||B.value==="")&&(B.quoteMark||ce)?(B.insensitive=Ur,(!Ur||de==="I")&&((0,x.ensureObject)(B,"raws"),B.raws.insensitiveFlag=de),Z="insensitive",ue&&((0,x.ensureObject)(B,"spaces","insensitive"),B.spaces.insensitive.before=ue,ue=""),Q&&((0,x.ensureObject)(B,"raws","spaces","insensitive"),B.raws.spaces.insensitive.before=Q,Q="")):(B.value||B.value==="")&&(Z="value",B.value+=de,B.raws.value&&(B.raws.value+=de))}ce=!1;break;case T.str:if(!B.attribute||!B.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Ee[S.FIELDS.START_POS]});var nt=(0,d.unescapeValue)(de),qr=nt.unescaped,Ca=nt.quoteMark;B.value=qr,B.quoteMark=Ca,Z="value",(0,x.ensureObject)(B,"raws"),B.raws.value=de,ce=!1;break;case T.equals:if(!B.attribute)return this.expected("attribute",Ee[S.FIELDS.START_POS],de);if(B.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Ee[S.FIELDS.START_POS]});B.operator=B.operator?B.operator+de:de,Z="operator",ce=!1;break;case T.comment:if(Z)if(ce||be&&be[S.FIELDS.TYPE]===T.space||Z==="insensitive"){var jr=(0,x.getProp)(B,"spaces",Z,"after")||"",Pt=(0,x.getProp)(B,"raws","spaces",Z,"after")||jr;(0,x.ensureObject)(B,"raws","spaces",Z),B.raws.spaces[Z].after=Pt+de}else{var Ss=B[Z]||"",hi=(0,x.getProp)(B,"raws",Z)||Ss;(0,x.ensureObject)(B,"raws"),B.raws[Z]=hi+de}else Q=Q+de;break;default:return this.error('Unexpected "'+de+'" found.',{index:Ee[S.FIELDS.START_POS]})}W++}he(B,"attribute"),he(B,"namespace"),this.newNode(new d.default(B)),this.position++},ie.parseWhitespaceEquivalentTokens=function(j){j<0&&(j=this.tokens.length);var U=this.position,H=[],B="",W=void 0;do if(k[this.currToken[S.FIELDS.TYPE]])this.options.lossy||(B+=this.content());else if(this.currToken[S.FIELDS.TYPE]===T.comment){var ue={};B&&(ue.before=B,B=""),W=new l.default({value:this.content(),source:z(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS],spaces:ue}),H.push(W)}while(++this.position<j);if(B){if(W)W.spaces.after=B;else if(!this.options.lossy){var Q=this.tokens[U],Z=this.tokens[this.position-1];H.push(new u.default({value:"",source:re(Q[S.FIELDS.START_LINE],Q[S.FIELDS.START_COL],Z[S.FIELDS.END_LINE],Z[S.FIELDS.END_COL]),sourceIndex:Q[S.FIELDS.START_POS],spaces:{before:B,after:""}}))}}return H},ie.convertWhitespaceNodesToSpace=function(j,U){var H=this;U===void 0&&(U=!1);var B="",W="";j.forEach(function(Q){var Z=H.lossySpace(Q.spaces.before,U),ce=H.lossySpace(Q.rawSpaceBefore,U);B+=Z+H.lossySpace(Q.spaces.after,U&&Z.length===0),W+=Z+Q.value+H.lossySpace(Q.rawSpaceAfter,U&&ce.length===0)}),W===B&&(W=void 0);var ue={space:B,rawSpace:W};return ue},ie.isNamedCombinator=function(j){return j===void 0&&(j=this.position),this.tokens[j+0]&&this.tokens[j+0][S.FIELDS.TYPE]===T.slash&&this.tokens[j+1]&&this.tokens[j+1][S.FIELDS.TYPE]===T.word&&this.tokens[j+2]&&this.tokens[j+2][S.FIELDS.TYPE]===T.slash},ie.namedCombinator=function(){if(this.isNamedCombinator()){var j=this.content(this.tokens[this.position+1]),U=(0,x.unesc)(j).toLowerCase(),H={};U!==j&&(H.value="/"+j+"/");var B=new y.default({value:"/"+U+"/",source:re(this.currToken[S.FIELDS.START_LINE],this.currToken[S.FIELDS.START_COL],this.tokens[this.position+2][S.FIELDS.END_LINE],this.tokens[this.position+2][S.FIELDS.END_COL]),sourceIndex:this.currToken[S.FIELDS.START_POS],raws:H});return this.position=this.position+3,B}else this.unexpected()},ie.combinator=function(){var j=this;if(this.content()==="|")return this.namespace();var U=this.locateNextMeaningfulToken(this.position);if(U<0||this.tokens[U][S.FIELDS.TYPE]===T.comma||this.tokens[U][S.FIELDS.TYPE]===T.closeParenthesis){var H=this.parseWhitespaceEquivalentTokens(U);if(H.length>0){var B=this.current.last;if(B){var W=this.convertWhitespaceNodesToSpace(H),ue=W.space,Q=W.rawSpace;Q!==void 0&&(B.rawSpaceAfter+=Q),B.spaces.after+=ue}else H.forEach(function(Nt){return j.newNode(Nt)})}return}var Z=this.currToken,ce=void 0;U>this.position&&(ce=this.parseWhitespaceEquivalentTokens(U));var Ee;if(this.isNamedCombinator()?Ee=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===T.combinator?(Ee=new y.default({value:this.content(),source:z(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):k[this.currToken[S.FIELDS.TYPE]]||ce||this.unexpected(),Ee){if(ce){var de=this.convertWhitespaceNodesToSpace(ce),be=de.space,it=de.rawSpace;Ee.spaces.before=be,Ee.rawSpaceBefore=it}}else{var dt=this.convertWhitespaceNodesToSpace(ce,!0),tt=dt.space,Be=dt.rawSpace;Be||(Be=tt);var mt={},yt={spaces:{}};tt.endsWith(" ")&&Be.endsWith(" ")?(mt.before=tt.slice(0,tt.length-1),yt.spaces.before=Be.slice(0,Be.length-1)):tt.startsWith(" ")&&Be.startsWith(" ")?(mt.after=tt.slice(1),yt.spaces.after=Be.slice(1)):yt.value=Be,Ee=new y.default({value:" ",source:se(Z,this.tokens[this.position-1]),sourceIndex:Z[S.FIELDS.START_POS],spaces:mt,raws:yt})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===T.space&&(Ee.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Ee)},ie.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var j=new i.default({source:{start:V(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][S.FIELDS.START_POS]});this.current.parent.append(j),this.current=j,this.position++},ie.comment=function(){var j=this.currToken;this.newNode(new l.default({value:this.content(),source:z(j),sourceIndex:j[S.FIELDS.START_POS]})),this.position++},ie.error=function(j,U){throw this.root.error(j,U)},ie.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[S.FIELDS.START_POS]})},ie.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[S.FIELDS.START_POS])},ie.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[S.FIELDS.START_POS])},ie.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[S.FIELDS.START_POS])},ie.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[S.FIELDS.START_POS])},ie.namespace=function(){var j=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[S.FIELDS.TYPE]===T.word)return this.position++,this.word(j);if(this.nextToken[S.FIELDS.TYPE]===T.asterisk)return this.position++,this.universal(j);this.unexpectedPipe()},ie.nesting=function(){if(this.nextToken){var j=this.content(this.nextToken);if(j==="|"){this.position++;return}}var U=this.currToken;this.newNode(new g.default({value:this.content(),source:z(U),sourceIndex:U[S.FIELDS.START_POS]})),this.position++},ie.parentheses=function(){var j=this.current.last,U=1;if(this.position++,j&&j.type===E.PSEUDO){var H=new i.default({source:{start:V(this.tokens[this.position])},sourceIndex:this.tokens[this.position][S.FIELDS.START_POS]}),B=this.current;for(j.append(H),this.current=H;this.position<this.tokens.length&&U;)this.currToken[S.FIELDS.TYPE]===T.openParenthesis&&U++,this.currToken[S.FIELDS.TYPE]===T.closeParenthesis&&U--,U?this.parse():(this.current.source.end=K(this.currToken),this.current.parent.source.end=K(this.currToken),this.position++);this.current=B}else{for(var W=this.currToken,ue="(",Q;this.position<this.tokens.length&&U;)this.currToken[S.FIELDS.TYPE]===T.openParenthesis&&U++,this.currToken[S.FIELDS.TYPE]===T.closeParenthesis&&U--,Q=this.currToken,ue+=this.parseParenthesisToken(this.currToken),this.position++;j?j.appendToPropertyAndEscape("value",ue,ue):this.newNode(new u.default({value:ue,source:re(W[S.FIELDS.START_LINE],W[S.FIELDS.START_COL],Q[S.FIELDS.END_LINE],Q[S.FIELDS.END_COL]),sourceIndex:W[S.FIELDS.START_POS]}))}if(U)return this.expected("closing parenthesis",this.currToken[S.FIELDS.START_POS])},ie.pseudo=function(){for(var j=this,U="",H=this.currToken;this.currToken&&this.currToken[S.FIELDS.TYPE]===T.colon;)U+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[S.FIELDS.TYPE]===T.word)this.splitWord(!1,function(B,W){U+=B,j.newNode(new f.default({value:U,source:se(H,j.currToken),sourceIndex:H[S.FIELDS.START_POS]})),W>1&&j.nextToken&&j.nextToken[S.FIELDS.TYPE]===T.openParenthesis&&j.error("Misplaced parenthesis.",{index:j.nextToken[S.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[S.FIELDS.START_POS])},ie.space=function(){var j=this.content();this.position===0||this.prevToken[S.FIELDS.TYPE]===T.comma||this.prevToken[S.FIELDS.TYPE]===T.openParenthesis||this.current.nodes.every(function(U){return U.type==="comment"})?(this.spaces=this.optionalSpace(j),this.position++):this.position===this.tokens.length-1||this.nextToken[S.FIELDS.TYPE]===T.comma||this.nextToken[S.FIELDS.TYPE]===T.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(j),this.position++):this.combinator()},ie.string=function(){var j=this.currToken;this.newNode(new u.default({value:this.content(),source:z(j),sourceIndex:j[S.FIELDS.START_POS]})),this.position++},ie.universal=function(j){var U=this.nextToken;if(U&&this.content(U)==="|")return this.position++,this.namespace();var H=this.currToken;this.newNode(new m.default({value:this.content(),source:z(H),sourceIndex:H[S.FIELDS.START_POS]}),j),this.position++},ie.splitWord=function(j,U){for(var H=this,B=this.nextToken,W=this.content();B&&~[T.dollar,T.caret,T.equals,T.word].indexOf(B[S.FIELDS.TYPE]);){this.position++;var ue=this.content();if(W+=ue,ue.lastIndexOf("\\")===ue.length-1){var Q=this.nextToken;Q&&Q[S.FIELDS.TYPE]===T.space&&(W+=this.requiredSpace(this.content(Q)),this.position++)}B=this.nextToken}var Z=ne(W,".").filter(function(be){var it=W[be-1]==="\\",dt=/^\d+\.\d+%$/.test(W);return!it&&!dt}),ce=ne(W,"#").filter(function(be){return W[be-1]!=="\\"}),Ee=ne(W,"#{");Ee.length&&(ce=ce.filter(function(be){return!~Ee.indexOf(be)}));var de=(0,w.default)(ge([0].concat(Z,ce)));de.forEach(function(be,it){var dt=de[it+1]||W.length,tt=W.slice(be,dt);if(it===0&&U)return U.call(H,tt,de.length);var Be,mt=H.currToken,yt=mt[S.FIELDS.START_POS]+de[it],Nt=re(mt[1],mt[2]+be,mt[3],mt[2]+(dt-1));if(~Z.indexOf(be)){var $r={value:tt.slice(1),source:Nt,sourceIndex:yt};Be=new a.default(he($r,"value"))}else if(~ce.indexOf(be)){var Ur={value:tt.slice(1),source:Nt,sourceIndex:yt};Be=new c.default(he(Ur,"value"))}else{var nt={value:tt,source:Nt,sourceIndex:yt};he(nt,"value"),Be=new p.default(nt)}H.newNode(Be,j),j=null}),this.position++},ie.word=function(j){var U=this.nextToken;return U&&this.content(U)==="|"?(this.position++,this.namespace()):this.splitWord(j)},ie.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},ie.parse=function(j){switch(this.currToken[S.FIELDS.TYPE]){case T.space:this.space();break;case T.comment:this.comment();break;case T.openParenthesis:this.parentheses();break;case T.closeParenthesis:j&&this.missingParenthesis();break;case T.openSquare:this.attribute();break;case T.dollar:case T.caret:case T.equals:case T.word:this.word();break;case T.colon:this.pseudo();break;case T.comma:this.comma();break;case T.asterisk:this.universal();break;case T.ampersand:this.nesting();break;case T.slash:case T.combinator:this.combinator();break;case T.str:this.string();break;case T.closeSquare:this.missingSquareBracket();case T.semicolon:this.missingBackslash();default:this.unexpected()}},ie.expected=function(j,U,H){if(Array.isArray(j)){var B=j.pop();j=j.join(", ")+" or "+B}var W=/^[aeiou]/.test(j[0])?"an":"a";return H?this.error("Expected "+W+" "+j+', found "'+H+'" instead.',{index:U}):this.error("Expected "+W+" "+j+".",{index:U})},ie.requiredSpace=function(j){return this.options.lossy?" ":j},ie.optionalSpace=function(j){return this.options.lossy?"":j},ie.lossySpace=function(j,U){return this.options.lossy?U?" ":"":j},ie.parseParenthesisToken=function(j){var U=this.content(j);return j[S.FIELDS.TYPE]===T.space?this.requiredSpace(U):U},ie.newNode=function(j,U){return U&&(/^ +$/.test(U)&&(this.options.lossy||(this.spaces=(this.spaces||"")+U),U=!0),j.namespace=U,he(j,"namespace")),this.spaces&&(j.spaces.before=this.spaces,this.spaces=""),this.current.append(j)},ie.content=function(j){return j===void 0&&(j=this.currToken),this.css.slice(j[S.FIELDS.START_POS],j[S.FIELDS.END_POS])},ie.locateNextMeaningfulToken=function(j){j===void 0&&(j=this.position+1);for(var U=j;U<this.tokens.length;)if(L[this.tokens[U][S.FIELDS.TYPE]]){U++;continue}else return U;return-1},I(Y,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Y})();e.default=ve,t.exports=e.default})(Oi,Oi.exports)),Oi.exports}var If;function $b(){return If||(If=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Bb());function i(l){return l&&l.__esModule?l:{default:l}}var a=(function(){function l(p,u){this.func=p||function(){},this.funcRes=null,this.options=u}var c=l.prototype;return c._shouldUpdateSelector=function(u,f){f===void 0&&(f={});var d=Object.assign({},this.options,f);return d.updateSelector===!1?!1:typeof u!="string"},c._isLossy=function(u){u===void 0&&(u={});var f=Object.assign({},this.options,u);return f.lossless===!1},c._root=function(u,f){f===void 0&&(f={});var d=new r.default(u,this._parseOptions(f));return d.root},c._parseOptions=function(u){return{lossy:this._isLossy(u)}},c._run=function(u,f){var d=this;return f===void 0&&(f={}),new Promise(function(m,y){try{var g=d._root(u,f);Promise.resolve(d.func(g)).then(function(w){var S=void 0;return d._shouldUpdateSelector(u,f)&&(S=g.toString(),u.selector=S),{transform:w,root:g,string:S}}).then(m,y)}catch(w){y(w);return}})},c._runSync=function(u,f){f===void 0&&(f={});var d=this._root(u,f),m=this.func(d);if(m&&typeof m.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var y=void 0;return f.updateSelector&&typeof u!="string"&&(y=d.toString(),u.selector=y),{transform:m,root:d,string:y}},c.ast=function(u,f){return this._run(u,f).then(function(d){return d.root})},c.astSync=function(u,f){return this._runSync(u,f).root},c.transform=function(u,f){return this._run(u,f).then(function(d){return d.transform})},c.transformSync=function(u,f){return this._runSync(u,f).transform},c.process=function(u,f){return this._run(u,f).then(function(d){return d.string||d.root.toString()})},c.processSync=function(u,f){var d=this._runSync(u,f);return d.string||d.root.toString()},l})();e.default=a,t.exports=e.default})(Ni,Ni.exports)),Ni.exports}var qo={},Ce={},Nf;function Ub(){if(Nf)return Ce;Nf=1,Ce.__esModule=!0,Ce.universal=Ce.tag=Ce.string=Ce.selector=Ce.root=Ce.pseudo=Ce.nesting=Ce.id=Ce.comment=Ce.combinator=Ce.className=Ce.attribute=void 0;var t=y(Tg()),e=y(mg()),r=y(Pg()),i=y(yg()),a=y(gg()),l=y(bg()),c=y(Eg()),p=y(fg()),u=y(dg()),f=y(Sg()),d=y(vg()),m=y(wg());function y(I){return I&&I.__esModule?I:{default:I}}var g=function(k){return new t.default(k)};Ce.attribute=g;var w=function(k){return new e.default(k)};Ce.className=w;var S=function(k){return new r.default(k)};Ce.combinator=S;var T=function(k){return new i.default(k)};Ce.comment=T;var E=function(k){return new a.default(k)};Ce.id=E;var x=function(k){return new l.default(k)};Ce.nesting=x;var A=function(k){return new c.default(k)};Ce.pseudo=A;var N=function(k){return new p.default(k)};Ce.root=N;var _=function(k){return new u.default(k)};Ce.selector=_;var M=function(k){return new f.default(k)};Ce.string=M;var D=function(k){return new d.default(k)};Ce.tag=D;var O=function(k){return new m.default(k)};return Ce.universal=O,Ce}var we={},Of;function qb(){if(Of)return we;Of=1,we.__esModule=!0,we.isComment=we.isCombinator=we.isClassName=we.isAttribute=void 0,we.isContainer=A,we.isIdentifier=void 0,we.isNamespace=N,we.isNesting=void 0,we.isNode=i,we.isPseudo=void 0,we.isPseudoClass=x,we.isPseudoElement=E,we.isUniversal=we.isTag=we.isString=we.isSelector=we.isRoot=void 0;var t=et(),e,r=(e={},e[t.ATTRIBUTE]=!0,e[t.CLASS]=!0,e[t.COMBINATOR]=!0,e[t.COMMENT]=!0,e[t.ID]=!0,e[t.NESTING]=!0,e[t.PSEUDO]=!0,e[t.ROOT]=!0,e[t.SELECTOR]=!0,e[t.STRING]=!0,e[t.TAG]=!0,e[t.UNIVERSAL]=!0,e);function i(_){return typeof _=="object"&&r[_.type]}function a(_,M){return i(M)&&M.type===_}var l=a.bind(null,t.ATTRIBUTE);we.isAttribute=l;var c=a.bind(null,t.CLASS);we.isClassName=c;var p=a.bind(null,t.COMBINATOR);we.isCombinator=p;var u=a.bind(null,t.COMMENT);we.isComment=u;var f=a.bind(null,t.ID);we.isIdentifier=f;var d=a.bind(null,t.NESTING);we.isNesting=d;var m=a.bind(null,t.PSEUDO);we.isPseudo=m;var y=a.bind(null,t.ROOT);we.isRoot=y;var g=a.bind(null,t.SELECTOR);we.isSelector=g;var w=a.bind(null,t.STRING);we.isString=w;var S=a.bind(null,t.TAG);we.isTag=S;var T=a.bind(null,t.UNIVERSAL);we.isUniversal=T;function E(_){return m(_)&&_.value&&(_.value.startsWith("::")||_.value.toLowerCase()===":before"||_.value.toLowerCase()===":after"||_.value.toLowerCase()===":first-letter"||_.value.toLowerCase()===":first-line")}function x(_){return m(_)&&!E(_)}function A(_){return!!(i(_)&&_.walk)}function N(_){return l(_)||S(_)}return we}var kf;function jb(){return kf||(kf=1,(function(t){t.__esModule=!0;var e=et();Object.keys(e).forEach(function(a){a==="default"||a==="__esModule"||a in t&&t[a]===e[a]||(t[a]=e[a])});var r=Ub();Object.keys(r).forEach(function(a){a==="default"||a==="__esModule"||a in t&&t[a]===r[a]||(t[a]=r[a])});var i=qb();Object.keys(i).forEach(function(a){a==="default"||a==="__esModule"||a in t&&t[a]===i[a]||(t[a]=i[a])})})(qo)),qo}var Lf;function Vb(){return Lf||(Lf=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=c($b()),i=l(jb());function a(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(a=function(g){return g?m:d})(f)}function l(f,d){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=a(d);if(m&&m.has(f))return m.get(f);var y={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in f)if(w!=="default"&&Object.prototype.hasOwnProperty.call(f,w)){var S=g?Object.getOwnPropertyDescriptor(f,w):null;S&&(S.get||S.set)?Object.defineProperty(y,w,S):y[w]=f[w]}return y.default=f,m&&m.set(f,y),y}function c(f){return f&&f.__esModule?f:{default:f}}var p=function(d){return new r.default(d)};Object.assign(p,i),delete p.__esModule;var u=p;e.default=u,t.exports=e.default})(Ii,Ii.exports)),Ii.exports}var zb=Vb(),cn=Yn(zb);const Wb=/^(-\w+-)?animation-name$/,Gb=/^(-\w+-)?animation$/,_g=/^(?:-\w+-)?keyframes$/,Ag=(t="")=>{const e=Object.create(null),r=t.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(i){Hb(t,i)},AtRule(i){_g.test(i.name)&&!i.params.endsWith(`-${r}`)&&(e[i.params]=i.params=i.params+"-"+r)},OnceExit(i){Object.keys(e).length&&i.walkDecls(a=>{Wb.test(a.prop)&&(a.value=a.value.split(",").map(l=>e[l.trim()]||l.trim()).join(",")),Gb.test(a.prop)&&(a.value=a.value.split(",").map(l=>{const c=l.trim().split(/\s+/),p=c.findIndex(u=>e[u]);return p!==-1?(c.splice(p,1,e[c[p]]),c.join(" ")):l}).join(","))})}}},Mf=new WeakSet;function Hb(t,e){if(Mf.has(e)||e.parent&&e.parent.type==="atrule"&&_g.test(e.parent.name))return;Mf.add(e);let r=!1,i=e.parent;for(;i&&i.type!=="root";){if(i.__deep){r=!0;break}i=i.parent}e.selector=cn(a=>{a.each(l=>{xl(t,e,l,a,r)})}).processSync(e.selector)}function xl(t,e,r,i,a,l=!1){let c=null,p=!a;if(r.each(u=>{if(u.type==="combinator"&&(u.value===">>>"||u.value==="/deep/"))return u.value=" ",u.spaces.before=u.spaces.after="",In("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(u.type==="pseudo"){const{value:f}=u;if(f===":deep"||f==="::v-deep"){if(e.__deep=!0,u.nodes.length){let d=u;u.nodes[0].each(y=>{r.insertAfter(d,y),d=y});const m=r.at(r.index(u)-1);(!m||!Rf(m))&&r.insertAfter(u,cn.combinator({value:" "})),r.removeChild(u)}else{In(`${f} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${f} <inner-selector>.`);const d=r.at(r.index(u)-1);d&&Rf(d)&&r.removeChild(d),r.removeChild(u)}return!1}if(f===":slotted"||f==="::v-slotted"){xl(t,e,u.nodes[0],i,a,!0);let d=u;return u.nodes[0].each(m=>{r.insertAfter(d,m),d=m}),r.removeChild(u),p=!1,!1}if(f===":global"||f==="::v-global")return r.replaceWith(u.nodes[0]),!1}if(u.type==="universal"){const f=r.at(r.index(u)-1),d=r.at(r.index(u)+1);if(!f)if(d){d.type==="combinator"&&d.value===" "&&r.removeChild(d),r.removeChild(u);return}else return c=cn.combinator({value:""}),r.insertBefore(u,c),r.removeChild(u),!1;if(c)return}(u.type!=="pseudo"&&u.type!=="combinator"||u.type==="pseudo"&&(u.value===":is"||u.value===":where")&&!c)&&(c=u)}),e.nodes.some(u=>u.type==="rule")){const u=e.__deep;if(!u){Df(e);const f=e.nodes.filter(d=>d.type==="atrule");for(const d of f)Df(d)}p=u}if(c){const{type:u,value:f}=c;u==="pseudo"&&(f===":is"||f===":where")&&(c.nodes.forEach(d=>xl(t,e,d,i,a,l)),p=!1)}if(c?c.spaces.after="":r.first.spaces.before="",p){const u=l?t+"-s":t;r.insertAfter(c,cn.attribute({attribute:u,value:u,raws:{},quoteMark:'"'}))}}function Rf(t){return t.type==="combinator"&&/^\s+$/.test(t.value)}function Df(t){if(!t.nodes)return;const e=t.nodes.filter(r=>r.type==="decl"||r.type==="comment");if(e.length){for(const i of e)t.removeChild(i);const r=new Ob({nodes:e,selector:"&"});t.prepend(r)}}Ag.postcss=!0;var _s={},jo={},Yi={},Qi={},Ff;function Xb(){if(Ff)return Qi;Ff=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Qi.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},Qi.decode=function(e){var r=65,i=90,a=97,l=122,c=48,p=57,u=43,f=47,d=26,m=52;return r<=e&&e<=i?e-r:a<=e&&e<=l?e-a+d:c<=e&&e<=p?e-c+m:e==u?62:e==f?63:-1},Qi}var Bf;function Cg(){if(Bf)return Yi;Bf=1;var t=Xb(),e=5,r=1<<e,i=r-1,a=r;function l(p){return p<0?(-p<<1)+1:(p<<1)+0}function c(p){var u=(p&1)===1,f=p>>1;return u?-f:f}return Yi.encode=function(u){var f="",d,m=l(u);do d=m&i,m>>>=e,m>0&&(d|=a),f+=t.encode(d);while(m>0);return f},Yi.decode=function(u,f,d){var m=u.length,y=0,g=0,w,S;do{if(f>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(S=t.decode(u.charCodeAt(f++)),S===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));w=!!(S&a),S&=i,y=y+(S<<g),g+=e}while(w);d.value=c(y),d.rest=f},Yi}var Vo={},$f;function ui(){return $f||($f=1,(function(t){function e(N,_,M){if(_ in N)return N[_];if(arguments.length===3)return M;throw new Error('"'+_+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function a(N){var _=N.match(r);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}t.urlParse=a;function l(N){var _="";return N.scheme&&(_+=N.scheme+":"),_+="//",N.auth&&(_+=N.auth+"@"),N.host&&(_+=N.host),N.port&&(_+=":"+N.port),N.path&&(_+=N.path),_}t.urlGenerate=l;function c(N){var _=N,M=a(N);if(M){if(!M.path)return N;_=M.path}for(var D=t.isAbsolute(_),O=_.split(/\/+/),I,k=0,L=O.length-1;L>=0;L--)I=O[L],I==="."?O.splice(L,1):I===".."?k++:k>0&&(I===""?(O.splice(L+1,k),k=0):(O.splice(L,2),k--));return _=O.join("/"),_===""&&(_=D?"/":"."),M?(M.path=_,l(M)):_}t.normalize=c;function p(N,_){N===""&&(N="."),_===""&&(_=".");var M=a(_),D=a(N);if(D&&(N=D.path||"/"),M&&!M.scheme)return D&&(M.scheme=D.scheme),l(M);if(M||_.match(i))return _;if(D&&!D.host&&!D.path)return D.host=_,l(D);var O=_.charAt(0)==="/"?_:c(N.replace(/\/+$/,"")+"/"+_);return D?(D.path=O,l(D)):O}t.join=p,t.isAbsolute=function(N){return N.charAt(0)==="/"||r.test(N)};function u(N,_){N===""&&(N="."),N=N.replace(/\/$/,"");for(var M=0;_.indexOf(N+"/")!==0;){var D=N.lastIndexOf("/");if(D<0||(N=N.slice(0,D),N.match(/^([^\/]+:\/)?\/*$/)))return _;++M}return Array(M+1).join("../")+_.substr(N.length+1)}t.relative=u;var f=(function(){var N=Object.create(null);return!("__proto__"in N)})();function d(N){return N}function m(N){return g(N)?"$"+N:N}t.toSetString=f?d:m;function y(N){return g(N)?N.slice(1):N}t.fromSetString=f?d:y;function g(N){if(!N)return!1;var _=N.length;if(_<9||N.charCodeAt(_-1)!==95||N.charCodeAt(_-2)!==95||N.charCodeAt(_-3)!==111||N.charCodeAt(_-4)!==116||N.charCodeAt(_-5)!==111||N.charCodeAt(_-6)!==114||N.charCodeAt(_-7)!==112||N.charCodeAt(_-8)!==95||N.charCodeAt(_-9)!==95)return!1;for(var M=_-10;M>=0;M--)if(N.charCodeAt(M)!==36)return!1;return!0}function w(N,_,M){var D=T(N.source,_.source);return D!==0||(D=N.originalLine-_.originalLine,D!==0)||(D=N.originalColumn-_.originalColumn,D!==0||M)||(D=N.generatedColumn-_.generatedColumn,D!==0)||(D=N.generatedLine-_.generatedLine,D!==0)?D:T(N.name,_.name)}t.compareByOriginalPositions=w;function S(N,_,M){var D=N.generatedLine-_.generatedLine;return D!==0||(D=N.generatedColumn-_.generatedColumn,D!==0||M)||(D=T(N.source,_.source),D!==0)||(D=N.originalLine-_.originalLine,D!==0)||(D=N.originalColumn-_.originalColumn,D!==0)?D:T(N.name,_.name)}t.compareByGeneratedPositionsDeflated=S;function T(N,_){return N===_?0:N===null?1:_===null?-1:N>_?1:-1}function E(N,_){var M=N.generatedLine-_.generatedLine;return M!==0||(M=N.generatedColumn-_.generatedColumn,M!==0)||(M=T(N.source,_.source),M!==0)||(M=N.originalLine-_.originalLine,M!==0)||(M=N.originalColumn-_.originalColumn,M!==0)?M:T(N.name,_.name)}t.compareByGeneratedPositionsInflated=E;function x(N){return JSON.parse(N.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=x;function A(N,_,M){if(_=_||"",N&&(N[N.length-1]!=="/"&&_[0]!=="/"&&(N+="/"),_=N+_),M){var D=a(M);if(!D)throw new Error("sourceMapURL could not be parsed");if(D.path){var O=D.path.lastIndexOf("/");O>=0&&(D.path=D.path.substring(0,O+1))}_=p(l(D),_)}return c(_)}t.computeSourceURL=A})(Vo)),Vo}var zo={},Uf;function Ig(){if(Uf)return zo;Uf=1;var t=ui(),e=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(l,c){for(var p=new i,u=0,f=l.length;u<f;u++)p.add(l[u],c);return p},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(l,c){var p=r?l:t.toSetString(l),u=r?this.has(l):e.call(this._set,p),f=this._array.length;(!u||c)&&this._array.push(l),u||(r?this._set.set(l,f):this._set[p]=f)},i.prototype.has=function(l){if(r)return this._set.has(l);var c=t.toSetString(l);return e.call(this._set,c)},i.prototype.indexOf=function(l){if(r){var c=this._set.get(l);if(c>=0)return c}else{var p=t.toSetString(l);if(e.call(this._set,p))return this._set[p]}throw new Error('"'+l+'" is not in the set.')},i.prototype.at=function(l){if(l>=0&&l<this._array.length)return this._array[l];throw new Error("No element indexed by "+l)},i.prototype.toArray=function(){return this._array.slice()},zo.ArraySet=i,zo}var Wo={},qf;function Jb(){if(qf)return Wo;qf=1;var t=ui();function e(i,a){var l=i.generatedLine,c=a.generatedLine,p=i.generatedColumn,u=a.generatedColumn;return c>l||c==l&&u>=p||t.compareByGeneratedPositionsInflated(i,a)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(a,l){this._array.forEach(a,l)},r.prototype.add=function(a){e(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Wo.MappingList=r,Wo}var jf;function Ng(){if(jf)return jo;jf=1;var t=Cg(),e=ui(),r=Ig().ArraySet,i=Jb().MappingList;function a(l){l||(l={}),this._file=e.getArg(l,"file",null),this._sourceRoot=e.getArg(l,"sourceRoot",null),this._skipValidation=e.getArg(l,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(c){var p=c.sourceRoot,u=new a({file:c.file,sourceRoot:p});return c.eachMapping(function(f){var d={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(d.source=f.source,p!=null&&(d.source=e.relative(p,d.source)),d.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(d.name=f.name)),u.addMapping(d)}),c.sources.forEach(function(f){var d=f;p!==null&&(d=e.relative(p,f)),u._sources.has(d)||u._sources.add(d);var m=c.sourceContentFor(f);m!=null&&u.setSourceContent(f,m)}),u},a.prototype.addMapping=function(c){var p=e.getArg(c,"generated"),u=e.getArg(c,"original",null),f=e.getArg(c,"source",null),d=e.getArg(c,"name",null);this._skipValidation||this._validateMapping(p,u,f,d),f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:d})},a.prototype.setSourceContent=function(c,p){var u=c;this._sourceRoot!=null&&(u=e.relative(this._sourceRoot,u)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(u)]=p):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(c,p,u){var f=p;if(p==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=c.file}var d=this._sourceRoot;d!=null&&(f=e.relative(d,f));var m=new r,y=new r;this._mappings.unsortedForEach(function(g){if(g.source===f&&g.originalLine!=null){var w=c.originalPositionFor({line:g.originalLine,column:g.originalColumn});w.source!=null&&(g.source=w.source,u!=null&&(g.source=e.join(u,g.source)),d!=null&&(g.source=e.relative(d,g.source)),g.originalLine=w.line,g.originalColumn=w.column,w.name!=null&&(g.name=w.name))}var S=g.source;S!=null&&!m.has(S)&&m.add(S);var T=g.name;T!=null&&!y.has(T)&&y.add(T)},this),this._sources=m,this._names=y,c.sources.forEach(function(g){var w=c.sourceContentFor(g);w!=null&&(u!=null&&(g=e.join(u,g)),d!=null&&(g=e.relative(d,g)),this.setSourceContent(g,w))},this)},a.prototype._validateMapping=function(c,p,u,f){if(p&&typeof p.line!="number"&&typeof p.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!p&&!u&&!f)){if(c&&"line"in c&&"column"in c&&p&&"line"in p&&"column"in p&&c.line>0&&c.column>=0&&p.line>0&&p.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:c,source:u,original:p,name:f}))}},a.prototype._serializeMappings=function(){for(var c=0,p=1,u=0,f=0,d=0,m=0,y="",g,w,S,T,E=this._mappings.toArray(),x=0,A=E.length;x<A;x++){if(w=E[x],g="",w.generatedLine!==p)for(c=0;w.generatedLine!==p;)g+=";",p++;else if(x>0){if(!e.compareByGeneratedPositionsInflated(w,E[x-1]))continue;g+=","}g+=t.encode(w.generatedColumn-c),c=w.generatedColumn,w.source!=null&&(T=this._sources.indexOf(w.source),g+=t.encode(T-m),m=T,g+=t.encode(w.originalLine-1-f),f=w.originalLine-1,g+=t.encode(w.originalColumn-u),u=w.originalColumn,w.name!=null&&(S=this._names.indexOf(w.name),g+=t.encode(S-d),d=S)),y+=g}return y},a.prototype._generateSourcesContent=function(c,p){return c.map(function(u){if(!this._sourcesContents)return null;p!=null&&(u=e.relative(p,u));var f=e.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},a.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},jo.SourceMapGenerator=a,jo}var As={},Go={},Vf;function Kb(){return Vf||(Vf=1,(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,a,l,c,p){var u=Math.floor((i-r)/2)+r,f=c(a,l[u],!0);return f===0?u:f>0?i-u>1?e(u,i,a,l,c,p):p==t.LEAST_UPPER_BOUND?i<l.length?i:-1:u:u-r>1?e(r,u,a,l,c,p):p==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(i,a,l,c){if(a.length===0)return-1;var p=e(-1,a.length,i,a,l,c||t.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&l(a[p],a[p-1],!0)===0;)--p;return p}})(Go)),Go}var Ho={},zf;function Yb(){if(zf)return Ho;zf=1;function t(i,a,l){var c=i[a];i[a]=i[l],i[l]=c}function e(i,a){return Math.round(i+Math.random()*(a-i))}function r(i,a,l,c){if(l<c){var p=e(l,c),u=l-1;t(i,p,c);for(var f=i[c],d=l;d<c;d++)a(i[d],f)<=0&&(u+=1,t(i,u,d));t(i,u+1,d);var m=u+1;r(i,a,l,m-1),r(i,a,m+1,c)}}return Ho.quickSort=function(i,a){r(i,a,0,i.length-1)},Ho}var Wf;function Qb(){if(Wf)return As;Wf=1;var t=ui(),e=Kb(),r=Ig().ArraySet,i=Cg(),a=Yb().quickSort;function l(f,d){var m=f;return typeof f=="string"&&(m=t.parseSourceMapInput(f)),m.sections!=null?new u(m,d):new c(m,d)}l.fromSourceMap=function(f,d){return c.fromSourceMap(f,d)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(d,m){var y=d.charAt(m);return y===";"||y===","},l.prototype._parseMappings=function(d,m){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(d,m,y){var g=m||null,w=y||l.GENERATED_ORDER,S;switch(w){case l.GENERATED_ORDER:S=this._generatedMappings;break;case l.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var T=this.sourceRoot;S.map(function(E){var x=E.source===null?null:this._sources.at(E.source);return x=t.computeSourceURL(T,x,this._sourceMapURL),{source:x,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}},this).forEach(d,g)},l.prototype.allGeneratedPositionsFor=function(d){var m=t.getArg(d,"line"),y={source:t.getArg(d,"source"),originalLine:m,originalColumn:t.getArg(d,"column",0)};if(y.source=this._findSourceIndex(y.source),y.source<0)return[];var g=[],w=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(w>=0){var S=this._originalMappings[w];if(d.column===void 0)for(var T=S.originalLine;S&&S.originalLine===T;)g.push({line:t.getArg(S,"generatedLine",null),column:t.getArg(S,"generatedColumn",null),lastColumn:t.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++w];else for(var E=S.originalColumn;S&&S.originalLine===m&&S.originalColumn==E;)g.push({line:t.getArg(S,"generatedLine",null),column:t.getArg(S,"generatedColumn",null),lastColumn:t.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++w]}return g},As.SourceMapConsumer=l;function c(f,d){var m=f;typeof f=="string"&&(m=t.parseSourceMapInput(f));var y=t.getArg(m,"version"),g=t.getArg(m,"sources"),w=t.getArg(m,"names",[]),S=t.getArg(m,"sourceRoot",null),T=t.getArg(m,"sourcesContent",null),E=t.getArg(m,"mappings"),x=t.getArg(m,"file",null);if(y!=this._version)throw new Error("Unsupported version: "+y);S&&(S=t.normalize(S)),g=g.map(String).map(t.normalize).map(function(A){return S&&t.isAbsolute(S)&&t.isAbsolute(A)?t.relative(S,A):A}),this._names=r.fromArray(w.map(String),!0),this._sources=r.fromArray(g,!0),this._absoluteSources=this._sources.toArray().map(function(A){return t.computeSourceURL(S,A,d)}),this.sourceRoot=S,this.sourcesContent=T,this._mappings=E,this._sourceMapURL=d,this.file=x}c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(f){var d=f;if(this.sourceRoot!=null&&(d=t.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var m;for(m=0;m<this._absoluteSources.length;++m)if(this._absoluteSources[m]==f)return m;return-1},c.fromSourceMap=function(d,m){var y=Object.create(c.prototype),g=y._names=r.fromArray(d._names.toArray(),!0),w=y._sources=r.fromArray(d._sources.toArray(),!0);y.sourceRoot=d._sourceRoot,y.sourcesContent=d._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=d._file,y._sourceMapURL=m,y._absoluteSources=y._sources.toArray().map(function(M){return t.computeSourceURL(y.sourceRoot,M,m)});for(var S=d._mappings.toArray().slice(),T=y.__generatedMappings=[],E=y.__originalMappings=[],x=0,A=S.length;x<A;x++){var N=S[x],_=new p;_.generatedLine=N.generatedLine,_.generatedColumn=N.generatedColumn,N.source&&(_.source=w.indexOf(N.source),_.originalLine=N.originalLine,_.originalColumn=N.originalColumn,N.name&&(_.name=g.indexOf(N.name)),E.push(_)),T.push(_)}return a(y.__originalMappings,t.compareByOriginalPositions),y},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}c.prototype._parseMappings=function(d,m){for(var y=1,g=0,w=0,S=0,T=0,E=0,x=d.length,A=0,N={},_={},M=[],D=[],O,I,k,L,V;A<x;)if(d.charAt(A)===";")y++,A++,g=0;else if(d.charAt(A)===",")A++;else{for(O=new p,O.generatedLine=y,L=A;L<x&&!this._charIsMappingSeparator(d,L);L++);if(I=d.slice(A,L),k=N[I],k)A+=I.length;else{for(k=[];A<L;)i.decode(d,A,_),V=_.value,A=_.rest,k.push(V);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");N[I]=k}O.generatedColumn=g+k[0],g=O.generatedColumn,k.length>1&&(O.source=T+k[1],T+=k[1],O.originalLine=w+k[2],w=O.originalLine,O.originalLine+=1,O.originalColumn=S+k[3],S=O.originalColumn,k.length>4&&(O.name=E+k[4],E+=k[4])),D.push(O),typeof O.originalLine=="number"&&M.push(O)}a(D,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,a(M,t.compareByOriginalPositions),this.__originalMappings=M},c.prototype._findMapping=function(d,m,y,g,w,S){if(d[y]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[y]);if(d[g]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[g]);return e.search(d,m,w,S)},c.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var m=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var y=this._generatedMappings[d+1];if(m.generatedLine===y.generatedLine){m.lastGeneratedColumn=y.generatedColumn-1;continue}}m.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(d){var m={generatedLine:t.getArg(d,"line"),generatedColumn:t.getArg(d,"column")},y=this._findMapping(m,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(d,"bias",l.GREATEST_LOWER_BOUND));if(y>=0){var g=this._generatedMappings[y];if(g.generatedLine===m.generatedLine){var w=t.getArg(g,"source",null);w!==null&&(w=this._sources.at(w),w=t.computeSourceURL(this.sourceRoot,w,this._sourceMapURL));var S=t.getArg(g,"name",null);return S!==null&&(S=this._names.at(S)),{source:w,line:t.getArg(g,"originalLine",null),column:t.getArg(g,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},c.prototype.sourceContentFor=function(d,m){if(!this.sourcesContent)return null;var y=this._findSourceIndex(d);if(y>=0)return this.sourcesContent[y];var g=d;this.sourceRoot!=null&&(g=t.relative(this.sourceRoot,g));var w;if(this.sourceRoot!=null&&(w=t.urlParse(this.sourceRoot))){var S=g.replace(/^file:\/\//,"");if(w.scheme=="file"&&this._sources.has(S))return this.sourcesContent[this._sources.indexOf(S)];if((!w.path||w.path=="/")&&this._sources.has("/"+g))return this.sourcesContent[this._sources.indexOf("/"+g)]}if(m)return null;throw new Error('"'+g+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(d){var m=t.getArg(d,"source");if(m=this._findSourceIndex(m),m<0)return{line:null,column:null,lastColumn:null};var y={source:m,originalLine:t.getArg(d,"line"),originalColumn:t.getArg(d,"column")},g=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(d,"bias",l.GREATEST_LOWER_BOUND));if(g>=0){var w=this._originalMappings[g];if(w.source===y.source)return{line:t.getArg(w,"generatedLine",null),column:t.getArg(w,"generatedColumn",null),lastColumn:t.getArg(w,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},As.BasicSourceMapConsumer=c;function u(f,d){var m=f;typeof f=="string"&&(m=t.parseSourceMapInput(f));var y=t.getArg(m,"version"),g=t.getArg(m,"sections");if(y!=this._version)throw new Error("Unsupported version: "+y);this._sources=new r,this._names=new r;var w={line:-1,column:0};this._sections=g.map(function(S){if(S.url)throw new Error("Support for url field in sections not implemented.");var T=t.getArg(S,"offset"),E=t.getArg(T,"line"),x=t.getArg(T,"column");if(E<w.line||E===w.line&&x<w.column)throw new Error("Section offsets must be ordered and non-overlapping.");return w=T,{generatedOffset:{generatedLine:E+1,generatedColumn:x+1},consumer:new l(t.getArg(S,"map"),d)}})}return u.prototype=Object.create(l.prototype),u.prototype.constructor=l,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var f=[],d=0;d<this._sections.length;d++)for(var m=0;m<this._sections[d].consumer.sources.length;m++)f.push(this._sections[d].consumer.sources[m]);return f}}),u.prototype.originalPositionFor=function(d){var m={generatedLine:t.getArg(d,"line"),generatedColumn:t.getArg(d,"column")},y=e.search(m,this._sections,function(w,S){var T=w.generatedLine-S.generatedOffset.generatedLine;return T||w.generatedColumn-S.generatedOffset.generatedColumn}),g=this._sections[y];return g?g.consumer.originalPositionFor({line:m.generatedLine-(g.generatedOffset.generatedLine-1),column:m.generatedColumn-(g.generatedOffset.generatedLine===m.generatedLine?g.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(d,m){for(var y=0;y<this._sections.length;y++){var g=this._sections[y],w=g.consumer.sourceContentFor(d,!0);if(w)return w}if(m)return null;throw new Error('"'+d+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(d){for(var m=0;m<this._sections.length;m++){var y=this._sections[m];if(y.consumer._findSourceIndex(t.getArg(d,"source"))!==-1){var g=y.consumer.generatedPositionFor(d);if(g){var w={line:g.line+(y.generatedOffset.generatedLine-1),column:g.column+(y.generatedOffset.generatedLine===g.line?y.generatedOffset.generatedColumn-1:0)};return w}}}return{line:null,column:null}},u.prototype._parseMappings=function(d,m){this.__generatedMappings=[],this.__originalMappings=[];for(var y=0;y<this._sections.length;y++)for(var g=this._sections[y],w=g.consumer._generatedMappings,S=0;S<w.length;S++){var T=w[S],E=g.consumer._sources.at(T.source);E=t.computeSourceURL(g.consumer.sourceRoot,E,this._sourceMapURL),this._sources.add(E),E=this._sources.indexOf(E);var x=null;T.name&&(x=g.consumer._names.at(T.name),this._names.add(x),x=this._names.indexOf(x));var A={source:E,generatedLine:T.generatedLine+(g.generatedOffset.generatedLine-1),generatedColumn:T.generatedColumn+(g.generatedOffset.generatedLine===T.generatedLine?g.generatedOffset.generatedColumn-1:0),originalLine:T.originalLine,originalColumn:T.originalColumn,name:x};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},As.IndexedSourceMapConsumer=u,As}var Xo={},Gf;function Zb(){if(Gf)return Xo;Gf=1;var t=Ng().SourceMapGenerator,e=ui(),r=/(\r?\n)/,i=10,a="$$$isSourceNode$$$";function l(c,p,u,f,d){this.children=[],this.sourceContents={},this.line=c??null,this.column=p??null,this.source=u??null,this.name=d??null,this[a]=!0,f!=null&&this.add(f)}return l.fromStringWithSourceMap=function(p,u,f){var d=new l,m=p.split(r),y=0,g=function(){var x=N(),A=N()||"";return x+A;function N(){return y<m.length?m[y++]:void 0}},w=1,S=0,T=null;return u.eachMapping(function(x){if(T!==null)if(w<x.generatedLine)E(T,g()),w++,S=0;else{var A=m[y]||"",N=A.substr(0,x.generatedColumn-S);m[y]=A.substr(x.generatedColumn-S),S=x.generatedColumn,E(T,N),T=x;return}for(;w<x.generatedLine;)d.add(g()),w++;if(S<x.generatedColumn){var A=m[y]||"";d.add(A.substr(0,x.generatedColumn)),m[y]=A.substr(x.generatedColumn),S=x.generatedColumn}T=x},this),y<m.length&&(T&&E(T,g()),d.add(m.splice(y).join(""))),u.sources.forEach(function(x){var A=u.sourceContentFor(x);A!=null&&(f!=null&&(x=e.join(f,x)),d.setSourceContent(x,A))}),d;function E(x,A){if(x===null||x.source===void 0)d.add(A);else{var N=f?e.join(f,x.source):x.source;d.add(new l(x.originalLine,x.originalColumn,N,A,x.name))}}},l.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(u){this.add(u)},this);else if(p[a]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.prepend=function(p){if(Array.isArray(p))for(var u=p.length-1;u>=0;u--)this.prepend(p[u]);else if(p[a]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.walk=function(p){for(var u,f=0,d=this.children.length;f<d;f++)u=this.children[f],u[a]?u.walk(p):u!==""&&p(u,{source:this.source,line:this.line,column:this.column,name:this.name})},l.prototype.join=function(p){var u,f,d=this.children.length;if(d>0){for(u=[],f=0;f<d-1;f++)u.push(this.children[f]),u.push(p);u.push(this.children[f]),this.children=u}return this},l.prototype.replaceRight=function(p,u){var f=this.children[this.children.length-1];return f[a]?f.replaceRight(p,u):typeof f=="string"?this.children[this.children.length-1]=f.replace(p,u):this.children.push("".replace(p,u)),this},l.prototype.setSourceContent=function(p,u){this.sourceContents[e.toSetString(p)]=u},l.prototype.walkSourceContents=function(p){for(var u=0,f=this.children.length;u<f;u++)this.children[u][a]&&this.children[u].walkSourceContents(p);for(var d=Object.keys(this.sourceContents),u=0,f=d.length;u<f;u++)p(e.fromSetString(d[u]),this.sourceContents[d[u]])},l.prototype.toString=function(){var p="";return this.walk(function(u){p+=u}),p},l.prototype.toStringWithSourceMap=function(p){var u={code:"",line:1,column:0},f=new t(p),d=!1,m=null,y=null,g=null,w=null;return this.walk(function(S,T){u.code+=S,T.source!==null&&T.line!==null&&T.column!==null?((m!==T.source||y!==T.line||g!==T.column||w!==T.name)&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name}),m=T.source,y=T.line,g=T.column,w=T.name,d=!0):d&&(f.addMapping({generated:{line:u.line,column:u.column}}),m=null,d=!1);for(var E=0,x=S.length;E<x;E++)S.charCodeAt(E)===i?(u.line++,u.column=0,E+1===x?(m=null,d=!1):d&&f.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:u.line,column:u.column},name:T.name})):u.column++}),this.walkSourceContents(function(S,T){f.setSourceContent(S,T)}),{code:u.code,map:f}},Xo.SourceNode=l,Xo}var Hf;function ex(){return Hf||(Hf=1,_s.SourceMapGenerator=Ng().SourceMapGenerator,_s.SourceMapConsumer=Qb().SourceMapConsumer,_s.SourceNode=Zb().SourceNode),_s}var Jo,Xf;function tx(){if(Xf)return Jo;Xf=1;var t=ex(),e=t.SourceMapConsumer,r=t.SourceMapGenerator;Jo=i;function i(a,l){if(!a)return l;if(!l)return a;var c=new e(a),p=new e(l),u=new r;p.eachMapping(function(d){if(d.originalLine!=null){var m=c.originalPositionFor({line:d.originalLine,column:d.originalColumn});m.source!=null&&u.addMapping({original:{line:m.line,column:m.column},generated:{line:d.generatedLine,column:d.generatedColumn},source:m.source,name:m.name})}});var f=[c,p];return f.forEach(function(d){d.sources.forEach(function(m){u._sources.add(m);var y=d.sourceContentFor(m);y!=null&&u.setSourceContent(m,y)})}),u._sourceRoot=a.sourceRoot,u._file=a.file,JSON.parse(u.toString())}return Jo}var rx=tx(),eu=Yn(rx),sx=Object.defineProperty,ix=Object.defineProperties,nx=Object.getOwnPropertyDescriptors,Jf=Object.getOwnPropertySymbols,ax=Object.prototype.hasOwnProperty,ox=Object.prototype.propertyIsEnumerable,Kf=(t,e,r)=>e in t?sx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,On=(t,e)=>{for(var r in e||(e={}))ax.call(e,r)&&Kf(t,r,e[r]);if(Jf)for(var r of Jf(e))ox.call(e,r)&&Kf(t,r,e[r]);return t},kn=(t,e)=>ix(t,nx(e));const Og=(t,e,r,i=require)=>{const a=i("sass"),{compileString:l,renderSync:c}=a,p=kg(t,r.filename,r.additionalData);let u,f,d;try{if(l){const{pathToFileURL:m,fileURLToPath:y}=i("url"),g=l(p,kn(On({},r),{url:m(r.filename),sourceMap:!!e}));u=g.css,f=g.loadedUrls.map(w=>y(w)),d=e?g.sourceMap:void 0}else{const m=c(kn(On({},r),{data:p,file:r.filename,outFile:r.filename,sourceMap:!!e}));u=m.css.toString(),f=m.stats.includedFiles,d=e?JSON.parse(m.map.toString()):void 0}return e?{code:u,errors:[],dependencies:f,map:eu(e,d)}:{code:u,errors:[],dependencies:f}}catch(m){return{code:"",errors:[m],dependencies:[]}}},lx=(t,e,r,i)=>Og(t,e,kn(On({},r),{indentedSyntax:!0}),i),cx=(t,e,r,i=require)=>{const a=i("less");let l,c=null;if(a.render(kg(t,r.filename,r.additionalData),kn(On({},r),{syncImport:!0}),(u,f)=>{c=u,l=f}),c)return{code:"",errors:[c],dependencies:[]};const p=l.imports;return e?{code:l.css.toString(),map:eu(e,l.map),errors:[],dependencies:p}:{code:l.css.toString(),errors:[],dependencies:p}},Yf=(t,e,r,i=require)=>{const a=i("stylus");try{const l=a(t,r);e&&l.set("sourcemap",{inline:!1,comment:!1});const c=l.render(),p=l.deps();return e?{code:c,map:eu(e,l.sourcemap),errors:[],dependencies:p}:{code:c,errors:[],dependencies:p}}catch(l){return{code:"",errors:[l],dependencies:[]}}};function kg(t,e,r){return r?Id(r)?r(t,e):r+t:t}const ux={less:cx,sass:lx,scss:Og,styl:Yf,stylus:Yf};var hx=Object.defineProperty,px=Object.defineProperties,fx=Object.getOwnPropertyDescriptors,Qf=Object.getOwnPropertySymbols,dx=Object.prototype.hasOwnProperty,mx=Object.prototype.propertyIsEnumerable,Zf=(t,e,r)=>e in t?hx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tu=(t,e)=>{for(var r in e||(e={}))dx.call(e,r)&&Zf(t,r,e[r]);if(Qf)for(var r of Qf(e))mx.call(e,r)&&Zf(t,r,e[r]);return t},Lg=(t,e)=>px(t,fx(e));function V_(t){return yx(Lg(tu({},t),{isAsync:!0}))}function yx(t){const{filename:e,id:r,scoped:i=!1,trim:a=!0,isProd:l=!1,modules:c=!1,modulesOptions:p={},preprocessLang:u,postcssOptions:f,postcssPlugins:d}=t,m=u&&ux[u],y=m&&gx(t,m),g=y?y.map:t.inMap||t.map,w=y?y.code:t.source,S=r.replace(/^data-v-/,""),T=`data-v-${S}`,E=(d||[]).slice();E.unshift(Mm({id:S,isProd:l})),a&&E.push(hg()),i&&E.push(Ag(T));let x;if(c)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const A=Lg(tu({},f),{to:e,from:e});g&&(A.map={inline:!1,annotation:!1,prev:g});let N,_,M;const D=new Set(y?y.dependencies:[]);D.delete(e);const O=[];y&&y.errors.length&&O.push(...y.errors);const I=k=>(k.forEach(L=>{L.type==="dependency"&&D.add(L.file)}),D);try{if(N=Oe(E).process(w,A),t.isAsync)return N.then(k=>({code:k.css||"",map:k.map&&k.map.toJSON(),errors:O,modules:x,rawResult:k,dependencies:I(k.messages)})).catch(k=>({code:"",map:void 0,errors:[...O,k],rawResult:void 0,dependencies:D}));I(N.messages),_=N.css,M=N.map}catch(k){O.push(k)}return{code:_||"",map:M&&M.toJSON(),errors:O,rawResult:N,dependencies:D}}function gx(t,e){if(!t.preprocessCustomRequire)throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return e(t.source,t.inMap||t.map,tu({filename:t.filename},t.preprocessOptions),t.preprocessCustomRequire)}const kt="Unknown";function ru(t,e){switch(t.type){case"StringLiteral":case"NumericLiteral":return String(t.value);case"Identifier":if(!e)return t.name}}function ed(t){return t.filter(e=>!!e).join(", ")}function Mg(t){return t.type.endsWith("Literal")}function st(t,e){return!!(t&&e&&t.type==="CallExpression"&&t.callee.type==="Identifier"&&(typeof e=="string"?t.callee.name===e:e(t.callee.name)))}function Qr(t){return t.length>1?`[${t.join(", ")}]`:t[0]}function _l(t){return t.type==="ImportSpecifier"?t.imported.type==="Identifier"?t.imported.name:t.imported.value:t.type==="ImportNamespaceSpecifier"?"*":"default"}function Mr(t){return t.type==="Identifier"?t.name:t.type==="StringLiteral"?t.value:null}const vx=(Yt.posix||Yt).normalize,Sx=/\\/g;function Rg(t){return vx(t.replace(Sx,"/"))}const qs=(Yt.posix||Yt).join,Ex=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function Dg(t){return Ex.test(t)?JSON.stringify(t):t}function Fg(t){for(const e of t)if(e.type==="ExportDefaultDeclaration"&&e.declaration.type==="ObjectExpression")return Tx(e.declaration);return{}}function Tx(t){const e={};Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!1});for(const r of t.properties)if(r.type==="ObjectProperty"&&!r.computed&&r.key.type==="Identifier"){if(r.key.name==="props")for(const i of Cl(r.value))e[i]="props";else if(r.key.name==="inject")for(const i of Cl(r.value))e[i]="options";else if(r.value.type==="ObjectExpression"&&(r.key.name==="computed"||r.key.name==="methods"))for(const i of Al(r.value))e[i]="options"}else if(r.type==="ObjectMethod"&&r.key.type==="Identifier"&&(r.key.name==="setup"||r.key.name==="data")){for(const i of r.body.body)if(i.type==="ReturnStatement"&&i.argument&&i.argument.type==="ObjectExpression")for(const a of Al(i.argument))e[a]=r.key.name==="setup"?"setup-maybe-ref":"data"}return e}function Al(t){const e=[];for(const r of t.properties){if(r.type==="SpreadElement")continue;const i=ru(r.key,r.computed);i&&e.push(String(i))}return e}function wx(t){const e=[];for(const r of t.elements)r&&r.type==="StringLiteral"&&e.push(r.value);return e}function Cl(t){return t.type==="ArrayExpression"?wx(t):t.type==="ObjectExpression"?Al(t):[]}const Px=44,bx=59,td="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bg=new Uint8Array(64),xx=new Uint8Array(128);for(let t=0;t<td.length;t++){const e=td.charCodeAt(t);Bg[t]=e,xx[e]=t}function Cs(t,e,r){let i=e-r;i=i<0?-i<<1|1:i<<1;do{let a=i&31;i>>>=5,i>0&&(a|=32),t.write(Bg[a])}while(i>0);return e}const rd=1024*16,sd=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}};class _x{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(rd)}write(e){const{buffer:r}=this;r[this.pos++]=e,this.pos===rd&&(this.out+=sd.decode(r),this.pos=0)}flush(){const{buffer:e,out:r,pos:i}=this;return i>0?r+sd.decode(e.subarray(0,i)):r}}function Ax(t){const e=new _x;let r=0,i=0,a=0,l=0;for(let c=0;c<t.length;c++){const p=t[c];if(c>0&&e.write(bx),p.length===0)continue;let u=0;for(let f=0;f<p.length;f++){const d=p[f];f>0&&e.write(Px),u=Cs(e,d[0],u),d.length!==1&&(r=Cs(e,d[1],r),i=Cs(e,d[2],i),a=Cs(e,d[3],a),d.length!==4&&(l=Cs(e,d[4],l)))}}return e.flush()}class Ln{constructor(e){this.bits=e instanceof Ln?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class ei{constructor(e,r,i){this.start=e,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new ei(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const r=e-this.start,i=this.original.slice(0,r),a=this.original.slice(r);this.original=i;const l=new ei(e,this.end,a);return l.outro=this.outro,this.outro="",this.end=e,this.edited?(l.edit("",!1),this.content=""):this.content=i,l.next=this.next,l.next&&(l.next.previous=l),l.previous=this,this.next=l,l}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const r=this.content.replace(e,"");if(r.length){if(r!==this.content){const i=this.split(this.end-r.length);this.edited&&i.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function Cx(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Ix=Cx();class Nx{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Ax(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Ix(this.toString())}}function Ox(t){const e=t.split(`
101
101
  `),r=e.filter(l=>/^\t+/.test(l)),i=e.filter(l=>/^ {2,}/.test(l));if(r.length===0&&i.length===0)return null;if(r.length>=i.length)return" ";const a=i.reduce((l,c)=>{const p=/^ +/.exec(c)[0].length;return Math.min(p,l)},1/0);return new Array(a+1).join(" ")}function kx(t,e){const r=t.split(/[/\\]/),i=e.split(/[/\\]/);for(r.pop();r[0]===i[0];)r.shift(),i.shift();if(r.length){let a=r.length;for(;a--;)r[a]=".."}return r.concat(i).join("/")}const Lx=Object.prototype.toString;function Mx(t){return Lx.call(t)==="[object Object]"}function id(t){const e=t.split(`
102
102
  `),r=[];for(let i=0,a=0;i<e.length;i++)r.push(a),a+=e[i].length+1;return function(a){let l=0,c=r.length;for(;l<c;){const f=l+c>>1;a<r[f]?c=f:l=f+1}const p=l-1,u=a-r[p];return{line:p,column:u}}}const Rx=/\w/;class Dx{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,i,a){if(r.length){const l=r.length-1;let c=r.indexOf(`
103
103
  `,0),p=-1;for(;c>=0&&l>c;){const f=[this.generatedCodeColumn,e,i.line,i.column];a>=0&&f.push(a),this.rawSegments.push(f),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=c,c=r.indexOf(`