1/*! Bundled license information: 2 3@vue/shared/dist/shared.esm-bundler.js: 4 (** 5 * @vue/shared v3.5.13 6 * (c) 2018-present Yuxi (Evan) You and Vue contributors 7 * @license MIT 8 **) 9 (*! #__NO_SIDE_EFFECTS__ *) 10 11@vue/reactivity/dist/reactivity.esm-bundler.js: 12 (** 13 * @vue/reactivity v3.5.13 14 * (c) 2018-present Yuxi (Evan) You and Vue contributors 15 * @license MIT 16 **) 17 18@vue/runtime-core/dist/runtime-core.esm-bundler.js: 19 (** 20 * @vue/runtime-core v3.5.13 21 * (c) 2018-present Yuxi (Evan) You and Vue contributors 22 * @license MIT 23 **) 24 25@vue/runtime-core/dist/runtime-core.esm-bundler.js: 26 (*! #__NO_SIDE_EFFECTS__ *) 27 28@vue/runtime-core/dist/runtime-core.esm-bundler.js: 29 (*! #__NO_SIDE_EFFECTS__ *) 30 31@vue/runtime-core/dist/runtime-core.esm-bundler.js: 32 (*! #__NO_SIDE_EFFECTS__ *) 33 34@vue/runtime-dom/dist/runtime-dom.esm-bundler.js: 35 (** 36 * @vue/runtime-dom v3.5.13 37 * (c) 2018-present Yuxi (Evan) You and Vue contributors 38 * @license MIT 39 **) 40 41@vue/runtime-dom/dist/runtime-dom.esm-bundler.js: 42 (*! #__NO_SIDE_EFFECTS__ *) 43 44@vue/runtime-dom/dist/runtime-dom.esm-bundler.js: 45 (*! #__NO_SIDE_EFFECTS__ *) 46 47vue/dist/vue.runtime.esm-bundler.js: 48 (** 49 * vue v3.5.13 50 * (c) 2018-present Yuxi (Evan) You and Vue contributors 51 * @license MIT 52 **) 53*/(()=>{var u,Ve,O,Hl,Ot,St,_,Pn,zl,s,c,Me,Be,Bo,i,h,y,$,Hn,Ko,at,In,Go,Vn,rt,Vc,qt,Bc,M,Ic,le,Ne,Oe,ce,Re,Zt,Wt,Ec,de,jc,gc,Jr,Rr,Tr,Er,Or,wr,ir,wi,Xa,x0,Ai,m,Si,ns,z,Da,p,ss,Fi,Ti,Xt,Qt,B,Hi,it,Ea,hs,fs,Fe,vs,ht,vl,Pd,$u,ao,Gs,Ks,Is,la,sd,Nl,Kc,ls,Ut,Hr,Yr,ic,yc,Zo,qo,Vo,Ro,S,gn,fd,Fu,a1,cn,an,Ae,ze,Mn,Rn,T,U,He,ue,We,li,It,kr,bt,W,Lt,ke,ie,Je,ys,yu,io,e1,Ku,fc,ml,A,Ns,Dd,Rd,Y1,z1,Ys,y1,v1,Et,ks,J,Uu,Pe,Vu,Bu,ho,wt,Pu,Ru,Lu,Cs,pu,xs,Le,Os,ws,Ao,_s,Ml,al,Ie,ti,ni,si,Kr,Cr,_i,gs,Ja,xi,Ci,ps,Ba,Ia,Jt,xe,R,Gi,yd,Zi,is,Vi,ra,ca,Ii,Ri,j,tt,H,un,ot,P,ct,Ma,Fa,Mi,zt,g,qa,Ya,x,ts,hn,Oi,_t,yi,nr,yt,es,dr,bi,vi,vr,br,E,pi,G,Gn,fi,mi,Mr,Fr,Q,hi,Dr,Nr,Rt,ui,Yn,Br,Vr,Wr,di,ri,Kn,ai,ii,oi,Un,ac,rc,Jo,hc,Q4,X4,me,I,Wn,_c,Oc,xc,Ac,Fc,Tc,Dc,Ke,B4,Wc,Uc,tn,Qo,Zc,R4,el,L4,nn,Yo,U0,T4,sn,At,bl,wl,$o,kl,j4,ut,jt,Dl,Io,Ce,Ct,F,Vl,$l,Wl,xt,Kl,L
53o,No,Ln,Xl,Nn,Zl,Jl,Pt,Dn,nd,Do,od,zn,zo,rd,cd,To,dd,Fo,hd,$t,Fn,Mo,gd,vd,bd,jd,Ki,_d,wd,Od,xd,en,Ed,So,ko,Sd,kn,Fd,En,zd,on,nt,Ld,Eo,Yt,se,Mt,Cn,ae,kt,xo,De,H1,P1,R1,L1,N1,D1,T1,wo,uu,_o,mu,fu,yo,vu,bu,jo,bo,_u,wu,Ou,xu,Cu,Eu,ku,Au,Su,vo,xn,Tu,zu,K,Nu,go,po,fo,Ms,Iu,uo,lo,co,Wu,ro,_n,Ui,oo,so,Xu,rn,no,to,eo,ln,n1,yn,o1,Xe,jn,r1,bn,l1,d1,u1,h1,m1,f1,Js,i1,Zs,s1,Ju,Qs,Zu,Qu,Yu,qu,Xs,Du,vn,Mu,ju,hu,ru,qs,Ws,iu,ou,su,nu,tu,eu,Zd,Qd,Xd,st,qd,Kd,Wd,Vd,$s,Vs,Nd,Bs,Td,Ps,kd,Cd,pd,Rs,pn,md,ud,ad,id,td,ed,Ql,Yl,ql,Ul,Bl,Il,Tl,Fl,Sl,Al,El,Cl,Ol,_l,yl,jl,pl,fl,hl,dl,cl,rl,il,ol,sl,tl,Jc,Xc,Gc,Yc,$c,Hc,Pc,Rc,Lc,Nc,zc,Sc,vc,pc,Ls,mc,dc,cc,oc,sc,nc,tc,ec,Xr,Gr,$r,Ir,Lr,zr,Ar,xr,yr,jr,pr,fr,mr,rr,ar,tr,Za,Ga,Ka,Ua,Wa,Va,Pa,Ra,Sa,Aa,wa,_a,ya,pa,fa,ma,ha,da,Ds,zs,aa,ia,ta,Ts,Ji,Xi,fn,w0=Object.create,Yd=Object.defineProperty,S4=Object.getOwnPropertyDescriptor,t1=Object.getOwnPropertyNames,w1=Object.getPrototypeOf,E1=Object.prototype.hasOwnProperty,Oo=(e,t)=>function(){return t||(0,e[t1(e)[0]])((t={exports:{}}).exports,t),t.exports},I1=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of t1(t))!E1.call(e,o)&&o!==n&&Yd(e,o,{get:()=>t[o],enumerable:!(s=S4(t,o))||s.enumerable});return e},V1=(e,t,n)=>(n=e!=null?w0(w1(e)):{},I1(t||!e||!e.__esModule?Yd(n,"default",{value:e,enumerable:!0}):n,e)),Gd=Oo({"../node_modules/recaptcha-v3/dist/ReCaptchaInstance.js"(e){"use strict";var t,n=e&&e.__awaiter||function(e,t,n,s){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function r(e){try{a(s.next(e))}catch(e){i(e)}}function c(e){try{a(s.throw(e))}catch(e){i(e)}}function a(e){e.done?n(e.value):o(e.value).then(r,c)}a((s=s.apply(e,t||[])).next())})},s=e&&e.__generator||function(e,t){var n,o,i,a,s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]};return i={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function r(e){return function(t){return c([e,t])}}function c(r){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,r[0]&&(s=0)),s;)try{if(a=1,o&&(n=r[0]&2?o.return:r[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,r[1])).done)return n;switch((o=0,n)&&(r=[r[0]&2,n.value]),r[0]){case 0:case 1:n=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,o=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(r[0]===6||r[0]===2)){s=0;continue}if(r[0]===3&&(!n||r[1]>n[0]&&r[1]<n[3])){s.label=r[1];break}if(r[0]===6&&s.label<n[1]){s.label=n[1],n=r;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(r);break}n[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],o=0}finally{a=n=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=void 0,t=function(){function e(e,t,n){this.siteKey=e,this.recaptchaID=t,this.recaptcha=n,this.styleContainer=null}return e.prototype.execute=function(e){return n(this,void 0,void 0,function(){var t;return s(this,function(n){switch(n.label){case 0:return this.recaptcha.enterprise?[4,this.recaptcha.enterprise.execute(this.recaptchaID,{action:e})]:[3,2];case 1:return t=n.sent(),[3,4];case 2:return[4,this.recaptcha.execute(this.recaptchaID,{action:e})];case 3:t=n.sent(),n.label=4;case 4:return[2,t]}})})},e.prototype.getSiteKey=function(){return this.siteKey},e.prototype.hideBadge=function(){if(this.styleContainer!==null)return;this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer)},e.prototype.showBadge=function(){if(this.styleContainer===null)return;document.head.removeChild(this.styleContainer),this.styleContainer=null},e}(),e.ReCaptchaInstance=t}}),W1=Oo({"../node_modules/recaptcha-v3/dist/ReCaptchaLoader.js"(e){"use strict";var t,s,o,n=e&&e.__assign||function(){return n=Object.assign||function(e){for(var t,s,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},n.apply(this,arguments)};
53Object.defineProperty(e,"__esModule",{value:!0}),e.getInstance=e.load=void 0,o=Gd(),function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"}(t||(t={})),s=function(){function e(){}return e.load=function(n,s){if(s===void 0&&(s={}),typeof document=="undefined")return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===t.LOADED)return e.instance.getSiteKey()===n?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===t.LOADING)return n!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(t,n){e.successfulLoadingConsumers.push(function(e){return t(e)}),e.errorLoadingRunnable.push(function(e){return n(e)})});e.instanceSiteKey=n,e.setLoadingState(t.LOADING);var i=new e;return new Promise(function(a,r){i.loadScript(n,s.useRecaptchaNet||!1,s.useEnterprise||!1,s.renderParameters?s.renderParameters:{},s.customUrl).then(function(){e.setLoadingState(t.LOADED);var c=i.doExplicitRender(grecaptcha,n,s.explicitRenderParameters?s.explicitRenderParameters:{},s.useEnterprise||!1),r=new o.ReCaptchaInstance(n,c,grecaptcha);e.successfulLoadingConsumers.forEach(function(e){return e(r)}),e.successfulLoadingConsumers=[],s.autoHideBadge&&r.hideBadge(),e.instance=r,a(r)}).catch(function(t){e.errorLoadingRunnable.forEach(function(e){return e(t)}),e.errorLoadingRunnable=[],r(t)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?t.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(n,s,o,i,a){var r,c,l,d=this;return s===void 0&&(s=!1),o===void 0&&(o=!1),i===void 0&&(i={}),a===void 0&&(a=""),r=document.createElement("script"),r.setAttribute("recaptcha-v3-script",""),r.setAttribute("async",""),r.setAttribute("defer",""),c="https://www.google.com/recaptcha/api.js",s?o?c="https://recaptcha.net/recaptcha/enterprise.js":c="https://recaptcha.net/recaptcha/api.js":o&&(c="https://www.google.com/recaptcha/enterprise.js"),a&&(c=a),i.render&&(i.render=void 0),l=this.buildQueryString(i),r.src=c+"?render=explicit"+l,new Promise(function(n,s){r.addEventListener("load",d.waitForScriptToLoad(function(){n(r)},o),!1),r.onerror=function(n){e.setLoadingState(t.NOT_LOADED),s(n)},document.head.appendChild(r)})},e.prototype.buildQueryString=function(e){var t=Object.keys(e);return t.length<1?"":"&"+Object.keys(e).filter(function(t){return!!e[t]}).map(function(t){return t+"="+e[t]}).join("&")},e.prototype.waitForScriptToLoad=function(t,n){var s=this;return function(){window.grecaptcha===void 0?setTimeout(function(){s.waitForScriptToLoad(t,n)},e.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){t()}):window.grecaptcha.ready(function(){t()})}},e.prototype.doExplicitRender=function(e,t,s,o){var i=n({sitekey:t},s);return s.container?o?e.enterprise.render(s.container,i):e.render(s.container,i):o?e.enterprise.render(i):e.render(i)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}(),e.load=s.load,e.getInstance=s.getInstance}}),U1=Oo({"../node_modules/recaptcha-v3/dist/ReCaptcha.js"(e){"use strict",Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var n,t=W1();Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}}),n=Gd(),Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})}}),Ud={"Content-Type":"application/json"},Ye=e=>`${e.replace(/\/?$/,"/")}api/`,Ze=(e,t="")=>{if(typeof e=="object"&&e.errno)throw new TypeError(`${t} failed with ${e.errno}: ${e.errmsg}`);return e},Bd=({serverURL:e,lang:t,paths:n,type:s,signal:o})=>fetch(`${Ye(e)}article?path=${encodeURIComponent(n.join(","))}&type=${encodeURIComponent(s.join(","))}&lang=${t}`,{signal:o}).then(e=>e.json()).then(e=>Ze(e,"Get counter").data),Co=({serverURL:e,lang:t,path:n,type:s,action:o})=>fetch(`${Ye(e)}article?lang=${t}`,{method:"POST",headers:Ud,body:JSON.stringify({path:n,type:s,action:o})}).then(e=>e.json()).then(e=>Ze(e,"Update counter").data),X1=({serverURL:e,lang:t,path:n,page:s,pageSize:o,sortBy:i,signal:a,token:r})=>{const c={};return r&&(c.Authorization=`Bearer ${r}`),fetch(`${Ye(e)}comment?path=${encodeURIComponent(n)}&pageSize=${o}&page=${s}&lang=${t}&sortBy=${i}`,{signal:a,headers:c}).then(e=>e.json()).then(e=>Ze(e,"Get comment data").data)},Q1=({serverURL:e,lang:t,token:n,comment:s})=>{const o={"Content-Type":"application/json"};return n&&(o.Authorization=`Bearer ${n}`),fetch(`${Ye(e)}comment?lang=${t}`,{method:"POST",headers:o,body:JSON.stringify(s)}).then(e=>e.json())},t4=({serverURL:e,lang:t,token:n,objectId:s})=>fetch(`${Ye(e)}comment/${s}?lang=${t}`,{method:"DELETE",headers:{Authorization:`Bearer ${n}`}}).then(e=>e.json()).then(e=>Ze(e,"Delete comment")),Tn=({serverURL:e,lang:t,token:n,objectId:s,comment:o})=>fetch(`${Ye(e)}comment/${s}?lang=${t}
53`,{method:"PUT",headers:{...Ud,Authorization:`Bearer ${n}`},body:JSON.stringify(o)}).then(e=>e.json()).then(e=>Ze(e,"Update comment")),d4=({serverURL:e,lang:t,paths:n,signal:s})=>fetch(`${Ye(e)}comment?type=count&url=${encodeURIComponent(n.join(","))}&lang=${t}`,{signal:s}).then(e=>e.json()).then(e=>Ze(e,"Get comment count").data),f4=({lang:e,serverURL:t})=>{const s=(window.innerWidth-450)/2,o=(window.innerHeight-450)/2,n=window.open(`${t.replace(/\/$/,"")}/ui/login?lng=${encodeURIComponent(e)}`,"_blank",`width=450,height=450,left=${s},top=${o},scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no`);return n?.postMessage({type:"TOKEN",data:null},"*"),new Promise(e=>{const t=({data:s})=>{!s||typeof s!="object"||s.type!=="userInfo"||s.data.token&&(n?.close(),window.removeEventListener("message",t),e(s.data))};window.addEventListener("message",t)})},p4=({serverURL:e,lang:t,paths:n,signal:s})=>Bd({serverURL:e,lang:t,paths:n,type:["time"],signal:s}),g4=e=>Co({...e,type:"time",action:"inc"});function ne(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}u=Object.freeze({}),Ve=Object.freeze([]),O=()=>{},Hl=()=>!1,Ot=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),St=e=>e.startsWith("onUpdate:"),_=Object.assign,Pn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zl=Object.prototype.hasOwnProperty,c=(e,t)=>zl.call(e,t),s=Array.isArray,Me=e=>at(e)==="[object Map]",Be=e=>at(e)==="[object Set]",Bo=e=>at(e)==="[object Date]",i=e=>typeof e=="function",y=e=>typeof e=="string",$=e=>typeof e=="symbol",h=e=>e!==null&&typeof e=="object",Hn=e=>(h(e)||i(e))&&i(e.then)&&i(e.catch),Ko=Object.prototype.toString,at=e=>Ko.call(e),In=e=>at(e).slice(8,-1),Go=e=>at(e)==="[object Object]",Vn=e=>y(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rt=ne(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vc=ne("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),qt=e=>{const t=Object.create(null);return n=>{const s=t[n];return s||(t[n]=e(n))}},Bc=/-(\w)/g,M=qt(e=>e.replace(Bc,(e,t)=>t?t.toUpperCase():"")),Ic=/\B([A-Z])/g,le=qt(e=>e.replace(Ic,"-$1").toLowerCase()),Ne=qt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Oe=qt(e=>{const t=e?`on${Ne(e)}`:``;return t}),ce=(e,t)=>!Object.is(e,t),Re=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Zt=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Wt=e=>{const t=parseFloat(e);return isNaN(t)?e:t},de=()=>Ec||(Ec=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Vt(e){if(s(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=y(s)?l0(s):Vt(s);if(o)for(const e in o)t[e]=o[e]}return t}if(y(e)||h(e))return e}jc=/;(?![^(]*\))/g,gc=/:([^]+)/,Jr=/\/\*[^]*?\*\//g;function l0(e){const t={};return e.replace(Jr,"").split(jc).forEach(e=>{if(e){const n=e.split(gc);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function C(e){let t="";if(y(e))t=e;else if(s(e))for(let n=0;n<e.length;n++){const s=C(e[n]);s&&(t+=s+" ")}else if(h(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}Rr="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Tr="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Er="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Or=ne(Rr),wr=ne(Tr),ir=ne(Er),wi=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Xa=ne(wi),x0=ne(wi+`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,
53checked,muted,multiple,selected`);function $a(e){return!!e||e===""}function k0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=qe(e[s],t[s]);return n}function qe(e,t){if(e===t)return!0;let n=Bo(e),o=Bo(t);if(n||o)return!!(n&&o)&&e.getTime()===t.getTime();if(n=$(e),o=$(t),n||o)return e===t;if(n=s(e),o=s(t),n||o)return!!(n&&o)&&k0(e,t);if(n=h(e),o=h(t),n||o){if(!n||!o)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const n in e){const s=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(s&&!o||!s&&o||!qe(e[n],t[n]))return!1}}return String(e)===String(t)}function ki(e,t){return e.findIndex(e=>qe(e,t))}Ai=e=>!!(e&&e.__v_isRef===!0),m=e=>y(e)?e:e==null?"":s(e)||h(e)&&(e.toString===Ko||!i(e.toString))?Ai(e)?m(e.value):JSON.stringify(e,Si,2):String(e),Si=(e,t)=>Ai(t)?Si(e,t.value):Me(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],s)=>(e[ns(t,s)+" =>"]=n,e),{})}:Be(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ns(e))}:$(t)?ns(t):h(t)&&!s(t)&&!Go(t)?String(t):t,ns=(e,t="")=>{var n;return $(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function q(e,...t){console.warn(`[Vue warn] ${e}`,...t)}Da=class{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=z,!e&&z&&(this.index=(z.scopes||(z.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=z;try{return z=this,e()}finally{z=t}}else!0&&q(`cannot run an inactive effect scope.`)}on(){z=this}off(){z=this.parent}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();this.effects.length=0;for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function za(){return z}function M0(e,t=!1){z?z.cleanups.push(e):t||q(`onScopeDispose() is called when there is no active effect scope to be associated with.`)}ss=new WeakSet,Fi=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=1|4,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,z&&z.active&&z.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=~64,ss.has(this)&&(ss.delete(this),this.trigger()))}notify(){if(this.flags&2&&!(this.flags&32))return;this.flags&8||Oa(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,va(this),ja(this);const e=p,t=B;p=this,B=!0;try{return this.fn()}finally{p!==this&&q("Active effect was not restored correctly - this is likely a Vue internal bug."),ba(this),p=e,B=t,this.flags&=~2}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Li(e);this.deps=this.depsTail=void 0,va(this),this.onStop&&this.onStop(),this.flags&=~1}}trigger(){this.flags&64?ss.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ni(this)&&this.run()}get dirty(){return Ni(this)}},Ti=0;function Oa(e,t=!1){if(e.flags|=8,t){e.next=Qt,Qt=e;return}e.next=Xt,Xt=e}function zi(){Ti++}function Di(){if(--Ti>0)return;if(Qt){let e=Qt;for(Qt=void 0;e;){const t=e.next;e.next=void 0,e.flags&=~8,e=t}}let e;for(;Xt;){let t=Xt;for(Xt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=~8,t.flags&1)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function ja(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ba(e){let s,n=e.depsTail,t=n;for(;t;){const e=t.prevDep;t.version===-1?(t===n&&(n=e),Li(t),Y0(t)):s=t,t.dep.activeLink=t.prevActiveLink,t.prevActiveLink=void 0,t=e}e.deps=s,e.depsTail=n}function Ni(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ga(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ga(e){if(e.flags&4&&!(e.flags&16))return;if(e.flags&=~16,e.globalVersion===it)return;e.globalVersion=it;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ni(e)){e.flags&=~2;return}const n=p,s=B;p=e,B=!0;try{ja(e);const n=e.fn(e._value);(t.version===0||ce(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{p=n,B=s,ba(e),e.flags&=~2}}function Li(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=s,!s&&n.c
53omputed)){n.computed.flags&=~4;for(let e=n.computed.deps;e;e=e.nextDep)Li(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Y0(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}B=!0,Hi=[];function we(){Hi.push(B),B=!1}function ye(){const e=Hi.pop();B=e===void 0||e}function va(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=p;p=void 0;try{t()}finally{p=e}}}it=0,Ea=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},hs=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,!0&&(this.subsHead=void 0)}track(e){if(!p||!B||p===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==p)t=this.activeLink=new Ea(p,this),p.deps?(t.prevDep=p.depsTail,p.depsTail.nextDep=t,p.depsTail=t):p.deps=p.depsTail=t,Ta(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=p.depsTail,t.nextDep=void 0,p.depsTail.nextDep=t,p.depsTail=t,p.deps===t&&(p.deps=e)}return p.onTrack&&p.onTrack(_({effect:p},e)),t}trigger(e){this.version++,it++,this.notify(e)}notify(e){zi();try{if(!0)for(let t=this.subsHead;t;t=t.nextSub)t.sub.onTrigger&&!(t.sub.flags&8)&&t.sub.onTrigger(_({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Di()}}};function Ta(e){if(e.dep.sc++,e.sub.flags&4){const n=e.dep.computed;if(n&&!e.dep.subs){n.flags|=4|16;for(let e=n.deps;e;e=e.nextDep)Ta(e)}const t=e.dep.subs;t!==e&&(e.prevSub=t,t&&(t.nextSub=e)),e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}fs=new WeakMap,Fe=Symbol("Object iterate"),vs=Symbol("Map keys iterate"),ht=Symbol("Array iterate");function k(e,t,n){if(B&&p){let o=fs.get(e);o||fs.set(e,o=new Map);let s=o.get(n);s||(o.set(n,s=new hs),s.map=o,s.key=n),s.track({target:e,type:t,key:n})}}function ee(e,t,n,o,i,a){const r=fs.get(e);if(!r){it++;return}const c=s=>{s&&s.trigger({target:e,type:t,key:n,newValue:o,oldValue:i,oldTarget:a})};if(zi(),t==="clear")r.forEach(c);else{const i=s(e),a=i&&Vn(n);if(i&&n==="length"){const e=Number(o);r.forEach((t,n)=>{(n==="length"||n===ht||!$(n)&&n>=e)&&c(t)})}else switch((n!==void 0||r.has(void 0))&&c(r.get(n)),a&&c(r.get(ht)),t){case"add":i?a&&c(r.get("length")):(c(r.get(Fe)),Me(e)&&c(r.get(vs)));break;case"delete":i||(c(r.get(Fe)),Me(e)&&c(r.get(vs)));break;case"set":Me(e)&&c(r.get(Fe));break}}Di()}function pt(e){const t=r(e);return t===e?t:(k(t,"iterate",ht),D(e)?t:t.map(S))}function bs(e){return k(e=r(e),"iterate",ht),e}vl={__proto__:null,[Symbol.iterator](){return Uo(this,Symbol.iterator,S)},concat(...e){return pt(this).concat(...e.map(e=>s(e)?pt(e):e))},entries(){return Uo(this,"entries",e=>(e[1]=S(e[1]),e))},every(e,t){return re(this,"every",e,t,void 0,arguments)},filter(e,t){return re(this,"filter",e,t,e=>e.map(S),arguments)},find(e,t){return re(this,"find",e,t,S,arguments)},findIndex(e,t){return re(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return re(this,"findLast",e,t,S,arguments)},findLastIndex(e,t){return re(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return re(this,"forEach",e,t,void 0,arguments)},includes(...e){return mo(this,"includes",e)},indexOf(...e){return mo(this,"indexOf",e)},join(e){return pt(this).join(e)},lastIndexOf(...e){return mo(this,"lastIndexOf",e)},map(e,t){return re(this,"map",e,t,void 0,arguments)},pop(){return Nt(this,"pop")},push(...e){return Nt(this,"push",e)},reduce(e,...t){return Jd(this,"reduce",e,t)},reduceRight(e,...t){return Jd(this,"reduceRight",e,t)},shift(){return Nt(this,"shift")},some(e,t){return re(this,"some",e,t,void 0,arguments)},splice(...e){return Nt(this,"splice",e)},toReversed(){return pt(this).toReversed()},toSorted(e){return pt(this).toSorted(e)},toSpliced(...e){return pt(this).toSpliced(...e)},unshift(...e){return Nt(this,"unshift",e)},values(){return Uo(this,"values",S)}};function Uo(e,t,n){const o=bs(e),s=o[t]();
53return o!==e&&!D(e)&&(s._next=s.next,s.next=()=>{const e=s._next();return e.value&&(e.value=n(e.value)),e}),s}Pd=Array.prototype;function re(e,t,n,s,o,i){const a=bs(e),r=a!==e&&!D(e),c=a[t];if(c!==Pd[t]){const t=c.apply(e,i);return r?S(t):t}let l=n;a!==e&&(r?l=function(t,s){return n.call(this,S(t),s,e)}:n.length>2&&(l=function(t,s){return n.call(this,t,s,e)}));const d=c.call(a,l,s);return r&&o?o(d):d}function Jd(e,t,n,s){const i=bs(e);let o=n;return i!==e&&(D(e)?n.length>3&&(o=function(t,s,o){return n.call(this,t,s,o,e)}):o=function(t,s,o){return n.call(this,t,S(s),o,e)}),i[t](o,...s)}function mo(e,t,n){const s=r(e);k(s,"iterate",ht);const o=s[t](...n);return(o===-1||o===!1)&&wn(n[0])?(n[0]=r(n[0]),s[t](...n)):o}function Nt(e,t,n=[]){we(),zi();const s=r(e)[t].apply(e,n);return Di(),ye(),s}$u=ne(`__proto__,__v_isRef,__isVue`),ao=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($));function J1(e){$(e)||(e=String(e));const t=r(this);return k(t,"has",e),t.hasOwnProperty(e)}Gs=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t==="__v_skip")return e.__v_skip;const i=this._isReadonly,a=this._isShallow;if(t==="__v_isReactive")return!i;if(t==="__v_isReadonly")return i;if(t==="__v_isShallow")return a;
53if(t==="__v_raw"){if(n===(i?a?Ro:Vo:a?qo:Zo).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n))return e;return}const r=s(e);if(!i){let e;if(r&&(e=vl[t]))return e;if(t==="hasOwnProperty")return J1}const o=Reflect.get(e,t,w(e)?e:n);return($(t)?ao.has(t):$u(t))?o:(i||k(e,"get",t),a?o:w(o)?r&&Vn(t)?o:o.value:h(o)?i?lt(o):dt(o):o)}},Ks=class extends Gs{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=_e(i);if(!D(n)&&!_e(n)&&(i=r(i),n=r(n)),!s(e)&&w(i)&&!w(n))return!t&&(i.value=n,!0)}const a=s(e)&&Vn(t)?Number(t)<e.length:c(e,t),l=Reflect.set(e,t,n,w(e)?e:o);return e===r(o)&&(a?ce(n,i)&&ee(e,"set",t,n,i):ee(e,"add",t,n)),l}deleteProperty(e,t){const s=c(e,t),o=e[t],n=Reflect.deleteProperty(e,t);return n&&s&&ee(e,"delete",t,void 0,o),n}has(e,t){const n=Reflect.has(e,t);return(!$(t)||!ao.has(t))&&k(e,"has",t),n}ownKeys(e){return k(e,"iterate",s(e)?"length":Fe),Reflect.ownKeys(e)}},Is=class extends Gs{constructor(e=!1){super(!0,e)}set(e,t){return!0&&q(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return!0&&q(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},la=new Ks,sd=new Is,Nl=new Ks(!0),Kc=new Is(!0),ls=e=>e,Ut=e=>Reflect.getPrototypeOf(e);function W0(e,t,n){return function(...c){const o=this.__v_raw,i=r(o),a=Me(i),l=e==="entries"||e===Symbol.iterator&&a,d=e==="keys"&&a,u=o[e](...c),s=n?ls:t?gn:S;return!t&&k(i,"iterate",d?vs:Fe),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[s(e[0]),s(e[1])]:s(e),done:t}},[Symbol.iterator](){return this}}}}function rs(e){return function(...t){if(!0){const n=t[0]?`on key "${t[0]}" `:``;q(`${Ne(e)} operation ${n}failed: target is readonly.`,r(this))}return e!=="delete"&&(e==="clear"?void 0:this)}}function F0(e,t){const n={get(n){const o=this.__v_raw,s=r(o),i=r(n);e||(ce(n,i)&&k(s,"get",n),k(s,"get",i));const{has:a}=Ut(s),c=t?ls:e?gn:S;if(a.call(s,n))return c(o.get(n));if(a.call(s,i))return c(o.get(i));o!==s&&o.get(n)},get size(){const t=this.__v_raw;return!e&&k(r(t),"iterate",Fe),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,o=r(n),s=r(t);return e||(ce(t,s)&&k(o,"has",t),k(o,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)},forEach(n,s){const o=this,i=o.__v_raw,c=r(i),a=t?ls:e?gn:S;return!e&&k(c,"iterate",Fe),i.forEach((e,t)=>n.call(s,a(e),a(t),o))}};_(n,e?{add:rs("add"),set:rs("set"),delete:rs("delete"),clear:rs("clear")}:{add(e){!t&&!D(e)&&!_e(e)&&(e=r(e));const n=r(this),s=Ut(n),o=s.has.call(n,e);return o||(n.add(e),ee(n,"add",e,e)),this},set(e,n){!t&&!D(n)&&!_e(n)&&(n=r(n));const s=r(this),{has:o,get:c}=Ut(s);let i=o.call(s,e);i?!0&&Mc(s,o,e):(e=r(e),i=o.call(s,e));const a=c.call(s,e);return s.set(e,n),i?ce(n,a)&&ee(s,"set",e,n,a):ee(s,"add",e,n),this},delete(e){const t=r(this),{has:n,get:o}=Ut(t);let s=n.call(t,e);s?!0&&Mc(t,n,e):(e=r(e),s=n.call(t,e));const i=o?o.call(t,e):void 0,a=t.delete(e);return s&&ee(t,"delete",e,void 0,i),a},clear(){const e=r(this),t=e.size!==0,n=Me(e)?new Map(e):new Set(e),s=e.clear();return t&&ee(e,"clear",void 0,void 0,n),s}});const s=["keys","values","entries",Symbol.iterator];return s.forEach(s=>{n[s]=W0(s,e,t)}),n}function Xn(e,t){const n=F0(e,t);return(t,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?t:Reflect.get(c(n,s)&&s in t?n:t,s,o)}Hr={get:Xn(!1,!1)},Yr={get:Xn(!1,!0)},ic={get:Xn(!0,!1)},yc={get:Xn(!0,!0)};function Mc(e,t,n){const s=r(n);if(s!==n&&t.call(e,s)){const t=In(e);q(`Reactive ${t} contains both the raw and reactive versions of the same object${t===`Map`?` as keys`:``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}Zo=new WeakMap,qo=new WeakMap,Vo=new WeakMap,Ro=new WeakMap;function o4(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function F4(e){return e.__v_skip||!Object.isExtensible(e)?0:o4(In(e))}function dt(e){return _e(e)?e:On(e,!1,la,Hr,Zo)}function Z1(e){return On(e,!1,Nl,Yr,qo)}function lt(e){return On(e,!0,sd,ic,Vo)}function X(e){return On(e,!0,Kc,yc,Ro)}function On(e,t,n,s,o){if(!h(e))return!0&&q(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=F4(e);if(a===0)return e;const r=new Proxy(e,a===2?s:n);return o.set(e,r),r}function Ge(e){return _e(e)?Ge(e.__v_raw):!!(e&&e.__v_isReactive)}function _e(e){return!!(e&&e.__v_isReadonly)}function D(e){return!!(e&&e.__v_isShallow)}function wn(e){return!!e&&!!e.__v_raw}function r(e){const t=e&&e.__v_raw;return t?r(t):e}function C1(e){return!c(e,"__v_skip")&&Object.isExtensible(e)&&Zt(e,"__v_skip",!0),e}S=e=>h(e)?dt(e):e,gn=e=>h(e)?lt(e):e;function w(e){return!!e&&e.__v_isRef===!0}function d(e){return Yi(e,!1)}function Hu(e){return Yi(e,!0)}function Yi(e,t){return w(e)?e:new fd(e,t)}fd=class{constructor(e,t){this.dep=new hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:r(e),this._value=t?e:S(e),this.__v_isShallow=t}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||D(e)||_e(e);e=n?e:r(e),ce(e,t)&&(this._rawValue=e,this._value=n?e:S(e),this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:t}))}};function a(e){return w(e)?e.value:e}Fu={get:(e,t,n)=>t==="__v_raw"?e:a(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return w(o)&&!w(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function c1(e){return Ge(e)?e:new Proxy(e,Fu)}a1=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=it-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&p!==this)return Oa(this,!0),!0}get value(){const e=this.dep.track({target:this,type:"get",key:"value"});return ga(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter?this.setter(e):!0&&q("Write operation failed: computed value is readonly")}};function b1(e,t,n=!1){let s,a;i(e)?s=e:(s=e.get,a=e.set);const o=new a1(s,a,n);return t&&!n&&(o.onTrack=t.onTrack,o.onTrigger=t.onTrigger),o}cn={},an=new WeakMap,Ae=void 0;function k1(e,t=!1,n=Ae){if(n){let t=an.get(n);t||an.set(n,t=[]),t.push(e)}else t||q(`onWatcherCleanup() was called when there was no active watcher to associate with.`)}function $1(e,t,n=u){const{immediate:x,deep:c,once:C,scheduler:v,augmentJob:_,call:a}=n,y=e=>{(n.onWarn||q)(`Invalid watch source: `,e,`A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`)},j=e=>c?e:D(e)||c===!1||c===0?ve(e,1):ve(e);let o,r,m,p,f=!1,g=!1;if(w(e)?(r=()=>e.value,f=D(e)):Ge(e)?(r=()=>j(e),f=!0):s(e)?(g=!0,f=e.some(e=>Ge(e)||D(e)),r=()=>e.map(e=>{if(w(e))return e.value;if(Ge(e))return j(e);if(i(e))return a?a(e,2):e();y(e)})):i(e)?t?r=a?()=>a(e,2):e:r=()=>{if(m){we();try{m()}finally{ye()}}const t=Ae;Ae=o;try{return a?a(e,3,[p]):e(p)}finally{Ae=t}}:(r=O,y(e)),t&&c){const e=r,t=c===!0?1/0:c;r=()=>ve(e(),t)}const b=za(),d=()=>{o.stop(),b&&b.active&&Pn(b.effects,o)};if(C&&t){const e=t;t=(...t)=>{e(...t),d()}}let l=g?new Array(e.length).fill(cn):cn;const h=e=>{if(!(o.flags&1)||!o.dirty&&!e)return;if(t){{const e=o.run();if(c||f||(g?e.some((e,t)=>ce(e,l[t])):ce(e,l))){m&&m();const n=Ae;Ae=o;try{const n=[e,l===cn?void 0:g&&l[0]===cn?[]:l,p];a?a(t,3,n):t(...n),l=e}finally{Ae=n}}}}else o.run()};
53return _&&_(h),o=new Fi(r),o.scheduler=v?()=>v(h,!1):h,p=e=>k1(e,!1,o),m=o.onStop=()=>{const e=an.get(o);if(e){if(a)a(e,4);else for(const t of e)t();an.delete(o)}},!0&&(o.onTrack=n.onTrack,o.onTrigger=n.onTrigger),t?x?h(!0):l=o.run():v?v(h.bind(null,!0),!0):o.run(),d.pause=o.pause.bind(o),d.resume=o.resume.bind(o),d.stop=d,d}function ve(e,t=1/0,n){if(t<=0||!h(e)||e.__v_skip)return e;if(n=n||new Set,n.has(e))return e;if(n.add(e),t--,w(e))ve(e.value,t,n);else if(s(e))for(let s=0;s<e.length;s++)ve(e[s],t,n);else if(Be(e)||Me(e))e.forEach(e=>{ve(e,t,n)});else if(Go(e)){for(const s in e)ve(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ve(e[s],t,n)}return e}ze=[];function An(e){ze.push(e)}function Sn(){ze.pop()}Mn=!1;function e(n,...s){if(Mn)return;Mn=!0,we();const e=ze.length?ze[ze.length-1].component:null,o=e&&e.appContext.config.warnHandler,t=i4();if(o)mt(o,e,11,[n+s.map(e=>{var t,n;return(n=(t=e.toString)==null?void 0:t.call(e))!=null?n:JSON.stringify(e)}).join(""),e&&e.proxy,t.map(({vnode:t})=>`at <${Qn(e,t.type)}>`).join(` 54`),t]);else{const e=[`[Vue warn]: ${n}`,...s];t.length&&!0&&e.push(` 55`,...c4(t)),console.warn(...e)}ye(),Mn=!1}function i4(){let e=ze[ze.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function c4(e){const t=[];return e.forEach((e,n)=>{t.push(...n===0?[]:[` 56`],...l4(e))}),t}function l4({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:``,i=!!e.component&&e.component.parent==null,n=` at <${Qn(e.component,e.type,i)}`,s=`>`+o;return e.props?[n,...u4(e.props),s]:[n+s]}function u4(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...Gl(n,e[n]))}),n.length>3&&t.push(` ...`),t}function Gl(e,t,n){return y(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:w(t)?(t=Gl(e,r(t.value),!0),n?t:[`${e}=Ref<`,t,`>`]):i(t)?[`${e}=fn${t.name?`<${t.name}>`:``}`]:(t=r(t),n?t:[`${e}=`,t])}Rn={["sp"]:"serverPrefetch hook",["bc"]:"beforeCreate hook",["c"]:"created hook",["bm"]:"beforeMount hook",["m"]:"mounted hook",["bu"]:"beforeUpdate hook",["u"]:"updated",["bum"]:"beforeUnmount hook",["um"]:"unmounted hook",["a"]:"activated hook",["da"]:"deactivated hook",["ec"]:"errorCaptured hook",["rtc"]:"renderTracked hook",["rtg"]:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update",[16]:"app unmount cleanup function"};function mt(e,t,n,s){try{return s?e(...s):e()}catch(e){dn(e,t,n)}}function Z(t,n,o,a){if(i(t)){const e=mt(t,n,o,a);return e&&Hn(e)&&e.catch(e=>{dn(e,n,o)}),e}if(s(t)){const e=[];for(let s=0;s<t.length;s++)e.push(Z(t[s],n,o,a));return e}!0&&e(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function dn(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||u;if(t){let s=t.parent;const i=t.proxy,a=Rn[n];for(;s;){const t=s.ec;if(t)for(let n=0;n<t.length;n++)if(t[n](e,i,a)===!1)return;s=s.parent}if(o){we(),mt(o,null,10,[e,i,a]),ye();return}}A4(e,n,i,s,a)}function A4(t,n,s,o=!0,i=!1){if(!0){const i=Rn[n];if(s&&An(s),e(`Unhandled error${i?` during execution of ${i}`:``}`),s&&Sn(),o)throw t;console.error(t)}else if(i)throw t;else console.error(t)}T=[],U=-1,He=[],ue=null,We=0,li=Promise.resolve(),It=null,kr=100;function vt(e){const t=It||li;return e?t.then(this?e.bind(this):e):t}function f0(e){let t=U+1,n=T.length;for(;t<n;){const s=t+n>>>1,o=T[s],i=bt(o);i<e||i===e&&o.flags&2?t=s+1:n=s}return t}function Zn(e){if(!(e.flags&1)){const t=bt(e),n=T[T.length-1];!n||!(e.flags&2)&&t>=bt(n)?T.push(e):T.splice(f0(t),0,e),e.flags|=1,gr()}}function gr(){It||(It=li.then(sa))}
56function lr(e){s(e)?He.push(...e):ue&&e.id===-1?ue.splice(We+1,0,e):e.flags&1||(He.push(e),e.flags|=1),gr()}function Qa(e,t,n=U+1){for(!0&&(t=t||new Map);n<T.length;n++){const s=T[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;if(Wi(t,s))continue;T.splice(n,1),n--,s.flags&4&&(s.flags&=~1),s(),s.flags&4||(s.flags&=~1)}}}function Na(e){if(He.length){const t=[...new Set(He)].sort((e,t)=>bt(e)-bt(t));if(He.length=0,ue){ue.push(...t);return}ue=t,!0&&(e=e||new Map);for(We=0;We<ue.length;We++){const t=ue[We];if(Wi(e,t))continue;t.flags&4&&(t.flags&=~1),t.flags&8||t(),t.flags&=~1}ue=null,We=0}}bt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function sa(e){!0&&(e=e||new Map);const t=t=>Wi(e,t);try{for(U=0;U<T.length;U++){const e=T[U];if(e&&!(e.flags&8)){if(t(e))continue;e.flags&4&&(e.flags&=~1),mt(e,e.i,e.i?15:14),e.flags&4||(e.flags&=~1)}}}finally{for(;U<T.length;U++){const e=T[U];e&&(e.flags&=~1)}U=-1,T.length=0,Na(e),It=null,(T.length||He.length)&&sa(e)}}function Wi(e,t){const n=e.get(t)||0;if(n>kr){const e=t.i,n=e&&gi(e.type);return dn(`Maximum recursive updates exceeded${n?` in component <${n}>`:``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}W=!1,Lt=new Map,!0&&(de().__VUE_HMR_RUNTIME__={createRecord:ei(ka),rerender:ei(A0),reload:ei(E0)}),ke=new Map;function V0(e){const t=e.type.__hmrId;let n=ke.get(t);n||(ka(t,e.type),n=ke.get(t)),n.instances.add(e)}function z0(e){ke.get(e.type.__hmrId).instances.delete(e)}function ka(e,t){return!ke.has(e)&&(ke.set(e,{initialDef:ms(t),instances:new Set}),!0)}function ms(e){return _r(e)?e.__vccOpts:e}function A0(e,t){const n=ke.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach(e=>{t&&(e.render=t,ms(e.type).render=t),e.renderCache=[],W=!0,e.update(),W=!1})}function E0(e,t){const n=ke.get(e);if(!n)return;t=ms(t),er(n.initialDef,t);const s=[...n.instances];for(let a=0;a<s.length;a++){const e=s[a],i=ms(e.type);let o=Lt.get(i);o||(i!==n.initialDef&&er(i,t),Lt.set(i,o=new Set)),o.add(e),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(o.add(e),e.ceReload(t.styles),o.delete(e)):e.parent?Zn(()=>{W=!0,e.parent.update(),W=!1,o.delete(e)}):e.appContext.reload?e.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),e.root.ce&&e!==e.root&&e.root.ce._removeChildStyle(i)}lr(()=>{Lt.clear()})}function er(e,t){_(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function ei(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn(`[HMR] Something went wrong during Vue component hot-reload. Full reload required.`)}}}Je=[],ys=!1;function Ft(e,...t){ie?ie.emit(e,...t):ys||Je.push({event:e,args:t})}function Ad(e,t){var n,s;if(ie=e,ie)ie.enabled=!0,Je.forEach(({event:e,args:t})=>ie.emit(e,...t)),Je=[];else if(typeof window!="undefined"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)==null?void 0:s.includes("jsdom"))){const e=t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[];e.push(e=>{Ad(e,t)}),setTimeout(()=>{ie||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ys=!0,Je=[])},3e3)}else ys=!0,Je=[]}function G1(e,t){Ft("app:init",e,t,{Fragment:j,Text:tt,Comment:H,Static:un})}function B1(e){Ft("app:unmount",e)}yu=Hs("component:added"),io=Hs("component:updated"),e1=Hs("component:removed"),Ku=e=>{ie&&typeof ie.cleanupBuffer=="function"&&!ie.cleanupBuffer(e)&&e1(e)};function Hs(e){return t=>{Ft(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}fc=ea("perf:start"),ml=ea("perf:end");function ea(e){return(t,n,s)=>{Ft(e,t.appContext.app,t.uid,t,n,s)}}function B0(e,t,n){Ft("component:emit",e.appContext.app,e,t,n)}A=null,Ns=null;function mn(e){const t=A;return A=e,Ns=e&&e.type.__scopeId||null,t}function s4(e,t=A){if(!t)return e;if(e._n)return e;const s=(...n)=>{s._d&&xa(-1);const i=mn(t);let o;try{o=e(...n)}finally{mn(i),s._d&&xa(1)}return!0&&io(t),o};return s._n=!0,s._c=!0,s._d=!0,s}function Md(t){Vc(t)&&e("Do not use built-in directive ids as custom directive id: "+t)}function Ss(t,n){if(A===null)return e(`withDirectives can only be used inside render functions.`),t;const s=Jn(A),o=t.dirs||(t.dirs=[]);for(let t=0;t<n.length;t++){let[e,a,r,c=u]=n[t];e&&(i(e)&&(e={mounted:e,updated:e}),e.deep&&ve(a),o.push({dir:e,instance:s,value:a,oldValue:void 0,arg:r,modifiers:c}))}return t}function Ue(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const r=o[a];i&&(r.oldValue=i[a].value);let c=r.dir[s];c&&(we(),Z(c,n,8,[e.el,r,e,t]),ye())}}Dd=Symbol("_vte"),Rd=e=>e.__isTeleport,Y1=Symbol("_leaveCb"),z1=Symbol("_enterCb");function Us(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Us(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Kt(e,t){return i(e)?(()=>_({name:e.name},t,{setup:e}))():e}
56function au(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}Ys=new WeakSet;function Se(t){const n=ts(),s=Hu(null);if(n){const o=n.refs===u?n.refs={}:n.refs;let i;(i=Object.getOwnPropertyDescriptor(o,t))&&!i.configurable?e(`useTemplateRef('${t}') already exists.`):Object.defineProperty(o,t,{enumerable:!0,get:()=>s.value,set:e=>s.value=e})}else!0&&e(`useTemplateRef() is called when there is no active component instance to be associated with.`);const o=lt(s);return!0&&Ys.add(o),o}function As(t,n,o,a,l=!1){if(s(t)){t.forEach((e,t)=>As(e,n&&(s(n)?n[t]:n),o,a,l));return}if(Et(a)&&!l){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&As(t,n,o,a.component.subTree);return}const f=a.shapeFlag&4?Jn(a.component):a.el,p=l?null:f,{i:g,r:d}=t;if(!g){e(`Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`);return}const h=n&&n.r,m=g.refs===u?g.refs={}:g.refs,v=g.setupState,b=r(v),j=v===u?()=>!1:t=>!(!0&&(c(b,t)&&!w(b[t])&&e(`Template ref "${t}" used on a non-ref value. It will not work in the production build.`),Ys.has(b[t])))&&c(b,t);
56if(h!=null&&h!==d&&(y(h)?(m[h]=null,j(h)&&(v[h]=null)):w(h)&&(h.value=null)),i(d))mt(d,g,12,[p,m]);else{const n=y(d),i=w(d);if(n||i){const a=()=>{if(t.f){const e=n?j(d)?v[d]:m[d]:d.value;l?s(e)&&Pn(e,f):s(e)?e.includes(f)||e.push(f):n?(m[d]=[f],j(d)&&(v[d]=m[d])):(d.value=[f],t.k&&(m[t.k]=d.value))}else n?(m[d]=p,j(d)&&(v[d]=p)):i?(d.value=p,t.k&&(m[t.k]=p)):!0&&e("Invalid template ref type:",d,`(${typeof d})`)};p?(a.id=-1,R(a,o)):a()}else!0&&e("Invalid template ref type:",d,`(${typeof d})`)}}y1=de().requestIdleCallback||(e=>setTimeout(e,1)),v1=de().cancelIdleCallback||(e=>clearTimeout(e)),Et=e=>!!e.type.__asyncLoader,ks=e=>e.type.__isKeepAlive;function j1(e,t){Gu(e,"a",t)}function _1(e,t){Gu(e,"da",t)}function Gu(e,t,n=x){const s=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Es(t,s,n),n){let e=n.parent;for(;e&&e.parent;)ks(e.parent.vnode)&&O1(s,t,n,e),e=e.parent}}function O1(e,t,n,s){const o=Es(t,e,s,!0);wt(()=>{Pn(s[t],o)},n)}function Es(t,n,s=x,o=!1){if(s){const i=s[t]||(s[t]=[]),e=n.__weh||(n.__weh=(...e)=>{we();const o=_t(s),i=Z(n,s,t,e);return o(),ye(),i});return o?i.unshift(e):i.push(e),e}if(!0){const n=Oe(Rn[t].replace(/ hook$/,""));e(`${n} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}J=e=>(t,n=x)=>{(!yt||e==="sp")&&Es(e,(...e)=>t(...e),n)},Uu=J("bm"),Pe=J("m"),Vu=J("bu"),Bu=J("u"),ho=J("bum"),wt=J("um"),Pu=J("sp"),Ru=J("rtg"),Lu=J("rtc");function A1(e,t=x){Es("ec",e,t)}Cs="components";function S1(e,t){return M1(Cs,e,!0,t)||e}pu=Symbol.for("v-ndc");function M1(t,n,s=!0,o=!1){const i=A||x;if(i){const a=i.type;if(t===Cs){const e=gi(a,!1);if(e&&(e===n||e===M(n)||e===Ne(M(n))))return a}const r=du(i[t]||a[t],n)||du(i.appContext[t],n);if(!r&&o)return a;if(s&&!r){const s=t===Cs?` 57If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:``;e(`Failed to resolve ${t.slice(0,-1)}: ${n}${s}`)}return r}!0&&e(`resolve${Ne(t.slice(0,-1))} can only be used in render() or setup().`)}function du(e,t){return e&&(e[t]||e[M(t)]||e[Ne(M(t))])}function V(t,n,o,i){let a;const r=o&&o[i],c=s(t);if(c||y(t)){const s=c&&Ge(t);let e=!1;s&&(e=!D(t),t=bs(t)),a=new Array(t.length);for(let s=0,o=t.length;s<o;s++)a[s]=n(e?S(t[s]):t[s],s,void 0,r&&r[s])}else if(typeof t=="number"){Number.isInteger(t)||e(`The v-for range expect an integer value but got ${t}.`),a=new Array(t);for(let e=0;e<t;e++)a[e]=n(e+1,e,void 0,r&&r[e])}else if(h(t))if(t[Symbol.iterator])a=Array.from(t,(e,t)=>n(e,t,void 0,r&&r[t]));else{const e=Object.keys(t);a=new Array(e.length);for(let s=0,i=e.length;s<i;s++){const o=e[s];a[s]=n(t[o],o,s,r&&r[s])}}else a=[];return o&&(o[i]=a),a}xs=e=>e?or(e)?Jn(e):xs(e.parent):null,Le=_(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>X(e.props),$attrs:e=>X(e.attrs),$slots:e=>X(e.slots),$refs:e=>X(e.refs),$parent:e=>xs(e.parent),$root:e=>xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Ho(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{Zn(e.update)}),$nextTick:e=>e.n||(e.n=vt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?q0.bind(e):O}),Os=e=>e==="_"||e==="$",ws=(e,t)=>e!==u&&!e.__isScriptSetup&&c(e,t),Ao={get({_:t},n){if(n==="__v_skip")return!0;const{ctx:s,setupState:r,data:i,props:d,accessCache:o,type:f,appContext:p}=t;if(n==="__isVue")return!0;let h;if(n[0]!=="$"){const e=o[n];if(e!==void 0)switch(e){case 1:return r[n];case 2:return i[n];case 4:return s[n];case 3:return d[n]}else if(ws(r,n))return o[n]=1,r[n];else if(i!==u&&c(i,n))return o[n]=2,i[n];else if((h=t.propsOptions[0])&&c(h,n))return o[n]=3,d[n];else if(s!==u&&c(s,n))return o[n]=4,s[n];else(!__VUE_OPTIONS_API__||_s)&&(o[n]=0)}const m=Le[n];let a,l;if(m)return n==="$attrs"?(k(t.attrs,"get",""),os()):n==="$slots"&&k(t,"get",n),m(t);if((a=f.__cssModules)&&(a=a[n]))return a;if(s!==u&&c(s,n))return o[n]=4,s[n];if(l=p.config.globalProperties,c(l,n))return l[n];A&&(!y(n)||n.indexOf("__v")!==0)&&(i!==u&&Os(n[0])&&c(i,n)?e(`Property ${JSON.stringify(n)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===A&&e(`Property ${JSON.stringify(n)} was accessed during render but is not defined on instance.`))},set({_:t},n,s){const{data:i,setupState:o,ctx:a}=t;return ws(o,n)?(o[n]=s,!0):o.__isScriptSetup&&c(o,n)?(e(`Cannot mutate <script setup> binding "${n}" from Options API.`),!1):i!==u&&c(i,n)?(i[n]=s,!0):c(t.props,n)?(e(`Attempting to mutate prop "${n}". Props are readonly.`),!1):n[0]==="$"&&n.slice(1)in t?(e(`Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.`),!1):(n in t.appContext.config.globalProperties?Object.defineProperty(a,n,{enumerable:!0,configurable:!0,value:s}):a[n]=s,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},a){let r;return!!n[a]||e!==u&&c(e,a)||ws(t,a)||(r=i[0])&&c(r,a)||c(s,a)||c(Le,a)||c(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:c(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},!0&&(Ao.ownKeys=t=>(e(`Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`),Reflect.ownKeys(t)));function e4(e){const t={};return Object.defineProperty(t,`_`,{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Le).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>Le[n](e),set:O})}),t}function n4(e){const{ctx:n,propsOptions:[t]}=e;t&&Object.keys(t).forEach(t=>{Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:()=>e.props[t],set:O})})}function a4(t){const{ctx:s,setupState:n}=t;
57Object.keys(r(n)).forEach(t=>{if(!n.__isScriptSetup){if(Os(t[0])){e(`setup() return property ${JSON.stringify(t)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(s,t,{enumerable:!0,configurable:!0,get:()=>n[t],set:O})}})}function ld(e){return s(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function r4(){const t=Object.create(null);return(n,s)=>{t[s]?e(`${n} property "${s}" is already defined in ${t[s]}.`):t[s]=n}}_s=!0;function h4(t){const l=Ho(t),n=t.proxy,a=t.ctx;_s=!1,l.beforeCreate&&Rl(l.beforeCreate,t,"bc");const{data:d,computed:u,methods:m,watch:f,provide:c,inject:b,created:j,beforeMount:C,mounted:F,beforeUpdate:z,updated:k,activated:D,deactivated:N,beforeDestroy:R,beforeUnmount:x,destroyed:P,unmounted:T,render:v,renderTracked:A,renderTriggered:S,errorCaptured:M,serverPrefetch:g,expose:p,inheritAttrs:w,components:_,directives:y,filters:L}=l,r=r4();if(!0){const[e]=t.propsOptions;if(e)for(const t in e)r("Props",t)}if(b&&m4(b,a,r),m)for(const t in m){const s=m[t];i(s)?(Object.defineProperty(a,t,{value:s.bind(n),configurable:!0,enumerable:!0,writable:!0}),!0&&r("Methods",t)):!0&&e(`Method "${t}" has type "${typeof s}" in the component definition. Did you reference the function correctly?`)}if(d){i(d)||e(`The data option must be a function. Plain object usage is no longer supported.`);const s=d.call(n,n);if(Hn(s)&&e(`data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`),h(s)){if(t.data=dt(s),!0)for(const e in s)r("Data",e),Os(e[0])||Object.defineProperty(a,e,{configurable:!0,enumerable:!0,get:()=>s[e],set:O})}else e(`data() should return an object.`)}if(_s=!0,u)for(const s in u){const t=u[s],o=i(t)?t.bind(n,n):i(t.get)?t.get.bind(n,n):O;o===O&&e(`Computed property "${s}" has no getter.`);const l=!i(t)&&i(t.set)?t.set.bind(n):()=>{e(`Write operation failed: computed property "${s}" is readonly.`)},c=E({get:o,set:l});Object.defineProperty(a,s,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e}),!0&&r("Computed",s)}if(f)for(const e in f)Ll(f[e],a,n,e);if(c){const e=i(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{uc(t,e[t])})}j&&Rl(j,t,"c");function o(e,t){s(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(o(Uu,C),o(Pe,F),o(Vu,z),o(Bu,k),o(j1,D),o(_1,N),o(A1,M),o(Lu,A),o(Ru,S),o(ho,x),o(wt,T),o(Pu,g),s(p))if(p.length){const e=t.exposed||(t.exposed={});p.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});v&&t.render===O&&(t.render=v),w!=null&&(t.inheritAttrs=w),_&&(t.components=_),y&&(t.directives=y),g&&au(t)}function m4(e,t,n=O){s(e)&&(e=Wo(e));for(const o in e){const i=e[o];let s;h(i)?"default"in i?s=$e(i.from||o,i.default,!0):s=$e(i.from||o):s=$e(i),w(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[o]=s,!0&&n("Inject",o)}}function Rl(e,t,n){Z(s(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ll(t,n,o,a){let r=a.includes(".")?Qi(o,a):()=>o[a];if(y(t)){const s=n[t];i(s)?N(r,s):!0&&e(`Invalid watch handler specified by key "${t}"`,s)}else if(i(t))N(r,t.bind(o));else if(h(t))if(s(t))t.forEach(e=>Ll(e,n,o,a));else{const s=i(t.handler)?t.handler.bind(o):n[t.handler];i(s)?N(r,s,t):!0&&e(`Invalid watch handler specified by key "${t.handler}"`,s)}else!0&&e(`Invalid watch option: "${a}"`,t)}function Ho(e){const n=e.type,{mixins:r,extends:c}=n,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(n);let t;return a?t=a:!s.length&&!r&&!c?t=n:(t={},s.length&&s.forEach(e=>js(t,e,i,!0)),js(t,n,i)),h(n)&&o.set(n,t),t}function js(t,n,s,o=!1){const{mixins:i,extends:a}=n;a&&js(t,a,s,!0),i&&i.forEach(e=>js(t,e,s,!0));for(const i in n)if(o&&i==="expose")e(`"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.`);else{const e=Ml[i]||s&&s[i];t[i]=e?e(t[i],n[i]):n[i]}return t}Ml={data:xl,props:gl,emits:gl,methods:Ht,computed:Ht,beforeCreate:L,created:L,beforeMount:L,mounted:L,beforeUpdate:L,updated:L,beforeDestroy:L,beforeUnmount:L,destroyed:L,unmounted:L,activated:L,deactivated:L,errorCaptured:L,serverPrefetch:L,components:Ht,directives:Ht,watch:M4,provide:xl,inject:O4};function xl(e,t){return t?e?function(){return _(i(e)?e.call(this,this):e,i(t)?t.call(this,this):t)}:t:e}function O4(e,t){return Ht(Wo(e),Wo(t))}function Wo(e){if(s(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function L(e,t){return e?[...new Set([].concat(e,t))]:t}function Ht(e,t){return e?_(Object.create(null),e,t):t}function gl(e,t){return e?s(e)&&s(t)?[...new Set([...e,...t])]:_(Object.create(null),ld(e),ld(t??{})):t}function M4(e,t){if(!e)return t;if(!t)return e;const n=_(Object.create(null),e);for(const s in t)n[s]=L(e[s],t[s]);return n}function ll(){return{app:null,config:{isNativeTag:Hl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}al=0;function I4(t,n){return function(o,a=null){i(o)||(o=_({}
57,o)),a!=null&&!h(a)&&(e(`root props passed to app.mount() must be an object.`),a=null);const c=ll(),l=new WeakSet,u=[];let d=!1;const r=c.app={_uid:al++,_component:o,_props:a,_container:null,_context:c,_instance:null,version:pi,get config(){return c.config},set config(t){!0&&e(`app.config cannot be replaced. Modify individual options instead.`)},use(t,...n){return l.has(t)?e(`Plugin has already been applied to target app.`):t&&i(t.install)?(l.add(t),t.install(r,...n)):i(t)?(l.add(t),t(r,...n)):!0&&e(`A plugin must either be a function or an object with an "install" function.`),r},mixin(t){return __VUE_OPTIONS_API__?c.mixins.includes(t)?!0&&e("Mixin has already been applied to target app"+(t.name?`: ${t.name}`:"")):c.mixins.push(t):!0&&e("Mixins are only available in builds supporting Options API"),r},component(t,n){return!0&&ji(t,c.config),n?(c.components[t]&&e(`Component "${t}" has already been registered in target app.`),c.components[t]=n,r):c.components[t]},directive(t,n){return!0&&Md(t),n?(c.directives[t]&&e(`Directive "${t}" has already been registered in target app.`),c.directives[t]=n,r):c.directives[t]},mount(s,i,l){if(!d){s.__vue_app__&&e(`There is already an app instance mounted on the host container. 58 If you want to mount another app on the same host container, you need to unmount the previous app by calling \`app.unmount()\` first.`);const u=r._ceVNode||g(o,a);return u.appContext=c,l===!0?l="svg":l===!1&&(l=void 0),!0&&(c.reload=()=>{t(Te(u),s,l)}),i&&n?n(u,s):t(u,s,l),d=!0,r._container=s,s.__vue_app__=r,!0&&(r._instance=u.component,G1(r,pi)),Jn(u.component)}!0&&e(`App has already been mounted. 59If you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. \`const createMyApp = () => createApp(App)\``)},onUnmount(t){typeof t!="function"&&e(`Expected function as first argument to app.onUnmount(), but got ${typeof t}`),u.push(t)},unmount(){d?(Z(u,r._instance,16),t(null,r._container),!0&&(r._instance=null,B1(r)),delete r._container.__vue_app__):!0&&e(`Cannot unmount an app that is not mounted.`)},provide(t,n){return t in c.provides&&e(`App already provides property with key "${String(t)}". It will be overwritten with the new value.`),c.provides[t]=n,r},runWithContext(e){const t=Ie;Ie=r;try{return e()}finally{Ie=t}}};return r}}Ie=null;function uc(t,n){if(x){let e=x.provides;const s=x.parent&&x.parent.provides;s===e&&(e=x.provides=Object.create(s)),e[t]=n}else!0&&e(`provide() can only be used inside setup().`)}function $e(t,n,s=!1){const o=x||A;if(o||Ie){const a=Ie?Ie._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(a&&t in a)return a[t];if(arguments.length>1)return s&&i(n)?n.call(o&&o.proxy):n;!0&&e(`injection "${String(t)}" not found.`)}else!0&&e(`inject() can only be used inside setup() or functional components.`)}ti={},ni=()=>Object.create(ti),si=e=>Object.getPrototypeOf(e)===ti;function n0(e,t,n,s=!1){const o={},i=ni();e.propsDefaults=Object.create(null),qr(e,t,o,i);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);!0&&Sr(t||{},o,e),n?e.props=s?o:Z1(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function o0(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function a0(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:u}}=e,l=r(i),[d]=e.propsOptions;let a=!1;if(!o0(e)&&(s||u>0)&&!(u&16)){if(u&8){const n=e.vnode.dynamicProps;for(let u=0;u<n.length;u++){let s=n[u];if(cs(e.emitsOptions,s))continue;const r=t[s];if(d)if(c(o,s))r!==o[s]&&(o[s]=r,a=!0);else{const t=M(s);i[t]=ci(d,l,t,r,e,!1)}else r!==o[s]&&(o[s]=r,a=!0)}}}else{qr(e,t,i,o)&&(a=!0);let s;for(const o in l)(!t||!c(t,o)&&((s=le(o))===o||!c(t,s)))&&(d?n&&(n[o]!==void 0||n[s]!==void 0)&&(i[o]=ci(d,l,o,void 0,e,!0)):delete i[o]);if(o!==l)for(const e in o)(!t||!c(t,e)&&!0)&&(delete o[e],a=!0)}a&&ee(e.attrs,"set",""),!0&&Sr(t||{},i,e)}function qr(e,t,n,s){const[i,o]=e.propsOptions;let l=!1,a;if(t)for(let r in t){if(rt(r))continue;const d=t[r];let u;i&&c(i,u=M(r))?!o||!o.includes(u)?n[u]=d:(a||(a={}))[u]=d:cs(e.emitsOptions,r)||(!(r in s)||d!==s[r])&&(s[r]=d,l=!0)}if(o){const s=r(n),t=a||u;
59for(let r=0;r<o.length;r++){const a=o[r];n[a]=ci(i,s,a,t[a],e,!c(t,a))}}return l}function ci(e,t,n,s,o,a){const r=e[n];if(r!=null){const e=c(r,"default");if(e&&s===void 0){const e=r.default;if(r.type!==Function&&!r.skipFactory&&i(e)){const{propsDefaults:i}=o;if(n in i)s=i[n];else{const a=_t(o);s=i[n]=e.call(null,t),a()}}else s=e;o.ce&&o.ce._setProp(n,s)}r[0]&&(a&&!e?s=!1:r[1]&&(s===""||s===le(n))&&(s=!0))}return s}Kr=new WeakMap;function Ur(t,n,o=!1){const l=__VUE_OPTIONS_API__&&o?Kr:n.propsCache,m=l.get(t);if(m)return m;const a=t.props,r={},d=[];let f=!1;if(__VUE_OPTIONS_API__&&!i(t)){const e=e=>{f=!0;const[s,t]=Ur(e,n,!0);_(r,s),t&&d.push(...t)};!o&&n.mixins.length&&n.mixins.forEach(e),t.extends&&e(t.extends),t.mixins&&t.mixins.forEach(e)}if(!a&&!f)return h(t)&&l.set(t,Ve),Ve;if(s(a))for(let t=0;t<a.length;t++){y(a[t])||e(`props must be strings when using array syntax.`,a[t]);const n=M(a[t]);Pr(n)&&(r[n]=u)}else if(a){h(a)||e(`invalid props options`,a);for(const t in a){const e=M(t);if(Pr(e)){const o=a[t],l=r[e]=s(o)||i(o)?{type:o}:_({},o),n=l.type;let u=!1,h=!0;if(s(n))for(let e=0;e<n.length;++e){const t=n[e],s=i(t)&&t.name;if(s==="Boolean"){u=!0;break}s==="String"&&(h=!1)}else u=i(n)&&n.name==="Boolean";l[0]=u,l[1]=h,(u||c(l,"default"))&&d.push(e)}}}const p=[r,d];return h(t)&&l.set(t,p),p}function Pr(t){return t[0]!=="$"&&!rt(t)||(!0&&e(`Invalid prop name: "${t}" is a reserved property.`),!1)}function u0(e){if(e===null)return"null";if(typeof e=="function")return e.name||"";if(typeof e=="object"){const t=e.constructor&&e.constructor.name;return t||""}return""}function Sr(e,t,n){const s=r(t),o=n.propsOptions[0],i=Object.keys(e).map(e=>M(e));for(const e in o){let t=o[e];if(t==null)continue;h0(e,s[e],t,X(s),!i.includes(e))}}function h0(t,n,o,i,a){const{type:r,required:c,validator:l,skipCheck:d}=o;if(c&&a){e('Missing required prop: "'+t+'"');return}if(n==null&&!c)return;if(r!=null&&r!==!0&&!d){let o=!1;const i=s(r)?r:[r],a=[];for(let e=0;e<i.length&&!o;e++){const{valid:t,expectedType:s}=p0(n,i[e]);a.push(s||""),o=t}if(!o){e(b0(t,n,a));return}}l&&!l(n,i)&&e('Invalid prop: custom validator check failed for prop "'+t+'".')}Cr=ne("String,Number,Boolean,Function,Symbol,BigInt");function p0(e,t){let n;const o=u0(t);if(o==="null")n=e===null;else if(Cr(o)){const s=typeof e;n=s===o.toLowerCase(),!n&&s==="object"&&(n=e instanceof t)}else o==="Object"?n=h(e):o==="Array"?n=s(e):n=e instanceof t;return{valid:n,expectedType:o}}function b0(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Ne).join(" | ")}`;const i=n[0],o=In(t),a=ur(t,i),r=ur(t,o);return n.length===1&&sr(i)&&!_0(i,o)&&(s+=` with value ${a}`),s+=`, got ${o} `,sr(o)&&(s+=`with value ${r}.`),s}function ur(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function sr(e){const t=["string","number","boolean"];return t.some(t=>e.toLowerCase()===t)}function _0(...e){return e.some(e=>e.toLowerCase()==="boolean")}_i=e=>e[0]==="_"||e==="$stable",gs=e=>s(e)?e.map(Y):[Y(e)],Ja=(t,n,s)=>{if(n._n)return n;const o=s4((...o)=>(x&&(!s||s.root===x.root)&&e(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),gs(n(...o))),s);return o._c=!1,o},xi=(t,n)=>{const o=t._ctx;for(const s in t){if(_i(s))continue;const a=t[s];if(i(a))n[s]=Ja(s,a,o);else if(a!=null){!0&&e(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const t=gs(a);n[s]=()=>t}}},Ci=(t,n)=>{!ks(t.vnode)&&!0&&e(`Non-function value encountered for default slot. Prefer function slots for better performance.`);const s=gs(n);t.slots.default=()=>s},ps=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Ba=(e,t,n)=>{const s=e.slots=ni();if(e.vnode.shapeFlag&32){const e=t._;e?(ps(s,t,n),n&&Zt(s,"_",e,!0)):xi(t,s)}else t&&Ci(e,t)},Ia=(e,t,n)=>{const{vnode:a,slots:s}=e;let o=!0,i=u;if(a.shapeFlag&32){const a=t._;a?W?(ps(s,t,n),ee(e,"set","$slots")):n&&a===1?o=!1:ps(s,t,n):(o=!t.$stable,xi(t,s)),i=t}else t&&(Ci(e,t),i={default:1});if(o)for(const e in s)!_i(e)&&i[e]==null&&delete s[e]};function be(e,t){e.appContext.config.performance&&us()&&xe.mark(`vue-${t}-${e.uid}`),!0&&fc(e,t,us()?xe.now():Date.now())}function je(e,t){if(e.appContext.config.performance&&us()){const n=`vue-${t}-${e.uid}`,s=n+`:end`;xe.mark(s),xe.measure(`<${Qn(e,e.type)}> ${t}`,n,s),xe.clearMarks(n),xe.clearMarks(s)}!0&&ml(e,t,us()?xe.now():Date.now())}function us(){return Jt!==void 0?Jt:(typeof window!="undefined"&&window.performance?(Jt=!0,xe=window.performance):Jt=!1,Jt)}function D0(){const e=[];
59if(typeof __VUE_OPTIONS_API__!="boolean"&&(e.push(`__VUE_OPTIONS_API__`),de().__VUE_OPTIONS_API__=!0),typeof __VUE_PROD_DEVTOOLS__!="boolean"&&(e.push(`__VUE_PROD_DEVTOOLS__`),de().__VUE_PROD_DEVTOOLS__=!1),typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(e.push(`__VUE_PROD_HYDRATION_MISMATCH_DETAILS__`),de().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1),e.length){const t=e.length>1;console.warn(`Feature flag${t?`s`:``} ${e.join(", ")} ${t?`are`:`is`} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle. 60 61For more details, see https://link.vuejs.org/feature-flags.`)}}R=L0;function N0(e){return R0(e)}function R0(t,n){D0();const b=de();b.__VUE__=!0,!0&&Ad(b.__VUE_DEVTOOLS_GLOBAL_HOOK__,b);const{insert:o,remove:r,patchProp:i,createElement:ie,createText:v,createComment:oe,setText:se,setElementText:h,parentNode:F,nextSibling:l,setScopeId:T=O,insertStaticContent:A}=t,s=(t,n,s,o=null,i=null,r=null,l=void 0,d=null,u=!W&&!!n.dynamicChildren)=>{if(t===n)return;t&&!Dt(t,n)&&(o=p(t),a(t,i,r,!0),t=null),n.patchFlag===-2&&(u=!1,n.dynamicChildren=null);const{type:h,ref:f,shapeFlag:m}=n;switch(h){case tt:Z(t,n,s,o);break;case H:D(t,n,s,o);break;case un:t==null?q(n,s,o,l):!0&&K(t,n,s,l);break;case j:G(t,n,s,o,i,r,l,d,u);break;default:m&1?J(t,n,s,o,i,r,l,d,u):m&6?U(t,n,s,o,i,r,l,d,u):m&64?h.process(t,n,s,o,i,r,l,d,u,c):m&128?h.process(t,n,s,o,i,r,l,d,u,c):!0&&e("Invalid VNode type:",h,`(${typeof h})`)}f!=null&&i&&As(f,t&&t.ref,r,n||t,!n)},Z=(e,t,n,s)=>{if(e==null)o(t.el=v(t.children),n,s);else{const n=t.el=e.el;t.children!==e.children&&se(n,t.children)}},D=(e,t,n,s)=>{e==null?o(t.el=oe(t.children||""),n,s):t.el=e.el},q=(e,t,n,s)=>{[e.el,e.anchor]=A(e.children,t,n,s,e.el,e.anchor)},K=(e,t,n,s)=>{if(t.children!==e.children){const o=l(e.anchor);S(e),[t.el,t.anchor]=A(t.children,n,o,s)}else t.el=e.el,t.anchor=e.anchor},X=({el:e,anchor:t},n,s)=>{let i;for(;e&&e!==t;)i=l(e),o(e,n,s),e=i;o(t,n,s)},S=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=l(e),r(e),e=n;r(t)},J=(e,t,n,s,o,i,a,r,c)=>{t.type==="svg"?a="svg":t.type==="math"&&(a="mathml"),e==null?ne(t,n,s,o,i,a,r,c):ee(e,t,o,i,a,r,c)},ne=(e,t,n,s,a,r,c,l)=>{let u,f;const{props:m,shapeFlag:b,transition:g,dirs:p}=e;if(u=e.el=ie(e.type,r,m&&m.is,m),b&8?h(u,e.children):b&16&&d(e.children,u,null,s,a,Pi(e,r),c,l),p&&Ue(e,null,s,"created"),P(u,e,e.scopeId,c,s),m){for(const e in m)e!=="value"&&!rt(e)&&i(u,e,null,m[e],r,s);"value"in m&&i(u,"value",null,m.value,r),(f=m.onVnodeBeforeMount)&&te(f,s,e)}!0&&(Zt(u,"__vnode",e,!0),Zt(u,"__vueParentComponent",s,!0)),p&&Ue(e,null,s,"beforeMount");const v=I0(a,g);v&&g.beforeEnter(u),o(u,t,n),((f=m&&m.onVnodeMounted)||v||p)&&R(()=>{f&&te(f,s,e),v&&g.enter(u),p&&Ue(e,null,s,"mounted")},a)},P=(e,t,n,s,o)=>{if(n&&T(e,n),s)for(let t=0;t<s.length;t++)T(e,s[t]);if(o){let n=o.subTree;if(n.patchFlag>0&&n.patchFlag&2048&&(n=Bi(n.children)||n),t===n||Ri(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;P(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},d=(e,t,n,o,i,a,r,c,l=0)=>{for(let d=l;d<e.length;d++){const u=e[d]=c?Ee(e[d]):Y(e[d]);s(null,u,t,n,o,i,a,r,c)}},ee=(e,t,n,s,o,a,r)=>{const c=t.el=e.el;!0&&(c.__vnode=t);let{patchFlag:d,dynamicChildren:p,dirs:g}=t;d|=e.patchFlag&16;const m=e.props||u,l=t.props||u;let f;if(n&&Qe(n,!1),(f=l.onVnodeBeforeUpdate)&&te(f,n,t,e),g&&Ue(t,e,n,"beforeUpdate"),n&&Qe(n,!0),W&&(d=0,r=!1,p=null),(m.innerHTML&&l.innerHTML==null||m.textContent&&l.textContent==null)&&h(c,""),p?(k(e.dynamicChildren,p,c,n,s,Pi(t,o),a),!0&&ds(e,t)):r||C(e,t,c,null,n,s,Pi(t,o),a,!1),d>0){if(d&16)z(c,m,l,n,o);else if(d&2&&m.class!==l.class&&i(c,"class",null,l.class,o),d&4&&i(c,"style",m.style,l.style,o),d&8){const e=t.dynamicProps;for(let s=0;s<e.length;s++){const t=e[s],a=m[t],r=l[t];(r!==a||t==="value")&&i(c,t,a,r,o,n)}}d&1&&e.children!==t.children&&h(c,t.children)}else!r&&p==null&&z(c,m,l,n,o);((f=l.onVnodeUpdated)||g)&&R(()=>{f&&te(f,n,t,e),g&&Ue(t,e,n,"updated")},s)},k=(e,t,n,o,i,a,r)=>{for(let l=0;l<t.length;
61l++){const c=e[l],d=t[l],u=c.el&&(c.type===j||!Dt(c,d)||c.shapeFlag&(6|64))?F(c.el):n;s(c,d,u,null,o,i,a,r,!0)}},z=(e,t,n,s,o)=>{if(t!==n){if(t!==u)for(const a in t)!rt(a)&&!(a in n)&&i(e,a,t[a],null,o,s);for(const a in n){if(rt(a))continue;const r=n[a],c=t[a];r!==c&&a!=="value"&&i(e,a,c,r,o,s)}"value"in n&&i(e,"value",t.value,n.value,o)}},G=(e,t,n,s,i,a,r,c,l)=>{const p=t.el=e?e.el:v(""),h=t.anchor=e?e.anchor:v("");let{patchFlag:u,dynamicChildren:m,slotScopeIds:f}=t;(W||u&2048)&&(u=0,l=!1,m=null),f&&(c=c?c.concat(f):f),e==null?(o(p,n,s),o(h,n,s),d(t.children||[],n,h,i,a,r,c,l)):u>0&&u&64&&m&&e.dynamicChildren?(k(e.dynamicChildren,m,n,i,a,r,c),ds(e,t)):C(e,t,n,h,i,a,r,c,l)},U=(e,t,n,s,o,i,a,r,c)=>{t.slotScopeIds=r,e==null?t.shapeFlag&512?o.ctx.activate(t,n,s,a,c):L(t,n,s,o,i,a,c):$(e,t,c)},L=(e,t,n,s,o,i,a)=>{const r=e.component=O0(e,s,o);if(r.type.__hmrId&&V0(r),!0&&(An(e),be(r,`mount`)),ks(e)&&(r.ctx.renderer=c),!0&&be(r,`init`),y0(r,!1,a),!0&&je(r,`init`),r.asyncDep){if(W&&(e.el=null),o&&o.registerDep(r,I,a),!e.el){const e=r.subTree=g(H);D(null,e,t,n)}}else I(r,e,t,n,o,i,a);!0&&(Sn(),je(r,`mount`))},$=(e,t,n)=>{const s=t.component=e.component;if(H0(e,t,n)){if(s.asyncDep&&!s.asyncResolved){!0&&An(t),E(s,t,n),!0&&Sn();return}s.next=t,s.update()}else t.el=e.el,s.vnode=t},I=(e,t,n,o,i,a,r)=>{const d=()=>{if(e.isMounted){let{next:t,bu:u,u:h,parent:m,vnode:n}=e;{const s=oa(e);if(s){t&&(t.el=n.el,E(e,t,r)),s.asyncDep.then(()=>{e.isUnmounted||d()});return}}let f=t,o;!0&&An(t||e.vnode),Qe(e,!1),t?(t.el=n.el,E(e,t,r)):t=n,u&&Re(u),(o=t.props&&t.props.onVnodeBeforeUpdate)&&te(o,m,t,n),Qe(e,!0),!0&&be(e,`render`);const c=$i(e);!0&&je(e,`render`);const l=e.subTree;e.subTree=c,!0&&be(e,`patch`),s(l,c,F(l.el),p(l),e,i,a),!0&&je(e,`patch`),t.el=c.el,f===null&&P0(e,c.el),h&&R(h,i),(o=t.props&&t.props.onVnodeUpdated)&&R(()=>te(o,m,t,n),i),!0&&io(e),!0&&Sn()}else{let c;const{el:d,props:l}=t,{bm:m,m:f,parent:r,root:p,type:u}=e,h=Et(t);if(Qe(e,!1),m&&Re(m),!h&&(c=l&&l.onVnodeBeforeMount)&&te(c,r,t),Qe(e,!0),d&&x){const t=()=>{!0&&be(e,`render`),e.subTree=$i(e),!0&&je(e,`render`),!0&&be(e,`hydrate`),x(d,e.subTree,e,i,null),!0&&je(e,`hydrate`)};h&&u.__asyncHydrate?u.__asyncHydrate(d,e,t):t()}else{p.ce&&p.ce._injectChildStyle(u),!0&&be(e,`render`);const r=e.subTree=$i(e);!0&&je(e,`render`),!0&&be(e,`patch`),s(null,r,n,o,e,i,a),!0&&je(e,`patch`),t.el=r.el}if(f&&R(f,i),!h&&(c=l&&l.onVnodeMounted)){const e=t;R(()=>te(c,r,e),i)}(t.shapeFlag&256||r&&Et(r.vnode)&&r.vnode.shapeFlag&256)&&e.a&&R(e.a,i),e.isMounted=!0,!0&&yu(e),t=n=o=null}};e.scope.on();const c=e.effect=new Fi(d);e.scope.off();const u=e.update=c.run.bind(c),l=e.job=c.runIfDirty.bind(c);
61l.i=e,l.id=e.uid,c.scheduler=()=>Zn(l),Qe(e,!0),!0&&(c.onTrack=e.rtc?t=>Re(e.rtc,t):void 0,c.onTrigger=e.rtg?t=>Re(e.rtg,t):void 0),u()},E=(e,t,n)=>{t.component=e;const s=e.vnode.props;e.vnode=t,e.next=null,a0(e,t.props,s,n),Ia(e,t.children,n),we(),Qa(e),ye()},C=(e,t,n,s,o,i,a,r,c=!1)=>{const l=e&&e.children,f=e?e.shapeFlag:0,u=t.children,{patchFlag:p,shapeFlag:g}=t;if(p>0){if(p&128){N(l,u,n,s,o,i,a,r,c);return}if(p&256){B(l,u,n,s,o,i,a,r,c);return}}g&8?(f&16&&m(l,o,i),u!==l&&h(n,u)):f&16?g&16?N(l,u,n,s,o,i,a,r,c):m(l,o,i,!0):(f&8&&h(n,""),g&16&&d(u,n,s,o,i,a,r,c))},B=(e,t,n,o,i,a,r,c,l)=>{e=e||Ve,t=t||Ve;const f=e.length,p=t.length,h=Math.min(f,p);let u;for(u=0;u<h;u++){const o=t[u]=l?Ee(t[u]):Y(t[u]);s(e[u],o,n,null,i,a,r,c,l)}f>p?m(e,i,a,!0,!1,h):d(t,n,o,i,a,r,c,l,h)},N=(t,n,o,i,r,c,l,d,u)=>{let h=0;const g=n.length;let p=t.length-1,m=g-1;for(;h<=p&&h<=m;){const e=t[h],i=n[h]=u?Ee(n[h]):Y(n[h]);if(Dt(e,i))s(e,i,o,null,r,c,l,d,u);else break;h++}for(;h<=p&&h<=m;){const e=t[p],i=n[m]=u?Ee(n[m]):Y(n[m]);if(Dt(e,i))s(e,i,o,null,r,c,l,d,u);else break;p--,m--}if(h>p){if(h<=m){const e=m+1,t=e<g?n[e].el:i;for(;h<=m;)s(null,n[h]=u?Ee(n[h]):Y(n[h]),o,t,r,c,l,d,u),h++}}else if(h>m)for(;h<=p;)a(t[h],r,c,!0),h++;else{const E=h,b=h,_=new Map;for(h=b;h<=m;h++){const t=n[h]=u?Ee(n[h]):Y(n[h]);t.key!=null&&(_.has(t.key)&&e(`Duplicate keys found during update:`,JSON.stringify(t.key),`Make sure keys are unique.`),_.set(t.key,h))}let v,O=0;const y=m-b+1;let w=!1,x=0;const j=new Array(y);for(h=0;h<y;h++)j[h]=0;for(h=E;h<=p;h++){const i=t[h];if(O>=y){a(i,r,c,!0);continue}let e;if(i.key!=null)e=_.get(i.key);else for(v=b;v<=m;v++)if(j[v-b]===0&&Dt(i,n[v])){e=v;break}e===void 0?a(i,r,c,!0):(j[e-b]=h+1,e>=x?x=e:w=!0,s(i,n[e],o,null,r,c,l,d,u),O++)}const C=w?$0(j):Ve;v=C.length-1;for(h=y-1;h>=0;h--){const e=b+h,t=n[e],a=e+1<g?n[e+1].el:i;j[h]===0?s(null,t,o,a,r,c,l,d,u):w&&(v<0||h!==C[v]?f(t,o,a,2):v--)}}},f=(e,t,n,s,i=null)=>{const{el:a,type:d,transition:r,children:u,shapeFlag:l}=e;if(l&6){f(e.component.subTree,t,n,s);return}if(l&128){e.suspense.move(t,n,s);return}if(l&64){d.move(e,t,n,c);return}if(d===j){o(a,t,n);for(let e=0;e<u.length;e++)f(u[e],t,n,s);o(e.anchor,t,n);return}if(d===un){X(e,t,n);return}const h=s!==2&&l&1&&r;if(h)if(s===0)r.beforeEnter(a),o(a,t,n),R(()=>r.enter(a),i);else{const{leave:l,delayLeave:e,afterLeave:s}=r,i=()=>o(a,t,n),c=()=>{l(a,()=>{i(),s&&s()})};e?e(a,i,c):c()}else o(a,t,n)},a=(e,t,n,s=!1,o=!1)=>{const{type:h,props:r,ref:f,children:v,dynamicChildren:d,shapeFlag:i,patchFlag:l,dirs:b,cacheIndex:p}=e;if(l===-2&&(o=!1),f!=null&&As(f,null,n,e,!0),p!=null&&(t.renderCache[p]=void 0),i&256){t.ctx.deactivate(e);return}const u=i&1&&b,g=!Et(e);let a;if(g&&(a=r&&r.onVnodeBeforeUnmount)&&te(a,t,e),i&6)Q(e.component,n,s);else{if(i&128){e.suspense.unmount(n,s);return}u&&Ue(e,null,t,"beforeUnmount"),i&64?e.type.remove(e,t,n,c,s):d&&!d.hasOnce&&(h!==j||l>0&&l&64)?m(d,t,n,!1,!0):(h===j&&l&(128|256)||!o&&i&16)&&m(v,t,n),s&&_(e)}(g&&(a=r&&r.onVnodeUnmounted)||u)&&R(()=>{a&&te(a,t,e),u&&Ue(e,null,t,"unmounted")},n)},_=e=>{const{type:o,el:n,anchor:i,transition:t}=e;if(o===j){e.patchFlag>0&&e.patchFlag&2048&&t&&!t.persisted?e.children.forEach(e=>{e.type===H?r(e.el):_(e)}):V(n,i);return}if(o===un){S(e);return}const s=()=>{r(n),t&&!t.persisted&&t.afterLeave&&t.afterLeave()};if(e.shapeFlag&1&&t&&!t.persisted){const{leave:a,delayLeave:o}=t,i=()=>a(n,s);o?o(e.el,s,i):i()}else s()},V=(e,t)=>{let n;for(;e!==t;)n=l(e),r(e),e=n;r(t)},Q=(e,t,n)=>{e.type.__hmrId&&z0(e);const{bum:s,scope:r,job:o,subTree:c,um:i,m:l,a:d}=e;na(l),na(d),s&&Re(s),r.stop(),o&&(o.flags|=8,a(c,e,t,n)),i&&R(i,t),R(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,t.deps===0&&t.resolve()),!0&&Ku(e)},m=(e,t,n,s=!1,o=!1,i=0)=>{for(let r=i;r<e.length;r++)a(e[r],t,n,s,o)},p=e=>{if(e.shapeFlag&6)return p(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();const t=l(e.anchor||e.el),n=t&&t[Dd];return n?l(n):t};let y=!1;const M=(e,t,n)=>{e==null?t._vnode&&a(t._vnode,null,null,!0):s(t._vnode||null,e,t,null,null,null,n),t._vnode=e,y||(y=!0,Qa(),Na(),y=!1)},c={p:s,um:a,m:f,r:_,mt:L,mc:d,pc:C,pbc:k,n:p,o:t};let w,x;return n&&([w,x]=n(c)),{render:M,hydrate:w,createApp:I4(M,w)}}function Pi({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Qe({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=~32,t.flags&=~4)}function I0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ds(e,t,n=!1){const i=e.children,o=t.children;if(s(i)&&s(o))for(let t=0;t<i.length;t++){const s=i[t];let e=o[t];e.shapeFlag&1&&!e.dynamicChildren&&((e.patchFlag<=0||e.patchFlag===32)&&(e=o[t]=Ee(o[t]),e.el=s.el),!n&&e.patchFlag!==-2&&ds(s,e)),e.type===tt&&(e.el=s.el),e.type===
61H&&!e.el&&(e.el=s.el)}}function $0(e){const a=e.slice(),t=[0];let s,r,n,o,i;const c=e.length;for(s=0;s<c;s++){const l=e[s];if(l!==0){if(r=t[t.length-1],e[r]<l){a[s]=r,t.push(s);continue}for(n=0,o=t.length-1;n<o;)i=n+o>>1,e[t[i]]<l?n=i+1:o=i;l<e[t[n]]&&(n>0&&(a[s]=t[n-1]),t[n]=s)}}for(n=t.length,o=t[n-1];n-- >0;)t[n]=o,o=a[o];return t}function oa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oa(t)}function na(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}Gi=Symbol.for("v-scx"),yd=()=>{{const t=$e(Gi);return t||e(`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`),t}};function qi(e,t){return Fs(e,null,t)}function N(t,n,s){return i(n)||e(`\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`),Fs(t,n,s)}function Fs(t,n,s=u){const{immediate:l,deep:m,flush:a,once:f}=s;n||(l!==void 0&&e(`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`),m!==void 0&&e(`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`),f!==void 0&&e(`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`));const o=_({},s);!0&&(o.onWarn=e);const d=n&&l||!n&&a!=="post";let r;if(yt)if(a==="sync"){const e=yd();r=e.__watcherHandles||(e.__watcherHandles=[])}else if(!d){const e=()=>{};return e.stop=O,e.resume=O,e.pause=O,e}const i=x;o.call=(e,t,n)=>Z(e,i,t,n);let h=!1;a==="post"?o.scheduler=e=>{R(e,i&&i.suspense)}:a!=="sync"&&(h=!0,o.scheduler=(e,t)=>{t?e():Zn(e)}),o.augmentJob=e=>{n&&(e.flags|=4),h&&(e.flags|=2,i&&(e.id=i.uid,e.i=i))};const c=$1(t,n,o);return yt&&(r?r.push(c):d&&c()),c}function q0(e,t,n){const s=this.proxy,a=y(e)?e.includes(".")?Qi(s,e):()=>s[e]:e.bind(s,s);let o;i(t)?o=t:(o=t.handler,n=t);const r=_t(this),c=Fs(a,o.bind(s),n);return r(),c}function Qi(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}Zi=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${M(t)}Modifiers`]||e[`${le(t)}Modifiers`];function K0(n,t,...r){if(n.isUnmounted)return;const s=n.vnode.props||u;if(!0){const{emitsOptions:s,propsOptions:[o]}=n;if(s)if(!(t in s)&&!0)(!o||!(Oe(M(t))in o))&&e(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Oe(M(t))}" prop.`);else{const n=s[t];if(i(n)){const s=n(...r);s||e(`Invalid event arguments: event validation failed for event "${t}".`)}}}let a=r;const d=t.startsWith("update:"),l=d&&Zi(s,t.slice(7));if(l&&(l.trim&&(a=r.map(e=>y(e)?e.trim():e)),l.number&&(a=r.map(Wt))),!0&&B0(n,t,a),!0){const o=t.toLowerCase();o!==t&&s[Oe(o)]&&e(`Event "${o}" is emitted in component ${Qn(n,n.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${le(t)}" instead of "${t}".`)}let o,c=s[o=Oe(t)]||s[o=Oe(M(t))];!c&&d&&(c=s[o=Oe(le(t))]),c&&Z(c,n,6,a);const h=s[o+`Once`];if(h){if(n.emitted){if(n.emitted[o])return}else n.emitted={};n.emitted[o]=!0,Z(h,n,6,a)}}function ul(e,t,n=!1){const r=t.emitsCache,c=r.get(e);if(c!==void 0)return c;const a=e.emits;let o={},l=!1;if(__VUE_OPTIONS_API__&&!i(e)){const s=e=>{const n=ul(e,t,!0);n&&(l=!0,_(o,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!a&&!l?(h(e)&&r.set(e,null),null):(s(a)?a.forEach(e=>o[e]=null):_(o,a),h(e)&&r.set(e,o),o)}function cs(e,t){return!!e&&!!Ot(t)&&(t=t.slice(2).replace(/Once$/,""),c(e,t[0].toLowerCase()+t.slice(1))||c(e,le(t))||c(e,t))}is=!1;function os(){is=!0}function $i(t){const{type:h,vnode:r,proxy:w,withProxy:_,propsOptions:[m],slots:l,attrs:a,emit:d,render:f,renderCache:p,props:o,data:v,setupState:u,ctx:b,inheritAttrs:j}=t,y=mn(t);let s,i;!0&&(is=!1);try{if(r.shapeFlag&4){const t=_||w,n=u.__isScriptSetup?new Proxy(t,{get(t,n,s){return e(`Property '${String(n)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(t,n,s)}}):t;s=Y(f.call(n,t,p,X(o),u,v,b)),i=a}else{const e=h;a===o&&os(),s=Y(e.length>1?e(X(o),{get attrs(){return os(),X(a)},slots:l,emit:d}):e(X(o),null)),i=h.props?a:ra(a)}}catch(e){ot.length=0,dn(e,t,1),s=g(H)}let n=s,c=void 0;if(s.patchFlag>0&&s.patchFlag&2048&&([n,c]=Vi(s)),i&&j!==!1){const t=Object.keys(i),{shapeFlag:s}=n;
61if(t.length)if(s&(1|6))m&&t.some(St)&&(i=ca(i,m)),n=Te(n,i,!1,!0);else if(!is&&n.type!==H){const s=Object.keys(a),t=[],n=[];for(let o=0,i=s.length;o<i;o++){const e=s[o];Ot(e)?St(e)||t.push(e[2].toLowerCase()+e.slice(3)):n.push(e)}n.length&&e(`Extraneous non-props attributes (${n.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),t.length&&e(`Extraneous non-emits event listeners (${t.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}return r.dirs&&(Ii(n)||e(`Runtime directive used on component with non-element root node. The directives will not function as intended.`),n=Te(n,null,!1,!0),n.dirs=n.dirs?n.dirs.concat(r.dirs):r.dirs),r.transition&&(Ii(n)||e(`Component inside <Transition> renders non-element root node that cannot be animated.`),Us(n,r.transition)),c?c(n):s=n,mn(y),s}Vi=e=>{const s=e.children,n=e.dynamicChildren,t=Bi(s,!1);if(!t)return[e,void 0];if(t.patchFlag>0&&t.patchFlag&2048)return Vi(t);const i=s.indexOf(t),o=n?n.indexOf(t):-1,a=t=>{s[i]=t,n&&(o>-1?n[o]=t:t.patchFlag>0&&(e.dynamicChildren=[...n,t]))};return[Y(t),a]};function Bi(e,t=!0){let n;for(let o=0;o<e.length;o++){const s=e[o];if(gt(s)){if(s.type!==H||s.children==="v-if"){if(n)return;if(n=s,t&&n.patchFlag>0&&n.patchFlag&2048)return Bi(n.children)}}else return}return n}ra=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ot(n))&&((t||(t={}))[n]=e[n]);return t},ca=(e,t)=>{const n={};for(const s in e)(!St(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},Ii=e=>e.shapeFlag&(6|1)||e.type===H;function H0(e,t,n){const{props:o,children:c,component:l}=e,{props:s,children:i,patchFlag:a}=t,r=l.emitsOptions;if((c||i)&&W)return!0;if(t.dirs||t.transition)return!0;if(n&&a>=0){{if(a&1024)return!0;if(a&16)return o?ua(o,s,r):!!s;if(a&8){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!cs(r,n))return!0}}}}else return!(!c&&!i||!!i&&!!i.$stable)||o!==s&&(o?!s||ua(o,s,r):!!s);return!1}function ua(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const i=s[o];if(t[i]!==e[i]&&!cs(n,i))return!0}return!1}function P0({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}Ri=e=>e.__isSuspense;function L0(e,t){t&&t.pendingBranch?s(e)?t.effects.push(...e):t.effects.push(e):lr(e)}j=Symbol.for("v-fgt"),tt=Symbol.for("v-txt"),H=Symbol.for("v-cmt"),un=Symbol.for("v-stc"),ot=[],P=null;function t(e=!1){ot.push(P=e?null:[])}function T0(){ot.pop(),P=ot[ot.length-1]||null}ct=1;function xa(e,t=!1){ct+=e,e<0&&P&&t&&(P.hasOnce=!0)}function Ca(e){return e.dynamicChildren=ct>0?P||Ve:null,T0(),ct>0&&P&&P.push(e),e}function n(e,t,n,s,i,a){return Ca(o(e,t,n,s,i,a,!0))}function he(e,t,n,s,o){return Ca(g(e,t,n,s,o,!0))}function gt(e){return!!e&&e.__v_isVNode===!0}function Dt(e,t){if(t.shapeFlag&6&&e.component){const n=Lt.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=~256,t.shapeFlag&=~512,!1}return e.type===t.type&&e.key===t.key}Fa=(...e)=>La(...Ma?Ma(e,A):e),Mi=({key:e})=>e??null,zt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?y(e)||w(e)||i(e)?{i:A,r:e,k:t,f:!!n}:e:null);function o(t,n=null,s=null,o=0,i=null,a=t===j?0:1,r=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Mi(n),ref:n&&zt(n),scopeId:Ns,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:A};return c?(Ei(l,s),a&128&&t.normalize(l)):s&&(l.shapeFlag|=y(s)?8:16),l.key!==l.key&&e(`VNode created with invalid key (NaN). VNode type:`,l.type),ct>0&&!r&&P&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&P.push(l),l}g=Fa;function La(t,n=null,a=null,c=0,l=null,d=!1){if((!t||t===pu)&&(t||e(`Invalid vnode type when creating vnode: ${t}.`),t=H),gt(t)){const e=Te(t,n,!0);return a&&Ei(e,a),ct>0&&!d&&P&&(e.shapeFlag&6?P[P.indexOf(t)]=e:P.push(e)),e.patchFlag=-2,e}if(_r(t)&&(t=t.__vccOpts),n){n=S0(n);let{class:t,style:e}=n;t&&!y(t)&&(n.class=C(t)),h(e)&&(wn(e)&&!s(e)&&(e=_({},e)),n.style=Vt(e))}const u=y(t)?1:Ri(t)?128:Rd(t)?64:h(t)?4:i(t)?2:0;return u&4&&wn(t)&&(t=r(t),e(`Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with \`markRaw\` or using \`shallowRef\` instead of \`ref\`.`,`
62Component that was made reactive: `,t)),o(t,n,a,c,l,u,d,!0)}function S0(e){return e?wn(e)||si(e)?_({},e):e:null}function Te(e,t,n=!1,o=!1){const{props:u,ref:i,patchFlag:a,children:r,transition:c}=e,l=t?C0(u||{},t):u,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Mi(l),ref:t&&t.ref?n&&i?s(i)?i.concat(zt(t)):[i,zt(t)]:zt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a===-1&&s(r)?r.map(Ha):r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==j?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Te(e.ssContent),ssFallback:e.ssFallback&&Te(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&o&&Us(d,c.clone(d)),d}function Ha(e){const t=Te(e);return s(e.children)&&(t.children=e.children.map(Ha)),t}function ge(e=" ",t=0){return g(tt,null,e,t)}function l(e="",n=!1){return n?(t(),he(H,null,e)):g(H,null,e)}function Y(e){return e==null||typeof e=="boolean"?g(H):s(e)?g(j,null,e.slice()):gt(e)?Ee(e):g(tt,null,String(e))}function Ee(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Te(e)}function Ei(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(s(t))n=16;else if(typeof t=="object"){if(o&(1|64)){const n=t.default;n&&(n._c&&(n._d=!1),Ei(e,n()),n._c&&(n._d=!0));return}n=32;const s=t._;!s&&!si(t)?t._ctx=A:s===3&&A&&(A.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else i(t)?(t={default:t,_ctx:A},n=32):(t=String(t),o&64?(n=16,t=[ge(t)]):n=8);e.children=t,e.shapeFlag|=n}function C0(...t){const e={};for(let o=0;o<t.length;o++){const n=t[o];for(const t in n)if(t==="class")e.class!==n.class&&(e.class=C([e.class,n.class]));else if(t==="style")e.style=Vt([e.style,n.style]);else if(Ot(t)){const o=e[t],i=n[t];i&&o!==i&&!(s(o)&&o.includes(i))&&(e[t]=o?[].concat(o,i):i)}else t!==""&&(e[t]=n[t])}return e}function te(e,t,n,s=null){Z(e,t,7,[n,s])}qa=ll(),Ya=0;function O0(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||qa,s={uid:Ya++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Da(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ur(o,i),emitsOptions:ul(o,i),emit:null,emitted:null,propsDefaults:u,inheritAttrs:o.inheritAttrs,ctx:u,data:u,props:u,attrs:u,slots:u,refs:u,setupState:u,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx=e4(s),s.root=t?t.root:s,s.emit=K0.bind(null,s),e.ce&&e.ce(s),s}x=null,ts=()=>x||A;{const e=de(),t=(t,n)=>{let s;return(s=e[t])||(s=e[t]=[]),s.push(n),e=>{s.length>1?s.forEach(t=>t(e)):s[0](e)}};hn=t(`__VUE_INSTANCE_SETTERS__`,e=>x=e),Oi=t(`__VUE_SSR_SETTERS__`,e=>yt=e)}_t=e=>{const t=x;return hn(e),e.scope.on(),()=>{e.scope.off(),hn(t)}},yi=()=>{x&&x.scope.off(),hn(null)},nr=ne("slot,component");function ji(t,{isNativeTag:n}){(nr(t)||n(t))&&e("Do not use built-in or reserved HTML elements as component id: "+t)}function or(e){return e.vnode.shapeFlag&4}yt=!1;function y0(e,t=!1,n=!1){t&&Oi(t);const{props:o,children:i}=e.vnode,s=or(e);n0(e,o,s,t),Ba(e,i,n);const a=s?j0(e,t):void 0;return t&&Oi(!1),a}function j0(t,n){var i;const s=t.type;if(!0){if(s.name&&ji(s.name,t.appContext.config),s.components){const e=Object.keys(s.components);for(let n=0;n<e.length;n++)ji(e[n],t.appContext.config)}if(s.directives){const e=Object.keys(s.directives);for(let t=0;t<e.length;t++)Md(e[t])}s.compilerOptions&&bi()&&e(`"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.`)}t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Ao),!0&&n4(t);const{setup:o}=s;if(o){we();const c=t.setupContext=o.length>1?g0(t):null,l=_t(t),a=mt(o,t,0,[X(t.props),c]),r=Hn(a);if(ye(),l(),(r||t.sp)&&!Et(t)&&au(t),r){{if(a.then(yi,yi),n)return a.then(e=>{cr(t,e,n)}).catch(e=>{dn(e,t,0)});if(t.asyncDep=a,!t.suspense){const t=(i=s.name)!=null?i:"Anonymous";e(`Component <${t}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}}else cr(t,a,n)}else hr(t,n)}
62function cr(t,n,s){i(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:h(n)?(gt(n)&&e(`setup() should not return VNodes directly - return a render function instead.`),!0&&(t.devtoolsRawSetupState=n),t.setupState=c1(n),!0&&a4(t)):n!==void 0&&e(`setup() should return an object. Received: ${n===null?"null":typeof n}`),hr(t,s)}bi=()=>!es;function hr(t,n){const o=t.type;if(!t.render){if(!n&&es&&!o.render){const e=o.template||__VUE_OPTIONS_API__&&Ho(t).template;if(e){!0&&be(t,`compile`);const{isCustomElement:n,compilerOptions:s}=t.appContext.config,{delimiters:i,compilerOptions:a}=o,r=_(_({isCustomElement:n,delimiters:i},s),a);o.render=es(e,r),!0&&je(t,`compile`)}}t.render=o.render||O,dr&&dr(t)}if(__VUE_OPTIONS_API__&&!0){const e=_t(t);we();try{h4(t)}finally{ye(),e()}}!o.render&&t.render===O&&!n&&(!es&&o.template?e(`Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`):e(`Component is missing template or render function: `,o))}vi={get(e,t){return os(),k(e,"get",""),e[t]},set(){return e(`setupContext.attrs is readonly.`),!1},deleteProperty(){return e(`setupContext.attrs is readonly.`),!1}};function v0(e){return new Proxy(e.slots,{get(t,n){return k(e,"get","$slots"),t[n]}})}function g0(t){const n=n=>{if(!0&&(t.exposed&&e(`expose() should be called only once per setup().`),n!=null)){let t=typeof n;t==="object"&&(s(n)?t="array":w(n)&&(t="ref")),t!=="object"&&e(`expose() should be passed a plain object, received ${t}.`)}t.exposed=n||{}};if(!0){let e,s;return Object.freeze({get attrs(){return e||(e=new Proxy(t.attrs,vi))},get slots(){return s||(s=v0(t))}
62,get emit(){return(e,...n)=>t.emit(e,...n)},expose:n})}return{attrs:new Proxy(t.attrs,vi),slots:t.slots,emit:t.emit,expose:n}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(c1(C1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Le)return Le[n](e)},has(e,t){return t in e||t in Le}})):e.proxy}vr=/(?:^|[-_])(\w)/g,br=e=>e.replace(vr,e=>e.toUpperCase()).replace(/[-_]/g,"");function gi(e,t=!0){return i(e)?e.displayName||e.name:e.name||t&&e.__name}function Qn(e,t,n=!1){let s=gi(t);if(!s&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(s=e[1])}if(!s&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};s=n(e.components||e.parent.type.components)||n(e.appContext.components)}return s?br(s):n?`App`:`Anonymous`}function _r(e){return i(e)&&"__vccOpts"in e}E=(e,t)=>{const n=b1(e,t,yt);if(!0){const e=ts();e&&e.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function f(e,t,n){const o=arguments.length;return o===2?h(t)&&!s(t)?gt(t)?g(e,null,[t]):g(e,t):g(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&>(n)&&(n=[n]),g(e,t,n))}function m0(){if(typeof window=="undefined")return;const t={style:"color:#3ba776"},m={style:"color:#1677ff"},c={style:"color:#f5222d"},o={style:"color:#eb2f96"},l={__vue_custom_formatter:!0,header(e){return h(e)?e.__isVue?["div",t,`VueInstance`]:w(e)?["div",{},["span",t,p(e)],"<",n("_value"in e?e._value:e),`>`]:Ge(e)?["div",{},["span",t,D(e)?"ShallowReactive":"Reactive"],"<",n(e),`>${_e(e)?` (readonly)`:``}`]:_e(e)?["div",{},["span",t,D(e)?"ShallowReadonly":"Readonly"],"<",n(e),">"]:null:null},hasBody(e){return e&&e.__isVue},body(e){if(e&&e.__isVue)return["div",{},...f(e.$)]}};function f(t){const n=[];t.type.props&&t.props&&n.push(e("props",r(t.props))),t.setupState!==u&&n.push(e("setup",t.setupState)),t.data!==u&&n.push(e("data",r(t.data)));const s=d(t,"computed");s&&n.push(e("computed",s));const i=d(t,"inject");return i&&n.push(e("injected",i)),n.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:t}]]),n}function e(e,t){return t=_({},t),Object.keys(t).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},e],["div",{style:"padding-left:1.25em"},...Object.keys(t).map(e=>["div",{},["span",o,e+": "],n(t[e],!1)])]]:["span",{}]}function n(e,t=!0){return typeof e=="number"?["span",m,e]:typeof e=="string"?["span",c,JSON.stringify(e)]:typeof e=="boolean"?["span",o,e]:h(e)?["object",{object:t?r(e):e}]:["span",c,String(e)]}function d(e,t){const n=e.type;if(i(n))return;const s={};for(const o in e.ctx)a(n,o,t)&&(s[o]=e.ctx[o]);return s}function a(e,t,n){const o=e[n];if(s(o)&&o.includes(t)||h(o)&&t in o)return!0;if(e.extends&&a(e.extends,t,n))return!0;if(e.mixins&&e.mixins.some(e=>a(e,t,n)))return!0}function p(e){return D(e)?`ShallowRef`:e.effect?`ComputedRef`:`Ref`}window.devtoolsFormatters?window.devtoolsFormatters.push(l):window.devtoolsFormatters=[l]}if(pi="3.5.13",G=e,Gn=void 0,fi=typeof window!="undefined"&&window.trustedTypes,fi)try{Gn=fi.createPolicy("vue",{createHTML:e=>e})}catch(e){G(`Error creating trusted types policy: ${e}`)}mi=Gn?e=>Gn.createHTML(e):e=>e,Mr="http://www.w3.org/2000/svg",Fr="http://www.w3.org/1998/Math/MathML",Q=typeof document!="undefined"?document:null,hi=Q&&Q.createElement("template"),Dr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?Q.createElementNS(Mr,e):t==="mathml"?Q.createElementNS(Fr,e):n?Q.createElement(e,{is:n}):Q.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Q.createTextNode(e),createComment:e=>Q.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
62{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Q.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling)){for(;!0;)if(t.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{hi.innerHTML=mi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const o=hi.content;if(s==="svg"||s==="mathml"){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Nr=Symbol("_vtc");function d0(e,t,n){const s=e[Nr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}Rt=Symbol("_vod"),ui=Symbol("_vsh"),Yn={beforeMount(e,{value:t},{transition:n}){e[Rt]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){if(!t===!n)return;s?t?(s.beforeEnter(e),Bt(e,!0),s.enter(e)):s.leave(e,()=>{Bt(e,!1)}):Bt(e,t)},beforeUnmount(e,{value:t}){Bt(e,t)}},!0&&(Yn.name="show");function Bt(e,t){e.style.display=t?e[Rt]:"none",e[ui]=!t}Br=Symbol("CSS_VAR_TEXT"),Vr=/(^|;)\s*display\s*:/;function c0(e,t,n){const s=e.style,i=y(n);let o=!1;if(n&&!i){if(t)if(y(t))for(const e of t.split(";")){const o=e.slice(0,e.indexOf(":")).trim();n[o]==null&&qn(s,o,"")}else for(const e in t)n[e]==null&&qn(s,e,"");for(const e in n)e==="display"&&(o=!0),qn(s,e,n[e])}else if(i){if(t!==n){const e=s[Br];e&&(n+=";"+e),s.cssText=n,o=Vr.test(n)}}else t&&e.removeAttribute("style");Rt in e&&(e[Rt]=o?s.display:"",e[ui]&&(s.display="none"))}Wr=/[^\\];\s*$/,di=/\s*!important$/;function qn(e,t,n){if(s(n))n.forEach(n=>qn(e,t,n));else if(n==null&&(n=""),!0&&Wr.test(n)&&G(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=r0(e,t);di.test(n)?e.setProperty(le(s),n.replace(di,""),"important"):e[s]=n}}ri=["Webkit","Moz","ms"],Kn={};function r0(e,t){const s=Kn[t];if(s)return s;let n=M(t);if(n!=="filter"&&n in e)return Kn[t]=n;n=Ne(n);for(let s=0;s<ri.length;s++){const o=ri[s]+n;if(o in e)return Kn[t]=o}return t}ai="http://www.w3.org/1999/xlink";function Qr(e,t,n,s,o,i=Xa(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ai,t.slice(6,t.length)):e.setAttributeNS(ai,t,n):n==null||i&&!$a(n)?e.removeAttribute(t):e.setAttribute(t,i?"":$(n)?String(n):n)}function Zr(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?mi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,s=n==null?e.type==="checkbox"?"on":"":String(n);(o!==s||!("_value"in e))&&(e.value=s),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=$a(n):n==null&&s==="string"?(n="",a=!0):s==="number"&&(n=0,a=!0)}try{e[t]=n}catch(e){a||G(`Failed setting prop "${t}" on <${i.toLowerCase()}>: value ${n}
62 is invalid.`,e)}a&&e.removeAttribute(o||t)}function fe(e,t,n,s){e.addEventListener(t,n,s)}function i0(e,t,n,s){e.removeEventListener(t,n,s)}ii=Symbol("_vei");function s0(e,t,n,s,o=null){const a=e[ii]||(e[ii]={}),i=a[t];if(s&&i)i.value=lc(s,t);else{const[n,r]=t0(t);if(s){const i=a[t]=e0(lc(s,t),o);fe(e,n,i,r)}else i&&(i0(e,n,i,r),a[t]=void 0)}}oi=/(?:Once|Passive|Capture)$/;function t0(e){let t;if(oi.test(e)){t={};let n;for(;n=e.match(oi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=e[2]===":"?e.slice(3):le(e.slice(2));return[n,t]}Un=0,ac=Promise.resolve(),rc=()=>Un||(ac.then(()=>Un=0),Un=Date.now());function e0(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Z(J4(e,n.value),t,5,[e])};return n.value=e,n.attached=rc(),n}function lc(e,t){return i(e)||s(e)?e:(G(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop? 63Expected function or array of functions, received type ${typeof e}.`),O)}function J4(e,t){if(s(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}Jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hc=(e,t,n,s,o,i)=>{const a=o==="svg";t==="class"?d0(e,s,a):t==="style"?c0(e,n,s):Ot(t)?St(t)||s0(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Z4(e,t,s,a))?(Zr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qr(e,t,s,a,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!y(s))?Zr(e,M(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Qr(e,t,s,a))};function Z4(e,t,n,s){if(s)return t==="innerHTML"||t==="textContent"||!!(t in e&&Jo(t)&&i(n));if(t==="spellcheck"||t==="draggable"||t==="translate")return!1;if(t==="form")return!1;if(t==="list"&&e.tagName==="INPUT")return!1;if(t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const t=e.tagName;if(t==="IMG"||t==="VIDEO"||t==="CANVAS"||t==="SOURCE")return!1}return!(Jo(t)&&y(n))&&t in e}Q4=Symbol("_moveCb"),X4=Symbol("_enterCb"),me=e=>{const t=e.props["onUpdate:modelValue"]||!1;return s(t)?e=>Re(t,e):t};function G4(e){e.target.composing=!0}function bc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}I=Symbol("_assign"),Wn={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[I]=me(o);const i=s||o.props&&o.props.type==="number";fe(e,t?"change":"input",t=>{if(t.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=Wt(s)),e[I](s)}),n&&fe(e,"change",()=>{e.value=e.value.trim()}),t||(fe(e,"compositionstart",G4),fe(e,"compositionend",bc),fe(e,"change",bc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:i}},a){if(e[I]=me(a),e.composing)return;const c=(i||e.type==="number")&&!/^0\d/.test(e.value)?Wt(e.value):e.value,r=t??"";if(c===r)return;if(document.activeElement===e&&e.type!=="range"){if(s&&t===n)return;if(o&&e.value.trim()===r)return}e.value=r}},_c={deep:!0,created(e,t,n){e[I]=me(n),fe(e,"change",()=>{const t=e._modelValue,n=ft(e),o=e.checked,i=e[I];if(s(t)){{const e=ki(t,n),s=e!==-1;if(o&&!s)i(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),i(n)}}}else if(Be(t)){const e=new Set(t);o?e.add(n):e.delete(n),i(e)}else i(kc(e,o))})},mounted:wc,beforeUpdate(e,t,n){e[I]=me(n),wc(e,t,n)}};function wc(e,{value:t,oldValue:n},o){e._modelValue=t;let i;if(s(t))i=ki(t,o.props.value)>-1;else if(Be(t))i=t.has(o.props.value);else{if(t===n)return;i=qe(t,kc(e,!0))}e.checked!==i&&(e.checked=i)}Oc={created(e,{value:t},n){e.checked=qe(t,n.props.value),e[I]=me(n),fe(e,"change",()=>{e[I](ft(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[I]=me(s),t!==n&&(e.checked=qe(t,s.props.value))}},xc={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const o=Be(t);fe(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?Wt(ft(e)):ft(e));e[I](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,vt(()=>{e._assigning=!1})}),e[I]=me(s)},mounted(e,{value:t}){Cc(e,t)},beforeUpdate(e,t,n){e[I]=me(n)},updated(e,{value:t}){e._assigning||Cc(e,t)}};function Cc(e,t){const n=e.multiple,o=s(t);if(n&&!o&&!Be(t)){G(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let s=0,r=e.options.length;s<r;s++){const i=e.options[s],a=ft(i);if(n)if(o){const e=typeof a;e==="string"||e==="number"?i.selected=t.some(e=>String(e)===String(a)):i.selected=ki(t,a)>-1}else i.selected=t.has(a);
63else if(qe(ft(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function ft(e){return"_value"in e?e._value:e.value}function kc(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}Ac={created(e,t,n){$n(e,t,n,null,"created")},mounted(e,t,n){$n(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){$n(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){$n(e,t,n,s,"updated")}};function Y4(e,t){switch(e){case"SELECT":return xc;case"TEXTAREA":return Wn;default:switch(t){case"checkbox":return _c;case"radio":return Oc;default:return Wn}}}function $n(e,t,n,s,o){const a=Y4(e.tagName,n.props&&n.props.type),i=a[o];i&&i(e,t,n,s)}Fc=_({patchProp:hc},Dr);function q4(){return Tc||(Tc=N0(Fc))}Dc=(...e)=>{const t=q4().createApp(...e);!0&&(U4(t),W4(t));const{mount:n}=t;return t.mount=e=>{const s=$4(e);if(!s)return;const o=t._component;!i(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,K4(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function K4(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function U4(e){Object.defineProperty(e.config,"isNativeTag",{value:e=>Or(e)||wr(e)||ir(e),writable:!1})}function W4(e){if(bi()){const n=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return n},set(){G(`The \`isCustomElement\` config option is deprecated. Use \`compilerOptions.isCustomElement\` instead.`)}});const s=e.config.compilerOptions,t=`The \`compilerOptions\` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, \`compilerOptions\` must be passed to \`@vue/compiler-dom\` in the build setup instead. 64- For vue-loader: pass it via vue-loader's \`compilerOptions\` loader option. 65- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader 66- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc`;Object.defineProperty(e.config,"compilerOptions",{get(){return G(t),s},set(){G(t)}})}}function $4(e){if(y(e)){const t=document.querySelector(e);return t||G(`Failed to mount app: mount target selector "${e}" returned null.`),t}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&G(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`),e}function V4(){m0()}!0&&V4();function Gt(e){return!!za()&&(M0(e),!0)}function pe(e){return typeof e=="function"?e():a(e)}Ke=typeof window!="undefined"&&typeof document!="undefined",B4=typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope,Wc=Object.prototype.toString,Uc=e=>Wc.call(e)==="[object Object]",tn=()=>{};function qc(e,t){function n(...n){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(s).catch(o)})}return n}Qo=e=>e();function H4(e,t={}){let s,n,i=tn;const o=e=>{clearTimeout(e),i(),i=tn},a=a=>{const c=pe(e),r=pe(t.maxWait);return s&&o(s),c<=0||r!==void 0&&r<=0?(n&&(o(n),n=null),Promise.resolve(a())):new Promise((e,l)=>{i=t.rejectOnCancel?l:e,r&&!n&&(n=setTimeout(()=>{s&&o(s),n=null,e(a())},r)),s=setTimeout(()=>{n&&o(n),n=null,e(a())},c)})};return a}function P4(e=Qo){const t=d(!0);function n(){t.value=!1}function s(){t.value=!0}const o=(...n)=>{t.value&&e(...n)};return{isActive:lt(t),pause:n,resume:s,eventFilter:o}}function Qc(e){const t=Object.create(null);return n=>{const s=t[n];return s||(t[n]=e(n))}}Zc=/\B([A-Z])/g,R4=Qc(e=>e.replace(Zc,"-$1").toLowerCase()),el=/-(\w)/g,L4=Qc(e=>e.replace(el,(e,t)=>t?t.toUpperCase():""));function nl(e){return e||ts()}function z4(e,t=200,n={}){return qc(H4(t,n),e)}function D4(e,t,n={}){const{eventFilter:s=Qo,...o}=n;return N(e,qc(s,t),o)}function N4(e,t,n={}){const{eventFilter:s,...o}=n,{eventFilter:i,pause:a,resume:r,isActive:c}=P4(s),l=D4(e,t,{...o,eventFilter:i});return{stop:l,pause:a,resume:r,isActive:c}}function Xo(e,t=!0,n){const s=nl();s?Pe(e,n):t?e():vt(e)}function x1(e,t){const n=nl(t);n&&wt(e,t)}function p1(e,t=1e3,n={}){const{immediate:c=!0,immediateCallback:l=!1}=n;let o=null;const s=d(!1);function a(){o&&(clearInterval(o),o=null)}function r(){s.value=!1,a()}function i(){const n=pe(t);if(n<=0)return;s.value=!0,l&&e(),a(),s.value&&(o=setInterval(e,n))}if(c&&Ke&&i(),w(t)||typeof t=="function"){const e=N(t,()=>{s.value&&Ke&&i()});Gt(e)}return Gt(r),{isActive:s,pause:r,resume:i}}nn=Ke?window:void 0,Yo=Ke?window.document:void 0,U0=Ke?window.navigator:void 0,T4=Ke?window.location:void 0;function g1(e){var n;const t=pe(e);return(n=t?.$el)!=null?n:t}function Bn(...n){let s,e,t,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([e,t,o]=n,s=nn):[s,e,t,o]=n,!s)return tn;Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]);const i=[],a=()=>
66{i.forEach(e=>e()),i.length=0},c=(e,t,n,s)=>(e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)),l=N(()=>[g1(s),pe(o)],([n,s])=>{if(a(),!n)return;const o=Uc(s)?{...s}:s;i.push(...e.flatMap(e=>t.map(t=>c(n,e,t,o))))},{immediate:!0,flush:"post"}),r=()=>{l(),a()};return Gt(r),r}function k4(e,t={}){const{immediate:h=!0,fpsLimit:r=void 0,window:n=nn}=t,o=d(!1),c=r?1e3/r:null;let i=0,s=null;function a(t){if(!o.value||!n)return;i||(i=t);const r=t-i;if(c&&r<c){s=n.requestAnimationFrame(a);return}i=t,e({delta:r,timestamp:t}),s=n.requestAnimationFrame(a)}function l(){!o.value&&n&&(o.value=!0,i=0,s=n.requestAnimationFrame(a))}function u(){o.value=!1,s!=null&&n&&(n.cancelAnimationFrame(s),s=null)}return h&&l(),Gt(u),{isActive:lt(o),pause:u,resume:l}}sn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},At="__vueuse_ssr_handlers__",bl=E4();function E4(){return At in sn||(sn[At]=sn[At]||{}),sn[At]}function C4(e,t){return bl[e]||t}function x4(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}wl={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},$o="vueuse-storage";function et(e,t,n,s={}){var p;const{flush:C="pre",deep:j=!0,listenToStorageChanges:b=!0,writeDefaults:v=!0,mergeDefaults:l=!1,shallow:w,window:a=nn,eventFilter:_,onError:u=e=>{console.error(e)},initOnMounted:h}=s,i=(w?Hu:d)(typeof t=="function"?t():t);if(!n)try{n=C4("getDefaultStorage",()=>{var e;return(e=nn)==null?void 0:e.localStorage})()}catch(e){u(e)}if(!n)return i;const o=pe(t),m=x4(o),r=(p=s.serializer)!=null?p:wl[m],{pause:y,resume:g}=N4(i,()=>O(i.value),{flush:C,deep:j,eventFilter:_});a&&b&&Xo(()=>{n instanceof Storage?Bn(a,"storage",c):Bn(a,$o,E),h&&c()}),h||c();function f(t,s){if(a){const o={key:e,oldValue:t,newValue:s,storageArea:n};a.dispatchEvent(n instanceof Storage?new StorageEvent("storage",o):new CustomEvent($o,{detail:o}))}}function O(t){try{const s=n.getItem(e);if(t==null)f(s,null),n.removeItem(e);else{const o=r.write(t);s!==o&&(n.setItem(e,o),f(s,o))}}catch(e){u(e)}}function x(t){const s=t?t.newValue:n.getItem(e);if(s==null)return v&&o!=null&&n.setItem(e,r.write(o)),o;if(!t&&l){const e=r.read(s);return typeof l=="function"?l(e,o):m==="object"&&!Array.isArray(e)?{...o,...e}:e}return typeof s!="string"?s:r.read(s)}function c(t){if(t&&t.storageArea!==n)return;if(t&&t.key==null){i.value=o;return}if(t&&t.key!==e)return;y();try{t?.newValue!==r.write(i.value)&&(i.value=x(t))}catch(e){u(e)}finally{t?vt(g):g()}}function E(e){c(e.detail)}return i}function w4(e={}){const{controls:o=!1,interval:n="requestAnimationFrame"}=e,t=d(new Date),s=()=>t.value=new Date,i=n==="requestAnimationFrame"?k4(s,{immediate:!0}):p1(s,n,{immediate:!0});return o?{now:t,...i}:t}function _4(e,t=tn,n={}){const{immediate:v=!0,manual:a=!1,type:b="text/javascript",async:f=!0,crossOrigin:l,referrerPolicy:u,noModule:h,defer:m,document:s=Yo,attrs:p={}}=n,o=d(null);let i=null;const g=n=>new Promise((i,a)=>{const c=e=>(o.value=e,i(e),e);if(!s){i(!1);return}let d=!1,r=s.querySelector(`script[src="${pe(e)}"]`);r?r.hasAttribute("data-loaded")&&c(r):(r=s.createElement("script"),r.type=b,r.async=f,r.src=pe(e),m&&(r.defer=m),l&&(r.crossOrigin=l),h&&(r.noModule=h),u&&(r.referrerPolicy=u),Object.entries(p).forEach(([e,t])=>r?.setAttribute(e,t)),d=!0),r.addEventListener("error",e=>a(e)),r.addEventListener("abort",e=>a(e)),r.addEventListener("load",()=>{r.setAttribute("data-loaded","true"),t(r),c(r)}),d&&(r=s.head.appendChild(r)),n||c(r)}),c=(e=!0)=>(i||(i=g(e)),i),r=()=>{if(!s)return;i=null,o.value&&(o.value=null);const t=s.querySelector(`script[src="${pe(e)}"]`);t&&s.head.removeChild(t)};return v&&!a&&Xo(c),a||x1(r),{scriptTag:o,load:c,unload:r}}kl=0;function y4(e,t={}){const s=d(!1),{document:n=Yo,immediate:u=!0,manual:i=!1,id:o=`vueuse_styletag_${++kl}`}=t,a=d(e);let r=()=>{};const c=()=>
66{if(!n)return;const e=n.getElementById(o)||n.createElement("style");if(e.isConnected||(e.id=o,t.media&&(e.media=t.media),n.head.appendChild(e)),s.value)return;r=N(a,t=>{e.textContent=t},{immediate:!0}),s.value=!0},l=()=>{if(!n||!s.value)return;r(),n.head.removeChild(n.getElementById(o)),s.value=!1};return u&&!i&&Xo(c),i||Gt(l),{id:o,css:a,unload:l,load:c,isLoaded:lt(s)}}j4=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],ut=new Map;function b4(e){var t=ut.get(e);t&&t.destroy()}function v4(e){var t=ut.get(e);t&&t.update()}jt=null,"undefined"==typeof window?((jt=function(e){return e}).destroy=function(e){return e},jt.update=function(e){return e}):((jt=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!ut.has(e)){var s,a=null,t=window.getComputedStyle(e),r=(s=e.value,function(){i({testForHeightReduction:""===s||!e.value.startsWith(s),restoreTextAlign:null}),s=e.value}),o=function(t){e.removeEventListener("autosize:destroy",o),e.removeEventListener("autosize:update",n),e.removeEventListener("input",r),window.removeEventListener("resize",n),Object.keys(t).forEach(function(n){return e.style[n]=t[n]}),ut.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",o),e.addEventListener("autosize:update",n),e.addEventListener("input",r),window.addEventListener("resize",n),e.style.overflowX="hidden",e.style.wordWrap="break-word",ut.set(e,{destroy:o,update:n}),n()}function i(n){var s,o,c,l=n.restoreTextAlign,r=void 0===l?null:l,d=n.testForHeightReduction,u=void 0===d||d,h=t.overflowY;0!==e.scrollHeight&&("vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),u&&(o=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach(function(e){var t=e[0],n=e[1];t.style.scrollBehavior="auto",t.scrollTop=n,t.style.scrollBehavior=null})}}(e),e.style.height=""),s="content-box"===t.boxSizing?e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),"none"!==t.maxHeight&&s>parseFloat(t.maxHeight)?("hidden"===t.overflowY&&(e.style.overflow="scroll"),s=parseFloat(t.maxHeight)):"hidden"!==t.overflowY&&(e.style.overflow="hidden"),e.style.height=s+"px",r&&(e.style.textAlign=r),o&&o(),a!==s&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),a=s),h!==t.overflow&&!r)&&(c=t.textAlign,"hidden"===t.overflow&&(e.style.textAlign="start"===c?"end":"start"),i({restoreTextAlign:c,testForHeightReduction:!0}))}function n(){i({testForHeightReduction:!0,restoreTextAlign:null})}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],b4),e},jt.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],v4),e}),Dl=jt,Io=Dl;function Po(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}Ce=Po();function Pl(e){Ce=e}Ct={exec:()=>null};function v(e,t=""){let n=typeof e=="string"?e:e.source;const s={replace:(e,t)=>{let o=typeof t=="string"?t:t.source;return o=o.replace(F.caret,"$1"),n=n.replace(e,o),s},getRegex:()=>new RegExp(n,t)};return s}F={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 8,220 bytes, lines 66-67
66:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Vl=/^(?:[ \t]*(?:\n|$))+/,$l=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Wl=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,xt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Kl=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Lo=/(?:[*+-]|\d{1,9}[.)])/,No=v(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Lo).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Ln=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Xl=/^[^\n]+/,Nn=/(?!\s*\])(?:\\.|[^[\]\\])+/,Zl=v(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Nn).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Jl=v(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Lo).getRegex(),Pt="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Dn=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,nd=v(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,"i").replace("comment",Dn).replace("tag",Pt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Do=v(Ln).replace("hr",xt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences",` {0,3}(?:\`{3,}(?=[^\`\\n]*\\n)|~{3,})[^\\n]*\\n`).replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace("tag",Pt).getRegex(),od=v(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Do).getRegex(),zn={blockquote:od,code:$l,def:Zl,fences:Wl,heading:Kl,hr:xt,html:nd,lheading:No,list:Jl,newline:Vl,paragraph:Do,table:Ct,text:Xl},zo=v(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace("hr",xt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code",`(?: {4}| {0,3} )[^\\n]`).replace("fences",` {0,3}(?:\`{3,}(?=[^\`\\n]*\\n)|~{3,})[^\\n]*\\n`).replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace("tag",Pt).getRegex(),rd={...zn,table:zo,paragraph:v(Ln).replace("hr",xt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",zo).replace("blockquote"," {0,3}>").replace("fences",` {0,3}(?:\`{3,}(?=[^\`\\n]*\\n)|~{3,})[^\\n]*\\n`).replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace("tag",Pt).getRegex()},cd={...zn,html:v(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Dn).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ct,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(Ln).replace("hr",xt).replace("heading",` *#{1,6} *[^ 67]`).replace("lheading",No).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},To=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,dd=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Fo=/^( {2,}|\\)\n(?!\s*$)/,hd=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<![`*_]|\b_|$)|[^ ](?= {2,}\n)))/,$t=/[\p{P}\p{S}]/u,Fn=/[\s\p{P}\p{S}]/u,Mo=/[^\s\p{P}\p{S}]/u,gd=v(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Fn).getRegex(),vd=/\[[^[\]]*?\]\((?:\\.|[^\\()]|\((?:\\.|[^\\()])*\))*\)|`[^`]*?`|<[^<>]*?>/g,bd=v(/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,"u").replace(/punct/g,$t).getRegex(),jd=v("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,Mo).replace(/punctSpace/g,Fn).replace(/punct/g,$t).getRegex(),Ki=v("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Mo).replace(/punctSpace/g,Fn).replace(/punct/g,$t).getRegex(),_d=v(/\\(punct)/,"gu").replace(/punct/g,$t).getRegex(),wd=v(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Od=v(Dn).replace("(?:-->|$)","-->").getRegex(),xd=v("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Od).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),en=/(?:\[(?:\\.|[^[\]\\])*\]|\\.|`[^`]*`|[^[\]\\`])*?/,Ed=v(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",en).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),So=v(/^!?\[(label)\]\[(ref)\]/).replace("label",en).replace("ref",Nn).getRegex(),ko=v(/^!?\[(ref)\](?:\[\])?/).replace("ref",Nn).getRegex(),Sd=v("reflink|nolink(?!\\()","g").replace("reflink",So).replace("nolink",ko).getRegex(),kn={_backpedal:Ct,anyPunctuation:_d,autolink:wd,blockSkip:vd,br:Fo,c
67ode:dd,del:Ct,emStrongLDelim:bd,emStrongRDelimAst:jd,emStrongRDelimUnd:Ki,escape:To,link:Ed,nolink:ko,punctuation:gd,reflink:So,reflinkSearch:Sd,tag:xd,text:hd,url:Ct},Fd={...kn,link:v(/^!?\[(label)\]\((.*?)\)/).replace("label",en).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",en).getRegex()},En={...kn,escape:v(To).replace("])","~|])").getRegex(),url:v(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+/=?_`{|}~-]+@)|[\s\S]*?(?:(?=[\\<![`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+/=?_`{|}~-](?=[a-zA-Z0-9.!#$%&'*+/=?_`{|}~-]+@)))/},zd={...En,br:v(Fo).replace("{2,}","*").getRegex(),text:v(En.text).replace("\\b_",`\\b_| {2,}\\n`).replace(/\{2,\}/g,"*").getRegex()},on={normal:zn,gfm:rd,pedantic:cd},nt={normal:kn,gfm:En,breaks:zd,pedantic:Fd},Ld={"&":"&","<":"<",">":">",'"':""","'":"'"},Eo=e=>Ld[e];function oe(e,t){if(t){if(F.escapeTest.test(e))return e.replace(F.escapeReplace,Eo)}else if(F.escapeTestNoEncode.test(e))return e.replace(F.escapeReplaceNoEncode,Eo);return e}function Hd(e){try{e=encodeURI(e).replace(F.percentDecode,"%")}catch{return null}return e}function Id(e,t){const o=e.replace(F.findPipe,(e,t,n)=>{let s=!1,o=t;for(;--o>=0&&n[o]==="\\";)s=!s;return s?"|":" |"}),n=o.split(F.splitPipe);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;s<n.length;s++)n[s]=n[s].trim().replace(F.slashPipe,"|");return n}function Tt(e,t,n){const o=e.length;if(o===0)return"";let s=0;for(;s<o;){const i=e.charAt(o-s-1);if(i===t&&!n)s++;else if(i!==t&&n)s++;else break}return e.slice(0,o-s)}function q1(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let s=0;s<e.length;s++)if(e[s]==="\\")s++;else if(e[s]===t[0])n++;else if(e[s]===t[1]&&(n--,n<0))return s;return-1}function $d(e,t,n,s,o){const a=t.href,r=t.title||null,i=e[1].replace(o.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){s.state.inLink=!0;const e={type:"link",raw:n,href:a,title:r,text:i,tokens:s.inlineTokens(i)};return s.state.inLink=!1,e}return{type:"image",raw:n,href:a,title:r,text:i}}function K1(e,t,n){const s=e.match(n.other.indentCodeCompensation);if(s===null)return t;const o=s[1];return t.split(` 68`).map(e=>{const t=e.match(n.other.beginningSpace);if(t===null)return e;const[s]=t;return s.length>=o.length?e.slice(o.length):e}).join(` 69`)}Yt=class{options;rules;lexer;constructor(e){this.options=e||Ce}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Tt(e,` 70`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=K1(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){const t=Tt(e,"#");this.options.pedantic?e=t.trim():(!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Tt(t[0],` 71`)}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=Tt(t[0],` 72`).split(` 73`),n="",s="";const o=[];for(;e.length>0;){let l=!1;const a=[];let t;for(t=0;t<e.length;t++)if(this.rules.other.blockquoteStart.test(e[t]))a.push(e[t]),l=!0;else if(l)break;else a.push(e[t]);e=e.slice(t);const r=a.join(` 74`),c=r.replace(this.rules.other.blockquoteSetextReplace,` 75 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n} 76${r}`:r,s=s?`${s} 77${c}`:c;const d=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,o,!0),this.lexer.state.top=d,e.length===0)break;const i=o.at(-1);if(i?.type==="code")break;if(i?.type==="blockquote"){const t=i,r=t.raw+` 78`+e.join(` 79`),a=this.blockquote(r);o[o.length-1]=a,n=n.substring(0,n.length-t.raw.length)+a.raw,s=s.substring(0,s.length-t.text.length)+a.text;break}if(i?.type==="list"){const a=i,r=a.raw+` 80`+e.join(` 81`),t=this.list(r);o[o.length-1]=t,n=n.substring(0,n.length-i.raw.length)+t.raw,s=s.substring(0,s.length-a.raw.length)+t.raw,e=r.substring(o.at(-1).raw.length).split(` 82`);continue}}return{type:"blockquote",raw:n,tokens:o,text:s}}}list(e){let t=this.rules.block.list.exec(e);if(t){let s=t[1].trim();const i=s.length>1,n={type:"list",raw:"",ordered:i,start:i?+s.slice(0,-1):"",loose:!1,items:[]};s=i?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=i?s:"[*+-]");const r=this.rules.other.listItemRegex(s);let a=!1;for(;e;){let h=!1,l="",i="";if(!(t=r.exec(e)))break;if(this.rules.block.hr.test(e))break;l=t[0],e=e.substring(l.length);let c=t[2].split(` 83`,1)[0].replace(this.rules.other.listReplaceTabs,e=>" ".repeat(3*e.length)),s=e.split(` 84`,1)[0],d=!c.trim(),o=0;if(this.options.pedantic?(o=2,i=c.trimStart()):d?o=t[1].length+1:(o=t[2].search(this.rules.other.nonSpaceChar),o=o>4?1:o,i=c.slice(o),o+=t[1].length),d&&this.rules.other.blankLine.test(s)&&(l+=s+` 85`,e=e.substring(s.length+1),h=!0),!h){const r=this.rules.other.nextBulletRegex(o),t=this.rules.other.hrRegex(o),n=this.rules.other.fencesBeginRegex(o),a=this.rules.other.headingBeginRegex(o),u=this.rules.other.htmlBeginRegex(o);for(;e;){const m=e.split(` 86`,1)[0];let h;if(s=m,this.options.pedantic?(s=s.replace(this.rules.other.listReplaceNesting," "),h=s):h=s.replace(this.rules.other.tabCharGlobal," "),n.test(s))break;if(a.test(s))break;if(u.test(s))break;if(r.test(s))break;if(t.test(s))break;if(h.search(this.rules.other.nonSpaceChar)>=o||!s.trim())i+=` 87`+h.slice(o);else{if(d)break;if(c.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4)break;
vendor: 18,001 bytes, lines 87-120
87if(n.test(c))break;if(a.test(c))break;if(t.test(c))break;i+=` 88`+s}!d&&!s.trim()&&(d=!0),l+=m+` 89`,e=e.substring(m.length+1),c=h.slice(o)}}n.loose||(a?n.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(a=!0));let u=null,m;this.options.gfm&&(u=this.rules.other.listIsTask.exec(i),u&&(m=u[0]!=="[ ] ",i=i.replace(this.rules.other.listReplaceTask,""))),n.items.push({type:"list_item",raw:l,task:!!u,checked:m,loose:!1,text:i,tokens:[]}),n.raw+=l}const o=n.items.at(-1);if(o)o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd();else return;n.raw=n.raw.trimEnd();for(let e=0;e<n.items.length;e++)if(this.lexer.state.top=!1,n.items[e].tokens=this.lexer.blockTokens(n.items[e].text,[]),!n.loose){const t=n.items[e].tokens.filter(e=>e.type==="space"),s=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw));n.loose=s}if(n.loose)for(let e=0;e<n.items.length;e++)n.items[e].loose=!0;return n}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]};return e}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:s}}}table(e){const n=this.rules.block.table.exec(e);if(!n)return;if(!this.rules.other.tableDelimiter.test(n[2]))return;const s=Id(n[1]),o=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=n[3]?.trim()?n[3].replace(this.rules.other.tableRowBlankLine,"").split(` 90`):[],t={type:"table",raw:n[0],header:[],align:[],rows:[]};if(s.length!==o.length)return;for(const e of o)this.rules.other.tableAlignRight.test(e)?t.align.push("right"):this.rules.other.tableAlignCenter.test(e)?t.align.push("center"):this.rules.other.tableAlignLeft.test(e)?t.align.push("left"):t.align.push(null);for(let e=0;e<s.length;e++)t.header.push({text:s[e],tokens:this.lexer.inline(s[e]),header:!0,align:t.align[e]});for(const e of i)t.rows.push(Id(e,t.header.length).map((e,n)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:t.align[n]})));return t}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e=t[1].charAt(t[1].length-1)===` 91`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){{if(!this.rules.other.endAngleBracket.test(n))return;const e=Tt(n.slice(0,-1),"\\");if((n.length-e.length)%2===0)return}}else{const e=q1(t[2],"()");if(e>-1){const n=t[0].indexOf("!")===0?5:4,s=n+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,s).trim(),t[3]=""}}let e=t[2],s="";if(this.options.pedantic){const t=this.rules.other.pedanticHrefTitle.exec(e);t&&(e=t[1],s=t[3])}else s=t[3]?t[3].slice(1,-1):"";return e=e.trim(),this.rules.other.startAngleBracket.test(e)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?e=e.slice(1):e=e.slice(1,-1)),$d(t,{href:e&&e.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const s=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),e=t[s.toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return $d(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!s)return;if(s[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;const o=s[1]||s[2]||"";if(!o||!n||this.rules.inline.punctuation.exec(n)){const o=[...s[0]].length-1;let a,n,i=o,r=0;const c=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+o);(s=c.exec(t))!=null;){if(a=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!a)continue;if(n=[...a].length,s[3]||s[4]){i+=n;continue}if((s[5]||s[6])&&o%3&&!((o+n)%3)){r+=n;continue}if(i-=n,i>0)continue;n=Math.min(n,n+i+r);const l=[...s[0]][0].length,t=e.slice(0,o+s.index+l+n);if(Math.min(o,n)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const c=t.slice(2,-2);return{type:"strong",raw:t,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," ");const n=this.rules.other.nonSpaceChar.test(e),s=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&s&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]==="@"?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]==="@")e=t[0],n="mailto:"+e;else{let s;do s=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(s!==t[0])e=t[0],t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},se=class __Lexer{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Ce,this.options.tokenizer=this.options.tokenizer||new Yt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:F,block:on.normal,inline:nt.normal};this.options.pedantic?(t.block=on.pedantic,t.inline=nt.pedantic):this.options.gfm&&(t.block=on.gfm,this.options.breaks?t.inline=nt.breaks:t.inline=nt.gfm),this.tokenizer.rules=t}static get rules(){return{block:on,inline:nt}}static lex(e,t){const n=new __Lexer(t);return n.lex(e)}static lexInline(e,t){const n=new __Lexer(t);return n.inlineTokens(e)}lex(e){e=e.replace(F.carriageReturn,` 92`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(F.tabCharGlobal," ").replace(F.spaceLine,""));e;){let s;if(this.options.extensions?.block?.some(n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0)))continue;if(s=this.tokenizer.space(e)){e=e.substring(s.raw.length);const n=t.at(-1);s.raw.length===1&&n!==void 0?n.raw+=` 93`:t.push(s);continue}if(s=this.tokenizer.code(e)){e=e.substring(s.raw.length);const n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=` 94`+s.raw,n.text+=` 95`+s.text,this.inlineQueue.at(-1).src=n.text):t.push(s);continue}if(s=this.tokenizer.fences(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.heading(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.hr(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.blockquote(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.list(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.html(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.def(e)){e=e.substring(s.raw.length);const n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=` 96`+s.raw,n.text+=` 97`+s.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.lheading(e)){e=e.substring(s.raw.length),t.push(s);continue}let o=e;if(this.options.extensions?.startBlock){let t=1/0;const s=e.slice(1);let n;this.options.extensions.startBlock.forEach(e=>{n=e.call({lexer:this},s),typeof n=="number"&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(s=this.tokenizer.paragraph(o))){const i=t.at(-1);n&&i?.type==="paragraph"?(i.raw+=` 98`+s.raw,i.text+=` 99`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(s),n=o.length!==e.length,e=e.substring(s.raw.length);continue}if(s=this.tokenizer.text(e)){e=e.substring(s.raw.length);const n=t.at(-1);n?.type==="text"?(n.raw+=` 100`+s.raw,n.text+=` 101`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(s);continue}if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,s=null;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)e.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,s.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,i="";for(;e;){o||(i=""),o=!1;let s;if(this.options.extensions?.inline?.some(n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0)))continue;if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length);const n=t.at(-1);s.type==="text"&&n?.type==="text"?(n.raw+=s.raw,n.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(e,n,i)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(e)){e=e.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(e))){e=e.substring(s.raw.length),t.push(s);continue}let a=e;if(this.options.extensions?.startInline){let t=1/0;const s=e.slice(1);let n;this.options.extensions.startInline.forEach(e=>{n=e.call({lexer:this},s),typeof n=="number"&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(s=this.tokenizer.inlineText(a)){e=e.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(i=s.raw.slice(-1)),o=!0;const n=t.at(-1);n?.type==="text"?(n.raw+=s.raw,n.text+=s.text):t.push(s);continue}if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},Mt=class{options;parser;constructor(e){this.options=e||Ce}space(){return""}code({text:e,lang:t,escaped:n}){const o=(t||"").match(F.notSpaceStart)?.[0],s=e.replace(F.endingNewline,"")+` 102`;return o?'<pre><code class="language-'+oe(o)+'">'+(n?s:oe(s,!0))+`</code></pre> 103`:"<pre><code>"+(n?s:oe(s,!0))+`</code></pre> 104`}blockquote({tokens:e}){const t=this.parser.parse(e);return`<blockquote> 105${t}</blockquote> 106`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}> 107`}hr(){return`<hr> 108`}list(e){const t=e.ordered,n=e.start;let s="";for(let t=0;t<e.items.length;t++){const n=e.items[t];s+=this.listitem(n)}const o=t?"ol":"ul",i=t&&n!==1?' start="'+n+'"':"";return"<"+o+i+`> 109`+s+"</"+o+`> 110`}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=n+" "+oe(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li> 111`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p> 112`}table(e){let s="",t="";for(let n=0;n<e.header.length;n++)t+=this.tablecell(e.header[n]);s+=this.tablerow({text:t});let n="";for(let s=0;s<e.rows.length;s++){const o=e.rows[s];t="";for(let e=0;e<o.length;e++)t+=this.tablecell(o[e]);n+=this.tablerow({text:t})}return n&&(n=`<tbody>${n}</tbody>`),`<table> 113<thead> 114`+s+`</thead> 115`+n+`</table> 116`}tablerow({text:e}){return`<tr> 117${e}</tr> 118`}tablecell(e){const n=this.parser.parseInline(e.tokens),t=e.header?"th":"td",s=e.align?`<${t} align="${e.align}">`:`<${t}>`;return s+n+`</${t}> 119`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${oe(e,!0)}</code>`}br(){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){const o=this.parser.parseInline(n),i=Hd(e);if(i===null)return o;e=i;let s='<a href="'+e+'"';return t&&(s+=' title="'+oe(t)+'"'),s+=">"+o+"</a>",s}image({href:e,title:t,text:n}){const o=Hd(e);if(o===null)return oe(n);e=o;let s=`<img src="${e}" alt="${n}"`;return t&&(s+=` title="${oe(t)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:oe(e.text)}},Cn=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},ae=class __Parser{options;renderer;textRenderer;constructor(e){this.options=e||Ce,this.options.renderer=this.options.renderer||new Mt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Cn}static parse(e,t){const n=new __Parser(t);return n.parse(e)}static parseInline(e,t){const n=new __Parser(t);return n.parseInline(e)}parse(e,t=!0){let n="";for(let o=0;o<e.length;o++){const i=e[o];if(this.options.extensions?.renderers?.[i.type]){const e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(t!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const s=i;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let a=s,i=this.renderer.text(a);for(;o+1<e.length&&e[o+1].type==="text";)a=e[++o],i+=` 120`+this.renderer.text(a);t?n+=this.renderer.paragraph({type:"paragraph",raw:i,text:i,tokens:[{type:"text",raw:i,text:i,escaped:!0}]}):n+=i;continue}default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t=this.renderer){let n="";for(let i=0;i<e.length;i++){const o=e[i];if(this.options.extensions?.renderers?.[o.type]){const e=this.options.extensions.renderers[o.type].call({parser:this},o);if(e!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){n+=e||"";continue}}const s=o;switch(s.type){case"escape":{n+=t.text(s);break}case"html":{n+=t.html(s);break}case"link":{n+=t.link(s);break}case"image":{n+=t.image(s);break}case"strong":{n+=t.strong(s);break}case"em":{n+=t.em(s);break}case"codespan":{n+=t.codespan(s);break}case"br":{n+=t.br(s);break}case"del":{n+=t.del(s);break}case"text":{n+=t.text(s);break}default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}},kt=class{options;block;constructor(e){this.options=e||Ce}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?se.lex:se.lexInline}provideParser(){return this.block?ae.parse:ae.parseInline}},xo=class{defaults=Po();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ae;Renderer=Mt;TextRenderer=Cn;
vendor: 5,072 bytes, lines 120-121
120Lexer=se;Tokenizer=Yt;Hooks=kt;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(const s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":{const e=s;for(const s of e.header)n=n.concat(this.walkTokens(s.tokens,t));for(const s of e.rows)for(const e of s)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=s;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=s;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(s=>{const o=e[s].flat(1/0);n=n.concat(this.walkTokens(o,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{const n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];n?e.renderers[t.name]=function(...s){let e=t.renderer.apply(this,s);return e===!1&&(e=n.apply(this,s)),e}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||t.level!=="block"&&t.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&(t.level==="block"?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:t.level==="inline"&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),n.extensions=e),t.renderer){const e=this.defaults.renderer||new Mt(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const s=n,o=t.renderer[s],i=e[s];e[s]=(...t)=>{let n=o.apply(e,t);return n===!1&&(n=i.apply(e,t)),n||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new Yt(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const s=n,o=t.tokenizer[s],i=e[s];e[s]=(...t)=>{let n=o.apply(e,t);return n===!1&&(n=i.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new kt;for(const n in t.hooks){if(!(n in e))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;const s=n,o=t.hooks[s],i=e[s];kt.passThroughHooks.has(n)?e[s]=t=>{if(this.defaults.async)return Promise.resolve(o.call(e,t)).then(t=>i.call(e,t));const n=o.call(e,t);return i.call(e,n)}:e[s]=(...t)=>{let n=o.apply(e,t);return n===!1&&(n=i.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,s=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(s.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return se.lex(e,t??this.defaults)}parser(e,t){return ae.parse(e,t??this.defaults)}parseMarkdown(e){const t=(t,n)=>{const i={...n},s={...this.defaults,...i},o=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&i.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t=="undefined"||t===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=e);const a=s.hooks?s.hooks.provideLexer():e?se.lex:se.lexInline,r=s.hooks?s.hooks.provideParser():e?ae.parse:ae.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(t):t).then(e=>a(e,s)).then(e=>s.hooks?s.hooks.processAllTokens(e):e).then(e=>s.walkTokens?Promise.all(this.walkTokens(e,s.walkTokens)).then(()=>e):e).then(e=>r(e,s)).then(e=>s.hooks?s.hooks.postprocess(e):e).catch(o);try{s.hooks&&(t=s.hooks.preprocess(t));let e=a(t,s);s.hooks&&(e=s.hooks.processAllTokens(e)),s.walkTokens&&this.walkTokens(e,s.walkTokens);let n=r(e,s);return s.hooks&&(n=s.hooks.postprocess(n)),n}catch(e){return o(e)}};return t}onError(e,t){return n=>{if(n.message+=` 121Please report this to https://github.com/markedjs/marked.`,e){const e="<p>An error occurred:</p><pre>"+oe(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},De=new xo;function b(e,t){return De.parse(e,t)}b.options=b.setOptions=function(e){return De.setOptions(e),b.defaults=De.defaults,Pl(b.defaults),b},b.getDefaults=Po,b.defaults=Ce,b.use=function(...e){return De.use(...e),b.defaults=De.defaults,Pl(b.defaults),b},b.walkTokens=function(e,t){return De.walkTokens(e,t)},b.parseInline=De.parseInline,b.Parser=ae,b.parser=ae.parse,b.Renderer=Mt,b.TextRenderer=Cn,b.Lexer=se,b.lexer=se.lex,b.Tokenizer=Yt,b.Hooks=kt,b.parse=b,H1=b.options,P1=b.setOptions,R1=b.use,L1=b.walkTokens,N1=b.parseInline,D1=ae.parse,T1=se.lex;function F1(e){if(typeof e=="function"&&(e={highlight:e}
121),!e||typeof e.highlight!="function")throw new Error("Must provide highlight function");return typeof e.langPrefix!="string"&&(e.langPrefix="language-"),typeof e.emptyLangClass!="string"&&(e.emptyLangClass=""),{async:!!e.async,walkTokens(t){if(t.type!=="code")return;const n=cu(t.lang);if(e.async)return Promise.resolve(e.highlight(t.text,n,t.lang||"")).then(lu(t));const s=e.highlight(t.text,n,t.lang||"");if(s instanceof Promise)throw new Error("markedHighlight is not set to async but the highlight function is async. Set the async option to true on markedHighlight to await the async highlight function.");lu(t)(s)},useNewRenderer:!0,renderer:{code(t,n,s){typeof t=="object"&&(s=t.escaped,n=t.lang,t=t.text);const o=cu(n),i=o?e.langPrefix+gu(o):e.emptyLangClass,a=i?` class="${i}"`:"";return t=t.replace(/\n$/,""),`<pre><code${a}>${s?t:gu(t,!0)} 122</code></pre>`}}}}function cu(e){return(e||"").match(/\S*/)[0]}function lu(e){return t=>{typeof t=="string"&&t!==e.text&&(e.escaped=!0,e.text=t)}}wo=/[&<>"']/,uu=new RegExp(wo.source,"g"),_o=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,mu=new RegExp(_o.source,"g"),fu={"&":"&","<":"<",">":">",'"':""","'":"'"},yo=e=>fu[e];function gu(e,t){if(t){if(wo.test(e))return e.replace(uu,yo)}else if(_o.test(e))return e.replace(mu,yo);return e}vu=V1(U1(),1),bu=["nick","mail","link"],jo=e=>e.filter(e=>bu.includes(e)),bo=["//unpkg.com/@waline/[email protected]/weibo"],_u=["//unpkg.com/@waline/emojis/tieba/tieba_agree.png","//unpkg.com/@waline/emojis/tieba/tieba_look_down.png","//unpkg.com/@waline/emojis/tieba/tieba_
122sunglasses.png","//unpkg.com/@waline/emojis/tieba/tieba_pick_nose.png","//unpkg.com/@waline/emojis/tieba/tieba_awkward.png","//unpkg.com/@waline/emojis/tieba/tieba_sleep.png"],wu=e=>new Promise((t,n)=>{if(e.size>128e3)return n(new Error("File too large! File size limit 128KB"));const s=new FileReader;s.readAsDataURL(e),s.onload=()=>t(s.result),s.onerror=n}),Ou=e=>e?'<p class="wl-tex">TeX is not available in preview</p>':'<span class="wl-tex">TeX is not available in preview</span>',xu=e=>{const t=async(t,n={})=>fetch(`https://api.giphy.com/v1/gifs/${t}?${new URLSearchParams({lang:e,limit:"20",rating:"g",api_key:"6CIMLkNMMOhRcXPoMCPkFy4Ybk2XUiMp",...n}).toString()}`).then(e=>e.json()).then(({data:e})=>e.map(e=>({title:e.title,src:e.images.downsized_medium.url})));return{search:e=>t("search",{q:e,offset:"0"}),default:()=>t("trending",{}),more:(e,n=0)=>t("search",{q:e,offset:n.toString()})}},Cu=/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/,Eu=/</,ku=/(?:^|\s)\/\/(.+?)$/gm,Au=/\/\*([\S\s]*?)\*\//gm,Su=new RegExp(`(${Cu.source}|${Eu.source})|((?:${ku.source})|(?:${Au.source}))`,"gmi"),vo=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"],xn={},Tu=e=>{let t=0;return e.replace(Su,(e,n,s)=>{if(s)return`<span style="color: slategray">${s}</span>`;if(n==="<")return"<";let o;xn[n]?o=xn[n]:(o=vo[t],xn[n]=o);const i=`<span style="color: #${o}">${n}</span>`;return t=++t%vo.length,i})},zu=["nick","nickError","mail","mailError","link","optional","placeholder","sofa","submit","like","cancelLike","reply","cancelReply","comment","refresh","more","preview","emoji","uploadImage","seconds","minutes","hours","days","now","uploading","login","logout","admin","sticky","word","wordHint","anonymous","level0","level1","level2","level3","level4","level5","gif","gifSearchPlaceholder","profile","approved","waiting","spam","unsticky","oldest","latest","hottest","reactionTitle"],K=e=>Object.fromEntries(e.map((e,t)=>[zu[t],e])),Nu=K(["Benutzername","Der Benutzername darf nicht weniger als 3 Bytes umfassen.","E-Mail","Bitte best\xE4tigen Sie Ihre E-Mail-Adresse.","Webseite","Optional","Kommentieren Sie hier...","Noch keine Kommentare.","Senden","Gef\xE4llt mir","Gef\xE4llt mir nicht mehr","Antworten","Antwort abbrechen","Kommentare","Aktualisieren","Mehr laden...","Vorschau","Emoji","Ein Bild hochladen","Vor einigen Sekunden","Vor einigen Minuten","Vor einigen Stunden","Vor einigen Tagen","Gerade eben","Hochladen l\xE4uft","Anmelden","Abmelden","Admin","Angeheftet","W\xF6rter","Bitte geben Sie Kommentare zwischen $0 und $1 W\xF6rtern ein! Aktuelle Anzahl der W\xF6rter: $2","Anonym","Zwerge","Hobbits","Ents","Magier","Elfen","Ma\xEFar","GIF","Nach einem GIF suchen","Profil","Genehmigt","Ausstehend","Spam","L\xF6sen","\xC4lteste","Neueste","Am beliebtesten","Was denken Sie?"]),go=K(["NickName","NickName cannot be less than 3 bytes.","E-Mail","Please confirm your email address.","Website","Optional","Comment here...","No comment yet.","Submit","Like","Cancel like","Reply","Cancel reply","Comments","Refresh","Load More...","Preview","Emoji","Upload Image","seconds ago","minutes ago","hours ago","days ago","just now","Uploading","Login","logout","Admin","Sticky","Words",`Please input comments between $0 and $1 words! 123 Current word number: $2`,"Anonymous","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","Search GIF","Profile","Approved","Waiting","Spam","Unsticky","Oldest","Latest","Hottest","What do you think?"]),po=K(["Nombre de usuario","El nombre de usuario no puede tener menos de 3 bytes.","Correo electr\xF3nico","Por favor confirma tu direcci\xF3n de correo electr\xF3nico.","Sitio web","Opcional","Comenta aqu\xED...","Sin comentarios todav\xEDa.","Enviar","Like","Anular like","Responder","Anular respuesta","Comentarios","Recargar","Cargar M\xE1s...","Previsualizar","Emoji","Subir Imagen","segundos atr\xE1s","minutos atr\xE1s","horas atr\xE1s","d\xEDas atr\xE1s","justo ahora","Subiendo","Iniciar sesi\xF3n","cerrar sesi\xF3n","Admin","Fijado","Palabras",`Por favor escriba entre $0 y $1 palabras! 124 El n\xFAmero actual de palabras: $2`,"An\xF3nimo","Enanos","Hobbits","Ents","Magos","Elfos","Maiar","GIF","Buscar GIF","Perfil","Aprobado","Esperando","Spam","Desfijar","M\xE1s antiguos","M\xE1s recientes","M\xE1s vistos","\xBFQu\xE9 piensas?"]),fo=K(["Pseudo","Le pseudo ne peut pas faire moins de 3 octets.","E-mail","Veuillez confirmer votre adresse e-mail.","Site Web","Optionnel","Commentez ici...","Aucun commentaire pour l'instant.","Envoyer","J'aime","Annuler le j'aime","R\xE9pondre","Annuler la r\xE9ponse","Commentaires","Actualiser","Charger plus...","Aper\xE7u","Emoji","T\xE9l\xE9charger une image","Il y a quelques secondes","Il y a quelques minutes","Il y a quelques heures","Il y a quelques jours","\xC0 l'instant","T\xE9l\xE9chargement en cours","Connexion","D\xE9connexion","Admin","\xC9pingl\xE9","Mots",`Veuillez saisir des commentaires entre $0 et $1 mots ! 125 Nombre actuel de mots : $2`,"Anonyme","Nains","Hobbits","Ents","Mages","Elfes","Ma\xEF
125ar","GIF","Rechercher un GIF","Profil","Approuv\xE9","En attente","Ind\xE9sirable","D\xE9tacher","Le plus ancien","Dernier","Le plus populaire","Qu'en pensez-vous ?"]),Ms=K(["ããã¯ãã¼ã ","3ãã¤ã以ä¸ã®ããã¯ãã¼ã ããå ¥åãã ãã.","ã¡ã¼ã«ã¢ãã¬ã¹","ã¡ã¼ã«ã¢ãã¬ã¹ãã確èªãã ãã.","ãµã¤ã","ãªãã·ã§ã³","ããã«ã³ã¡ã³ã","ã³ã¡ã³ããã¾ããã~","æåºãã","Like","Cancel like","è¿ä¿¡ãã","ãã£ã³ã»ã«","ã³ã¡ã³ã","æ´æ°","ããã«èªã¿è¾¼ã","ãã¬ãã¥ã¼","çµµæå","ç»åãã¢ãããã¼ã","ç§å","åå","æéå","æ¥å","ãã£ã ä»","ã¢ãããã¼ã","ãã°ã¤ã³ãã","ãã°ã¢ã¦ã","管çè ","ãããã«ç½®ã","ã¯ã¼ã",`ã³ã¡ã³ã㯠$0 ãã $1 ã¯ã¼ãã®éã§ãªããã°ãªãã¾ãã! 126 ç¾å¨ã®åèªçªå·: $2`,"å¿å","ããã«ã","ãªãã«ã","ãããã","ç¹ã«ãããã","ãã","ãªã¬ã","GIF","æ¢ã GIF","å人æ å ±","æ¿èªæ¸ã¿","å¾ ã£ã¦ãã","ã¹ãã ","ã¹ãã¤ããªã","éé ","æ£é ","人æ°é ","ã©ãæãã¾ããï¼"]),Iu=K(["Apelido","Apelido n\xE3o pode ser menor que 3 bytes.","E-Mail","Por favor, confirme seu endere\xE7o de e-mail.","Website","Opcional","Comente aqui...","Nenhum coment\xE1rio, ainda.","Enviar","Like","Cancel like","Responder","Cancelar resposta","Coment\xE1rios","Refrescar","Carregar Mais...","Visualizar","Emoji","Enviar Imagem","segundos atr\xE1s","minutos atr\xE1s","horas atr\xE1s","dias atr\xE1s","agora mesmo","Enviando","Entrar","Sair","Admin","Sticky","Palavras",`Favor enviar coment\xE1rio com $0 a $1 palavras! 127 N\xFAmero de palavras atuais: $2`,"An\xF4nimo","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","Pesquisar GIF","informa\xE7\xE3o pessoal","Aprovado","Espera","Spam","Unsticky","Mais velho","Mais recentes","Mais quente","O que voc\xEA acha?"]),uo=K(["ÐÑевдоним","Ðикнейм не Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¼ÐµÐ½ÑÑе 3 байÑ.","Ðл. адÑеÑ","ÐожалÑйÑÑа, подÑвеÑдиÑе адÑÐµÑ Ð²Ð°Ñей ÑлекÑÑонной поÑÑÑ.","Ðеб-ÑайÑ","ÐеобÑзаÑелÑнÑй","ÐомменÑаÑий здеÑÑ...","Ðока Ð½ÐµÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑиев.","ÐÑпÑавиÑÑ","Like","Cancel like","ÐÑвеÑаÑÑ","ÐÑмениÑÑ Ð¾ÑвеÑ","ÐомменÑаÑии","ÐбновиÑÑ","ÐагÑÑзи болÑÑе...","ÐÑевÑÑ","Ñмодзи","ÐагÑÑзиÑÑ Ð¸Ð·Ð¾Ð±Ñажение","ÑекÑнд назад","неÑколÑко минÑÑ Ð½Ð°Ð·Ð°Ð´","неÑколÑко ÑаÑов назад","дней назад","пÑÑмо ÑейÑаÑ","ÐагÑÑзка","ÐвÑоÑизоваÑÑÑÑ","ÐÑÑ Ð¾Ð´ из ÑиÑÑемÑ","Ðдмин","Ðипкий","Слова",`ÐожалÑйÑÑа, введиÑе комменÑаÑии Ð¾Ñ $0 до $1 Ñлов! 128ÐÐ¾Ð¼ÐµÑ ÑекÑÑего Ñлова: $2`,"ÐнонимнÑй","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","ÐоиÑк GIF","ÐеÑÑоналÑнÑе даннÑе","ÐдобÑеннÑй","ÐжидаÑÑий","Спам","Ðелипкий","ÑамÑй ÑÑаÑÑй","поÑледний","ÑамÑй гоÑÑÑий","ЧÑо Ð²Ñ Ð´ÑмаеÑе?"]),lo=K(["T\xEAn","T\xEAn kh\xF4ng ÄÆ°á»£c nhá» hÆ¡n 3 k\xFD tá»±.","E-Mail","Vui l\xF2ng x\xE1c nháºp Äá»a chá» email cá»§a bạn.","Website","T\xF9y chá»n","H\xE3y b\xECnh luáºn c\xF3 vÄn ho\xE1!","Chưa c\xF3 b\xECnh luáºn","Gá»i","Th\xEDch","Bá» th\xEDch","Trả lá»i","Há»§y bá»","b\xECnh luáºn","L\xE0m má»i","Tải th\xEAm...","Xem trưá»c","Emoji","Tải l\xEAn h\xECnh ảnh","gi\xE2y trưá»c","ph\xFAt trưá»c","giá» trưá»c","ng\xE0y trưá»c","Vừa xong","Äang tải l\xEAn","ÄÄng nháºp","ÄÄng xuất","Quản trá» vi\xEAn","D\xEDnh","từ",`B\xECnh luáºn phải c\xF3 Äá» d\xE0i giữa $0 v\xE0 $1 từ! 129 Sá» từ hiá»n tại: $2`,"V\xF4 danh","Ngưá»i l\xF9n","Ngưá»i t\xED hon","Thần rừng","Ph\xE1p sư","Ti\xEAn tá»c","Maiar","Ảnh GIF","T\xECm kiếm ảnh GIF","th\xF4ng tin c\xE1 nh\xE2n","Ä\xE3 ÄÆ°á»£c ph\xEA duyá»t","Äang chá» Äợi","Thư r\xE1c","Kh\xF4ng d\xEDnh","l\xE2u Äá»i nhất","muá»n nhất","n\xF3ng nhất","What do you think?"]),co=K(["æµç§°","æµç§°ä¸è½å°äº3个å符","é®ç®±","è¯·å¡«åæ£ç¡®çé®ä»¶å°å","ç½å","å¯é","欢è¿è¯è®º","æ¥åè¯è®ºå§~","æäº¤","忬¢","忶忬¢","åå¤","åæ¶åå¤","è¯è®º","å·æ°","å è½½æ´å¤...","é¢è§","表æ ","ä¸ä¼ å¾ç","ç§å","åéå","å°æ¶å","天å","åå","æ£å¨ä¸ä¼ ","ç»å½","éåº","å主","置顶","å",`è¯è®ºåæ°åºå¨ $0 å° $1 åä¹é´ï¼ 130å½ååæ°ï¼$2`,"å¿å","æ½æ°´","åæ³¡","åæ§½","æ´»è·","è¯ç¨","ä¼ è¯´","表æ å ","æç´¢è¡¨æ å ","ä¸ªäººèµæ","éè¿","å¾ å®¡æ ¸","åå¾","åæ¶ç½®é¡¶","æååº","ææ£åº","æ
130ç度","ä½ è®¤ä¸ºè¿ç¯æç« æä¹æ ·ï¼"]),Wu=K(["æ±ç¨±","æ±ç¨±ä¸è½å°æ¼3ååå ","éµç®±","è«å¡«å¯«æ£ç¢ºçéµä»¶å°å","ç¶²å","å¯é¸","æ¡è¿çè¨","ä¾ç¼çè¨å§~","éåº","åæ¡","åæ¶åæ¡","åè¦","åæ¶åè¦","çè¨","éæ´","è¼å ¥æ´å¤...","é 覽","表æ ","ä¸å³åç","ç§å","åéå","å°æå","天å","åå","æ£å¨ä¸å³","ç»å ¥","ç»åº","管çè ","ç½®é ","å",`çè¨åæ¸æå¨ $0 å° $1 åä¹éï¼ 131ç®å忏ï¼$2`,"å¿å","æ½æ°´","åæ³¡","åæ§½","æ´»èº","å¤è©±","å³èªª","表æ å ","æå°è¡¨æ å ","åäººè³æ","éé","å¾ å¯©æ ¸","åå¾","åæ¶ç½®é ","ææ©","ææ°","ç±é","ä½ èªçºéç¯æç« æéº¼æ¨£ï¼"]),ro="en-US",_n={zh:co,"zh-cn":co,"zh-tw":Wu,en:go,"en-us":go,fr:fo,"fr-fr":fo,jp:Ms,"jp-jp":Ms,"pt-br":Iu,ru:uo,"ru-ru":uo,vi:lo,"vi-vn":lo,de:Nu,es:po,"es-mx":po},Ui=e=>_n[e.toLowerCase()]||_n[ro.toLowerCase()],oo=e=>Object.keys(_n).includes(e.toLowerCase())?e:ro,so={latest:"insertedAt_desc",oldest:"insertedAt_asc",hottest:"like_desc"},Xu=Object.keys(so),rn=Symbol("waline-config"),no=e=>{try{e=decodeURI(e)}catch{}return e},to=(e="")=>e.replace(/\/$/u,""),eo=e=>/^(https?:)?\/\//.test(e),ln=e=>{const t=to(e);return eo(t)?t:`https://${t}`},n1=e=>Array.isArray(e)?e:!!e&&[0,e],yn=(e,t)=>typeof e=="function"?e:e!==!1&&t,o1=({serverURL:e,path:t=location.pathname,lang:n=typeof navigator>"u"?"en-US":navigator.language,locale:s,emoji:o=bo,meta:i=["nick","mail","link"],requiredMeta:a=[],dark:r=!1,pageSize:c=10,wordLimit:l,imageUploader:d,highlighter:u,texRenderer:h,copyright:m=!0,login:f="enable",search:p,reaction:g,recaptchaV3Key:v="",turnstileKey:b="",commentSorting:j="latest",...y})=>({serverURL:ln(e),path:no(t),lang:oo(n),locale:{...Ui(oo(n)),...typeof s=="object"?s:{}},wordLimit:n1(l),meta:jo(i),requiredMeta:jo(a),imageUploader:yn(d,wu),highlighter:yn(u,Tu),texRenderer:yn(h,Ou),dark:r,emoji:typeof o=="boolean"?o?bo:[]:o,pageSize:c,login:f,copyright:m,search:p!==!1&&(typeof p=="object"?p:xu(n)),recaptchaV3Key:v,turnstileKey:b,reaction:Array.isArray(g)?g:g===!0?_u:[],commentSorting:j,...y}),Xe=e=>typeof e=="string",jn="{--waline-white:#000;--waline-light-grey:#666;--waline-dark-grey:#999;--waline-color:#888;--waline-bg-color:#1e1e1e;--waline-bg-color-light:#272727;--waline-bg-color-hover: #444;--waline-border-color:#333;--waline-disable-bg-color:#444;--waline-disable-color:#272727;--waline-bq-color:#272727;--waline-info-bg-color:#272727;--waline-info-color:#666}",r1=e=>Xe(e)?e==="auto"?`@media(prefers-color-scheme:dark){body${jn}}`:`${e}${jn}`:e===!0?`:root${jn}`:"",bn=(e,t)=>{let n=e.toString();for(;n.length<t;)n="0"+n;return n},l1=e=>{const t=bn(e.getDate(),2),n=bn(e.getMonth()+1,2);return`${bn(e.getFullYear(),2)}-${n}-${t}`},d1=(e,t,n)=>{if(!e)return"";const o=Xe(e)?new Date(e.includes(" ")?e.replace(/-/g,"/"):e):e,i=t.getTime()-o.getTime(),s=Math.floor(i/(24*3600*1e3));if(s===0){const e=i%864e5,t=Math.floor(e/(3600*1e3));if(t===0){const t=e%36e5,s=Math.floor(t/(60*1e3));if(s===0){const e=t%6e4;return`${Math.round(e/1e3)} ${n.seconds}`}return`${s} ${n.minutes}`}return`${t} ${n.hours}`}return s<0?n.now:s<8?`${s} ${n.days}`:l1(o)},u1=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,h1=e=>u1.test(e),m1=e=>!!/@[0-9]+\.[0-9]+\.[0-9]+/.test(e),f1=e=>{const t=et("WALINE_EMOJI",{}),n=m1(e);if(n){const n=t.value[e];if(n)return Promise.resolve(n)}return fetch(`${e}/info.json`).then(e=>e.json()).then(s=>{const o={folder:e,...s};return n&&(t.value[e]=o),o})},Js=(e,t="",n="",s="")=>`${t?`${t}/`:""}${n}${e}${s?`.${s}`:""}`,i1=e=>Promise.all(e.map(e=>Xe(e)?f1(to(e)):Promise.resolve(e))).then(e=>{const t={tabs:[],map:{}};return e.forEach(e=>{const{name:i,folder:s,icon:a,prefix:n="",type:o,items:r}=e;t.tabs.push({name:i,icon:Js(a,s,n,o),items:r.map(e=>{const i=`${n}${e}`;return t.map[i]=Js(e,s,n,o),i})})}),t}),Zs=e=>{e.name!=="AbortError"&&console.error(e.message)},s1=e=>e instanceof HTMLElement?e:Xe(e)?document.querySelector(e):null,Ju=e=>
131e.type.includes("image"),Qs=e=>{const t=Array.from(e).find(Ju);return t?t.getAsFile():null},Zu=/\$.*?\$/,Qu=/^\$(.*?)\$/,Yu=/^(?:\s{0,3})\$\$((?:[^\n]|\n[^\n])+?)\n{0,1}\$\$/,qu=e=>[{name:"blockMath",level:"block",tokenizer(t){const n=Yu.exec(t);if(n!==null)return{type:"html",raw:n[0],text:e(!0,n[1])}}},{name:"inlineMath",level:"inline",start(e){const t=e.search(Zu);return t!==-1?t:e.length},tokenizer(t){const n=Qu.exec(t);if(n!==null)return{type:"html",raw:n[0],text:e(!1,n[1])}}}],Xs=(e="",t={})=>e.replace(/:(.+?):/g,(e,n)=>t[n]?`<img class="wl-emoji" src="${t[n]}" alt="${n}">`:e),Du=(e,{emojiMap:t,highlighter:n,texRenderer:s})=>{const o=new xo;if(o.setOptions({breaks:!0}),n&&o.use(F1({highlight:n})),s){const e=qu(s);o.use({extensions:e})}return o.parse(Xs(e,t))},vn=e=>{const{path:t}=e.dataset;return t!=null&&t.length?t:null},Mu=e=>e.match(/[\w\d\s,.\u00C0-\u024F\u0400-\u04FF]+/giu),ju=e=>e.match(/[\u4E00-\u9FD5]/gu),hu=e=>{var t,n;return(((t=Mu(e))==null?void 0:t.reduce((e,t)=>e+(["",",","."].includes(t.trim())?0:t.trim().split(/\s+/u).length),0))??0)+(((n=ju(e))==null?void 0:n.length)??0)},ru=async()=>{const{userAgentData:t}=navigator;let e=navigator.userAgent;if(!t||t.platform!=="Windows")return e;const{platformVersion:n}=await t.getHighEntropyValues(["platformVersion"]);return n&&parseInt(n.split(".")[0])>=13&&(e=e.replace("Windows NT 10.0","Windows NT 11.0")),e},qs=({serverURL:e,path:t=window.location.pathname,selector:n=".waline-comment-count",lang:s=navigator.language})=>{const o=new AbortController,i=document.querySelectorAll(n);return i.length&&d4({serverURL:ln(e),paths:Array.from(i).map(e=>no(vn(e)??t)),lang:s,signal:o.signal}).then(e=>{i.forEach((t,n)=>{t.innerText=e[n].toString()})}).catch(Zs),o.abort.bind(o)},Ws=({size:e})=>f("svg",{class:"wl-close-icon",viewBox:"0 0 1024 1024",width:e,height:e},[f("path",{d:"M697.173 85.333h-369.92c-144.64 0-241.92 101.547-241.92 252.587v348.587c0 150.613 97.28 252.16 241.92 252.16h369.92c144.64 0 241.494-101.547 241.494-252.16V337.92c0-151.04-96.854-252.587-241.494-252.587z",fill:"currentColor"}),f("path",{d:"m640.683 587.52-75.947-75.861 75.904-75.862a37.29 37.29 0 0 0 0-52.778 37.205 37.205 0 0 0-52.779 0l-75.946 75.818-75.862-75.946a37.419 37.419 0 0 0-52.821 0 37.419 37.419 0 0 0 0 52.821l75.947 75.947-75.776 75.733a37.29 37.29 0 1 0 52.778 52.821l75.776-75.776 75.947 75.947a37.376 37.376 0 0 0 52.779-52.821z",fill:"#888"})]),iu=()=>f("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},f("path",{d:"m341.013 394.667 27.755 393.45h271.83l27.733-393.45h64.106l-28.01 397.952a64 64 0 0 1-63.83 59.498H368.768a64 64 0 0 1-63.83-59.52l-28.053-397.93h64.128zm139.307 19.818v298.667h-64V414.485h64zm117.013 0v298.667h-64V414.485h64zM181.333 288h640v64h-640v-64zm453.483-106.667v64h-256v-64h256z",fill:"red"})),ou=()=>f("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},f("path",{d:"M563.2 463.3 677 540c1.7 1.2 3.7 1.8 5.8 1.8.7 0 1.4-.1 2-.2 2.7-.5 5.1-2.1 6.6-4.4l25.3-37.8c1.5-2.3 2.1-5.1 1.6-7.8s-2.1-5.1-4.4-6.6l-73.6-49.1 73.6-49.1c2.3-1.5 3.9-3.9 4.4-6.6.5-2.7 0-5.5-1.6-7.8l-25.3-37.8a10.1 10.1 0 0 0-6.6-4.4c-.7-.1-1.3-.2-2-.2-2.1 0-4.1.6-5.8 1.8l-113.8 76.6c-9.2 6.2-14.7 16.4-14.7 27.5.1 11 5.5 21.3 14.7 27.4zM387 348.8h-45.5c-5.7 0-10.4 4.7-10.4 10.4v153.3c0 5.7 4.7 10.4 10.4 10.4H387c5.7 0 10.4-4.7 10.4-10.4V359.2c0-5.7-4.7-10.4-10.4-10.4zm333.8 241.3-41-20a10.3 10.3 0 0 0-8.1-.5c-2.6.9-4.8 2.9-5.9 5.4-30.1 64.9-93.1 109.1-164.4 115.2-5.7.5-9.9 5.5-9.5 11.2l3.9 45.5c.5 5.3 5 9.5 10.3 9.5h.9c94.8-8 178.5-66.5 218.6-152.7 2.4-5 .3-11.2-4.8-13.6zm186-186.1c-11.9-42-30.5-81.4-55.2-117.1-24.1-34.9-53.5-65.6-87.5-91.2-33.9-25.6-71.5-45.5-111.6-59.2-41.2-14-84.1-21.1-127.8-21.1h-1.2c-75.4 0-148.8 21.4-212.5 61.7-63.7 40.3-114.3 97.6-146.5 165.8-32.2 68.1-44.3 143.6-35.1 218.4 9.3 74.8 39.4 145 87.3 203.3.1.2.3.3.4.5l36.2 38.4c1.1 1.2 2.5 2.1 3.9 2.6 73.3 66.7 168.2 103.5 267.5 103.5 73.3 0 145.2-20.3 207.7-58.7 37.3-22.9 70.3-51.5 98.1-85 27.1-32.7 48.7-69.5 64.2-109.1 15.5-39.7 24.4-81.3 26.6-123.8 2.4-43.6-2.5-87-14.5-129zm-60.5 181.1c-8.3 37-22.8 72-43 104-19.7 31.1-44.3 58.6-73.1 81.7-28.8 23.1-61 41-95.7 53.4-35.6 12.7-72.9 19.1-110.9 19.1-82.6 0-161.7-30.6-222.8-86.2l-34.1-35.8c-23.9-29.3-42.4-62.2-55.1-97.7-12.4-34.7-18.8-71-19.2-107.9-.4-36.9 5.4-73.3 17.1-108.2 12-35.8 30-69.2 53.4-99.1 31.7-40.4 71.1-72 117.2-94.1 44.5-21.3 94-32.6 143.4-32.6 49.3 0 97 10.8 141.8 32 34.3 16.3 65.3 38.1 92 64.8 26.1 26 47.5 56 63.6 89.2 16.2 33.2 26.6 68.5 31 105.1 4.6 37.5 2.7 75.3-5.6 112.3z",fill:"
131currentColor"})),su=()=>f("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[f("path",{d:"M784 112H240c-88 0-160 72-160 160v480c0 88 72 160 160 160h544c88 0 160-72 160-160V272c0-88-72-160-160-160zm96 640c0 52.8-43.2 96-96 96H240c-52.8 0-96-43.2-96-96V272c0-52.8 43.2-96 96-96h544c52.8 0 96 43.2 96 96v480z",fill:"currentColor"}),f("path",{d:"M352 480c52.8 0 96-43.2 96-96s-43.2-96-96-96-96 43.2-96 96 43.2 96 96 96zm0-128c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32zm462.4 379.2-3.2-3.2-177.6-177.6c-25.6-25.6-65.6-25.6-91.2 0l-80 80-36.8-36.8c-25.6-25.6-65.6-25.6-91.2 0L200 728c-4.8 6.4-8 14.4-8 24 0 17.6 14.4 32 32 32 9.6 0 16-3.2 22.4-9.6L380.8 640l134.4 134.4c6.4 6.4 14.4 9.6 24 9.6 17.6 0 32-14.4 32-32 0-9.6-4.8-17.6-9.6-24l-52.8-52.8 80-80L769.6 776c6.4 4.8 12.8 8 20.8 8 17.6 0 32-14.4 32-32 0-8-3.2-16-8-20.8z",fill:"currentColor"})]),nu=({active:e=!1})=>f("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[f("path",{d:`M850.654 323.804c-11.042-25.625-26.862-48.532-46.885-68.225-20.022-19.61-43.258-34.936-69.213-45.73-26.78-11.124-55.124-16.727-84.375-16.727-40.622 0-80.256 11.123-114.698 32.135A214.79 214.79 0 0 0 512 241.819a214.79 214.79 0 0 0-23.483-16.562c-34.442-21.012-74.076-32.135-114.698-32.135-29.25 0-57.595 5.603-84.375 16.727-25.872 10.711-49.19 26.12-69.213 45.73-20.105 19.693-35.843 42.6-46.885 68.225-11.453 26.615-17.303 54.877-17.303 83.963 0 27.439 5.603 56.03 16.727 85.117 9.31 24.307 22.659 49.52 39.715 74.981 27.027 40.293 64.188 82.316 110.33 124.915 76.465 70.615 152.189 119.394 155.402 121.371l19.528 12.525c8.652 5.52 19.776 5.52 28.427 0l19.529-12.525c3.213-2.06 78.854-50.756 155.401-121.371 46.143-42.6 83.304-84.622 110.33-124.915 17.057-25.46 30.487-50.674 39.716-74.981 11.124-29.087 16.727-57.678 16.727-85.117.082-29.086-5.768-57.348-17.221-83.963z${e?"":"M512 761.5S218.665 573.55 218.665 407.767c0-83.963 69.461-152.023 155.154-152.023 60.233 0 112.473 33.618 138.181 82.727 25.708-49.109 77.948-82.727 138.18-82.727 85.694 0 155.155 68.06 155.155 152.023C805.335 573.551 512 761.5 512 761.5z"}`,fill:e?"red":"currentColor"})]),tu=()=>f("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[f("path",{d:"M710.816 654.301c70.323-96.639 61.084-230.578-23.705-314.843-46.098-46.098-107.183-71.109-172.28-71.109-65.008 0-126.092 25.444-172.28 71.109-45.227 46.098-70.756 107.183-70.756 172.106 0 64.923 25.444 126.007 71.194 172.106 46.099 46.098 107.184 71.109 172.28 71.109 51.414 0 100.648-16.212 142.824-47.404l126.53 126.006c7.058 7.06 16.297 10.979 26.406 10.979 10.105 0 19.343-3.919 26.402-10.979 14.467-14.467 14.467-38.172 0-52.723L710.816 654.301zm-315.107-23.265c-65.88-65.88-65.88-172.54 0-238.42 32.069-32.07 74.245-49.149 119.471-49.149 45.227 0 87.407 17.603 119.472 49.149 65.88 65.879 65.88 172.539 0 238.42-63.612 63.178-175.242 63.178-238.943 0zm0 0",fill:"currentColor"}),f("path",{d:"M703.319 121.603H321.03c-109.8 0-199.469 89.146-199.469 199.38v382.034c0 109.796 89.236 199.38 199.469 199.38h207.397c20.653 0 37.384-16.645 37.384-37.299 0-20.649-16.731-37.296-37.384-37.296H321.03c-68.582 0-124.352-55.77-124.352-124.267V321.421c0-68.496 55.77-124.267 124.352-124.267h382.289c68.582 0 124.352 55.771 124.352 124.267V524.72c0 20.654 16.736 37.299 37.385 37.299 20.654 0 37.384-16.645 37.384-37.299V320.549c-.085-109.8-89.321-198.946-199.121-198.946zm0 0",fill:"currentColor"})]),eu=()=>f("svg",{width:"16",height:"16",ariaHidden:"true"},f("path",{d:"M14.85 3H1.15C.52 3 0 3.52 0 4.15v7.69C0 12.48.52 13 1.15 13h13.69c.64 0 1.15-.52 1.15-1.15v-7.7C16 3.52 15.48 3 14.85 3zM9 11H7V8L5.5 9.92 4 8v3H2V5h2l1.5 2L7 5h2v6zm2.99.5L9.5 8H11V5h2v3h1.5l-2.51 3.5z",fill:"
131currentColor"})),Zd=()=>f("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},f("path",{d:"M810.667 213.333a64 64 0 0 1 64 64V704a64 64 0 0 1-64 64H478.336l-146.645 96.107a21.333 21.333 0 0 1-33.024-17.856V768h-85.334a64 64 0 0 1-64-64V277.333a64 64 0 0 1 64-64h597.334zm0 64H213.333V704h149.334v63.296L459.243 704h351.424V277.333zm-271.36 213.334v64h-176.64v-64h176.64zm122.026-128v64H362.667v-64h298.666z",fill:"currentColor"})),Qd=()=>f("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},f("path",{d:"M813.039 318.772L480.53 651.278H360.718V531.463L693.227 198.961C697.904 194.284 704.027 192 710.157 192C716.302 192 722.436 194.284 727.114 198.961L813.039 284.88C817.72 289.561 820 295.684 820 301.825C820 307.95 817.72 314.093 813.039 318.772ZM710.172 261.888L420.624 551.431V591.376H460.561L750.109 301.825L710.172 261.888ZM490.517 291.845H240.906V771.09H720.156V521.479C720.156 504.947 733.559 491.529 750.109 491.529C766.653 491.529 780.063 504.947 780.063 521.479V791.059C780.063 813.118 762.18 831 740.125 831H220.937C198.882 831 181 813.118 181 791.059V271.872C181 249.817 198.882 231.935 220.937 231.935H490.517C507.06 231.935 520.47 245.352 520.47 261.888C520.47 278.424 507.06 291.845 490.517 291.845Z",fill:"currentColor"})),Xd=()=>f("svg",{class:"verified-icon",viewBox:"0 0 1024 1024",width:"14",height:"14"},f("path",{d:"m894.4 461.56-54.4-63.2c-10.4-12-18.8-34.4-18.8-50.4v-68c0-42.4-34.8-77.2-77.2-77.2h-68c-15.6 0-38.4-8.4-50.4-18.8l-63.2-54.4c-27.6-23.6-72.8-23.6-100.8 0l-62.8 54.8c-12 10-34.8 18.4-50.4 18.4h-69.2c-42.4 0-77.2 34.8-77.2 77.2v68.4c0 15.6-8.4 38-18.4 50l-54 63.6c-23.2 27.6-23.2 72.4 0 100l54 63.6c10 12 18.4 34.4 18.4 50v68.4c0 42.4 34.8 77.2 77.2 77.2h69.2c15.6 0 38.4 8.4 50.4 18.8l63.2 54.4c27.6 23.6 72.8 23.6 100.8 0l63.2-54.4c12-10.4 34.4-18.8 50.4-18.8h68c42.4 0 77.2-34.8 77.2-77.2v-68c0-15.6 8.4-38.4 18.8-50.4l54.4-63.2c23.2-27.6 23.2-73.2-.4-100.8zm-216-25.2-193.2 193.2a30 30 0 0 1-42.4 0l-96.8-96.8a30.16 30.16 0 0 1 0-42.4c11.6-11.6 30.8-11.6 42.4 0l75.6 75.6 172-172c11.6-11.6 30.8-11.6 42.4 0 11.6 11.6 11.6 30.8 0 42.4z",fill:"#27ae60"})),st=({size:e=100})=>f("svg",{width:e,height:e,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},f("circle",{cx:50,cy:50,fill:"none",stroke:"currentColor",strokeWidth:"4",r:"40","stroke-dasharray":"85 30"},f("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1s",values:"0 50 50;360 50 50",keyTimes:"0;1"}))),qd=()=>f("svg",{width:24,height:24,fill:"currentcolor",viewBox:"0 0 24 24"},[f("path",{style:"transform: translateY(0.5px)",d:"M18.968 10.5H15.968V11.484H17.984V12.984H15.968V15H14.468V9H18.968V10.5V10.5ZM8.984 9C9.26533 9 9.49967 9.09367 9.687 9.281C9.87433 9.46833 9.968 9.70267 9.968 9.984V10.5H6.499V13.5H8.468V12H9.968V14.016C9.968 14.2973 9.87433 14.5317 9.687 14.719C9.49967 14.9063 9.26533 15 8.984 15H5.984C5.70267 15 5.46833 14.9063 5.281 14.719C5.09367 14.5317 5 14.2973 5 14.016V9.985C5 9.70367 5.09367 9.46933 5.281 9.282C5.46833 9.09467 5.70267 9.001 5.984 9.001H8.984V9ZM11.468 9H12.968V15H11.468V9V9Z"}),f("path",{d:"M18.5 3H5.75C3.6875 3 2 4.6875 2 6.75V18C2 20.0625 3.6875 21.75 5.75 21.75H18.5C20.5625 21.75 22.25 20.0625 22.25 18V6.75C22.25 4.6875 20.5625 3 18.5 3ZM20.75 18C20.75 19.2375 19.7375 20.25 18.5 20.25H5.75C4.5125 20.25 3.5 19.2375 3.5 18V6.75C3.5 5.5125 4.5125 4.5 5.75 4.5H18.5C19.7375 4.5 20.75 5.5125 20.75 6.75V18Z"})]),Kd=()=>et("WALINE_USER_META",{nick:"",mail:"",link:""}),Wd=()=>et("WALINE_COMMENT_BOX_EDITOR",""),Vd="WALINE_LIKE",$s=null,Vs=()=>$s??($s=et(Vd,[])),Nd="WALINE_REACTION",Bs=null,Td=()=>Bs??(Bs=et(Nd,{})),Ps={},kd=e=>{const t=Ps[e]??(Ps[e]=(0,vu.load)(e,{useRecaptchaNet:!0,autoHideBadge:!0}));return{execute:e=>t.then(t=>t.execute(e))}},Cd=e=>({execute:async t=>{const{load:s}=_4("https://challenges.cloudflare.com/turnstile/v0/api.js",void 0,{async:!1});await s();const n=window.turnstile;return new Promise(s=>{n==null||n.ready(()=>{n.render(".wl-captcha-container",{sitekey:e,action:t,size:"compact",callback:s})})})}}),pd="WALINE_USER",Rs=null,pn=()=>Rs??(Rs=et(pd,{})),md={key:0,class:"wl-reaction"},ud=["textContent"],ad={class:"wl-reaction-list"},id=["onClick"],td={class:"wl-reaction-img"},ed=["src","alt"],Ql=["textContent"],Yl=["textContent"],ql=Kt({__name:"ArticleReaction",setup(e,{expose:s}){s();const c=Td(),i=$e(rn),u=d(-1),r=d([]),h=E(()=>i.value.locale),g=E(()=>i.value.reaction.length>0),f=E(()=>{const{reaction:e,path:t}=i.value;return e.map((e,n)=>({icon:e,desc:h.value[`reaction${n}`],active:c.value[t]===n}))});let p;const v=async()=>
131{if(!g.value)return;const{serverURL:n,lang:s,path:o,reaction:t}=i.value,e=new AbortController;p=e.abort.bind(e);const a=await Bd({serverURL:n,lang:s,paths:[o],type:t.map((e,t)=>`reaction${t}`),signal:e.signal});r.value=t.map((e,t)=>a[0][`reaction${t}`])},b=async e=>{if(u.value===-1){const{serverURL:s,lang:o,path:n}=i.value,t=c.value[n];u.value=e,t!==void 0&&(await Co({serverURL:s,lang:o,path:n,type:`reaction${t}`,action:"desc"}),r.value[t]=Math.max(r.value[t]-1,0)),t!==e&&(await Co({serverURL:s,lang:o,path:n,type:`reaction${e}`}),r.value[e]=(r.value[e]||0)+1),t===e?delete c.value[n]:c.value[n]=e,u.value=-1}};return Pe(()=>{N(()=>[i.value.serverURL,i.value.path],()=>{v()},{immediate:!0})}),wt(()=>{p()}),()=>f.value.length?(t(),n("div",md,[o("div",{class:"wl-reaction-title",textContent:m(h.value.reactionTitle)},null,8,ud),o("ul",ad,[(t(!0),n(j,null,V(f.value,({active:e,icon:s,desc:i},c)=>(t(),n("li",{key:c,class:C(["wl-reaction-item",{active:e}]),onClick:e=>b(c)},[o("div",td,[o("img",{src:s,alt:i},null,8,ed),u.value===c?(t(),he(a(st),{key:0,class:"wl-reaction-loading"})):(t(),n("div",{key:1,class:"wl-reaction-votes",textContent:m(r.value[c]||0)},null,8,Ql))]),o("div",{class:"wl-reaction-text",textContent:m(i)},null,8,Yl)],10,id))),128))])])):l("v-if",!0)}}),Ul=["data-index"],Bl=["src","title","onClick"],Il=Kt({__name:"ImageWall",props:{items:{default:()=>[]},columnWidth:{default:300},gap:{default:0}},emits:["insert"],setup(e,{expose:s}){const i=e;s();let h=null;const r=Se("wall"),m=d({}),c=d([]),f=()=>{const e=Math.floor((r.value.getBoundingClientRect().width+i.gap)/(i.columnWidth+i.gap));return e>0?e:1},g=e=>new Array(e).fill(null).map(()=>[]),p=async e=>{var t;if(e>=i.items.length)return;await vt();const n=Array.from(((t=r.value)==null?void 0:t.children)??[]).reduce((e,t)=>t.getBoundingClientRect().height<e.getBoundingClientRect().height?t:e);c.value[Number(n.dataset.index)].push(e),await p(e+1)},u=async(e=!1)=>{if(c.value.length===f()&&!e)return;c.value=g(f());const t=window.scrollY;await p(0),window.scrollTo({top:t})},v=e=>{m.value[e.target.src]=!0};return Pe(()=>{u(!0),h=new ResizeObserver(()=>{u()}),h.observe(r.value),N(()=>[i.items],()=>{m.value={},u(!0)}),N(()=>[i.columnWidth,i.gap],()=>{u()})}),ho(()=>{h.unobserve(r.value)}),(e)=>(t(),n("div",{ref_key:"wall",ref:r,class:"wl-gallery",style:Vt({gap:`${e.gap}
131px`})},[(t(!0),n(j,null,V(c.value,(s,i)=>(t(),n("div",{key:i,class:"wl-gallery-column","data-index":i,style:Vt({gap:`${e.gap}px`})},[(t(!0),n(j,null,V(s,s=>(t(),n(j,{key:s},[m.value[e.items[s].src]?l("v-if",!0):(t(),he(a(st),{key:0,size:36,style:{margin:"20px auto"}})),o("img",{class:"wl-gallery-item",src:e.items[s].src,title:e.items[s].title,loading:"lazy",onLoad:v,onClick:t=>e.$emit("insert",``)},null,40,Bl)],64))),128))],12,Ul))),128))],4))}}),Tl={key:0,class:"wl-login-info"},Fl={class:"wl-avatar"},Sl=["title"],Al=["title"],El=["src"],Cl=["title","textContent"],Ol={class:"wl-panel"},_l=["for","textContent"],yl=["id","onUpdate:modelValue","name","type"],jl=["placeholder"],pl={class:"wl-preview"},fl=["innerHTML"],hl={class:"wl-footer"},dl={class:"wl-actions"},cl={href:"https://guides.github.com/features/mastering-markdown/",title:"Markdown Guide","aria-label":"Markdown is supported",class:"wl-action",target:"_blank",rel:"noopener noreferrer"},rl=["title"],il=["title"],ol=["title","aria-label"],sl=["title"],tl={class:"wl-info"},Jc={class:"wl-text-number"},Xc={key:0},Gc=["textContent"],Yc=["textContent"],$c=["disabled"],Hc=["placeholder"],Pc={key:1,class:"wl-loading"},Rc={key:0,class:"wl-tab-wrapper"},Lc=["title","onClick"],Nc=["src","alt"],zc={key:0,class:"wl-tabs"},Sc=["onClick"],vc=["src","alt","title"],pc=["title"],Ls=Kt({__name:"CommentBox",props:{edit:{default:null},rootId:{default:""},replyId:{default:""},replyUser:{default:""}},emits:["log","cancelEdit","cancelReply","submit"],setup(e,{emit:s}){const h=e,b=s,i=$e(rn),f=Wd(),x=Kd(),c=pn(),I=d({}),M=Se("textarea"),Z=Se("image-uploader"),te=Se("emoji-button"),se=Se("emoji-popup"),q=Se("gif-button"),oe=Se("gif-popup"),R=Se("gif-search"),p=d({tabs:[],map:{}}),L=d(0),O=d(!1),_=d(!1),T=d(!1),P=d(""),F=d(0),u=dt({loading:!0,list:[]}),k=d(0),y=d(!1),$=d(""),v=d(!1),H=d(!1),r=E(()=>i.value.locale),A=E(()=>!!c.value.token),S=E(()=>i.value.imageUploader!==!1),z=e=>{const t=M.value,n=t.selectionStart,s=t.selectionEnd||0,o=t.scrollTop;f.value=t.value.substring(0,n)+e+t.value.substring(s,t.value.length),t.focus(),t.selectionStart=n+e.length,t.selectionEnd=n+e.length,t.scrollTop=o},Y=e=>{if(v.value)return;const t=e.key;(e.ctrlKey||e.metaKey)&&t==="Enter"&&K()},D=e=>{const t=`![${i.value.locale.uploading} ${e.name}]()`;return z(t),v.value=!0,Promise.resolve().then(()=>i.value.imageUploader(e)).then(n=>{f.value=f.value.replace(t,`\r 132`)}).catch(e=>{alert(e.message),f.value=f.value.replace(t,"")}).then(()=>{v.value=!1})},G=e=>{var t;if((t=e.dataTransfer)!=null&&t.items){const t=Qs(e.dataTransfer.items);t&&S.value&&(D(t),e.preventDefault())}},X=e=>{if(e.clipboardData){const t=Qs(e.clipboardData.items);t&&S.value&&D(t)}},Q=()=>{const e=Z.value;e.files&&S.value&&D(e.files[0]).then(()=>{e.value=""})},K=async()=>{var t;const{serverURL:l,lang:d,login:u,wordLimit:n,requiredMeta:s,recaptchaV3Key:o,turnstileKey:a}=i.value,e={comment:$.value,nick:x.value.nick,mail:x.value.mail,link:x.value.link,url:i.value.path,ua:await ru()};if(!h.edit)if(c.value.token)e.nick=c.value.display_name,e.mail=c.value.email,e.link=c.value.url;else{if(u==="force")return;if(s.includes("nick")&&!e.nick){I.value.nick.focus(),alert(r.value.nickError);return}if(s.includes("mail")&&!e.mail||e.mail&&!h1(e.mail)){I.value.mail.focus(),alert(r.value.mailError);return}e.nick||(e.nick=r.value.anonymous)}if(!e.comment){M.value.focus();return}if(!y.value){alert(r.value.wordHint.replace("$0",n[0].toString()).replace("$1",n[1].toString()).replace("$2",F.value.toString()));return}e.comment=Xs(e.comment,p.value.map),h.replyId&&h.rootId&&(e.pid=h.replyId,e.rid=h.rootId,e.at=h.replyUser),v.value=!0;try{o&&(e.recaptchaV3=await kd(o).execute("social")),a&&(e.turnstile=await Cd(a).execute("social"));const s={serverURL:l,lang:d,token:c.value.token,comment:e},n=await(h.edit?Tn({objectId:h.edit.objectId,...s}):Q1(s));if(v.value=!1,n.errmsg){alert(n.errmsg);return}b("submit",n.data),f.value="",P.value="",await vt(),h.replyId&&b("cancelReply"),(t=h.edit)!=null&&t.objectId&&b("cancelEdit")}catch(e){v.value=!1,alert(e.message)}},J=e=>{e.preventDefault();const{lang:t,serverURL:n}=i.value;f4({serverURL:n,lang:t}).then(e=>{c.value=e,(e.remember?localStorage:sessionStorage).setItem("WALINE_USER",JSON.stringify(e)),b("log")})},ee=()=>{c.value={},localStorage.setItem("WALINE_USER","null"),sessionStorage.setItem("WALINE_USER","null"),b("log")},U=e=>{e.preventDefault();const{lang:o,serverURL:a}=i.value,t=800,n=800,r=(window.innerWidth-t)/2,l=(window.innerHeight-n)/2,d=new URLSearchParams({lng:o,token:c.value.token}),s=window.open(`${a}/ui/profile?${d.toString()}`,"_blank",`width=${t},height=${n},left=${r},top=${l},scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no`);s==null||s.postMessage({type:"TOKEN",data:c.value.token},"*")},ne=e=>{var t,n,s,o;!((t=te.value)!=null&&t.contains(e.target))&&!((n=se.value)!=null&&n.contains(e.target))&&(O.value=!1),!((s=q.value)!=null&&s.contains(e.target))&&!((o=oe.value)!=null&&o.contains(e.target))&&(_.value=!1)},W=async e=>{var s;const{scrollTop:o,clientHeight:a,scrollHeight:r}=e.target,c=(a+o)/r,t=i.value.search,n=((s=R.value)==null?void 0:s.value)??"";c<.9||u.loading||H.value||(u.loading=!0,(t.more&&u.list.length?await t.more(n,u.list.length):await t.search(n)).length?u.list=[...u.list,...t.more&&u.list.length?await t.more(n,u.list.length):await t.search(n)]:H.value=!0,u.loading=!1,setTimeout(()=>{e.target.scrollTop=o},50))},B=z4(e=>{u.list=[],H.value=!1,W(e)},300);return N([i,F],([e,t])=>{const{wordLimit:n}=e;n?t<n[0]&&n[0]!==0?(k.value=n[0],y.value=!1):t>n[1]?(k.value=n[1],y.value=!1):(k.value=n[1],y.value=!0):(k.value=0,y.value=!0)},{immediate:!0}),Bn("click",ne),Bn("message",({data:e})=>{!e||e.type!=="profile"||(c.value={...c.value,...e.data},[localStorage,sessionStorage].filter(e=>
132e.getItem("WALINE_USER")).forEach(e=>{e.setItem("WALINE_USER",JSON.stringify(c))}))}),N(_,async e=>{var n;if(!e)return;const t=i.value.search;R.value&&(R.value.value=""),u.loading=!0,u.list=await(((n=t.default)==null?void 0:n.call(t))??t.search("")),u.loading=!1}),Pe(()=>{var e;(e=h.edit)!=null&&e.objectId&&(f.value=h.edit.orig),N(()=>f.value,e=>{const{highlighter:t,texRenderer:n}=i.value;$.value=e,P.value=Du(e,{emojiMap:p.value.map,highlighter:t,texRenderer:n}),F.value=hu(e),e?Io(M.value):Io.destroy(M.value)},{immediate:!0}),N(()=>i.value.emoji,e=>i1(e).then(e=>{p.value=e}),{immediate:!0})}),(e,s)=>{var d,h;return t(),n("div",{key:a(c).token,class:"wl-comment"},[a(i).login!=="disable"&&A.value&&!((d=e.edit)!=null&&d.objectId)?(t(),n("div",Tl,[o("div",Fl,[o("button",{type:"submit",class:"wl-logout-btn",title:r.value.logout,onClick:ee},[g(a(Ws),{size:14})],8,Sl),o("a",{href:"#",class:"wl-login-nick","aria-label":"Profile",title:r.value.profile,onClick:U},[o("img",{src:a(c).avatar,alt:"avatar"},null,8,El)],8,Al)]),o("a",{href:"#",class:"wl-login-nick","aria-label":"Profile",title:r.value.profile,onClick:U,textContent:m(a(c).display_name)},null,8,Cl)])):l("v-if",!0),o("div",Ol,[a(i).login!=="force"&&a(i).meta.length&&!A.value?(t(),n("div",{key:0,class:C(["wl-header",`item${a(i).meta.length}`])},[(t(!0),n(j,null,V(a(i).meta,e=>(t(),n("div",{key:e,class:"wl-header-item"},[o("label",{for:`wl-${e}`,textContent:m(r.value[e]+(a(i).requiredMeta.includes(e)||!a(i).requiredMeta.length?"":`(${r.value.optional})`))},null,8,_l),Ss(o("input",{id:`wl-${e}`,ref_for:!0,ref:t=>{t&&(I.value[e]=t)},"onUpdate:modelValue":t=>a(x)[e]=t,class:C(["wl-input",`wl-${e}`]),name:e,type:e==="mail"?"email":"text"},null,10,yl),[[Ac,a(x)[e]]])]))),128))],2)):l("v-if",!0),Ss(o("textarea",{id:"wl-edit",ref:"textarea","onUpdate:modelValue":s[0]||(s[0]=e=>w(f)?f.value=e:null),class:"wl-editor",placeholder:e.replyUser?`@${e.replyUser}`:r.value.placeholder,onKeydown:Y,onDrop:G,onPaste:X},null,40,jl),[[Wn,a(f)]]),Ss(o("div",pl,[s[7]||(s[7]=o("hr",null,null,-1)),o("h4",null,m(r.value.preview)+":",1),o("div",{class:"wl-content",innerHTML:P.value},null,8,fl)],512),[[Yn,T.value]]),o("div",hl,[o("div",dl,[o("a",cl,[g(a(eu))]),Ss(o("button",{ref:"emoji-button",type:"button",class:C(["wl-action",{active:O.value}]),title:r.value.emoji,onClick:s[1]||(s[1]=e=>O.value=!O.value)},[g(a(ou))],10,rl),[[Yn,p.value.tabs.length]]),a(i).search?(t(),n("button",{key:0,ref:"gif-button",type:"button",class:C(["wl-action",{active:_.value}]),title:r.value.gif,onClick:s[2]||(s[2]=e=>_.value=!_.value)},[g(a(qd))],10,il)):l("v-if",!0),o("input",{id:"wl-image-upload",ref:"image-uploader",class:"upload","aria-hidden":"true",type:"file",accept:".png,.jpg,.jpeg,.webp,.bmp,.gif",onChange:Q},null,544),S.value?(t(),n("label",{key:1,for:"wl-image-upload",class:"wl-action",title:r.value.uploadImage,"aria-label":r.value.uploadImage},[g(a(su))],8,ol)):l("v-if",!0),o("button",{type:"button",class:C(["wl-action",{active:T.value}]),title:r.value.preview,onClick:s[3]||(s[3]=e=>T.value=!T.value)},[g(a(tu))],10,sl)]),o("div",tl,[s[9]||(s[9]=o("div",{class:"wl-captcha-container"},null,-1)),o("div",Jc,[ge(m(F.value)+" ",1),a(i).wordLimit?(t(),n("span",Xc,[s[8]||(s[8]=ge(" \xA0/\xA0 ")),o("span",{class:C({illegal:!y.value}),textContent:m(k.value)},null,10,Gc)])):l("v-if",!0),ge(" \xA0"+m(r.value.word),1)]),a(i).login!=="disable"&&!A.value?(t(),n("button",{key:0,type:"button",class:"wl-btn",onClick:J,textContent:m(r.value.login)},null,8,Yc)):l("v-if",!0),a(i).login!=="force"||A.value?(t(),n("button",{key:1,type:"submit",class:"primary wl-btn",title:"Cmd|Ctrl + Enter",disabled:v.value,onClick:K},[v.value?(t(),he(a(st),{key:0,size:16})):(t(),n(j,{key:1},[ge(m(r.value.submit),1)],64))],8,$c)):l("v-if",!0)]),o("div",{ref:"gif-popup",class:C(["wl-gif-popup",{display:_.value}])},[o("input",{ref:"gif-search",type:"text",placeholder:r.value.gifSearchPlaceholder,onInput:s[4]||(s[4]=(...e)=>a(B)&&a(B)(...e))},null,40,Hc),u.list.length?(t(),he(Il,{key:0,items:u.list,"column-width":200,gap:6,onInsert:s[5]||(s[5]=e=>z(e)),onScroll:W},null,8,["items"])):l("v-if",!0),u.loading?(t(),n("div",Pc,[g(a(st),{size:30})])):l("v-if",!0)],2),o("div",{ref:"emoji-popup",class:C(["wl-emoji-popup",{display:O.value}])},[(t(!0),n(j,null,V(p.value.tabs,(e,s)=>(t(),n(j,{key:e.name},[s===L.value?(t(),n("div",Rc,[(t(!0),n(j,null,V(e.items,e=>(t(),n("button",{key:e,type:"button",title:e,onClick:t=>z(`:${e}:`)},[O.value?(t(),n("img",{key:0,class:"wl-emoji",src:p.value.map[e],alt:e,loading:"lazy",referrerPolicy:"no-referrer"},null,8,Nc)):l("v-if",!0)],8,Lc))),128))])):l("v-if",!0)],64))),128)),p.value.tabs.length>1?(t(),n("div",zc,[(t(!0),n(j,null,V(p.value.tabs,(e,s)=>(t(),n("button",{key:e.name,type:"button",class:C(["wl-tab",{active:L.value===s}]),onClick:e=>L.value=s},[o("img",{class:"wl-emoji",src:e.icon,alt:e.name,title:e.name,loading:"lazy",referrerPolicy:"no-referrer"},null,8,vc)],10,Sc))),128))])):l("v-if",!0)],2)])]),e.replyId||(h=e.edit)!=null&&h.objectId?(t(),n("button",{key:1,type:"button",class:"wl-close",title:r.value.cancelReply,onClick:s[6]||(s[6]=t=>b(e.replyId?"cancelReply":"cancelEdit"))},[g(a(Ws),{size:24})],8,pc)):l("v-if",!0)])}}}),mc=["id"],dc={class:"wl-user","aria-hidden":"true"},cc=["src"],oc={class:"wl-card"},sc={class:"wl-head"},nc=["href"],tc={key:1,class:"wl-nick"},ec=["textContent"],Xr=["textContent"],Gr=["textContent"],$r=["textContent"],Ir=["textContent"],Lr={class:"wl-comment-actions"},zr=["title"],Ar=["title"],xr={class:"wl-meta","aria-hidden":"true"},yr=["data-value","textContent"],jr={key:0,class:"wl-content"},pr={key:0},fr=["href"],mr=["innerHTML"],rr={key:1,class:"wl-admin-actions"},ar={class:"wl-comment-status"},tr=["disabled","onClick","textContent"],Za={key:3,class:"wl-quote"},Ga=Kt({__name:"CommentCard",props:{comment:{},edit:{default:null},rootId:{},reply:{default:null}},emits:["log","submit","delete","like","sticky","edit","reply","status"],setup(e,{emit:s}){const c=e,i=s,x=["approved","waiting","spam"],O=$e(rn),_=Vs(),b=w4(),p=pn(),r=E(()=>O.value.locale),v=E(()=>{const{link:e}=c.comment;return e?eo(e)?e:`https://${e}`:""}),f=E(()=>_.value.includes(c.comment.objectId)),y=E(()=>d1(new Date(c.comment.time),b.value,r.value)),h=E(()=>p.value.type==="administrator"),w=E(()=>c.comment.user_id&&p.value.objectId===c.comment.user_id),d=E(()=>{var e;return c.comment.objectId===((e=c.reply)==null?void 0:e.objectId)}),u=E(()=>{var e;return c.comment.objectId===((e=c.edit)==null?void 0:e.objectId)});
132return(e,s)=>{var c;const p=S1("CommentCard",!0);return t(),n("div",{id:e.comment.objectId,class:"wl-card-item"},[o("div",dc,[e.comment.avatar?(t(),n("img",{key:0,class:"wl-user-avatar",src:e.comment.avatar,alt:""},null,8,cc)):l("v-if",!0),e.comment.type?(t(),he(a(Xd),{key:1})):l("v-if",!0)]),o("div",oc,[o("div",sc,[v.value?(t(),n("a",{key:0,class:"wl-nick",href:v.value,target:"_blank",rel:"nofollow noopener noreferrer"},m(e.comment.nick),9,nc)):(t(),n("span",tc,m(e.comment.nick),1)),e.comment.type==="administrator"?(t(),n("span",{key:2,class:"wl-badge",textContent:m(r.value.admin)},null,8,ec)):l("v-if",!0),e.comment.label?(t(),n("span",{key:3,class:"wl-badge",textContent:m(e.comment.label)},null,8,Xr)):l("v-if",!0),e.comment.sticky?(t(),n("span",{key:4,class:"wl-badge",textContent:m(r.value.sticky)},null,8,Gr)):l("v-if",!0),typeof e.comment.level=="number"?(t(),n("span",{key:5,class:C(`wl-badge level${e.comment.level}`),textContent:m(r.value[`level${e.comment.level}`]||`Level ${e.comment.level}`)},null,10,$r)):l("v-if",!0),o("span",{class:"wl-time",textContent:m(y.value)},null,8,Ir),o("div",Lr,[h.value||w.value?(t(),n(j,{key:0},[o("button",{type:"button",class:"wl-edit",onClick:s[0]||(s[0]=t=>i("edit",e.comment))},[g(a(Qd))]),o("button",{type:"button",class:"wl-delete",onClick:s[1]||(s[1]=t=>i("delete",e.comment))},[g(a(iu))])],64)):l("v-if",!0),o("button",{type:"button",class:"wl-like",title:f.value?r.value.cancelLike:r.value.like,onClick:s[2]||(s[2]=t=>i("like",e.comment))},[g(a(nu),{active:f.value},null,8,["active"]),ge(" "+m("like"in e.comment?e.comment.like:""),1)],8,zr),o("button",{type:"button",class:C(["wl-reply",{active:d.value}]),title:d.value?r.value.cancelReply:r.value.reply,onClick:s[3]||(s[3]=t=>i("reply",d.value?null:e.comment))},[g(a(Zd))],10,Ar)])]),o("div",xr,[(t(),n(j,null,V(["addr","browser","os"],s=>(t(),n(j,null,[e.comment[s]?(t(),n("span",{key:s,class:C(`wl-${s}`),"data-value":e.comment[s],textContent:m(e.comment[s])},null,10,yr)):l("v-if",!0)],64))),64))]),u.value?l("v-if",!0):(t(),n("div",jr,["reply_user"in e.comment&&e.comment.reply_user?(t(),n("p",pr,[o("a",{href:"#"+e.comment.pid},"@"+m(e.comment.reply_user.nick),9,fr),s[17]||(s[17]=o("span",null,": ",-1))])):l("v-if",!0),o("div",{innerHTML:e.comment.comment},null,8,mr)])),h.value&&!u.value?(t(),n("div",rr,[o("span",ar,[(t(),n(j,null,V(x,t=>o("button",{key:t,type:"submit",class:C(`wl-btn wl-${t}`),disabled:e.comment.status===t,onClick:n=>i("status",{status:t,comment:e.comment}),textContent:m(r.value[t])},null,10,tr)),64))]),h.value&&!("rid"in e.comment)?(t(),n("button",{key:0,type:"submit",class:"wl-btn wl-sticky",onClick:s[4]||(s[4]=t=>i("sticky",e.comment))},m(e.comment.sticky?r.value.unsticky:r.value.sticky),1)):l("v-if",!0)])):l("v-if",!0),d.value||u.value?(t(),n("div",{key:2,class:C({"wl-reply-wrapper":d.value,"wl-edit-wrapper":u.value})},[g(Ls,{edit:e.edit,"reply-id":(c=e.reply)==null?void 0:c.objectId,"reply-user":e.comment.nick,"root-id":e.rootId,onLog:s[5]||(s[5]=e=>i("log")),onCancelReply:s[6]||(s[6]=e=>i("reply",null)),onCancelEdit:s[7]||(s[7]=e=>i("edit",null)),onSubmit:s[8]||(s[8]=e=>i("submit",e))},null,8,["edit","reply-id","reply-user","root-id"])],2)):l("v-if",!0),"children"in e.comment?(t(),n("div",Za,[(t(!0),n(j,null,V(e.comment.children,n=>(t(),he(p,{key:n.objectId,comment:n,reply:e.reply,edit:e.edit,"root-id":e.rootId,onLog:s[9]||(s[9]=e=>i("log")),onDelete:s[10]||(s[10]=e=>i("delete",e)),onEdit:s[11]||(s[11]=e=>i("edit",e)),onLike:s[12]||(s[12]=e=>i("like",e)),onReply:s[13]||(s[13]=e=>i("reply",e)),onStatus:s[14]||(s[14]=e=>i("status",e)),onSticky:s[15]||(s[15]=e=>i("sticky",e)),onSubmit:s[16]||(s[16]=e=>i("submit",e))},null,8,["comment","reply","edit","root-id"]))),128))])):l("v-if",!0)])],8,mc)}}}),Ka="3.4.2",Ua={"data-waline":""},Wa={class:"wl-meta-head"},Va={class:"wl-count"},Pa=["textContent"],Ra={class:"wl-sort"},Sa=["onClick"],Aa={class:"wl-cards"},wa={key:1,class:"wl-operation"},_a=["textContent"],ya={key:2,class:"wl-loading"},pa=["textContent"],fa={key:4,class:"wl-operation"},ma=["textContent"],ha={key:5,class:"wl-power"},da=Kt({__name:"WalineComment",props:["serverURL","path","meta","requiredMeta","dark","commentSorting","lang","locale","pageSize","wordLimit","emoji","login","highlighter","texRenderer","imageUploader","search","copyright","recaptchaV3Key","turnstileKey","reaction"],setup(e){const w=e,u=pn(),r=Vs(),h=d("loading"),f=d(0),O=d(1),x=d(0),s=E(()=>o1(w)),y=d(s.value.commentSorting),i=d([]),_=d(null),c=d(null),S=E(()=>r1(s.value.dark)),v=E(()=>s.value.locale);y4(S,{id:"waline-darkmode"});let p=null;
132const k=e=>{const{serverURL:n,path:o,pageSize:a}=s.value,t=new AbortController;h.value="loading",p==null||p(),X1({serverURL:n,lang:s.value.lang,path:o,pageSize:a,sortBy:so[y.value],page:e,signal:t.signal,token:u.value.token}).then(t=>{h.value="success",f.value=t.count,i.value.push(...t.data),O.value=e,x.value=t.totalPages}).catch(e=>{e.name!=="AbortError"&&(console.error(e.message),h.value="error")}),p=t.abort.bind(t)},z=()=>{k(O.value+1)},b=()=>{f.value=0,i.value=[],k(1)},M=e=>{y.value!==e&&(y.value=e,b())},F=e=>{_.value=e},T=e=>{c.value=e},A=e=>{if(c.value)c.value.comment=e.comment,c.value.orig=e.orig;else if("rid"in e){const t=i.value.find(({objectId:t})=>t===e.rid);if(!t)return;Array.isArray(t.children)||(t.children=[]),t.children.push(e)}else i.value.unshift(e),f.value+=1},D=async({comment:e,status:t})=>{if(e.status===t)return;const{serverURL:n,lang:o}=s.value;await Tn({serverURL:n,lang:o,token:u.value.token,objectId:e.objectId,comment:{status:t}}),e.status=t},L=async e=>{if("rid"in e)return;const{serverURL:t,lang:n}=s.value;await Tn({serverURL:t,lang:n,token:u.value.token,objectId:e.objectId,comment:{sticky:e.sticky?0:1}}),e.sticky=!e.sticky},R=async({objectId:e})=>{if(!confirm("Are you sure you want to delete this comment?"))return;const{serverURL:t,lang:n}=s.value;await t4({serverURL:t,lang:n,token:u.value.token,objectId:e}),i.value.some((t,n)=>t.objectId===e?(i.value=i.value.filter((e,t)=>t!==n),!0):t.children.some((s,o)=>s.objectId===e&&(i.value[n].children=t.children.filter((e,t)=>t!==o),!0)))},P=async e=>{const{serverURL:o,lang:i}=s.value,{objectId:t}=e,n=r.value.includes(t);await Tn({serverURL:o,lang:i,objectId:t,token:u.value.token,comment:{like:!n}}),n?r.value=r.value.filter(e=>e!==t):(r.value=[...r.value,t],r.value.length>50&&(r.value=r.value.slice(-50))),e.like=Math.max(0,(e.like||0)+(n?-1:1))};return uc(rn,s),Pe(()=>{N(()=>[w.serverURL,w.path],()=>{b()},{immediate:!0})}),wt(()=>{p==null||p()}),(e,r)=>(t(),n("div",Ua,[g(ql),!_.value&&!c.value?(t(),he(Ls,{key:0,onLog:b,onSubmit:A})):l("v-if",!0),o("div",Wa,[o("div",Va,[f.value?(t(),n("span",{key:0,class:"wl-num",textContent:m(f.value)},null,8,Pa)):l("v-if",!0),ge(" "+m(v.value.comment),1)]),o("ul",Ra,[(t(!0),n(j,null,V(a(Xu),e=>(t(),n("li",{key:e,class:C([e===y.value?"active":""]),onClick:t=>M(e)},m(v.value[e]),11,Sa))),128))])]),o("div",Aa,[(t(!0),n(j,null,V(i.value,e=>
132(t(),he(Ga,{key:e.objectId,"root-id":e.objectId,comment:e,reply:_.value,edit:c.value,onLog:b,onReply:F,onEdit:T,onSubmit:A,onStatus:D,onDelete:R,onSticky:L,onLike:P},null,8,["root-id","comment","reply","edit"]))),128))]),h.value==="error"?(t(),n("div",wa,[o("button",{type:"button",class:"wl-btn",onClick:b,textContent:m(v.value.refresh)},null,8,_a)])):h.value==="loading"?(t(),n("div",ya,[g(a(st),{size:30})])):i.value.length?O.value<x.value?(t(),n("div",fa,[o("button",{type:"button",class:"wl-btn",onClick:z,textContent:m(v.value.more)},null,8,ma)])):l("v-if",!0):(t(),n("div",{key:3,class:"wl-empty",textContent:m(v.value.sofa)},null,8,pa)),s.value.copyright?(t(),n("div",ha,[r[0]||(r[0]=ge(" Powered by ")),r[1]||(r[1]=o("a",{href:"https://github.com/walinejs/waline",target:"_blank",rel:"noopener noreferrer"}," Waline ",-1)),ge(" v"+m(a(Ka)),1)])):l("v-if",!0)]))}}),Ds=(e,t)=>{t.forEach((t,n)=>{const s=e[n].time;typeof s=="number"&&(t.innerText=s.toString())})},zs=({serverURL:e,path:t=window.location.pathname,selector:n=".waline-pageview-count",update:s=!0,lang:o=navigator.language})=>{const i=new AbortController,a=Array.from(document.querySelectorAll(n)),r
132=e=>{const n=vn(e);return n!==null&&t!==n},c=n=>p4({serverURL:ln(e),paths:n.map(e=>vn(e)??t),lang:o,signal:i.signal}).then(e=>Ds(e,n)).catch(Zs);if(s){const s=a.filter(e=>!r(e)),n=a.filter(r);g4({serverURL:ln(e),path:t,lang:o}).then(e=>Ds(e,s)),n.length&&c(n)}else c(a);return i.abort.bind(i)},aa=({el:e="#waline",path:t=window.location.pathname,comment:n=!1,pageview:s=!1,...o})=>{const a=e?s1(e):null;if(e&&!a)throw new Error("Option 'el' do not match any domElement!");if(!o.serverURL)throw new Error("Option 'serverURL' is missing!");const r=dt({...o}),i=dt({comment:n,pageview:s,path:t}),l=()=>{i.comment&&qs({serverURL:r.serverURL,path:i.path,...Xe(i.comment)?{selector:i.comment}:{}})},d=()=>{i.pageview&&zs({serverURL:r.serverURL,path:i.path,...Xe(i.pageview)?{selector:i.pageview}:{}})};let c=null;a&&(c=Dc(()=>f(da,{path:i.path,...r})),c.mount(a));const u=qi(l),h=qi(d);return{el:a,update:({comment:e,pageview:t,path:n=window.location.pathname,...s}={})=>{Object.entries(s).forEach(([e,t])=>{r[e]=t}),i.path=n,e!==void 0&&(i.comment=e),t!==void 0&&(i.pageview=t)},destroy:()=>{c==null||c.unmount(),u(),h()}}},ia=!0,ta=!0,Ts="en",Ji=!0,Xi=!0,fn="https://hugoseven-waline.netlify.app/.netlify/functions/comment",aa({el:"#waline",lang:Ts,reaction:Ji,reaction:["https://unpkg.com/@waline/emojis/tieba/tieba_agree.png"],search:Xi,serverURL:fn,path:window.location.pathname,dark:".dark",meta:[],login:"force",locale:{reactionTitle:""}}),ia&&qs({serverURL:fn,path:window.location.pathname,lang:Ts}),ta&&zs({serverURL:fn,selector:".page-info-pageview-count",path:window.location.pathname})})()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.