import{_ as Qs}from"./WebImage-CVhOe_4S.mjs";import{b7 as Z,b8 as D,b9 as De,ba as Ys,bb as oe,bc as mt,bd as os,be as Ie,bf as Zs,bg as le,bh as en,bi as as,bj as Vt,bk as tn,bl as sn,bm as nn,bn as rn,bo as ln,bp as on,bq as Ye,br as an,bs as cn,bt as fn,_ as hn,c as it,o as Ce,a as Ft,l as Bt,b as $t,Q as un,z as pn,ab as dn,p as Ht,i as mn}from"./BfF8i_OD.js";import{s as gn}from"./index-CGO-tgkI.mjs";import{_ as yn,a as Sn}from"./WebContentListNew-7Bugo2nZ.mjs";import bn from"./WebSubscribeNew-aKeEXTNA.mjs";import"./nuxt-link-BsFZFBAg.mjs";import"./WebContentItem-Cxk2wQBY.mjs";import"./useImageUrl-1XbeiwSF.mjs";/** * @vue/compiler-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Ae=Symbol(""),ve=Symbol(""),gt=Symbol(""),Ke=Symbol(""),cs=Symbol(""),me=Symbol(""),fs=Symbol(""),hs=Symbol(""),yt=Symbol(""),St=Symbol(""),Pe=Symbol(""),bt=Symbol(""),us=Symbol(""),Et=Symbol(""),Tt=Symbol(""),Nt=Symbol(""),Ct=Symbol(""),It=Symbol(""),vt=Symbol(""),ps=Symbol(""),ds=Symbol(""),Ze=Symbol(""),je=Symbol(""),At=Symbol(""),kt=Symbol(""),ke=Symbol(""),Me=Symbol(""),_t=Symbol(""),ot=Symbol(""),En=Symbol(""),at=Symbol(""),Ue=Symbol(""),Tn=Symbol(""),Nn=Symbol(""),Ot=Symbol(""),Cn=Symbol(""),In=Symbol(""),wt=Symbol(""),ms=Symbol(""),Se={[Ae]:"Fragment",[ve]:"Teleport",[gt]:"Suspense",[Ke]:"KeepAlive",[cs]:"BaseTransition",[me]:"openBlock",[fs]:"createBlock",[hs]:"createElementBlock",[yt]:"createVNode",[St]:"createElementVNode",[Pe]:"createCommentVNode",[bt]:"createTextVNode",[us]:"createStaticVNode",[Et]:"resolveComponent",[Tt]:"resolveDynamicComponent",[Nt]:"resolveDirective",[Ct]:"resolveFilter",[It]:"withDirectives",[vt]:"renderList",[ps]:"renderSlot",[ds]:"createSlots",[Ze]:"toDisplayString",[je]:"mergeProps",[At]:"normalizeClass",[kt]:"normalizeStyle",[ke]:"normalizeProps",[Me]:"guardReactiveProps",[_t]:"toHandlers",[ot]:"camelize",[En]:"capitalize",[at]:"toHandlerKey",[Ue]:"setBlockTracking",[Tn]:"pushScopeId",[Nn]:"popScopeId",[Ot]:"withCtx",[Cn]:"unref",[In]:"isRef",[wt]:"withMemo",[ms]:"isMemoSame"};function vn(e){Object.getOwnPropertySymbols(e).forEach(t=>{Se[t]=e[t]})}const z={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function An(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:z}}function _e(e,t,s,n,i,r,l,o=!1,a=!1,c=!1,h=z){return e&&(o?(e.helper(me),e.helper(Te(e.inSSR,c))):e.helper(Ee(e.inSSR,c)),l&&e.helper(It)),{type:13,tag:t,props:s,children:n,patchFlag:i,dynamicProps:r,directives:l,isBlock:o,disableTracking:a,isComponent:c,loc:h}}function pe(e,t=z){return{type:17,loc:t,elements:e}}function G(e,t=z){return{type:15,loc:t,properties:e}}function M(e,t){return{type:16,loc:z,key:D(e)?y(e,!0):e,value:t}}function y(e,t=!1,s=z,n=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:n}}function X(e,t=z){return{type:8,loc:t,children:e}}function x(e,t=[],s=z){return{type:14,loc:s,callee:e,arguments:t}}function be(e,t=void 0,s=!1,n=!1,i=z){return{type:18,params:e,returns:t,newline:s,isSlot:n,loc:i}}function ct(e,t,s,n=!0){return{type:19,test:e,consequent:t,alternate:s,newline:n,loc:z}}function kn(e,t,s=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:n,needArraySpread:!1,loc:z}}function _n(e){return{type:21,body:e,loc:z}}function Ee(e,t){return e||t?yt:St}function Te(e,t){return e||t?fs:hs}function Rt(e,{helper:t,removeHelper:s,inSSR:n}){e.isBlock||(e.isBlock=!0,s(Ee(n,e.isComponent)),t(me),t(Te(n,e.isComponent)))}const qt=new Uint8Array([123,123]),Wt=new Uint8Array([125,125]);function Kt(e){return e>=97&&e<=122||e>=65&&e<=90}function j(e){return e===32||e===10||e===9||e===12||e===13}function ie(e){return e===47||e===62||j(e)}function ze(e){const t=new Uint8Array(e.length);for(let s=0;s=0;i--){const r=this.newlines[i];if(t>r){s=i+2,n=t-r;break}}return{column:n,line:s,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const s=this.index+1-this.delimiterOpen.length;s>this.sectionStart&&this.cbs.ontext(this.sectionStart,s),this.state=3,this.sectionStart=s}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===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(t))}stateSpecialStartSequence(t){const s=this.sequenceIndex===this.currentSequence.length;if(!(s?ie(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!s){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||j(t)){const s=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===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.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,s){}}function jt(e,{compatConfig:t}){const s=t&&t[e];return e==="MODE"?s||3:s}function de(e,t){const s=jt("MODE",t),n=jt(e,t);return s===3?n===!0:n!==!1}function Oe(e,t,s,...n){return de(e,t)}function Pt(e){throw e}function gs(e){}function O(e,t,s,n){const i=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const W=e=>e.type===4&&e.isStatic;function ys(e){switch(e){case"Teleport":case"teleport":return ve;case"Suspense":case"suspense":return gt;case"KeepAlive":case"keep-alive":return Ke;case"BaseTransition":case"base-transition":return cs}}const wn=/^\d|[^\$\w\xA0-\uFFFF]/,Mt=e=>!wn.test(e),Rn=/[A-Za-z_$\xA0-\uFFFF]/,Pn=/[\.\?\w$\xA0-\uFFFF]/,Mn=/\s+[.[]\s*|\s*[.[]\s+/g,Ss=e=>e.type===4?e.content:e.loc.source,Ln=e=>{const t=Ss(e).trim().replace(Mn,o=>o.trim());let s=0,n=[],i=0,r=0,l=null;for(let o=0;o|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Dn=e=>xn.test(Ss(e)),Vn=Dn;function J(e,t,s=!1){for(let n=0;nt.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function rt(e){return e.type===5||e.type===2}function Bn(e){return e.type===7&&e.name==="slot"}function Je(e){return e.type===1&&e.tagType===3}function Ge(e){return e.type===1&&e.tagType===2}const $n=new Set([ke,Me]);function Es(e,t=[]){if(e&&!D(e)&&e.type===14){const s=e.callee;if(!D(s)&&$n.has(s))return Es(e.arguments[0],t.concat(e))}return[e,t]}function Xe(e,t,s){let n,i=e.type===13?e.props:e.arguments[2],r=[],l;if(i&&!D(i)&&i.type===14){const o=Es(i);i=o[0],r=o[1],l=r[r.length-1]}if(i==null||D(i))n=G([t]);else if(i.type===14){const o=i.arguments[0];!D(o)&&o.type===15?Ut(t,o)||o.properties.unshift(t):i.callee===_t?n=x(s.helper(je),[G([t]),i]):i.arguments.unshift(G([t])),!n&&(n=i)}else i.type===15?(Ut(t,i)||i.properties.unshift(t),n=i):(n=x(s.helper(je),[G([t]),i]),l&&l.callee===Me&&(l=r[r.length-2]));e.type===13?l?l.arguments[0]=n:e.props=n:l?l.arguments[0]=n:e.arguments[2]=n}function Ut(e,t){let s=!1;if(e.key.type===4){const n=e.key.content;s=t.properties.some(i=>i.key.type===4&&i.key.content===n)}return s}function we(e,t){return`_${t}_${e.replace(/[^\w]/g,(s,n)=>s==="-"?"_":e.charCodeAt(n).toString())}`}function Hn(e){return e.type===14&&e.callee===wt?e.arguments[1].returns:e}const qn=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Ts={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:De,isPreTag:De,isIgnoreNewlineTag:De,isCustomElement:De,onError:Pt,onWarn:gs,comments:!1,prefixIdentifiers:!1};let C=Ts,Re=null,ee="",$=null,T=null,q="",Y=-1,fe=-1,Lt=0,re=!1,ft=null;const _=[],w=new On(_,{onerr:Q,ontext(e,t){Ve(F(e,t),e,t)},ontextentity(e,t,s){Ve(e,t,s)},oninterpolation(e,t){if(re)return Ve(F(e,t),e,t);let s=e+w.delimiterOpen.length,n=t-w.delimiterClose.length;for(;j(ee.charCodeAt(s));)s++;for(;j(ee.charCodeAt(n-1));)n--;let i=F(s,n);i.includes("&")&&(i=C.decodeEntities(i,!1)),ht({type:5,content:He(i,!1,P(s,n)),loc:P(e,t)})},onopentagname(e,t){const s=F(e,t);$={type:1,tag:s,ns:C.getNamespace(s,_[0],C.ns),tagType:0,props:[],children:[],loc:P(e-1,t),codegenNode:void 0}},onopentagend(e){Jt(e)},onclosetag(e,t){const s=F(e,t);if(!C.isVoidTag(s)){let n=!1;for(let i=0;i<_.length;i++)if(_[i].tag.toLowerCase()===s.toLowerCase()){n=!0,i>0&&Q(24,_[0].loc.start.offset);for(let l=0;l<=i;l++){const o=_.shift();$e(o,t,l(n.type===7?n.rawName:n.name)===s)&&Q(2,t)},onattribend(e,t){if($&&T){if(ue(T.loc,t),e!==0)if(q.includes("&")&&(q=C.decodeEntities(q,!0)),T.type===6)T.name==="class"&&(q=Is(q).trim()),e===1&&!q&&Q(13,t),T.value={type:2,content:q,loc:e===1?P(Y,fe):P(Y-1,fe+1)},w.inSFCRoot&&$.tag==="template"&&T.name==="lang"&&q&&q!=="html"&&w.enterRCDATA(ze("i.content==="sync"))>-1&&Oe("COMPILER_V_BIND_SYNC",C,T.loc,T.rawName)&&(T.name="model",T.modifiers.splice(n,1))}(T.type!==7||T.name!=="pre")&&$.props.push(T)}q="",Y=fe=-1},oncomment(e,t){C.comments&&ht({type:3,content:F(e,t),loc:P(e-4,t+3)})},onend(){const e=ee.length;for(let t=0;t<_.length;t++)$e(_[t],e-1),Q(24,_[t].loc.start.offset)},oncdata(e,t){_[0].ns!==0?Ve(F(e,t),e,t):Q(1,e-9)},onprocessinginstruction(e){(_[0]?_[0].ns:C.ns)===0&&Q(21,e-1)}}),zt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wn=/^\(|\)$/g;function Kn(e){const t=e.loc,s=e.content,n=s.match(qn);if(!n)return;const[,i,r]=n,l=(f,p,u=!1)=>{const g=t.start.offset+p,d=g+f.length;return He(f,!1,P(g,d),0,u?1:0)},o={source:l(r.trim(),s.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(Wn,"").trim();const c=i.indexOf(a),h=a.match(zt);if(h){a=a.replace(zt,"").trim();const f=h[1].trim();let p;if(f&&(p=s.indexOf(f,c+a.length),o.key=l(f,p,!0)),h[2]){const u=h[2].trim();u&&(o.index=l(u,s.indexOf(u,o.key?p+f.length:c+a.length),!0))}}return a&&(o.value=l(a,c,!0)),o}function F(e,t){return ee.slice(e,t)}function Jt(e){w.inSFCRoot&&($.innerLoc=P(e+1,e+1)),ht($);const{tag:t,ns:s}=$;s===0&&C.isPreTag(t)&&Lt++,C.isVoidTag(t)?$e($,e):(_.unshift($),(s===1||s===2)&&(w.inXML=!0)),$=null}function Ve(e,t,s){{const r=_[0]&&_[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=C.decodeEntities(e,!1))}const n=_[0]||Re,i=n.children[n.children.length-1];i&&i.type===2?(i.content+=e,ue(i.loc,s)):n.children.push({type:2,content:e,loc:P(t,s)})}function $e(e,t,s=!1){s?ue(e.loc,Ns(t,60)):ue(e.loc,jn(t,62)+1),w.inSFCRoot&&(e.children.length?e.innerLoc.end=Z({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Z({},e.innerLoc.start),e.innerLoc.source=F(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:i,children:r}=e;if(re||(n==="slot"?e.tagType=2:Gt(e)?e.tagType=3:zn(e)&&(e.tagType=1)),w.inRCDATA||(e.children=Cs(r)),i===0&&C.isIgnoreNewlineTag(n)){const l=r[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}i===0&&C.isPreTag(n)&&Lt--,ft===e&&(re=w.inVPre=!1,ft=null),w.inXML&&(_[0]?_[0].ns:C.ns)===0&&(w.inXML=!1);{const l=e.props;if(!w.inSFCRoot&&de("COMPILER_NATIVE_TEMPLATE",C)&&e.tag==="template"&&!Gt(e)){const a=_[0]||Re,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const o=l.find(a=>a.type===6&&a.name==="inline-template");o&&Oe("COMPILER_INLINE_TEMPLATE",C,o.loc)&&e.children.length&&(o.value={type:2,content:F(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:o.loc})}}function jn(e,t){let s=e;for(;ee.charCodeAt(s)!==t&&s=0;)s--;return s}const Un=new Set(["if","else","else-if","for","slot"]);function Gt({tag:e,props:t}){if(e==="template"){for(let s=0;s64&&e<91}const Gn=/\r\n/g;function Cs(e,t){const s=C.whitespace!=="preserve";let n=!1;for(let i=0;i0){if(p>=2){f.codegenNode.patchFlag=-1,l.push(f);continue}}else{const u=f.codegenNode;if(u.type===13){const g=u.patchFlag;if((g===void 0||g===512||g===1)&&ks(f,s)>=2){const d=_s(f);d&&(u.props=s.hoist(d))}u.dynamicProps&&(u.dynamicProps=s.hoist(u.dynamicProps))}}}else if(f.type===12&&(n?0:U(f,s))>=2){l.push(f);continue}if(f.type===1){const p=f.tagType===1;p&&s.scopes.vSlot++,qe(f,e,s,!1,i),p&&s.scopes.vSlot--}else if(f.type===11)qe(f,e,s,f.children.length===1,!0);else if(f.type===9)for(let p=0;pu.key===f||u.key.content===f);return p&&p.value}}l.length&&s.transformHoist&&s.transformHoist(r,s,e)}function U(e,t){const{constantCache:s}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=s.get(e);if(n!==void 0)return n;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let l=3;const o=ks(e,t);if(o===0)return s.set(e,0),0;o1)for(let a=0;av&&(N.childIndex--,N.onNodeRemoved()),N.parent.children.splice(v,1)},onNodeRemoved:Ie,addIdentifiers(m){},removeIdentifiers(m){},hoist(m){D(m)&&(m=y(m)),N.hoists.push(m);const I=y(`_hoisted_${N.hoists.length}`,!1,m.loc,2);return I.hoisted=m,I},cache(m,I=!1,v=!1){const b=kn(N.cached.length,m,I,v);return N.cached.push(b),b}};return N.filters=new Set,N}function ri(e,t){const s=ii(e,t);tt(e,s),t.hoistStatic&&si(e,s),t.ssr||li(e,s),e.helpers=new Set([...s.helpers.keys()]),e.components=[...s.components],e.directives=[...s.directives],e.imports=s.imports,e.hoists=s.hoists,e.temps=s.temps,e.cached=s.cached,e.transformed=!0,e.filters=[...s.filters]}function li(e,t){const{helper:s}=t,{children:n}=e;if(n.length===1){const i=n[0];if(vs(e,i)&&i.codegenNode){const r=i.codegenNode;r.type===13&&Rt(r,t),e.codegenNode=r}else e.codegenNode=i}else if(n.length>1){let i=64;e.codegenNode=_e(t,s(Ae),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function oi(e,t){let s=0;const n=()=>{s--};for(;sn===e:n=>e.test(n);return(n,i)=>{if(n.type===1){const{props:r}=n;if(n.tagType===3&&r.some(Bn))return;const l=[];for(let o=0;o`${Se[e]}: _${Se[e]}`;function ai(e,{mode:t="function",prefixIdentifiers:s=t==="module",sourceMap:n=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:l=!1,runtimeGlobalName:o="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:h=!1,isTS:f=!1,inSSR:p=!1}){const u={mode:t,prefixIdentifiers:s,sourceMap:n,filename:i,scopeId:r,optimizeImports:l,runtimeGlobalName:o,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:h,isTS:f,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(d){return`_${Se[d]}`},push(d,E=-2,S){u.code+=d},indent(){g(++u.indentLevel)},deindent(d=!1){d?--u.indentLevel:g(--u.indentLevel)},newline(){g(u.indentLevel)}};function g(d){u.push(` `+" ".repeat(d),0)}return u}function ci(e,t={}){const s=ai(e,t);t.onContextCreated&&t.onContextCreated(s);const{mode:n,push:i,prefixIdentifiers:r,indent:l,deindent:o,newline:a,scopeId:c,ssr:h}=s,f=Array.from(e.helpers),p=f.length>0,u=!r&&n!=="module";fi(e,s);const d=h?"ssrRender":"render",S=(h?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${d}(${S}) {`),l(),u&&(i("with (_ctx) {"),l(),p&&(i(`const { ${f.map(ws).join(", ")} } = _Vue `,-1),a())),e.components.length&&(lt(e.components,"component",s),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(lt(e.directives,"directive",s),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),lt(e.filters,"filter",s),a()),e.temps>0){i("let ");for(let k=0;k0?", ":""}_temp${k}`)}return(e.components.length||e.directives.length||e.temps)&&(i(` `,0),a()),h||i("return "),e.codegenNode?H(e.codegenNode,s):i("null"),u&&(o(),i("}")),o(),i("}"),{ast:e,code:s.code,preamble:"",map:s.map?s.map.toJSON():void 0}}function fi(e,t){const{ssr:s,prefixIdentifiers:n,push:i,newline:r,runtimeModuleName:l,runtimeGlobalName:o,ssrRuntimeModuleName:a}=t,c=o,h=Array.from(e.helpers);if(h.length>0&&(i(`const _Vue = ${c} `,-1),e.hoists.length)){const f=[yt,St,Pe,bt,us].filter(p=>h.includes(p)).map(ws).join(", ");i(`const { ${f} } = _Vue `,-1)}hi(e.hoists,t),r(),i("return ")}function lt(e,t,{helper:s,push:n,newline:i,isTS:r}){const l=s(t==="filter"?Ct:t==="component"?Et:Nt);for(let o=0;o3||!1;t.push("["),s&&t.indent(),Le(e,t,s),s&&t.deindent(),t.push("]")}function Le(e,t,s=!1,n=!0){const{push:i,newline:r}=t;for(let l=0;ls||"null")}function Si(e,t){const{push:s,helper:n,pure:i}=t,r=D(e.callee)?e.callee:n(e.callee);i&&s(st),s(r+"(",-2,e),Le(e.arguments,t),s(")")}function bi(e,t){const{push:s,indent:n,deindent:i,newline:r}=t,{properties:l}=e;if(!l.length){s("{}",-2,e);return}const o=l.length>1||!1;s(o?"{":"{ "),o&&n();for(let a=0;a "),(a||o)&&(s("{"),n()),l?(a&&s("return "),le(l)?xt(l,t):H(l,t)):o&&H(o,t),(a||o)&&(i(),s("}")),c&&(e.isNonScopedSlot&&s(", undefined, true"),s(")"))}function Ni(e,t){const{test:s,consequent:n,alternate:i,newline:r}=e,{push:l,indent:o,deindent:a,newline:c}=t;if(s.type===4){const f=!Mt(s.content);f&&l("("),Rs(s,t),f&&l(")")}else l("("),H(s,t),l(")");r&&o(),t.indentLevel++,r||l(" "),l("? "),H(n,t),t.indentLevel--,r&&c(),r||l(" "),l(": ");const h=i.type===19;h||t.indentLevel++,H(i,t),h||t.indentLevel--,r&&a(!0)}function Ci(e,t){const{push:s,helper:n,indent:i,deindent:r,newline:l}=t,{needPauseTracking:o,needArraySpread:a}=e;a&&s("[...("),s(`_cache[${e.index}] || (`),o&&(i(),s(`${n(Ue)}(-1`),e.inVOnce&&s(", true"),s("),"),l(),s("(")),s(`_cache[${e.index}] = `),H(e.value,t),o&&(s(`).cacheIndex = ${e.index},`),l(),s(`${n(Ue)}(1),`),l(),s(`_cache[${e.index}]`),r()),s(")"),a&&s(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Ii=Os(/^(if|else|else-if)$/,(e,t,s)=>vi(e,t,s,(n,i,r)=>{const l=s.parent.children;let o=l.indexOf(n),a=0;for(;o-->=0;){const c=l[o];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)n.codegenNode=Qt(i,a,s);else{const c=Ai(n.codegenNode);c.alternate=Qt(i,a+n.branches.length-1,s)}}}));function vi(e,t,s,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;s.onError(O(28,t.loc)),t.exp=y("true",!1,i)}if(t.name==="if"){const i=Xt(e,t),r={type:9,loc:Yn(e.loc),branches:[i]};if(s.replaceNode(r),n)return n(r,i,!0)}else{const i=s.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const l=i[r];if(l&&l.type===3){s.removeNode(l);continue}if(l&&l.type===2&&!l.content.trim().length){s.removeNode(l);continue}if(l&&l.type===9){t.name==="else-if"&&l.branches[l.branches.length-1].condition===void 0&&s.onError(O(30,e.loc)),s.removeNode();const o=Xt(e,t);l.branches.push(o);const a=n&&n(l,o,!1);tt(o,s),a&&a(),s.currentNode=null}else s.onError(O(30,e.loc));break}}}function Xt(e,t){const s=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:s&&!J(e,"for")?e.children:[e],userKey:et(e,"key"),isTemplateIf:s}}function Qt(e,t,s){return e.condition?ct(e.condition,Yt(e,t,s),x(s.helper(Pe),['""',"true"])):Yt(e,t,s)}function Yt(e,t,s){const{helper:n}=s,i=M("key",y(`${t}`,!1,z,2)),{children:r}=e,l=r[0];if(r.length!==1||l.type!==1)if(r.length===1&&l.type===11){const a=l.codegenNode;return Xe(a,i,s),a}else return _e(s,n(Ae),G([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const a=l.codegenNode,c=Hn(a);return c.type===13&&Rt(c,s),Xe(c,i,s),a}}function Ai(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const ki=(e,t,s)=>{const{modifiers:n,loc:i}=e,r=e.arg;let{exp:l}=e;if(l&&l.type===4&&!l.content.trim()&&(l=void 0),!l){if(r.type!==4||!r.isStatic)return s.onError(O(52,r.loc)),{props:[M(r,y("",!0,i))]};Ms(e),l=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),n.some(o=>o.content==="camel")&&(r.type===4?r.isStatic?r.content=oe(r.content):r.content=`${s.helperString(ot)}(${r.content})`:(r.children.unshift(`${s.helperString(ot)}(`),r.children.push(")"))),s.inSSR||(n.some(o=>o.content==="prop")&&Zt(r,"."),n.some(o=>o.content==="attr")&&Zt(r,"^")),{props:[M(r,l)]}},Ms=(e,t)=>{const s=e.arg,n=oe(s.content);e.exp=y(n,!1,s.loc)},Zt=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},_i=Os("for",(e,t,s)=>{const{helper:n,removeHelper:i}=s;return Oi(e,t,s,r=>{const l=x(n(vt),[r.source]),o=Je(e),a=J(e,"memo"),c=et(e,"key",!1,!0);c&&c.type===7&&!c.exp&&Ms(c);let f=c&&(c.type===6?c.value?y(c.value.content,!0):void 0:c.exp);const p=c&&f?M("key",f):null,u=r.source.type===4&&r.source.constType>0,g=u?64:c?128:256;return r.codegenNode=_e(s,n(Ae),void 0,l,g,void 0,void 0,!0,!u,!1,e.loc),()=>{let d;const{children:E}=r,S=E.length!==1||E[0].type!==1,k=Ge(e)?e:o&&e.children.length===1&&Ge(e.children[0])?e.children[0]:null;if(k?(d=k.codegenNode,o&&p&&Xe(d,p,s)):S?d=_e(s,n(Ae),p?G([p]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(d=E[0].codegenNode,o&&p&&Xe(d,p,s),d.isBlock!==!u&&(d.isBlock?(i(me),i(Te(s.inSSR,d.isComponent))):i(Ee(s.inSSR,d.isComponent))),d.isBlock=!u,d.isBlock?(n(me),n(Te(s.inSSR,d.isComponent))):n(Ee(s.inSSR,d.isComponent))),a){const K=be(ut(r.parseResult,[y("_cached")]));K.body=_n([X(["const _memo = (",a.exp,")"]),X(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${s.helperString(ms)}(_cached, _memo)) return _cached`]),X(["const _item = ",d]),y("_item.memo = _memo"),y("return _item")]),l.arguments.push(K,y("_cache"),y(String(s.cached.length))),s.cached.push(null)}else l.arguments.push(be(ut(r.parseResult),d,!0))}})});function Oi(e,t,s,n){if(!t.exp){s.onError(O(31,t.loc));return}const i=t.forParseResult;if(!i){s.onError(O(32,t.loc));return}Ls(i);const{addIdentifiers:r,removeIdentifiers:l,scopes:o}=s,{source:a,value:c,key:h,index:f}=i,p={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:h,objectIndexAlias:f,parseResult:i,children:Je(e)?e.children:[e]};s.replaceNode(p),o.vFor++;const u=n&&n(p);return()=>{o.vFor--,u&&u()}}function Ls(e,t){e.finalized||(e.finalized=!0)}function ut({value:e,key:t,index:s},n=[]){return wi([e,t,s,...n])}function wi(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((s,n)=>s||y("_".repeat(n+1),!1))}const es=y("undefined",!1),Ri=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const s=J(e,"slot");if(s)return s.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Pi=(e,t,s,n)=>be(e,s,!1,!0,s.length?s[0].loc:n);function Mi(e,t,s=Pi){t.helper(Ot);const{children:n,loc:i}=e,r=[],l=[];let o=t.scopes.vSlot>0||t.scopes.vFor>0;const a=J(e,"slot",!0);if(a){const{arg:E,exp:S}=a;E&&!W(E)&&(o=!0),r.push(M(E||y("default",!0),s(S,void 0,n,i)))}let c=!1,h=!1;const f=[],p=new Set;let u=0;for(let E=0;E{const K=s(S,void 0,k,i);return t.compatConfig&&(K.isNonScopedSlot=!0),M("default",K)};c?f.length&&f.some(S=>xs(S))&&(h?t.onError(O(39,f[0].loc)):r.push(E(void 0,f))):r.push(E(void 0,n))}const g=o?2:We(e.children)?3:1;let d=G(r.concat(M("_",y(g+"",!1))),i);return l.length&&(d=x(t.helper(ds),[d,pe(l)])),{slots:d,hasDynamicSlots:o}}function Fe(e,t,s){const n=[M("name",e),M("fn",t)];return s!=null&&n.push(M("key",y(String(s),!0))),G(n)}function We(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:i}=e,r=e.tagType===1;let l=r?xi(e,t):`"${n}"`;const o=en(l)&&l.callee===Tt;let a,c,h=0,f,p,u,g=o||l===ve||l===gt||!r&&(n==="svg"||n==="foreignObject"||n==="math");if(i.length>0){const d=Vs(e,t,void 0,r,o);a=d.props,h=d.patchFlag,p=d.dynamicPropNames;const E=d.directives;u=E&&E.length?pe(E.map(S=>Vi(S,t))):void 0,d.shouldUseBlock&&(g=!0)}if(e.children.length>0)if(l===Ke&&(g=!0,h|=1024),r&&l!==ve&&l!==Ke){const{slots:E,hasDynamicSlots:S}=Mi(e,t);c=E,S&&(h|=1024)}else if(e.children.length===1&&l!==ve){const E=e.children[0],S=E.type,k=S===5||S===8;k&&U(E,t)===0&&(h|=1),k||S===2?c=E:c=e.children}else c=e.children;p&&p.length&&(f=Fi(p)),e.codegenNode=_e(t,l,a,c,h===0?void 0:h,f,u,!!g,!1,r,e.loc)};function xi(e,t,s=!1){let{tag:n}=e;const i=pt(n),r=et(e,"is",!1,!0);if(r)if(i||de("COMPILER_IS_ON_ELEMENT",t)){let o;if(r.type===6?o=r.value&&y(r.value.content,!0):(o=r.exp,o||(o=y("is",!1,r.arg.loc))),o)return x(t.helper(Tt),[o])}else r.type===6&&r.value.content.startsWith("vue:")&&(n=r.value.content.slice(4));const l=ys(n)||t.isBuiltInComponent(n);return l?(s||t.helper(l),l):(t.helper(Et),t.components.add(n),we(n,"component"))}function Vs(e,t,s=e.props,n,i,r=!1){const{tag:l,loc:o,children:a}=e;let c=[];const h=[],f=[],p=a.length>0;let u=!1,g=0,d=!1,E=!1,S=!1,k=!1,K=!1,ge=!1;const V=[],te=I=>{c.length&&(h.push(G(ts(c),o)),c=[]),I&&h.push(I)},se=()=>{t.scopes.vFor>0&&c.push(M(y("ref_for",!0),y("true")))},N=({key:I,value:v})=>{if(W(I)){const b=I.content,A=as(b);if(A&&(!n||i)&&b.toLowerCase()!=="onclick"&&b!=="onUpdate:modelValue"&&!Vt(b)&&(k=!0),A&&Vt(b)&&(ge=!0),A&&v.type===14&&(v=v.arguments[0]),v.type===20||(v.type===4||v.type===8)&&U(v,t)>0)return;b==="ref"?d=!0:b==="class"?E=!0:b==="style"?S=!0:b!=="key"&&!V.includes(b)&&V.push(b),n&&(b==="class"||b==="style")&&!V.includes(b)&&V.push(b)}else K=!0};for(let I=0;INe.content==="prop")&&(g|=32);const Dt=t.directiveTransforms[b];if(Dt){const{props:Ne,needRuntime:nt}=Dt(v,e,t);!r&&Ne.forEach(N),xe&&A&&!W(A)?te(G(Ne,o)):c.push(...Ne),nt&&(f.push(v),mt(nt)&&Ds.set(v,nt))}else tn(b)||(f.push(v),p&&(u=!0))}}let m;if(h.length?(te(),h.length>1?m=x(t.helper(je),h,o):m=h[0]):c.length&&(m=G(ts(c),o)),K?g|=16:(E&&!n&&(g|=2),S&&!n&&(g|=4),V.length&&(g|=8),k&&(g|=32)),!u&&(g===0||g===32)&&(d||ge||f.length>0)&&(g|=512),!t.inSSR&&m)switch(m.type){case 15:let I=-1,v=-1,b=!1;for(let R=0;RM(l,r)),i))}return pe(s,e.loc)}function Fi(e){let t="[";for(let s=0,n=e.length;s{if(Ge(e)){const{children:s,loc:n}=e,{slotName:i,slotProps:r}=$i(e,t),l=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let o=2;r&&(l[2]=r,o=3),s.length&&(l[3]=be([],s,!1,!1,n),o=4),t.scopeId&&!t.slotted&&(o=5),l.splice(o),e.codegenNode=x(t.helper(ps),l,n)}};function $i(e,t){let s='"default"',n;const i=[];for(let r=0;r0){const{props:r,directives:l}=Vs(e,t,i,!1,!1);n=r,l.length&&t.onError(O(36,l[0].loc))}return{slotName:s,slotProps:n}}const Fs=(e,t,s,n)=>{const{loc:i,modifiers:r,arg:l}=e;!e.exp&&!r.length&&s.onError(O(35,i));let o;if(l.type===4)if(l.isStatic){let f=l.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const p=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Ys(oe(f)):`on:${f}`;o=y(p,!0,l.loc)}else o=X([`${s.helperString(at)}(`,l,")"]);else o=l,o.children.unshift(`${s.helperString(at)}(`),o.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=s.cacheHandlers&&!a&&!s.inVOnce;if(a){const f=bs(a),p=!(f||Vn(a)),u=a.content.includes(";");(p||c&&f)&&(a=X([`${p?"$event":"(...args)"} => ${u?"{":"("}`,a,u?"}":")"]))}let h={props:[M(o,a||y("() => {}",!1,i))]};return n&&(h=n(h)),c&&(h.props[0].value=s.cache(h.props[0].value)),h.props.forEach(f=>f.key.isHandlerKey=!0),h},Hi=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const s=e.children;let n,i=!1;for(let r=0;rr.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r{if(e.type===1&&J(e,"once",!0))return ss.has(e)||t.inVOnce||t.inSSR?void 0:(ss.add(e),t.inVOnce=!0,t.helper(Ue),()=>{t.inVOnce=!1;const s=t.currentNode;s.codegenNode&&(s.codegenNode=t.cache(s.codegenNode,!0,!0))})},Bs=(e,t,s)=>{const{exp:n,arg:i}=e;if(!n)return s.onError(O(41,e.loc)),Be();const r=n.loc.source.trim(),l=n.type===4?n.content:r,o=s.bindingMetadata[r];if(o==="props"||o==="props-aliased")return s.onError(O(44,n.loc)),Be();if(!l.trim()||!bs(n))return s.onError(O(42,n.loc)),Be();const a=i||y("modelValue",!0),c=i?W(i)?`onUpdate:${oe(i.content)}`:X(['"onUpdate:" + ',i]):"onUpdate:modelValue";let h;const f=s.isTS?"($event: any)":"$event";h=X([`${f} => ((`,n,") = $event)"]);const p=[M(a,e.exp),M(c,h)];if(e.modifiers.length&&t.tagType===1){const u=e.modifiers.map(d=>d.content).map(d=>(Mt(d)?d:JSON.stringify(d))+": true").join(", "),g=i?W(i)?`${i.content}Modifiers`:X([i,' + "Modifiers"']):"modelModifiers";p.push(M(g,y(`{ ${u} }`,!1,e.loc,2)))}return Be(p)};function Be(e=[]){return{props:e}}const Wi=/[\w).+\-_$\]]/,Ki=(e,t)=>{de("COMPILER_FILTERS",t)&&(e.type===5?Qe(e.content,t):e.type===1&&e.props.forEach(s=>{s.type===7&&s.name!=="for"&&s.exp&&Qe(s.exp,t)}))};function Qe(e,t){if(e.type===4)ns(e,t);else for(let s=0;s=0&&(k=s.charAt(S),k===" ");S--);(!k||!Wi.test(k))&&(l=!0)}}g===void 0?g=s.slice(0,u).trim():h!==0&&E();function E(){d.push(s.slice(h,u).trim()),h=u+1}if(d.length){for(u=0;u{if(e.type===1){const s=J(e,"memo");return!s||is.has(e)?void 0:(is.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&Rt(n,t),e.codegenNode=x(t.helper(wt),[s.exp,be(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function zi(e){return[[qi,Ii,Ui,_i,Ki,Bi,Li,Ri,Hi],{on:Fs,bind:ki,model:Bs}]}function Ji(e,t={}){const s=t.onError||Pt,n=t.mode==="module";t.prefixIdentifiers===!0?s(O(47)):n&&s(O(48));const i=!1;t.cacheHandlers&&s(O(49)),t.scopeId&&!n&&s(O(50));const r=Z({},t,{prefixIdentifiers:i}),l=D(e)?ti(e,r):e,[o,a]=zi();return ri(l,Z({},r,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:Z({},a,t.directiveTransforms||{})})),ci(l,r)}const Gi=()=>({props:[]});/** * @vue/compiler-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const $s=Symbol(""),Hs=Symbol(""),qs=Symbol(""),Ws=Symbol(""),dt=Symbol(""),Ks=Symbol(""),js=Symbol(""),Us=Symbol(""),zs=Symbol(""),Js=Symbol("");vn({[$s]:"vModelRadio",[Hs]:"vModelCheckbox",[qs]:"vModelText",[Ws]:"vModelSelect",[dt]:"vModelDynamic",[Ks]:"withModifiers",[js]:"withKeys",[Us]:"vShow",[zs]:"Transition",[Js]:"TransitionGroup"});let ye;function Xi(e,t=!1){return ye||(ye=document.createElement("div")),t?(ye.innerHTML=`
`,ye.children[0].getAttribute("foo")):(ye.innerHTML=e,ye.textContent)}const Qi={parseMode:"html",isVoidTag:ln,isNativeTag:e=>sn(e)||nn(e)||rn(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Xi,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return zs;if(e==="TransitionGroup"||e==="transition-group")return Js},getNamespace(e,t,s){let n=t?t.ns:s;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},Yi=e=>{e.type===1&&e.props.forEach((t,s)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[s]={type:7,name:"bind",arg:y("style",!0,t.loc),exp:Zi(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Zi=(e,t)=>{const s=on(e);return y(JSON.stringify(s),!1,t,3)};function ae(e,t){return O(e,t)}const er=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(ae(53,i)),t.children.length&&(s.onError(ae(54,i)),t.children.length=0),{props:[M(y("innerHTML",!0,i),n||y("",!0))]}},tr=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(ae(55,i)),t.children.length&&(s.onError(ae(56,i)),t.children.length=0),{props:[M(y("textContent",!0),n?U(n,s)>0?n:x(s.helperString(Ze),[n],i):y("",!0))]}},sr=(e,t,s)=>{const n=Bs(e,t,s);if(!n.props.length||t.tagType===1)return n;e.arg&&s.onError(ae(58,e.arg.loc));const{tag:i}=t,r=s.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let l=qs,o=!1;if(i==="input"||r){const a=et(t,"type");if(a){if(a.type===7)l=dt;else if(a.value)switch(a.value.content){case"radio":l=$s;break;case"checkbox":l=Hs;break;case"file":o=!0,s.onError(ae(59,e.loc));break}}else Fn(t)&&(l=dt)}else i==="select"&&(l=Ws);o||(n.needRuntime=s.helper(l))}else s.onError(ae(57,e.loc));return n.props=n.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),n},nr=Ye("passive,once,capture"),ir=Ye("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),rr=Ye("left,right"),Gs=Ye("onkeyup,onkeydown,onkeypress"),lr=(e,t,s,n)=>{const i=[],r=[],l=[];for(let o=0;oW(e)&&e.content.toLowerCase()==="onclick"?y(t,!0):e.type!==4?X(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,or=(e,t,s)=>Fs(e,t,s,n=>{const{modifiers:i}=e;if(!i.length)return n;let{key:r,value:l}=n.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:c}=lr(r,i,s,e.loc);if(a.includes("right")&&(r=rs(r,"onContextmenu")),a.includes("middle")&&(r=rs(r,"onMouseup")),a.length&&(l=x(s.helper(Ks),[l,JSON.stringify(a)])),o.length&&(!W(r)||Gs(r.content.toLowerCase()))&&(l=x(s.helper(js),[l,JSON.stringify(o)])),c.length){const h=c.map(os).join("");r=W(r)?y(`${r.content}${h}`,!0):X(["(",r,`) + "${h}"`])}return{props:[M(r,l)]}}),ar=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(ae(61,i)),{props:[],needRuntime:s.helper(Us)}},cr=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},fr=[Yi],hr={cloak:Gi,html:er,text:tr,model:sr,on:or,show:ar};function ur(e,t={}){return Ji(e,Z({},Qi,t,{nodeTransforms:[cr,...fr,...t.nodeTransforms||[]],directiveTransforms:Z({},hr,t.directiveTransforms||{}),transformHoist:null}))}/** * vue v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const ls=Object.create(null);function Xs(e,t){if(!D(e))if(e.nodeType)e=e.innerHTML;else return Ie;const s=an(e,t),n=ls[s];if(n)return n;if(e[0]==="#"){const o=document.querySelector(e);e=o?o.innerHTML:""}const i=Z({hoistStatic:!0,onError:void 0,onWarn:Ie},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=o=>!!customElements.get(o));const{code:r}=ur(e,i),l=new Function("Vue",r)(cn);return l._rc=!0,ls[s]=l}fn(Xs);const pr={components:{WebContentList:Sn,WebContentListNew:yn,WebSubscribeNew:bn},props:{html:{type:String}},async setup(e){return Xs(`
${gn(e.html,{allowedTags:!1,allowedAttributes:!1,nonBooleanAttributes:["*"],allowVulnerableTags:!0,selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],parser:{lowerCaseTags:!1}})}
`)}},dr={props:{fontFamily:String,html:{type:String,required:!0},textAlign:{type:String,default:"left"},textWidth:{type:String,default:"100"},showPreview:{type:Boolean,default:!1},ungatedParagraphs:{type:Number,default:1},embedPrimaryImage:{type:Boolean,default:!1},primaryImage:{type:Object,default:()=>{}},logoEmbedLocation:{type:String,default:"right-wrap"},useVueInHtml:{type:Boolean,default:!1}},computed:{isPrintPage(){return mn().fullPath.includes("/print/content/")},newHtml(){let e=this.html.replace(/
/gm,'
');if(this.showPreview){const t=this.html.match(//gm);e=t!=null&&t.length?t.slice(0,this.ungatedParagraphs).join(` `):e}return e}}},mr=["innerHTML"],gr={class:"preview-overlay"};function yr(e,t,s,n,i,r){const l=Qs,o=pr;return Ce(),it("div",{style:Ht({width:`${s.textWidth}%`,textAlign:s.textAlign})},[Ft("section",{style:Ht({fontFamily:s.fontFamily,fontSize:"1.1rem",lineHeight:"1.8rem"}),class:"web-html"},[s.logoEmbedLocation!=="none"&&s.embedPrimaryImage?(Ce(),it("div",{key:0,class:pn(`embedded-image ${s.logoEmbedLocation}`)},[s.embedPrimaryImage?(Ce(),$t(l,{key:0,image:s.primaryImage.src,credit:s.primaryImage.credit,caption:s.primaryImage.caption,"is-logo":!0,alt:s.primaryImage.alt,"credit-position":"top"},null,8,["image","credit","caption","alt"])):Bt("",!0)],2)):Bt("",!0),r.newHtml&&s.useVueInHtml?(Ce(),$t(o,{key:1,html:r.newHtml,class:"html"},null,8,["html"])):(Ce(),it("div",{key:2,class:"html",innerHTML:r.newHtml},null,8,mr)),un(Ft("div",gr,null,512),[[dn,s.showPreview]])],4)],4)}const Ar=hn(dr,[["render",yr]]);export{Ar as default};