UNPKG

@visitscotland/component-library

Version:
2 lines 87.7 kB
/*! For license information please see 678be80c89eff10efccf.js.LICENSE.txt */ "use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7527],{2515:function(e,t,n){n.d(t,{$B:function(){return yt},$e:function(){return At},$s:function(){return A},AA:function(){return I},AI:function(){return je},Ax:function(){return ar},Bk:function(){return Xn},Bq:function(){return j},C$:function(){return Ye},D1:function(){return qe},Dw:function(){return pn},E4:function(){return Me},E7:function(){return kn},EW:function(){return gn},FJ:function(){return Oe},Hr:function(){return W},IO:function(){return T},J6:function(){return E},Js:function(){return ot},Jz:function(){return ce},K3:function(){return He},KH:function(){return mt},KS:function(){return Qe},KZ:function(){return y},Ky:function(){return Tt},L4:function(){return w},LG:function(){return un},LZ:function(){return it},Li:function(){return ee},MG:function(){return fe},MK:function(){return be},Md:function(){return Dn},N:function(){return G},O3:function(){return re},OQ:function(){return f},P0:function(){return Nn},PC:function(){return k},PD:function(){return Pn},PT:function(){return M},Pl:function(){return Ve},Q8:function(){return c},QV:function(){return h},Rk:function(){return rr},Rm:function(){return Ge},S8:function(){return Et},Sb:function(){return _e},T4:function(){return Xe},TF:function(){return bt},Tu:function(){return Ke},UT:function(){return J},VC:function(){return z},VX:function(){return ue},WA:function(){return Ee},WT:function(){return hr},Xk:function(){return $},YK:function(){return o},YY:function(){return we},Yr:function(){return H},Ys:function(){return br},Z1:function(){return lt},ZA:function(){return Yn},ZN:function(){return U},_m:function(){return _},aX:function(){return a},al:function(){return fr},an:function(){return K},az:function(){return le},b_:function(){return or},bj:function(){return ht},bu:function(){return m},cL:function(){return Z},cM:function(){return An},ct:function(){return L},dA:function(){return s},dB:function(){return l},dO:function(){return ct},ek:function(){return ke},fY:function(){return ut},fZ:function(){return S},fg:function(){return u},g9:function(){return de},gX:function(){return r.generateCodeFrame},g_:function(){return Fe},h:function(){return Cr},h3:function(){return gt},hO:function(){return se},hU:function(){return jn},hg:function(){return X},iv:function(){return q},iz:function(){return V},j7:function(){return te},jS:function(){return at},jj:function(){return R},k2:function(){return he},l3:function(){return ie},lA:function(){return x},lH:function(){return vt},lf:function(){return ae},lh:function(){return D},mS:function(){return Jn},mc:function(){return _r},mo:function(){return B},mu:function(){return N},nL:function(){return Re},nU:function(){return p},nY:function(){return vr},oA:function(){return C},of:function(){return Bn},p8:function(){return St},pO:function(){return ne},pX:function(){return oe},pd:function(){return Tn},ph:function(){return O},pm:function(){return i},pr:function(){return pe},q_:function(){return Q},r8:function(){return pt},rC:function(){return F},rK:function(){return P},rl:function(){return dt},sm:function(){return Ct},su:function(){return ir},tG:function(){return Pe},u4:function(){return _t},ue:function(){return Qn},v7:function(){return Y},vA:function(){return ft},vP:function(){return In},vg:function(){return v},w8:function(){return b},x9:function(){return Je},x_:function(){return Ar},xc:function(){return De},xj:function(){return d},xk:function(){return g},yE:function(){return Wn},yY:function(){return Ue},zn:function(){return We},zo:function(){return rt}});var r=n(90033);const i=Symbol(""),o=Symbol(""),s=Symbol(""),c=Symbol(""),a=Symbol(""),l=Symbol(""),u=Symbol(""),h=Symbol(""),f=Symbol(""),d=Symbol(""),p=Symbol(""),E=Symbol(""),_=Symbol(""),m=Symbol(""),S=Symbol(""),g=Symbol(""),T=Symbol(""),N=Symbol(""),I=Symbol(""),y=Symbol(""),O=Symbol(""),A=Symbol(""),C=Symbol(""),v=Symbol(""),b=Symbol(""),R=Symbol(""),x=Symbol(""),L=Symbol(""),M=Symbol(""),P=Symbol(""),D=Symbol(""),k=Symbol(""),V=Symbol(""),X=Symbol(""),w=Symbol(""),F=Symbol(""),U=Symbol(""),B=Symbol(""),$=Symbol(""),H={[i]:"Fragment",[o]:"Teleport",[s]:"Suspense",[c]:"KeepAlive",[a]:"BaseTransition",[l]:"openBlock",[u]:"createBlock",[h]:"createElementBlock",[f]:"createVNode",[d]:"createElementVNode",[p]:"createCommentVNode",[E]:"createTextVNode",[_]:"createStaticVNode",[m]:"resolveComponent",[S]:"resolveDynamicComponent",[g]:"resolveDirective",[T]:"resolveFilter",[N]:"withDirectives",[I]:"renderList",[y]:"renderSlot",[O]:"createSlots",[A]:"toDisplayString",[C]:"mergeProps",[v]:"normalizeClass",[b]:"normalizeStyle",[R]:"normalizeProps",[x]:"guardReactiveProps",[L]:"toHandlers",[M]:"camelize",[P]:"capitalize",[D]:"toHandlerKey",[k]:"setBlockTracking",[V]:"pushScopeId",[X]:"popScopeId",[w]:"withCtx",[F]:"unref",[U]:"isRef",[B]:"withMemo",[$]:"isMemoSame"};function G(e){Object.getOwnPropertySymbols(e).forEach((t=>{H[t]=e[t]}))}const j={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},q={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},J={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},K={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Y={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function W(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Y}}function z(e,t,n,r,i,o,s,c=!1,a=!1,u=!1,h=Y){return e&&(c?(e.helper(l),e.helper(Ee(e.inSSR,u))):e.helper(pe(e.inSSR,u)),s&&e.helper(N)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:s,isBlock:c,disableTracking:a,isComponent:u,loc:h}}function Q(e,t=Y){return{type:17,loc:t,elements:e}}function Z(e,t=Y){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:Y,key:(0,r.isString)(e)?te(e,!0):e,value:t}}function te(e,t=!1,n=Y,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function ne(e,t){return{type:5,loc:t,content:(0,r.isString)(e)?te(e,!1,t):e}}function re(e,t=Y){return{type:8,loc:t,children:e}}function ie(e,t=[],n=Y){return{type:14,loc:n,callee:e,arguments:t}}function oe(e,t=void 0,n=!1,r=!1,i=Y){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function se(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Y}}function ce(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Y}}function ae(e){return{type:21,body:e,loc:Y}}function le(e){return{type:22,elements:e,loc:Y}}function ue(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Y}}function he(e,t){return{type:24,left:e,right:t,loc:Y}}function fe(e){return{type:25,expressions:e,loc:Y}}function de(e){return{type:26,returns:e,loc:Y}}function pe(e,t){return e||t?f:d}function Ee(e,t){return e||t?u:h}function _e(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(pe(r,e.isComponent)),t(l),t(Ee(r,e.isComponent)))}const me=new Uint8Array([123,123]),Se=new Uint8Array([125,125]);function ge(e){return e>=97&&e<=122||e>=65&&e<=90}function Te(e){return 32===e||10===e||9===e||12===e||13===e}function Ne(e){return 47===e||62===e||Te(e)}function Ie(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const ye={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},Oe={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},Ae={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Ce(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function ve(e,t){const n=Ce("MODE",t),r=Ce(e,t);return 3===n?!0===r:!1!==r}function be(e,t,n,...r){return ve(e,t)}function Re(e,t,n,...r){if("suppress-warning"===Ce(e,t))return;const{message:i,link:o}=Ae[e],s=`(deprecation ${e}) ${"function"==typeof i?i(...r):i}${o?`\n Details: ${o}`:""}`,c=new SyntaxError(s);c.code=e,n&&(c.loc=n),t.onWarn(c)}function xe(e){throw e}function Le(e){}function Me(e,t,n,r){const i=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return i.code=e,i.loc=t,i}const Pe={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},De={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function ke(e,t,n=!1,r=[],i=Object.create(null)){}function Ve(e,t,n){return!1}function Xe(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function we(e){let t=e.length;for(;t--;){const n=e[t];if("NewExpression"===n.type)return!0;if("MemberExpression"!==n.type)break}return!1}function Fe(e,t){for(const n of e.params)for(const e of He(n))t(e)}function Ue(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of He(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}else Be(n)&&$e(n,!0,t)}function Be(e){return"ForOfStatement"===e.type||"ForInStatement"===e.type||"ForStatement"===e.type}function $e(e,t,n){const r="ForStatement"===e.type?e.init:e.left;if(r&&"VariableDeclaration"===r.type&&"var"===r.kind&&t)for(const e of r.declarations)for(const t of He(e.id))n(t)}function He(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const n of e.properties)"RestElement"===n.type?He(n.argument,t):He(n.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&He(e,t)}));break;case"RestElement":He(e.argument,t);break;case"AssignmentPattern":He(e.left,t)}return t}const Ge=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),je=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,qe=(e,t)=>je(t)&&t.key===e,Je=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Ke(e){return Je.includes(e.type)?Ke(e.expression):e}const Ye=e=>4===e.type&&e.isStatic;function We(e){switch(e){case"Teleport":case"teleport":return o;case"Suspense":case"suspense":return s;case"KeepAlive":case"keep-alive":return c;case"BaseTransition":case"base-transition":return a}}const ze=/^\d|[^\$\w\xA0-\uFFFF]/,Qe=e=>!ze.test(e),Ze=/[A-Za-z_$\xA0-\uFFFF]/,et=/[\.\?\w$\xA0-\uFFFF]/,tt=/\s+[.[]\s*|\s*[.[]\s+/g,nt=e=>4===e.type?e.content:e.loc.source,rt=e=>{const t=nt(e).trim().replace(tt,(e=>e.trim()));let n=0,r=[],i=0,o=0,s=null;for(let e=0;e<t.length;e++){const c=t.charAt(e);switch(n){case 0:if("["===c)r.push(n),n=1,i++;else if("("===c)r.push(n),n=2,o++;else if(!(0===e?Ze:et).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(r.push(n),n=3,s=c):"["===c?i++:"]"===c&&(--i||(n=r.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)r.push(n),n=3,s=c;else if("("===c)o++;else if(")"===c){if(e===t.length-1)return!1;--o||(n=r.pop())}break;case 3:c===s&&(n=r.pop(),s=null)}}return!i&&!o},it=r.NOOP,ot=rt,st=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,ct=e=>st.test(nt(e)),at=r.NOOP,lt=ct;function ut(e,t,n=t.length){return ht({offset:e.offset,line:e.line,column:e.column},t,n)}function ht(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=-1===i?e.column+n:n-i,e}function ft(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function dt(e,t,n=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(7===o.type&&(n||o.exp)&&((0,r.isString)(t)?o.name===t:t.test(o.name)))return o}}function pt(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(6===o.type){if(n)continue;if(o.name===t&&(o.value||r))return o}else if("bind"===o.name&&(o.exp||r)&&Et(o.arg,t))return o}}function Et(e,t){return!(!e||!Ye(e)||e.content!==t)}function _t(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function mt(e){return 5===e.type||2===e.type}function St(e){return 7===e.type&&"slot"===e.name}function gt(e){return 1===e.type&&3===e.tagType}function Tt(e){return 1===e.type&&2===e.tagType}const Nt=new Set([R,x]);function It(e,t=[]){if(e&&!(0,r.isString)(e)&&14===e.type){const n=e.callee;if(!(0,r.isString)(n)&&Nt.has(n))return It(e.arguments[0],t.concat(e))}return[e,t]}function yt(e,t,n){let i,o,s=13===e.type?e.props:e.arguments[2],c=[];if(s&&!(0,r.isString)(s)&&14===s.type){const e=It(s);s=e[0],c=e[1],o=c[c.length-1]}if(null==s||(0,r.isString)(s))i=Z([t]);else if(14===s.type){const e=s.arguments[0];(0,r.isString)(e)||15!==e.type?s.callee===L?i=ie(n.helper(C),[Z([t]),s]):s.arguments.unshift(Z([t])):Ot(t,e)||e.properties.unshift(t),!i&&(i=s)}else 15===s.type?(Ot(t,s)||s.properties.unshift(t),i=s):(i=ie(n.helper(C),[Z([t]),s]),o&&o.callee===x&&(o=c[c.length-2]));13===e.type?o?o.arguments[0]=i:e.props=i:o?o.arguments[0]=i:e.arguments[2]=i}function Ot(e,t){let n=!1;if(4===e.key.type){const r=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===r))}return n}function At(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function Ct(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const r=e.props[n];if(7===r.type&&(Ct(r.arg,t)||Ct(r.exp,t)))return!0}return e.children.some((e=>Ct(e,t)));case 11:return!!Ct(e.source,t)||e.children.some((e=>Ct(e,t)));case 9:return e.branches.some((e=>Ct(e,t)));case 10:return!!Ct(e.condition,t)||e.children.some((e=>Ct(e,t)));case 4:return!e.isStatic&&Qe(e.content)&&!!t[e.content];case 8:return e.children.some((e=>(0,r.isObject)(e)&&Ct(e,t)));case 5:case 12:return Ct(e.content,t);default:return!1}}function vt(e){return 14===e.type&&e.callee===B?e.arguments[1].returns:e}const bt=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Rt={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:r.NO,isPreTag:r.NO,isIgnoreNewlineTag:r.NO,isCustomElement:r.NO,onError:xe,onWarn:Le,comments:!1,prefixIdentifiers:!1};let xt=Rt,Lt=null,Mt="",Pt=null,Dt=null,kt="",Vt=-1,Xt=-1,wt=0,Ft=!1,Ut=null;const Bt=[],$t=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=me,this.delimiterClose=Se,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=me,this.delimiterClose=Se}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){const i=this.newlines[r];if(e>i){t=r+2,n=e-i;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?Ne(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Te(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===ye.TitleEnd||this.currentSequence===ye.TextareaEnd&&!this.inSFCRoot?this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===ye.Cdata[this.sequenceIndex]?++this.sequenceIndex===ye.Cdata.length&&(this.state=28,this.currentSequence=ye.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===ye.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):ge(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Ne(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Ne(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(Ie("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){Te(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=ge(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||Te(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Te(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Te(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||Ne(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||Ne(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||Ne(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||Ne(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||Ne(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):Te(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):Te(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){Te(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=ye.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===ye.ScriptEnd[3]?this.startSpecial(ye.ScriptEnd,4):e===ye.StyleEnd[3]?this.startSpecial(ye.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===ye.TitleEnd[3]?this.startSpecial(ye.TitleEnd,4):e===ye.TextareaEnd[3]?this.startSpecial(ye.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===ye.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(Bt,{onerr:ln,ontext(e,t){Jt(jt(e,t),e,t)},ontextentity(e,t,n){Jt(e,t,n)},oninterpolation(e,t){if(Ft)return Jt(jt(e,t),e,t);let n=e+$t.delimiterOpen.length,r=t-$t.delimiterClose.length;for(;Te(Mt.charCodeAt(n));)n++;for(;Te(Mt.charCodeAt(r-1));)r--;let i=jt(n,r);i.includes("&")&&(i=xt.decodeEntities(i,!1)),rn({type:5,content:an(i,!1,on(n,r)),loc:on(e,t)})},onopentagname(e,t){const n=jt(e,t);Pt={type:1,tag:n,ns:xt.getNamespace(n,Bt[0],xt.ns),tagType:0,props:[],children:[],loc:on(e-1,t),codegenNode:void 0}},onopentagend(e){qt(e)},onclosetag(e,t){const n=jt(e,t);if(!xt.isVoidTag(n)){let r=!1;for(let e=0;e<Bt.length;e++)if(Bt[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&ln(24,Bt[0].loc.start.offset);for(let n=0;n<=e;n++)Kt(Bt.shift(),t,n<e);break}r||ln(23,Yt(e,60))}},onselfclosingtag(e){const t=Pt.tag;Pt.isSelfClosing=!0,qt(e),Bt[0]&&Bt[0].tag===t&&Kt(Bt.shift(),e)},onattribname(e,t){Dt={type:6,name:jt(e,t),nameLoc:on(e,t),value:void 0,loc:on(e)}},ondirname(e,t){const n=jt(e,t),r="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Ft||""!==r||ln(26,e),Ft||""===r)Dt={type:6,name:n,nameLoc:on(e,t),value:void 0,loc:on(e)};else if(Dt={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[te("prop")]:[],loc:on(e)},"pre"===r){Ft=$t.inVPre=!0,Ut=Pt;const e=Pt.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=cn(e[t]))}},ondirarg(e,t){if(e===t)return;const n=jt(e,t);if(Ft)Dt.name+=n,sn(Dt.nameLoc,t);else{const r="["!==n[0];Dt.arg=an(r?n:n.slice(1,-1),r,on(e,t),r?3:0)}},ondirmodifier(e,t){const n=jt(e,t);if(Ft)Dt.name+="."+n,sn(Dt.nameLoc,t);else if("slot"===Dt.name){const e=Dt.arg;e&&(e.content+="."+n,sn(e.loc,t))}else{const r=te(n,!0,on(e,t));Dt.modifiers.push(r)}},onattribdata(e,t){kt+=jt(e,t),Vt<0&&(Vt=e),Xt=t},onattribentity(e,t,n){kt+=e,Vt<0&&(Vt=t),Xt=n},onattribnameend(e){const t=Dt.loc.start.offset,n=jt(t,e);7===Dt.type&&(Dt.rawName=n),Pt.props.some((e=>(7===e.type?e.rawName:e.name)===n))&&ln(2,t)},onattribend(e,t){if(Pt&&Dt){if(sn(Dt.loc,t),0!==e)if(kt.includes("&")&&(kt=xt.decodeEntities(kt,!0)),6===Dt.type)"class"===Dt.name&&(kt=nn(kt).trim()),1!==e||kt||ln(13,t),Dt.value={type:2,content:kt,loc:1===e?on(Vt,Xt):on(Vt-1,Xt+1)},$t.inSFCRoot&&"template"===Pt.tag&&"lang"===Dt.name&&kt&&"html"!==kt&&$t.enterRCDATA(Ie("</template"),0);else{let e=0;Dt.exp=an(kt,!1,on(Vt,Xt),0,e),"for"===Dt.name&&(Dt.forParseResult=function(e){const t=e.loc,n=e.content,r=n.match(bt);if(!r)return;const[,i,o]=r,s=(e,n,r=!1)=>{const i=t.start.offset+n;return an(e,!1,on(i,i+e.length),0,r?1:0)},c={source:s(o.trim(),n.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(Gt,"").trim();const l=i.indexOf(a),u=a.match(Ht);if(u){a=a.replace(Ht,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,l+a.length),c.key=s(e,t,!0)),u[2]){const r=u[2].trim();r&&(c.index=s(r,n.indexOf(r,c.key?t+e.length:l+a.length),!0))}}return a&&(c.value=s(a,l,!0)),c}(Dt.exp));let t=-1;"bind"===Dt.name&&(t=Dt.modifiers.findIndex((e=>"sync"===e.content)))>-1&&be("COMPILER_V_BIND_SYNC",xt,Dt.loc,Dt.arg.loc.source)&&(Dt.name="model",Dt.modifiers.splice(t,1))}7===Dt.type&&"pre"===Dt.name||Pt.props.push(Dt)}kt="",Vt=Xt=-1},oncomment(e,t){xt.comments&&rn({type:3,content:jt(e,t),loc:on(e-4,t+3)})},onend(){const e=Mt.length;for(let t=0;t<Bt.length;t++)Kt(Bt[t],e-1),ln(24,Bt[t].loc.start.offset)},oncdata(e,t){0!==Bt[0].ns?Jt(jt(e,t),e,t):ln(1,e-9)},onprocessinginstruction(e){0===(Bt[0]?Bt[0].ns:xt.ns)&&ln(21,e-1)}}),Ht=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Gt=/^\(|\)$/g;function jt(e,t){return Mt.slice(e,t)}function qt(e){$t.inSFCRoot&&(Pt.innerLoc=on(e+1,e+1)),rn(Pt);const{tag:t,ns:n}=Pt;0===n&&xt.isPreTag(t)&&wt++,xt.isVoidTag(t)?Kt(Pt,e):(Bt.unshift(Pt),1!==n&&2!==n||($t.inXML=!0)),Pt=null}function Jt(e,t,n){{const t=Bt[0]&&Bt[0].tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=xt.decodeEntities(e,!1))}const r=Bt[0]||Lt,i=r.children[r.children.length-1];i&&2===i.type?(i.content+=e,sn(i.loc,n)):r.children.push({type:2,content:e,loc:on(t,n)})}function Kt(e,t,n=!1){sn(e.loc,n?Yt(t,60):function(e){let t=e;for(;62!==Mt.charCodeAt(t)&&t<Mt.length-1;)t++;return t}(t)+1),$t.inSFCRoot&&(e.children.length?e.innerLoc.end=(0,r.extend)({},e.children[e.children.length-1].loc.end):e.innerLoc.end=(0,r.extend)({},e.innerLoc.start),e.innerLoc.source=jt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:i,ns:o,children:s}=e;if(Ft||("slot"===i?e.tagType=2:zt(e)?e.tagType=3:function({tag:e,props:t}){if(xt.isCustomElement(e))return!1;if("component"===e||(n=e.charCodeAt(0))>64&&n<91||We(e)||xt.isBuiltInComponent&&xt.isBuiltInComponent(e)||xt.isNativeTag&&!xt.isNativeTag(e))return!0;var n;for(let e=0;e<t.length;e++){const n=t[e];if(6===n.type){if("is"===n.name&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(be("COMPILER_IS_ON_ELEMENT",xt,n.loc))return!0}}else if("bind"===n.name&&Et(n.arg,"is")&&be("COMPILER_IS_ON_ELEMENT",xt,n.loc))return!0}return!1}(e)&&(e.tagType=1)),$t.inRCDATA||(e.children=Zt(s)),0===o&&xt.isIgnoreNewlineTag(i)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===o&&xt.isPreTag(i)&&wt--,Ut===e&&(Ft=$t.inVPre=!1,Ut=null),$t.inXML&&0===(Bt[0]?Bt[0].ns:xt.ns)&&($t.inXML=!1);{const t=e.props;if(!$t.inSFCRoot&&ve("COMPILER_NATIVE_TEMPLATE",xt)&&"template"===e.tag&&!zt(e)){const t=Bt[0]||Lt,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find((e=>6===e.type&&"inline-template"===e.name));n&&be("COMPILER_INLINE_TEMPLATE",xt,n.loc)&&e.children.length&&(n.value={type:2,content:jt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Yt(e,t){let n=e;for(;Mt.charCodeAt(n)!==t&&n>=0;)n--;return n}const Wt=new Set(["if","else","else-if","for","slot"]);function zt({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&Wt.has(t[e].name))return!0;return!1}const Qt=/\r\n/g;function Zt(e,t){const n="preserve"!==xt.whitespace;let r=!1;for(let t=0;t<e.length;t++){const i=e[t];if(2===i.type)if(wt)i.content=i.content.replace(Qt,"\n");else if(en(i.content)){const o=e[t-1]&&e[t-1].type,s=e[t+1]&&e[t+1].type;!o||!s||n&&(3===o&&(3===s||1===s)||1===o&&(3===s||1===s&&tn(i.content)))?(r=!0,e[t]=null):i.content=" "}else n&&(i.content=nn(i.content))}return r?e.filter(Boolean):e}function en(e){for(let t=0;t<e.length;t++)if(!Te(e.charCodeAt(t)))return!1;return!0}function tn(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function nn(e){let t="",n=!1;for(let r=0;r<e.length;r++)Te(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function rn(e){(Bt[0]||Lt).children.push(e)}function on(e,t){return{start:$t.getPos(e),end:null==t?t:$t.getPos(t),source:null==t?t:jt(e,t)}}function sn(e,t){e.end=$t.getPos(t),e.source=jt(e.start.offset,t)}function cn(e){const t={type:6,name:e.rawName,nameLoc:on(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function an(e,t=!1,n,r=0,i=0){return te(e,t,n,r)}function ln(e,t,n){xt.onError(Me(e,on(t,t)))}function un(e,t){if($t.reset(),Pt=null,Dt=null,kt="",Vt=-1,Xt=-1,Bt.length=0,Mt=e,xt=(0,r.extend)({},Rt),t){let e;for(e in t)null!=t[e]&&(xt[e]=t[e])}$t.mode="html"===xt.parseMode?1:"sfc"===xt.parseMode?2:0,$t.inXML=1===xt.ns||2===xt.ns;const n=t&&t.delimiters;n&&($t.delimiterOpen=Ie(n[0]),$t.delimiterClose=Ie(n[1]));const i=Lt=W([],e);return $t.parse(Mt),i.loc=on(0,e.length),i.children=Zt(i.children),Lt=null,i}function hn(e,t){dn(e,void 0,t,fn(e,e.children[0]))}function fn(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Tt(t)}function dn(e,t,n,i=!1,o=!1){const{children:s}=e,c=[];for(let t=0;t<s.length;t++){const r=s[t];if(1===r.type&&0===r.tagType){const e=i?0:pn(r,n);if(e>0){if(e>=2){r.codegenNode.patchFlag=-1,c.push(r);continue}}else{const e=r.codegenNode;if(13===e.type){const t=e.patchFlag;if((void 0===t||512===t||1===t)&&mn(r,n)>=2){const t=Sn(r);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===r.type&&(i?0:pn(r,n))>=2){c.push(r);continue}if(1===r.type){const t=1===r.tagType;t&&n.scopes.vSlot++,dn(r,e,n,!1,o),t&&n.scopes.vSlot--}else if(11===r.type)dn(r,e,n,1===r.children.length,!0);else if(9===r.type)for(let t=0;t<r.branches.length;t++)dn(r.branches[t],e,n,1===r.branches[t].children.length,o)}let a=!1;const l=[];if(c.length===s.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&(0,r.isArray)(e.codegenNode.children))e.codegenNode.children=u(Q(e.codegenNode.children)),a=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!(0,r.isArray)(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=h(e.codegenNode,"default");t&&(l.push(n.cached.length),t.returns=u(Q(t.returns)),a=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!(0,r.isArray)(t.codegenNode.children)&&15===t.codegenNode.children.type){const r=dt(e,"slot",!0),i=r&&r.arg&&h(t.codegenNode,r.arg);i&&(l.push(n.cached.length),i.returns=u(Q(i.returns)),a=!0)}if(!a)for(const e of c)l.push(n.cached.length),e.codegenNode=n.cache(e.codegenNode);function u(e){const t=n.cache(e);return o&&n.hmr&&(t.needArraySpread=!0),t}function h(e,t){if(e.children&&!(0,r.isArray)(e.children)&&15===e.children.type){const n=e.children.properties.find((e=>e.key===t||e.key.content===t));return n&&n.value}}l.length&&1===e.type&&1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!(0,r.isArray)(e.codegenNode.children)&&15===e.codegenNode.children.type&&e.codegenNode.children.properties.push(ee("__",te(JSON.stringify(l),!1))),c.length&&n.transformHoist&&n.transformHoist(s,n,e)}function pn(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const i=n.get(e);if(void 0!==i)return i;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===o.patchFlag){let r=3;const i=mn(e,t);if(0===i)return n.set(e,0),0;i<r&&(r=i);for(let i=0;i<e.children.length;i++){const o=pn(e.children[i],t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}if(r>1)for(let i=0;i<e.props.length;i++){const o=e.props[i];if(7===o.type&&"bind"===o.name&&o.exp){const i=pn(o.exp,t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}}if(o.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return n.set(e,0),0;t.removeHelper(l),t.removeHelper(Ee(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(pe(t.inSSR,o.isComponent))}return n.set(e,r),r}return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return pn(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const i=e.children[n];if((0,r.isString)(i)||(0,r.isSymbol)(i))continue;const o=pn(i,t);if(0===o)return 0;o<s&&(s=o)}return s;case 20:return 2}}const En=new Set([v,b,R,x]);function _n(e,t){if(14===e.type&&!(0,r.isString)(e.callee)&&En.has(e.callee)){const n=e.arguments[0];if(4===n.type)return pn(n,t);if(14===n.type)return _n(n,t)}return 0}function mn(e,t){let n=3;const r=Sn(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:i,value:o}=e[r],s=pn(i,t);if(0===s)return s;let c;if(s<n&&(n=s),c=4===o.type?pn(o,t):14===o.type?_n(o,t):0,0===c)return c;c<n&&(n=c)}}return n}function Sn(e){const t=e.codegenNode;if(13===t.type)return t.props}function gn(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:i=!1,hmr:o=!1,cacheHandlers:s=!1,nodeTransforms:c=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:u=r.NOOP,isCustomElement:h=r.NOOP,expressionPlugins:f=[],scopeId:d=null,slotted:p=!0,ssr:E=!1,inSSR:_=!1,ssrCssVars:m="",bindingMetadata:S=r.EMPTY_OBJ,inline:g=!1,isTS:T=!1,onError:N=xe,onWarn:I=Le,compatConfig:y}){const O=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),A={filename:t,selfName:O&&(0,r.capitalize)((0,r.camelize)(O[1])),prefixIdentifiers:n,hoistStatic:i,hmr:o,cacheHandlers:s,nodeTransforms:c,directiveTransforms:a,transformHoist:l,isBuiltInComponent:u,isCustomElement:h,expressionPlugins:f,scopeId:d,slotted:p,ssr:E,inSSR:_,ssrCssVars:m,bindingMetadata:S,inline:g,isTS:T,onError:N,onWarn:I,compatConfig:y,root:e,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:e,childIndex:0,inVOnce:!1,helper(e){const t=A.helpers.get(e)||0;return A.helpers.set(e,t+1),e},removeHelper(e){const t=A.helpers.get(e);if(t){const n=t-1;n?A.helpers.set(e,n):A.helpers.delete(e)}},helperString(e){return`_${H[A.helper(e)]}`},replaceNode(e){A.parent.children[A.childIndex]=A.currentNode=e},removeNode(e){const t=A.parent.children,n=e?t.indexOf(e):A.currentNode?A.childIndex:-1;e&&e!==A.currentNode?A.childIndex>n&&(A.childIndex--,A.onNodeRemoved()):(A.currentNode=null,A.onNodeRemoved()),A.parent.children.splice(n,1)},onNodeRemoved:r.NOOP,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){(0,r.isString)(e)&&(e=te(e)),A.hoists.push(e);const t=te(`_hoisted_${A.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const r=ce(A.cached.length,e,t,n);return A.cached.push(r),r}};return A.filters=new Set,A}function Tn(e,t){const n=gn(e,t);Nn(e,n),t.hoistStatic&&hn(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=r[0];if(fn(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&_e(r,t),e.codegenNode=r}else e.codegenNode=n}else if(r.length>1){let r=64;e.codegenNode=z(t,n(i),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Nn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,i=[];for(let o=0;o<n.length;o++){const s=n[o](e,t);if(s&&((0,r.isArray)(s)?i.push(...s):i.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(p);break;case 5:t.ssr||t.helper(A);break;case 9:for(let n=0;n<e.branches.length;n++)Nn(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const i